Difference between revisions of "MediaWiki:Common.css"
From Wiki.OSArch
(Created page with "→CSS placed here will be applied to all skins: table.gallery { width: 100%; } table.gallery td { width: 20%; } table.gallery td img { width: 100%; }") |
m |
||
(19 intermediate revisions by the same user not shown) | |||
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=Lato&family=Open+Sans:wght@300&display=swap'); | ||
+ | |||
+ | @import "https://wiki.osarch.org/skeleton.css"; | ||
+ | |||
+ | /* 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: 'Lato', sans-serif; color: #555; } | ||
+ | |||
+ | h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; } | ||
+ | .mw-body h1.firstHeading, .mw-headline { 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%; } | + | table.gallery td img { width: 100%; height: auto; } |
+ | |||
+ | table.wikitable { border: 0px; } | ||
+ | table.wikitable th, table.wikitable td { border: 0px; border-bottom: 1px solid #d2d2d2; padding: 10px; } | ||
+ | |||
+ | #mw-content-container { border-bottom: 0px; } | ||
+ | |||
+ | .blurb { background-image: url(https://www.toptal.com/designers/subtlepatterns/patterns/noisy_grid.png); } | ||
+ | |||
+ | a:hover, a:visited { color: #8e36ae; } | ||
+ | |||
+ | .homepage-icon { width: auto; max-height: 100px; } |
Latest revision as of 02:01, 10 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');
@import "https://wiki.osarch.org/skeleton.css";
/* 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: 'Lato', sans-serif; color: #555; }
h1, h2, h3, h4, h5 { font-family: 'Open Sans', sans-serif; }
.mw-body h1.firstHeading, .mw-headline { 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: 0px; }
table.wikitable th, table.wikitable td { border: 0px; border-bottom: 1px solid #d2d2d2; padding: 10px; }
#mw-content-container { border-bottom: 0px; }
.blurb { background-image: url(https://www.toptal.com/designers/subtlepatterns/patterns/noisy_grid.png); }
a:hover, a:visited { color: #8e36ae; }
.homepage-icon { width: auto; max-height: 100px; }