MediaWiki:Common.css: Difference between revisions
Approved Rev Indicator dark |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Increases Logo size to fit with Nameplate */ | |||
.mw-logo-icon { | |||
height: 75px; | |||
width: 75px; | |||
margin-right: -10px; | |||
} | |||
/* Infobox template style */ | /* Infobox template style */ | ||
Line 92: | Line 98: | ||
} | } | ||
/* forced nightmode */ | /* forced nightmode */ | ||
@media screen { | @media screen { | ||
/* Approved Rev Indicator */ | |||
html.skin-theme-clientpref-night .approved-revision { | html.skin-theme-clientpref-night .approved-revision { | ||
background-color: transparent !important; | |||
color: white !important; | |||
border: solid #008000 !important; | |||
} | |||
/* DarkMode for MSUpload */ | |||
html.skin-theme-clientpref-night #msupload-div{ | |||
background: none; | |||
} | |||
html.skin-theme-clientpref-night #msupload-list > li{ | |||
background: none; | |||
} | } | ||
} | } | ||
Line 104: | Line 120: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .approved-revision { | html.skin-theme-clientpref-os .approved-revision { | ||
background-color: transparent !important; | |||
color: white !important; | |||
border: solid #008000 !important; | |||
} | } | ||
} | } | ||
/* Image: Thumb | Temp till rework*/ | |||
figure[typeof~="mw:File/Thumb"], | |||
figure[typeof~="mw:File/Thumb"] > figcaption { | |||
background: var(--primary-bg-color); | |||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night | |||
.mw-parser-output | |||
> figure[typeof^="mw:File"] | |||
img , html.skin-theme-clientpref-night #file img { | |||
background-color: inherit; | |||
} | |||
} | |||
/* Forms blackout */ | |||
.multipleTemplateInstance { | |||
background-color:#000 | |||
} | |||
/************************** | |||
* [[Template:Blank Cell]] * | |||
**************************/ | |||
th .blankCell, | |||
td .blankCell { | |||
display: flex; | |||
cursor: not-allowed; | |||
text-align: center; | |||
} | |||
th .blankCell:after, | |||
td .blankCell:after { | |||
content: "∅"; | |||
flex: 1; | |||
align-self: center; | |||
} | |||
/* END Template:Blank Cell*/ |