MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
@font-face { | @font-face { | ||
font-family: "Liberation Sans"; | font-family: "Liberation Sans"; | ||
src: url("/resources/fonts/ | src: url("/resources/fonts/LiberationSans-Regular.ttf"); | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Linux Libertine"; | font-family: "Linux Libertine"; | ||
src: url("/resources/fonts/ | src: url("/resources/fonts/LinLibertine_R.ttf"); | ||
} | } | ||
| Line 17: | Line 17: | ||
/* Force all serif elements (headings, quotes, etc.) to Linux Libertine */ | /* Force all serif elements (headings, quotes, etc.) to Linux Libertine */ | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
blockquote, | |||
.mw-body-content .serif, | |||
.mw-headline { | .mw-headline { | ||
font-family: "Linux Libertine", Georgia, serif; | font-family: "Linux Libertine", Georgia, serif; | ||
} | } | ||
/* Hide the automatic Tools and Special pages sections */ | /* Hide the automatic Tools and Special pages sections */ | ||
Revision as of 16:11, 3 November 2025
/* CSS placed here will be applied to all skins */
@font-face {
font-family: "Liberation Sans";
src: url("/resources/fonts/LiberationSans-Regular.ttf");
}
@font-face {
font-family: "Linux Libertine";
src: url("/resources/fonts/LinLibertine_R.ttf");
}
/* --- Global font setup --- */
html, body {
font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
}
/* Force all serif elements (headings, quotes, etc.) to Linux Libertine */
h1, h2, h3, h4, h5, h6,
blockquote,
.mw-body-content .serif,
.mw-headline {
font-family: "Linux Libertine", Georgia, serif;
}
/* Hide the automatic Tools and Special pages sections */
#p-tb {
display: none !important;
}