Szablon:Polityka Polski/style.css
Wygląd
/* specificy > 0,3,0 */
table.tpl-polska.infobox.NavGriddy {
text-align: center;
font-size: 90%;
width: 17em;
}
.tpl-polska .main-image {
margin: 2px 0px;
}
.tpl-polska .NavHead {
background-color: #ddd;
padding: 0 4px;
font-size: 100%;
text-align: left;
color: #000080;
margin: 0;
}
.tpl-polska .NavContent {
text-align: left;
margin: 0 1px;
border: none;
font-weight: bold;
}
.tpl-polska .NavFrame {
display: flex;
flex-flow: column;
}
.tpl-polska .NavFrame > * {
flex: 1;
}
/* forced night mode */
@media screen {
html.skin-theme-clientpref-night .tpl-polska .NavHead {
background-color: black;
color: white;
}
html.skin-theme-clientpref-night .tpl-polska .NavToggle::before,
html.skin-theme-clientpref-night .tpl-polska .NavToggle::after
{ color: white; }
}
/* automatic night mode */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .tpl-polska .NavHead {
background-color: black;
color: white;
}
html.skin-theme-clientpref-os .tpl-polska .NavToggle::before,
html.skin-theme-clientpref-os .tpl-polska .NavToggle::after
{ color: white; }
}