MediaWiki:Common.css: Difference between revisions
i think this should be common too no? |
ReisuDesign (talk | contribs) No edit summary |
||
| (9 intermediate revisions by 2 users 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"); | ||
@import url("/index.php?title=MediaWiki:ChangeHistory.css&action=raw&ctype=text/css&cb=3"); | @import url("/index.php?title=MediaWiki:ChangeHistory.css&action=raw&ctype=text/css&cb=3"); | ||
@import url("/index.php?title=MediaWiki:Edios Infobox.css&action=raw&ctype=text/css&cb=3"); | |||
/* Import Font */ | /* Import Font */ | ||
| Line 26: | 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 32: | 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 55: | Line 56: | ||
overflow: auto; | overflow: auto; | ||
padding: 10px 12px 6px; | padding: 10px 12px 6px; | ||
} | |||
/* For [[Module:Formatting]] */ | |||
.custom-formatting-code { | |||
display: inline-block; | |||
line-height: 21px; | |||
} | |||
.custom-formatting-code.code-block-table { display: table; } | |||
span.variable { opacity: 0.65; } | |||
span.variable::after { | |||
opacity: 0.65; | |||
content: ">"; | |||
} | |||
span.variable::before { | |||
opacity: 0.65; | |||
content: "<"; | |||
} | |||
.custom-formatting-nested { display: none; } | |||
.custom-formatting-resulting { display: inline; } | |||
.custom-formatting-code .custom-formatting-nested { display: inline-block; } | |||
.custom-formatting-code .custom-formatting-resulting { display: none; } | |||
/* End for [[Module:Formatting]] */ | |||
/* Styling for [[Template:tt]] */ | |||
.text-tooltip { | |||
cursor: help; | |||
} | |||
.text-tooltip:not(.no-underline) { | |||
border-bottom-color: rgb(128, 128, 128); | |||
border-bottom-width: 1px; | |||
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); | |||
} | |||
} | } | ||