Jump to content

MediaWiki:Common.css: Difference between revisions

 
(72 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 {
 
text-align: center;
@font-face {
font-size: 4em;
  font-family: 'Goudy Mediaeval Regular';
  src: url('https://continuum-universes.com/images/7/7f/GoudyMediaeval-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Goudy Mediaeval Alternative';
  src: url('https://continuum-universes.com/images/4/43/GoudyMedieval-Alternate.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
.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 Mediaeval Alternative', 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 */
.emoji-trigger-wrap { margin-bottom: .5rem; }
.portable-infobox .pi-title {
#emoji-trigger { margin-right: .5rem; }
    font-family: 'Modern Antiqua' !important;
/* --- 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;
}
}


h3.pi-data-label {
#PollVotes.vote-number {
    font-family: 'Goudy Mediaeval Alternative' !important;
  color: inherit;            /* stop forcing white */
}
  display: inline-block !important;
.oo-ui-labelElement {
  background-color: transparent;
font-family: 'Goudy Mediaeval Alternative' !important;
  font-size: var(--font-size-medium) !important;
  font-weight: 600;
}
}
/* ===== Headers (Orange Variants) ===== */
.vote-box::before {
h1, h2, h3, h4, h5, h6,
  content: "👍";
.mw-body h1,
  display: inline-block;
.mw-body .mw-heading1,
  font-size: var(--font-size-medium) !important;
.mw-body-content h1,
  line-height: 1;
.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: 1.75em;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 1em;
}
}