MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */ /* FontAwesome */ @import "https://pro.fontawesome.com/releases/v5.14.0/css/all.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-quote { font-size: 1em; text-align: center; } .infobox-image { text-align: center; } .infobox table { border-collapse: collapse; width: 100%; } th, td { padding: 4px; } tr:nth-child(even) {background-color: #f2f2f2;} .infobox th { vertical-align: top; } .infobox td { vertical-align: top; padding: 4px; } /* 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%; }