Template:In the news/styles.css: Difference between revisions
Appearance
AZMindroma (talk | contribs) Created page with "→In the news header styling: .news-header { border-width: 1px; border-style: solid; margin-top: 3px; margin-bottom: 0.5em; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; background: #cedff2; border-color: #a3b0bf; } →Dark mode support for In the news header: html.skin-theme-clientpref-night .news-header { background-color: #082849; border-color: #a3b0bf; color: #e8e6e3; } /* OS..." |
AZMindroma (talk | contribs) No edit summary |
||
| Line 16: | Line 16: | ||
html.skin-theme-clientpref-night .news-header { | html.skin-theme-clientpref-night .news-header { | ||
background-color: #082849; | background-color: #082849; | ||
border-color: # | border-color: #1a3d5c; | ||
color: #e8e6e3; | color: #e8e6e3; | ||
} | } | ||
| Line 24: | Line 24: | ||
html.skin-theme-clientpref-os .news-header { | html.skin-theme-clientpref-os .news-header { | ||
background-color: #082849; | background-color: #082849; | ||
border-color: # | border-color: #1a3d5c; | ||
color: #e8e6e3; | color: #e8e6e3; | ||
} | } | ||
} | } | ||
Latest revision as of 19:04, 15 October 2025
/* In the news header styling */
.news-header {
border-width: 1px;
border-style: solid;
margin-top: 3px;
margin-bottom: 0.5em;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
background: #cedff2;
border-color: #a3b0bf;
}
/* Dark mode support for In the news header */
html.skin-theme-clientpref-night .news-header {
background-color: #082849;
border-color: #1a3d5c;
color: #e8e6e3;
}
/* OS dark mode support for In the news header */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .news-header {
background-color: #082849;
border-color: #1a3d5c;
color: #e8e6e3;
}
}