Template:WNX/styles.css
Aspetto
/* stili per [[Template:WNX]] */
/* [[Categoria:Fogli di stile TemplateStyles]] */
.wnx-table {
margin-bottom: 0.5em;
width: 100%;
border: 1px solid #ccc;
padding: 1px;
background: #F9F9F9;
color: inherit;
text-align: center;
}
.wnx-th {
background: #ddd;
color: inherit;
padding: 3px;
font-style: italic;
font-weight: bold;
}
.wnx-td {
font-size: smaller;
}
/* modalità scura */
@media screen {
html.skin-theme-clientpref-night .wnx-table {
background: #202122;
color: inherit;
}
html.skin-theme-clientpref-night .wnx-th {
background: #101418;
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .wnx-table {
background: #202122;
color: inherit;
}
html.skin-theme-clientpref-os .wnx-th {
background: #101418;
color: inherit;
}
}