Difference between revisions of "MediaWiki:Common.css"

From Wiki.OSArch
m
m
Line 12: Line 12:
  
 
h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; }
 
h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; }
 +
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 { width: 100%; }
 
table.gallery td { width: 20%; }
 
table.gallery td { width: 20%; }
 
table.gallery td img { width: 100%; height: auto; }
 
table.gallery td img { width: 100%; height: auto; }

Revision as of 00:01, 8 November 2020

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