MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, 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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@font-face {
font-family: "Helvetica Black";
src: url("https://verybad.wiki/images/3/3f/Helveticablackoriginal_bold.otf")
format("opentype");
font-weight: 900;
font-style: normal;
font-display: swap;
}
h1, h2, h3, h4, h5, h6, .pi-title, .mw-logo-wordmark {
font-family: "Helvetica Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 900;
}
.mw-parser-output > p:empty {
display: none;
margin: 0;
padding: 0;
}
#footer-tagline {
text-align: left;
max-width: 50%;
}
/* Main table */
table.wikitable {
width: 100%;
border-collapse: collapse;
background-color: #1e2a35;
border: 1px solid #444;
}
/* Header row */
table.wikitable th {
background-color: #2a3f52;
color: #e8e8e8;
padding: 0.5em 1em;
border: 1px solid #444;
text-align: left;
}
/* Data cells */
table.wikitable td {
padding: 0.4em 1em;
border: 1px solid #444;
color: #e8e8e8;
}
/* Alternating rows */
table.wikitable tr:nth-child(even) {
background-color: #243040;
}
table.wikitable tr:hover {
background-color: #2f4255;
}
@media screen and (max-width: 768px) {
table.wikitable thead {
display: none;
}
table.wikitable tr {
display: block;
margin-bottom: 1em;
border: 1px solid #444;
}
table.wikitable td {
display: block;
text-align: right;
padding-left: 50%;
position: relative;
border: none;
border-bottom: 1px solid #444;
}
table.wikitable td::before {
content: attr(data-label);
position: absolute;
left: 0.5em;
font-weight: bold;
text-align: left;
}
}