MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: @import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark);" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark); | @import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark); | ||
.wikitable, .infobox, .navbox { | |||
background: #f9f9f9; | |||
border: 1px solid #aaa; | |||
} | |||
.navbox { | |||
width: 90%; | |||
} | |||
caption { font-size: 120%; font-weight: bold; } | |||
.infobox { font-size: 90%; float: right; margin-left: 1em; } | |||
code { background: none } | |||
Revision as of 21:28, 14 August 2024
/* CSS placed here will be applied to all skins */
@import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark);
.wikitable, .infobox, .navbox {
background: #f9f9f9;
border: 1px solid #aaa;
}
.navbox {
width: 90%;
}
caption { font-size: 120%; font-weight: bold; }
.infobox { font-size: 90%; float: right; margin-left: 1em; }
code { background: none }