Zum Inhalt springen

Vorlage:Ägyptologie/styles.css

aus AufEinWort, der freien Forschung
.Box {
	float:right;
	margin:5px 0 1em 1em;
}
.Box table,
.regular {
	border:1px solid #930;
	border-collapse:collapse;
}
.Box th,
.TblHighlight th,
.zebra th,
.regular th,
.pseudoZebra th {
	border:1px solid #930;
	padding:0.2em;
	text-align:center;
	color:#730;
	background-color:#ffe39b;
}
.Box td,
.regular td {
	border:1px solid #930;
	background-color:#eec;
	color: #202122;
	padding:0.2em;
}

.hiero,
.Box .hiero,
.regular .hiero,
.zebra .hiero {
	background-color:#ffffde;
}
.highlight {
	color:#730;
	background-color:#ffe39b;
}

.hiero table,
.regular .hiero table,
.zebra .hiero table {
	border:none;
	display:inline-block;
}

.hiero .hieroFrame table {
	display:block;
}

.zebra td,
.pseudoZebra td {
	border:1px solid #930;
}

.pseudoZebra {
	background-color:var(--dewiki-hintergrundfarbe-basis);
	padding:0.2em;
}

.zebra,
.pseudoZebra {
	width:100%;
	border:1px solid #930;
	border-collapse:collapse;
}
.zebra tr:nth-child(odd),
.pseudoZebra .regular2 {
	background-color:#fefaf0;
}

.hiero td,
.hiero tr,
.regular .hiero td,
.zebra .hiero td,
.regular .hiero tr,
.zebra .hiero tr {
	border:none;
	background-color:#ffffde;
	padding:0;
}

/* Dunkelmodus */
@media screen {
	html.skin-theme-clientpref-night .hiero,
	html.skin-theme-clientpref-night .Box .hiero,
	html.skin-theme-clientpref-night .regular .hiero,
	html.skin-theme-clientpref-night .zebra .hiero,
	html.skin-theme-clientpref-night .hiero td,
	html.skin-theme-clientpref-night .hiero tr,
	html.skin-theme-clientpref-night .regular .hiero td,
	html.skin-theme-clientpref-night .zebra .hiero td,
	html.skin-theme-clientpref-night .regular .hiero tr,
	html.skin-theme-clientpref-night .zebra .hiero tr {
	    background-color: var(--dewiki-hintergrundfarbe5);
	}
	
	html.skin-theme-clientpref-night .zebra tr:nth-child(odd),
	html.skin-theme-clientpref-night .pseudoZebra .regular2 {
	    background-color: var(--dewiki-hintergrundfarbe1);
	}
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .hiero,
	html.skin-theme-clientpref-os .Box .hiero,
	html.skin-theme-clientpref-os .regular .hiero,
	html.skin-theme-clientpref-os .zebra .hiero,
	html.skin-theme-clientpref-os .hiero td,
	html.skin-theme-clientpref-os .hiero tr,
	html.skin-theme-clientpref-os .regular .hiero td,
	html.skin-theme-clientpref-os .zebra .hiero td,
	html.skin-theme-clientpref-os .regular .hiero tr,
	html.skin-theme-clientpref-os .zebra .hiero tr {
	    background-color: var(--dewiki-hintergrundfarbe5);
	}
	html.skin-theme-clientpref-night .zebra tr:nth-child(odd),
	html.skin-theme-clientpref-night .pseudoZebra .regular2 {
	    background-color: var(--dewiki-hintergrundfarbe1);
	}
}


.Cartouche .lr, .Box .Cartouche .lr,
.hiero .Cartouche .lr, .hiero .Box .Cartouche .lr {
	background-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/1/14/Hiero_Cartouche_ltr.svg/200px-Hiero_Cartouche_ltr.svg.png");
    background-repeat:no-repeat;
	background-size: 100% 100%;
	padding:0.3em 1em 0.3em 0.6em;
}
.Cartouche .rl, .Box .Cartouche .rl,
.hiero .Cartouche .rl, .hiero .Box .Cartouche .rl {
	background-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/9/98/Hiero_Cartouche_rtl.svg/150px-Hiero_Cartouche_rtl.svg.png");
    background-repeat:no-repeat;
	background-size: 100% 100%;
	padding:0.3em 0.6em 0.3em 1em;
}
.Cartouche .td, .Box .Cartouche .td, .hiero .Cartouche .td {
	background-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Hiero_Cartouche_td.svg/50px-Hiero_Cartouche_td.svg.png");
    background-repeat:no-repeat;
	background-size: 100% 100%;
	padding:0.7em 0.3em 1.2em 0.3em;
}
.Cartouche td table, .Box .Cartouche td table,
.Serech td table, .Box .Serech td table,
.hiero .Cartouche td table, .hiero .Box .Cartouche td table,
.hiero .Serech td table, .hiero .Box .Serech td table {
	display:table;
	background:none;
	margin-left:auto;
	margin-right:auto;
}
.hiero .Cartouche table, .Box .hiero .Cartouche table,
.hiero .Serech table, .Box .hiero .Serech table {
	display:table;
	margin-left:auto;
	margin-right:auto;
}
.Cartouche .mw-hiero-outer, .Cartouche .mw-hiero-table,
.Cartouche .mw-hiero-outer td, .Cartouche .mw-hiero-table td,
.Cartouche .mw-hiero-outer tr, .Cartouche .mw-hiero-table tr,
.hiero .Cartouche .mw-hiero-outer, .hiero .Cartouche .mw-hiero-table,
.hiero .Cartouche .mw-hiero-outer td, .hiero .Cartouche .mw-hiero-table td,
.hiero .Cartouche .mw-hiero-outer tr, .hiero .Cartouche .mw-hiero-table tr {
	background:none;
}

.Serech .core, .hiero .Serech .core {
	border: solid black 2px;
}

.Serech .lr {
	background-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Hiero_Srxtail_L.svg/200px-Hiero_Srxtail_L.svg.png");
    background-repeat:no-repeat;
	background-size: 100% 100%;
	width:50px;
}

.Serech .td {
	background-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Hiero_Srxtail_B.svg/200px-Hiero_Srxtail_B.svg.png");
    background-repeat:no-repeat;
	background-size: 100% 100%;
	height:50px;
}