Portal:Dresden/styles.css

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
.p-dd-tabs {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	align-content: flex-end;
	font-weight: bold;
	font-variant: small-caps;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.p-dd-tab {
	text-align: center;
	border: .2em solid #d3d3d3;
	border-bottom: none;
	display: block;
	max-width: 11em;
	margin: 0;
	margin-right: .3em;
	padding: .3em;
	flex: 1 1 auto;
}

.p-dd-header {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0;
	background-color: #D3D3D3;
	border: .2em solid #D3D3D3;
}

.p-dd-header-text {
	flex: 1 1 auto;
	text-align: center;
}

.p-dd-header-text span {
	color: #ffe000;
	font-weight: bold;
	font-size: 300%;
	text-shadow: black .09em .06em .12em;
}

.p-dd-frame {
	display: flex;
	flex-flow: column wrap;
	align-items: stretch;
	border: .2em solid #D3D3D3;
	background-color: #FFFFFF;
}

.p-dd-inner {
	display: flex;
	flex: 1 1 auto;
	flex-flow: row wrap;
}

.p-dd-nav {
	flex: 1 1 auto;
	margin: 0;
	margin-top: .3em;
	padding: 0em 1em .5em 1em;
	border-bottom: .2em solid #D3D3D3;
	background-color: #FFF;
}

.p-dd-main .p-dd-left {
	display: flex;
	flex: 1 1 65%;
	order: 1;
	flex-flow: column;
}

.p-dd-main .p-dd-right {
	display: flex;
	flex: 1 1 35%;
	order: 2;
	flex-flow: column;
}

.p-dd-sub .p-dd-left {
	display: flex;
	flex: 1 1 70%;
	order: 1;
	flex-flow: column;
}

.p-dd-sub .p-dd-right {
	display: flex;
	flex: 1 1 30%;
	order: 2;
	flex-flow: column;
	background-color: #FCF5C8;
	border-left: .2em solid #D3D3D3;
	box-sizing: border-box;
}

.p-dd-box {
  position: relative;
}

.p-dd-sub .p-dd-right .p-dd-box:not(:last-child) {
	border-bottom: .1em solid #D3D3D3;
}

.p-dd-box h2 {
	border: 0;
	background-color: #EDEDED;
	padding: .3em;
	margin: .2em;
}

.p-dd-sub .p-dd-right .p-dd-box h2 {
	background-color: inherit;
	margin: 0;
}

.p-dd-box-content {
	padding: .7em;
}

.p-dd-box-edit {
	position: absolute;
	top: .5em;
	right: 1em;
	font-size: smaller;
}

.p-dd-blacklinks a {
	color: #000;
}

/* für Wikipedia:Dresden */
.p-dd-tab-special {
	max-width: none;
	text-align: left;
	background-color: #ffe000;
}
	
#wp-dd-header-mob {
	display: none;
}

#wp-dd-header .p-dd-tab {
	border: .2em solid #d3d3d3;
	margin-bottom: .3em;
}

@media screen and (max-width: 720px) {
	.p-dd-tabs {
		flex-flow: column nowrap;
		align-items: stretch;
		justify-content: flex-start;
	}
	
	.p-dd-tab {
		max-width: none;
		margin-right: 0;
		border-bottom: .2em solid #d3d3d3;
	}
	
	.p-dd-box {
		position: static;
	}
	
	.p-dd-box-edit {
		position: static;
		text-align: right;
		margin: .2em .4em .2em 0;
	}
	
	/* für Wikipedia:Dresden */
	#wp-dd-header-mob {
		display: block;
		height: 1.7em;
		overflow: hidden;
		transition: 1s;
	}
	
	#wp-dd-header-mob:hover {
		height: 15em;
		overflow: auto;
	}
	
	#wp-dd-header-desk {
		display: none;
	}
	
	#wp-dd-header .p-dd-tab {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 900px) {
	.p-dd-header-img {
		display: none;
	}
	
	.p-dd-sub .p-dd-right {
		border-top: .2em solid #D3D3D3;
		border-left: 0;
	}
}