MediaWiki:Common.css
Appearance
Note: After publishing, 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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* General infobox styling */ .infobox { width: 300px; border: 1px solid #aaa; border-collapse: collapse; margin: 1em 0; background-color: #f9f9f9; font-family: sans-serif; } .infobox th, .infobox td { padding: 5px 10px; text-align: left; } .infobox th { background-color: #e5e5e5; font-weight: bold; } /* Styling for the image section */ .infobox-image { text-align: center; padding: 10px; } .infobox-caption { font-size: 0.8em; color: #777; margin-top: 5px; } /* Header styling */ .infobox-header { background-color: #f0f0f0; font-weight: bold; text-align: center; } /* Label styling */ .infobox-label { font-weight: bold; padding-right: 10px; vertical-align: top; } /* Data styling */ .infobox-data { font-size: 1em; } /* Styling for the flag and seal images */ .infobox-data img { max-width: 100%; height: auto; } /* Navbar (links) styling */ .infobox-navbar { border-top: 1px solid #ccc; padding-top: 5px; text-align: center; } .navbar a { text-decoration: none; color: #0066cc; margin: 0 5px; } .navbar a:hover { text-decoration: underline; } /* The hlist class for inline lists */ .mw-parser-output .hlist { margin: 0; padding: 0; list-style: none; display: inline-block; } .mw-parser-output .hlist li { display: inline-block; margin-right: 10px; }