Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | /* FontAwesome */ | ||
+ | @import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"; | ||
+ | |||
+ | |||
+ | /* Infobox */ | ||
.infobox { | .infobox { | ||
background: #eee; | background: #eee; |
Revision as of 01:09, 16 August 2020
/* CSS placed here will be applied to all skins */ /* FontAwesome */ @import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"; /* Infobox */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; } /* Home stuff */ #mp-topbanner { clear: both; position: relative; box-sizing: border-box; width: 100%; margin-top: 1.2em; min-width: 47em; border-color: #ddd; background-color: #f9f9f9; white-space: nowrap; } .mp-bordered, .mp-h2, body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ border-width: 1px; border-style: solid; } #mp-topbanner, .mp-h2, #mp-left { color: #000; } #mp-welcomecount { margin: 0.4em; width: 22em; text-align: center; } #mp-welcome { font-size: 162%; padding: 0.1em; } #mp-free { font-size: 95%; } #articlecount { font-size: 85%; } #mp-portals { position: absolute; right: -1em; top: 50%; margin-top: -2.4em; width: 38%; min-width: 25em; font-size: 95%; }