MediaWiki:Common.css
From Tarazedi
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);
--content-background: rgba(184, 115, 51, 0.25);
--heading-gradient: linear-gradient(
to bottom,
#FFFFFF 0%,
#B87333 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;
font-variant: normal;
text-transform: lowercase;
text-align: center;
color: var(--secondary);
line-height: 1.3;
border: none;
overflow: visible;
}
/* GRADIENT WITH SOLID COLOUR FALLBACK */
@supports (background-clip: text) or
(-webkit-background-clip: text) {
h1, h2, h3, h4, h5, h6 {
background-image: var(--heading-gradient);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.7rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.3rem; }
/* LINKS */
body a,
body a:link,
body a:visited,
body a.external,
body a.extiw,
body a.new {
color: var(--secondary);
text-decoration: none;
}
.mw-parser-output a:not(.image):not(.mw-file-description) {
border-bottom: 1px dotted var(--accent);
}
body a:hover,
body a:focus-visible {
color: var(--primary);
}
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;
}
