MediaWiki:Common.css: Difference between revisions
From Tarazedi
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
--heading-gradient: linear-gradient( | --heading-gradient: linear-gradient( | ||
to bottom, | to bottom, | ||
var(--accent) | var(--accent) 0%, | ||
var(--secondary) | var(--secondary) 33% | ||
); | ); | ||
Latest revision as of 11:11, 2 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.10);
--heading-gradient: linear-gradient(
to bottom,
var(--accent) 0%,
var(--secondary) 33%
);
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 — SHARED PROPERTIES */
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-variant: normal;
text-align: center;
color: var(--secondary);
line-height: 1;
margin: 0.2em 0 0.1em;
padding: 0;
border: none;
overflow: visible;
}
/* HEADINGS — GREAT VIBES */
h1, h2, h3 {
font-family: var(--font-heading);
text-transform: lowercase;
}
/* HEADINGS — ARIAL */
h4, h5, h6 {
font-family: var(--font-body);
text-transform: none;
}
/* HEADING SIZES */
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }
/* MEDIAWIKI HEADING CONTAINERS */
.mw-heading,
.mw-parser-output .mw-heading {
margin: 0;
padding: 0;
border: none;
}
.mw-heading h1,
.mw-heading h2,
.mw-heading h3,
.mw-heading h4,
.mw-heading h5,
.mw-heading h6 {
margin: 0.2em 0 0.1em;
padding: 0;
line-height: 1;
}
/* 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;
}
}
/* 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;
}
/* HIDE SECTION EDIT LINKS */
.mw-editsection {
display: none !important;
}
