MediaWiki:Common.css: Difference between revisions
From Tarazedi
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
--surface: #0D0D0D; | --surface: #0D0D0D; | ||
--border: rgba(184, 115, 51, 0.25); | --border: rgba(184, 115, 51, 0.25); | ||
--content-background: rgba(184, 115, 51, 0.25); | |||
--heading-gradient: linear-gradient( | --heading-gradient: linear-gradient( | ||
to bottom, | |||
#FFFFFF 0%, | |||
#B87333 100% | |||
); | ); | ||
color-scheme: dark; | color-scheme: dark; | ||
} | } | ||
/* DOCUMENT */ | /* DOCUMENT */ | ||
| Line 74: | Line 73: | ||
font-family: var(--font-heading); | font-family: var(--font-heading); | ||
font-weight: 400; | font-weight: 400; | ||
font-variant: normal; | |||
text-transform: lowercase; | |||
text-align: center; | text-align: center; | ||
color: var(--secondary); | 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: | h1 { font-size: 3.5rem; } | ||
h2 { font-size: 2. | h2 { font-size: 2.4rem; } | ||
h3 { font-size: | h3 { font-size: 2rem; } | ||
h4 { font-size: 1. | h4 { font-size: 1.7rem; } | ||
h5 { font-size: 1. | h5 { font-size: 1.5rem; } | ||
h6 { font-size: 1. | h6 { font-size: 1.3rem; } | ||
/* LINKS */ | /* LINKS */ | ||
a, | body a, | ||
a:visited, | body a:link, | ||
a.external, | body a:visited, | ||
a.extiw, | body a.external, | ||
a.new { | body a.extiw, | ||
body a.new { | |||
color: var(--secondary); | color: var(--secondary); | ||
text-decoration: none; | text-decoration: none; | ||
| Line 109: | Line 119: | ||
} | } | ||
a:hover, | body a:hover, | ||
a:focus-visible { | body a:focus-visible { | ||
color: var(--primary); | color: var(--primary); | ||
} | } | ||
Revision as of 19:06, 1 December 2026
/* ==========================================================
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;
}
