MediaWiki:Common.css: Difference between revisions
UnrulyJuli3 (talk | contribs) Fix header weight, fix light mode sidebars |
UnrulyJuli3 (talk | contribs) Add more items to fancy heading selectors |
||
| Line 11: | Line 11: | ||
} | } | ||
.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { | .mw-body h1, | ||
.mw-body .mw-heading1, | |||
.mw-body-content h1, | |||
.mw-body-content .mw-heading1, | |||
.mw-body-content h2, | |||
.mw-body-content .mw-heading2, | |||
.vector-sticky-header-context-bar-primary { | |||
/* fancy heading */ | /* fancy heading */ | ||
font-family: Inter, sans-serif; | font-family: Inter, sans-serif; | ||
font-weight: 600; | font-weight: 600; | ||
} | |||
@media print { | |||
.toc, | |||
body, | |||
img { | |||
/* fancy heading */ | |||
font-family: Inter, sans-serif; | |||
font-weight: 600; | |||
} | |||
} | } | ||
Revision as of 21:36, 25 August 2024
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap);
.cdx-search-input .cdx-text-input__icon.cdx-text-input__start-icon {
-webkit-mask-image: url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTEyLjIgMTMuNmE3IDcgMCAxMTEuNC0xLjRsNS40IDUuNC0xLjQgMS40ek0zIDhhNSA1IDAgMTAxMCAwQTUgNSAwIDAwMyA4Ii8+PC9zdmc+);
mask-image: url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTEyLjIgMTMuNmE3IDcgMCAxMTEuNC0xLjRsNS40IDUuNC0xLjQgMS40ek0zIDhhNSA1IDAgMTAxMCAwQTUgNSAwIDAwMyA4Ii8+PC9zdmc+);
background-color: #202122;
}
html, body {
font-family: Inter, sans-serif;
}
.mw-body h1,
.mw-body .mw-heading1,
.mw-body-content h1,
.mw-body-content .mw-heading1,
.mw-body-content h2,
.mw-body-content .mw-heading2,
.vector-sticky-header-context-bar-primary {
/* fancy heading */
font-family: Inter, sans-serif;
font-weight: 600;
}
@media print {
.toc,
body,
img {
/* fancy heading */
font-family: Inter, sans-serif;
font-weight: 600;
}
}
html.client-darkmode {
--background-color-base: #dce1e8;
}
html.client-darkmode,
html.client-darkmode body,
html.client-darkmode .vector-pinned-container {
background: #dce1e8;
}