Difference between revisions of "MediaWiki:Common.css"
From Wiki.OSArch
m |
m |
||
Line 20: | Line 20: | ||
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; } | ||
+ | |||
+ | 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; } |
Revision as of 00:08, 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; }
.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; }