Uzanto:Stefangrotz/ĉefpaĝo/ŝablono:ĉefpaĝo-css.css

/*Kopio de la CSS de la nederlanda vikipedio je la 3a aŭgusto 2022: https://nl.wikipedia.org/wiki/Sjabloon:Hoofdpagina/styles.css
*/
/***** most outer div (wraps the whole page); general styles *****/
img {
	max-width: 100%;
	height: auto;
}
div.hp {
	background-color: #ffffff;
	color: #333333;
    max-width: 1440px;
}
.wikipedia-w { /* for the stylized W of Wikipedia */
	font-feature-settings: 'ss05';
}
div.hp table {
	margin: 0;
	border-collapse: separate;
}
div.hp p {
	margin: 0.5em 0;
}

/***** header, portals, footer *****/
div.hp-header,
div.hp-portalen,
div.hp-footer {
	margin: 10px 0;
	background-color: #ffffff;
}
div.hp-header {
	padding: 10px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
div.hp-header > table,
div.hp-portalen > table {
	width: 100%;
	margin: 0;
}
div.hp-header td {
	vertical-align: middle;
	text-align: center;
	padding: 1.5em 1em;
}
div.hp-header td.hp-welkom {
	width: 65%;
	font-family: 'Linux Libertine G', 'Linux Libertine', 'Linux Libertine O', 'Libertinus Serif', Georgia, serif;
	font-size: 1.3em;
	line-height: 150%;
}
div.hp-header .hp-welkom-1 {
	font-variant: small-caps;
	font-size: 185%;
}
div.hp-header td.hp-welkom a {
	color: #333333;
}
div.hp-header td.hp-statistieken {
	border-left: 1px solid #cccccc;
}
div.hp-header .hp-statistieken-1 {
	display: inline-block;
	text-align: left;
}
div.hp-portalen {
	padding: 2px 0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
div.hp-portalen table {
	text-align: center;
	font-size: 0.9em;
	border-spacing: 1px;
}
div.hp-portalen td { /* background-color, border-color and width are defined inline */
	padding: 0;
	border-width: 5px 0 0 0;
	border-style: solid;
}
div.hp-portalen a {
	display: block;
	padding: 3px 0.25em;
	color: #000000;
}
div.hp-footer {
	text-align: center;
	font-size: 0.95em;
}

/***** blocks of segments *****/
table.hp-block {
	width: 100%;
	border-spacing: 2px;
}
table.hp-block > tbody > tr > td {
	vertical-align: top;
	padding: 0;
}
table.hp-block h2.hp-segment-title {
	background-color: #ffffff;
	margin: 0;
	padding: 10px 10px 10px 25px;
	white-space: nowrap;
	border-bottom: 1px solid #555555;
	font-family: unset;
	font-size: 2em;
	font-variant: small-caps;
	line-height: unset;
}
@media screen and ( max-width: 999px ) {
	/* slightly smaller segment titles on narrower screens/windows */
	table.hp-block h2.hp-segment-title {
		padding-left: 15px;
		font-size: 1.8em;
	}
}
table.hp-block h2.hp-segment-title a {
	color: #555555;
}
table.hp-block div.hp-segment-content {
	padding: 10px;
	border-top: 2px solid #ffffff;
}
#segment-Zusterprojecten div.hp-segment-content {
	text-align: center;
}

/***** vertical lay-out on narrow screens, both desktop and mobile *****/
@media screen and ( max-width: 899px ) {
	.hp-responsive-table,
	.hp-responsive-table > tbody,
	.hp-responsive-table > tbody > tr,
	.hp-responsive-table > tbody > tr > td {
		display: block;
		width: 100% !important;
		height: auto;
		box-sizing: border-box;
	}

	div.hp-header td.hp-statistieken {
		padding-top: 0;
		border-left: 0 none;
	}

	div.hp-portalen table tr {
		display: flex !important;
		flex-wrap: wrap;
	}
	div.hp-portalen table td {
		width: auto !important;
		margin: 0 1px 1px 0;
		flex: auto;
	}

	table.hp-block > tbody > tr {
		display: flex !important;
		flex-direction: column;
	}

	#segment-Over_Wikipedia {
		background-color: transparent !important;
		order: -1;
	}
	#segment-Over_Wikipedia h2.hp-segment-title {
		display: none;
	}
	#segment-Over_Wikipedia div.hp-segment-content {
		background-color: transparent !important;
		padding: 0;
		font-size: 0.95em;
	}
	
	table.hp-block tr.hp-3colsegment-content > td {
		border-top: 2px solid #ffffff;
	}
}