MediaWiki:Common.css: Difference between revisions
trying out the one I did for nikki1, it might have fixed some stuff |
ReisuDesign (talk | contribs) No edit summary |
||
| (4 intermediate revisions by one other 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 (including the mobile skin) */ | ||
@import url("/index.php?title=MediaWiki:Mbox.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Mbox.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:FD_Mbox.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:FD_Mbox.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Quotes.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Quotes.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Font.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Font.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Item.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Item.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Gallery.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Gallery.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css&cb=3"); | ||
| Line 14: | Line 12: | ||
@import url("/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:StaffColors.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:StaffColors.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Attributes.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:Attributes.css&action=raw&ctype=text/css&cb=3"); | ||
| Line 27: | Line 24: | ||
--theme-page-headings-font: 'Quicksand'; | --theme-page-headings-font: 'Quicksand'; | ||
} | } | ||
/* Class to add text hidden from view that is usable by screen readers */ | |||
.screen-reader-text { font-size: 0; } | |||
/* [[Template:Description]] styles */ | /* [[Template:Description]] styles */ | ||
| Line 33: | Line 33: | ||
overflow: hidden; | overflow: hidden; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: | background: var(--theme-color-9); | ||
} | } | ||
div.description-content { | div.description-content { | ||
| Line 79: | Line 79: | ||
/* End for [[Module:Formatting]] */ | /* End for [[Module:Formatting]] */ | ||
| Line 161: | Line 91: | ||
border-bottom-width: 1px; | border-bottom-width: 1px; | ||
border-bottom-style: dotted; | border-bottom-style: dotted; | ||
} | |||
/* Additional inverts and filters */ | |||
/* Default MediaWiki invert classes: .skin-invert and .skin-invert-image */ | |||
.skin-theme-clientpref-day .day-invert-image, | |||
.skin-theme-clientpref-day .light-invert-image { | |||
filter: invert(65%) hue-rotate(180deg); | |||
} | |||
.skin-theme-clientpref-night .night-invert-image, | |||
.skin-theme-clientpref-night .dark-invert-image { | |||
filter: invert(85%) hue-rotate(180deg); | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
.skin-theme-clientpref-os .night-invert-image, | |||
.skin-theme-clientpref-os .dark-invert-image { | |||
filter: invert(85%) hue-rotate(180deg); | |||
} | |||
} | } | ||