MediaWiki:Common.css

From Tarazedi
Revision as of 18:47, 1 December 2026 by Tarazedi (talk | contribs) (Created page with "→========================================================== TARAZEDI — GLOBAL THEME ==========================================================: →FONT: @font-face { font-family: "Great Vibes"; src: url("/resources/tarazedi/fonts/GreatVibes-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; } →DESIGN VARIABLES: :root { --background: #000000; --primary: #FF9900; --secon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==========================================================
   TARAZEDI — GLOBAL THEME
   ========================================================== */

/* FONT */

@font-face {
    font-family: "Great Vibes";
    src: url("/resources/tarazedi/fonts/GreatVibes-Regular.ttf")
         format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* DESIGN VARIABLES */

:root {
    --background: #000000;
    --primary: #FF9900;
    --secondary: #B87333;
    --accent: #FFFFFF;

    --font-heading: "Great Vibes", cursive;
    --font-body: Arial, Helvetica, sans-serif;

    --surface: #0D0D0D;
    --border: rgba(184, 115, 51, 0.25);

    --heading-gradient: linear-gradient(
        to bottom,
        var(--accent) 0%,
        var(--secondary) 25%,
        var(--secondary) 100%
    );

    color-scheme: dark;
}

/* DOCUMENT */

html,
body {
    background: var(--background);
    color: var(--primary);
    font-family: var(--font-body);
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

/* ARTICLE TEXT */

.mw-body-content,
.mw-parser-output {
    color: var(--primary);
    font-family: var(--font-body);
}

.mw-parser-output p {
    text-align: justify;
    hyphens: auto;
}

/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-align: center;
    color: var(--secondary);

    background-image: var(--heading-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    border: none;
    box-shadow: none;
    line-height: 1.3;
}

h1 { font-size: 3em; }
h2 { font-size: 2.4em; }
h3 { font-size: 2em; }
h4 { font-size: 1.7em; }
h5 { font-size: 1.5em; }
h6 { font-size: 1.3em; }

/* LINKS */

a,
a:visited,
a.external,
a.extiw,
a.new {
    color: var(--secondary);
    text-decoration: none;
}

.mw-parser-output a:not(.image):not(.mw-file-description) {
    border-bottom: 1px dotted var(--accent);
}

a:hover,
a:focus-visible {
    color: var(--primary);
    text-decoration: none;
}

a.new {
    font-style: italic;
}

/* SELECTION */

::selection {
    background: var(--secondary);
    color: var(--background);
}

/* STRUCTURAL ELEMENTS */

hr {
    border: 0;
    height: 1px;
    background: var(--border);
}

blockquote {
    border-left: 2px solid var(--secondary);
    padding-left: 1em;
}

pre,
code {
    background: var(--surface);
    color: var(--primary);
    font-family: var(--font-body);
}

pre {
    border: 1px solid var(--border);
}

/* TABLES */

table.wikitable {
    background: var(--background);
    color: var(--primary);
    border: 1px solid var(--border);
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background: var(--surface);
    color: var(--secondary);
}

table.wikitable > tr > *,
table.wikitable > * > tr > * {
    border-color: var(--border);
}

/* MEDIA */

figure,
figure[typeof~="mw:File/Thumb"],
.thumbinner {
    background: var(--background);
    border-color: var(--border);
    color: var(--primary);
}

figcaption,
.thumbcaption {
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.85em;
}

.mw-parser-output img {
    max-width: 100%;
    height: auto;
}