„Snið:Forsíða/Haus/styles.css“: Munur á milli breytinga

Efni eytt Efni bætt við
mEkkert breytingarágrip
Jon (WMF) (spjall | framlög)
Fixes phab:T369874. Please see talk page and do not revert without discussion. See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support
Merki: Breyting tekin til baka
Lína 135:
 
@media screen {
}
html.skin-theme-clientpref-night .main-top-left {
@media screen {
color: white;
html.skin-theme-clientpref-night .main-top-left {
color: white;
}
html.skin-theme-clientpref-night .main-top-header {
color: white;
}
html.skin-theme-clientpref-night .main-top-articleCount {
color: gray;
}
}
}
html.skin-theme-clientpref-night .main-top-header {
@media screen and (min-width: 720px) {
color: white;
@media screen and ( prefers-color-scheme: dark) {
}
html.skin-theme-clientpref-nightos .main-top-articleCount {
background-color: gray#0e0f09;
border: 1px solid #3d334e;
}
box-shadow: 0 1px 1px rgba(255, 255, 255, .15);
}
}
 
}
@media screen and (min-width: 720px) {
html.skin-theme-clientpref-night .main-top {
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .main-top {
background-color: #0e0f09;
border: 1px solid #3d334e;
box-shadow: 0 1px 1px rgba(255, 255, 255, .15);
}
}
}
}
html.skin-theme-clientpref-night .main-top {
@media screen and (min-width: 1000px) {
background-color: #0e0f09;
@media screen and ( prefers-color-scheme: dark) {
border: 1px solid #3d334e;
html.skin-theme-clientpref-os .main-top-left {
box-shadow: 0 1px 1px rgba(255, 255, 255, .15);
background-image: linear-gradient(to right, #090f09 0%, #0e0f09 70%, rgba(2, 1, 0, 0) 100%);
}
}
 
}
html.skin-theme-clientpref-night .main-top-left {
background-image: linear-gradient(to right, #090f09 0%, #0e0f09 70%, rgba(2, 1, 0, 0) 100%);
}
}
 
@media screen and (min-width: 1000px) {
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .main-top-left {
background-image: linear-gradient(to right, #090f09 0%, #0e0f09 70%, rgba(2, 1, 0, 0) 100%);
}
}
html.skin-theme-clientpref-night .main-top-left {
background-image: linear-gradient(to right, #090f09 0%, #0e0f09 70%, rgba(2, 1, 0, 0) 100%);
}
}