MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
font-style: normal; | font-style: normal; | ||
font-display: swap; | font-display: swap; | ||
unicode-range: U+0020-007E; | |||
} | } | ||
h1, h2, h3, h4, h5, h6, .pi-title { | h1, h2, h3, h4, h5, h6, .pi-title, .mw-logo-wordmark { | ||
font-family: "Helvetica Black", "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Black", "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
font-weight: 900; | font-weight: 900; | ||
} | } | ||
. | .mw-parser-output > p:empty { | ||
display: none; | |||
margin: 0; | |||
margin: 0 | padding: 0; | ||
padding: 0 | |||
} | } | ||
#footer-tagline { | |||
text-align: left; | |||
max-width: 50%; | |||
} | } | ||
.wikitable { | |||
background-color: var(--color-surface-1); | |||
border-color: var(--border-color-base); | |||
border: | |||
} | } | ||
.wikitable th { | |||
background-color: var(--color-surface-2); | |||
color: var(--color-base); | |||
} | } | ||
.wikitable td { | |||
border-color: var(--border-color-base); | |||
} | } | ||
Latest revision as of 20:44, 21 March 2026
/* 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;
unicode-range: U+0020-007E;
}
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%;
}
.wikitable {
background-color: var(--color-surface-1);
border-color: var(--border-color-base);
}
.wikitable th {
background-color: var(--color-surface-2);
color: var(--color-base);
}
.wikitable td {
border-color: var(--border-color-base);
}
@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;
}
}