|
|
| (78 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| @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');
| | .welcome { |
| .bona-nova-regular { | | text-align: center; |
| font-family: "Bona Nova", serif;
| | font-size: 4em; |
| font-weight: 400;
| |
| font-style: normal;
| |
| } | | } |
| | | .emoji-trigger-wrap { margin-bottom: .5rem; } |
| .bona-nova-bold { | | #emoji-trigger { margin-right: .5rem; } |
| font-family: "Bona Nova", serif;
| | /* --- VoteNY: render as 👍1 --- */ |
| font-weight: 700;
| | .vote-box { |
| font-style: normal;
| | background-color: transparent; /* remove green box */ |
| }
| | height: auto; |
| | | width: auto; |
| .bona-nova-regular-italic { | | padding: 0; |
| font-family: "Bona Nova", serif;
| | display: inline-block !important; |
| font-weight: 400;
| | align-items: center; |
| 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: 'Bona Nova', serif !important;
| |
| }
| |
| pre, code { /* Internal spacing */
| |
| font-family: 'Courier New', 'Consolas', monospace !important; /* Monospace font */ /* Horizontal scroll if needed */
| |
| }
| |
| | |
| #toc h2 {
| |
| font-family: 'Modern Antiqua', cursive !important;
| |
| }
| |
| .mw-changeslist-legend h2 {
| |
| font-family: 'Modern Antiqua', 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: 'Modern Antiqua', cursive !important;
| |
| }
| |
| /* Infobox Title */
| |
| .portable-infobox .pi-title {
| |
| font-family: 'Modern Antiqua' !important;
| |
| } | | } |
|
| |
|
| h3.pi-data-label {
| | #PollVotes.vote-number { |
| font-family: 'Bona Nova' !important;
| | color: inherit; /* stop forcing white */ |
| | display: inline-block !important; |
| | background-color: transparent; |
| | font-size: var(--font-size-medium) !important; |
| | font-weight: 600; |
| } | | } |
| | | .vote-box::before { |
| /* ===== Headers (Orange Variants) ===== */
| | content: "👍"; |
| h1, h2, h3, h4, h5, h6,
| | display: inline-block; |
| .mw-body h1, | | font-size: var(--font-size-medium) !important; |
| .mw-body .mw-heading1,
| | line-height: 1; |
| .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: 'Modern Antiqua', cursive !important;
| |
| } | | } |
|
| |
|
| .mwe-popups-extract p { | | #PollVotes.vote-number::before { |
| display: block !important;
| | content: none !important; |
| visibility: visible !important;
| |
| } | | } |
|
| |
|
| .mwe-popups-extract .portable-infobox {
| | /* Hide the Vote/unvote link (we’ll keep it functional via JS) */ |
| display: none !important; /* Ensure infobox doesn't interfere */
| | #Answer.vote-action { |
| }
| | display: none; |
| .copyright-warning {
| |
| color: var(--color-base);
| |
| font-size: 11px;
| |
| margin: 0 0 10px;
| |
| width: 700px;
| |
| max-width: 100%;
| |
| }
| |
| .create-title { | |
| color: var(--color-base);
| |
| border: 1px solid var(--color-subtle);
| |
| }
| |
| .filehistory {
| |
| max-width: 100% !important;
| |
| } | | } |
.welcome {
text-align: center;
font-size: 4em;
}
.emoji-trigger-wrap { margin-bottom: .5rem; }
#emoji-trigger { margin-right: .5rem; }
/* --- VoteNY: render as 👍1 --- */
.vote-box {
background-color: transparent; /* remove green box */
height: auto;
width: auto;
padding: 0;
display: inline-block !important;
align-items: center;
}
#PollVotes.vote-number {
color: inherit; /* stop forcing white */
display: inline-block !important;
background-color: transparent;
font-size: var(--font-size-medium) !important;
font-weight: 600;
}
.vote-box::before {
content: "👍";
display: inline-block;
font-size: var(--font-size-medium) !important;
line-height: 1;
}
#PollVotes.vote-number::before {
content: none !important;
}
/* Hide the Vote/unvote link (we’ll keep it functional via JS) */
#Answer.vote-action {
display: none;
}