MediaWiki:Common.css

From Wiki.OSArch
Revision as of 00:08, 8 November 2020 by Moult (talk | contribs)

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 */

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Open+Sans:wght@300&display=swap');

/* Timeless skin includes an empty space for a logo, which we don't have */
.mw-wiki-logo.fallback { height: 0 !important; }

/* Round the search bar */
#simpleSearch { border-radius: 5px; }

body { font-family: font-family: 'Lato', sans-serif; }

h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; }
.mw-body h1.firstHeading { font-family: 'Open Sans', sans-serif; border-bottom: none; }

#mw-content-container { margin-top: 3em; }
#mw-header-hack { display: none; }

table.gallery { width: 100%; }
table.gallery td { width: 20%; }
table.gallery td img { width: 100%; height: auto; }

table.wikitable { border-collapse: separate; }
table.wikitable td { border: 0px; }
table.wikitable tr:first-child td:first-child { border-top-left-radius: 10px; }
table.wikitable tr:first-child td:last-child { border-top-right-radius: 10px; }
table.wikitable tr:last-child td:first-child { border-bottom-left-radius: 10px; }
table.wikitable tr:last-child td:last-child { border-bottom-right-radius: 10px; }