MediaWiki:Global.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 42: | Line 42: | ||
font-weight: 400; | font-weight: 400; | ||
font-style: normal; | font-style: normal; | ||
} | |||
/* ===== Global Styles ===== */ | |||
body { | |||
font-family: 'Goudy Bookletter 1911', serif !important; | |||
} | |||
pre, code { /* Internal spacing */ | |||
font-family: 'Courier New', 'Consolas', monospace !important; /* Monospace font */ /* Horizontal scroll if needed */ | |||
} | |||
#toc h2 { | |||
font-family: 'Metamorphous', cursive !important; | |||
} | |||
.mw-changeslist-legend h2 { | |||
font-family: 'Metamorphous', cursive !important; | |||
} | |||
/* ===== UI Elements Still Use Custom Font ===== */ | |||
.wikiEditor-ui-toolbar, | |||
.wikiEditor-ui-toolbar .group .tool a, | |||
.wikiEditor-ui-dialog { | |||
font-family: 'Bona Nova', serif !important; /* Keep custom font for UI */ | |||
} | |||
/* ===== Ace Editor Base Styling ===== */ | |||
.ace_editor { | |||
font-family: 'Courier New', 'Consolas', monospace !important; /* Monospace for cursor alignment */ | |||
} | |||
/* ===== CodeEditor - General Editor Styling ===== */ | |||
.ace_editor { | |||
font-family: 'Courier New', 'Consolas', monospace !important; | |||
} | |||
/* Navbar Logo */ | |||
.navbar-logo a { | |||
font-family: 'Metamorphous', cursive !important; | |||
} | |||
/* Infobox Title */ | |||
.portable-infobox .pi-title { | |||
font-family: 'Metamorphous' !important; | |||
} | |||
h3.pi-data-label { | |||
font-family: 'Bona Nova' !important; | |||
} | |||
/* ===== Headers (Orange Variants) ===== */ | |||
h1, h2, h3, h4, h5, h6, | |||
.mw-body h1, | |||
.mw-body .mw-heading1, | |||
.mw-body-content h1, | |||
.mw-body-content .mw-heading1, | |||
.mw-body-content h2, .pi-title h2, | |||
.mw-body-content .mw-heading2, | |||
.mw-logo-wordmark, | |||
#firstHeadingTitle { | |||
font-family: 'Uncial Antiqua', 'Metamorphous', cursive !important; | |||
} | } |
Latest revision as of 07:32, 20 May 2025
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Goudy+Bookletter+1911&family=Metamorphous&family=Modern+Antiqua&family=Uncial+Antiqua&display=swap');
.bona-nova-regular {
font-family: "Bona Nova", serif;
font-weight: 400;
font-style: normal;
}
.bona-nova-bold {
font-family: "Bona Nova", serif;
font-weight: 700;
font-style: normal;
}
.bona-nova-regular-italic {
font-family: "Bona Nova", serif;
font-weight: 400;
font-style: italic;
}
.goudy-bookletter-1911-regular {
font-family: "Goudy Bookletter 1911", serif;
font-weight: 400;
font-style: normal;
}
.eb-garamond {
font-family: "EB Garamond", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
.uncial-antiqua-regular {
font-family: "Uncial Antiqua", system-ui;
font-weight: 400;
font-style: normal;
}
.modern-antiqua-regular {
font-family: "Modern Antiqua", serif;
font-weight: 400;
font-style: normal;
}
.metamorphous-regular {
font-family: "Metamorphous", serif;
font-weight: 400;
font-style: normal;
}
/* ===== Global Styles ===== */
body {
font-family: 'Goudy Bookletter 1911', serif !important;
}
pre, code { /* Internal spacing */
font-family: 'Courier New', 'Consolas', monospace !important; /* Monospace font */ /* Horizontal scroll if needed */
}
#toc h2 {
font-family: 'Metamorphous', cursive !important;
}
.mw-changeslist-legend h2 {
font-family: 'Metamorphous', cursive !important;
}
/* ===== UI Elements Still Use Custom Font ===== */
.wikiEditor-ui-toolbar,
.wikiEditor-ui-toolbar .group .tool a,
.wikiEditor-ui-dialog {
font-family: 'Bona Nova', serif !important; /* Keep custom font for UI */
}
/* ===== Ace Editor Base Styling ===== */
.ace_editor {
font-family: 'Courier New', 'Consolas', monospace !important; /* Monospace for cursor alignment */
}
/* ===== CodeEditor - General Editor Styling ===== */
.ace_editor {
font-family: 'Courier New', 'Consolas', monospace !important;
}
/* Navbar Logo */
.navbar-logo a {
font-family: 'Metamorphous', cursive !important;
}
/* Infobox Title */
.portable-infobox .pi-title {
font-family: 'Metamorphous' !important;
}
h3.pi-data-label {
font-family: 'Bona Nova' !important;
}
/* ===== Headers (Orange Variants) ===== */
h1, h2, h3, h4, h5, h6,
.mw-body h1,
.mw-body .mw-heading1,
.mw-body-content h1,
.mw-body-content .mw-heading1,
.mw-body-content h2, .pi-title h2,
.mw-body-content .mw-heading2,
.mw-logo-wordmark,
#firstHeadingTitle {
font-family: 'Uncial Antiqua', 'Metamorphous', cursive !important;
}