Difference between revisions of "MediaWiki:Common.css"

From Wiki.OSArch
m
m
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
+
@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 */
 
/* Timeless skin includes an empty space for a logo, which we don't have */
.mw-wiki-logo.fallback {
+
.mw-wiki-logo.fallback { height: 0 !important; }
        height: 0 !important;
 
}
 
  
 
/* Round the search bar */
 
/* Round the search bar */
#simpleSearch {
+
#simpleSearch { border-radius: 5px; }
        border-radius: 5px;
 
}
 
  
body {
+
body { font-family: font-family: 'Lato', sans-serif; }
        font-family: 'Open Sans';
+
 
}
+
h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; }
  
 
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 23:56, 7 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; }

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