MediaWiki:Timeless.css: Difference between revisions
From Tarazedi
No edit summary |
No edit summary |
||
| Line 568: | Line 568: | ||
#mw-content-text { | #mw-content-text { | ||
font-size: 1rem; | font-size: 1rem; | ||
} | |||
} | |||
/* ========================================================== | |||
TARAZEDI — REFINEMENTS | |||
========================================================== */ | |||
/* CENTRAL CONTENT BACKGROUND */ | |||
.skin-timeless #mw-content { | |||
background: var(--content-background) !important; | |||
border: none; | |||
border-radius: 4px; | |||
box-shadow: none; | |||
} | |||
/* HEADINGS — LOWERCASE AND FULL GRADIENT */ | |||
.skin-timeless h1, | |||
.skin-timeless h2, | |||
.skin-timeless h3, | |||
.skin-timeless h4, | |||
.skin-timeless h5, | |||
.skin-timeless h6 { | |||
font-family: var(--font-heading) !important; | |||
font-weight: 400 !important; | |||
text-transform: lowercase !important; | |||
font-variant: normal !important; | |||
text-align: center !important; | |||
/* Reset the previous gradient implementation. */ | |||
background: none !important; | |||
color: var(--secondary); | |||
-webkit-text-fill-color: currentColor; | |||
overflow: visible !important; | |||
} | |||
/* APPLY GRADIENT TO THE ACTUAL HEADING TEXT */ | |||
.skin-timeless #firstHeading, | |||
.skin-timeless .mw-heading h1, | |||
.skin-timeless .mw-heading h2, | |||
.skin-timeless .mw-heading h3, | |||
.skin-timeless .mw-heading h4, | |||
.skin-timeless .mw-heading h5, | |||
.skin-timeless .mw-heading h6, | |||
.skin-timeless .mw-headline, | |||
.skin-timeless .sidebar-chunk h3 { | |||
background-image: var(--heading-gradient) !important; | |||
background-clip: text !important; | |||
-webkit-background-clip: text !important; | |||
-webkit-text-fill-color: transparent; | |||
padding: 0.1em 0.15em; | |||
line-height: 1.2; | |||
} | |||
/* SIDEBAR HEADING GRADIENT */ | |||
.skin-timeless .sidebar-chunk h3 { | |||
display: table; | |||
margin: 0.75em auto 0.4em; | |||
padding: 0.1em; | |||
font-size: 1.8rem !important; | |||
} | |||
/* SITE WORDMARK */ | |||
.skin-timeless #p-logo-text { | |||
padding: 0 !important; | |||
background: none !important; | |||
text-align: center; | |||
} | |||
.skin-timeless #p-logo-text a { | |||
display: inline-block; | |||
height: auto; | |||
padding: 0.1em 0.15em; | |||
margin: 0 auto; | |||
font-family: var(--font-heading) !important; | |||
font-size: 2.2rem; | |||
font-weight: 400; | |||
text-transform: lowercase !important; | |||
text-align: center; | |||
line-height: 1.2; | |||
background-image: var(--heading-gradient) !important; | |||
background-clip: text !important; | |||
-webkit-background-clip: text !important; | |||
-webkit-text-fill-color: transparent; | |||
border: none !important; | |||
} | |||
/* ALIGN WORDMARK WITH THE DESKTOP LOGO COLUMN */ | |||
@media screen and (min-width: 1340px) { | |||
#p-logo-text { | |||
align-self: center; | |||
text-align: center; | |||
} | |||
#p-logo-text a { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
} | |||
/* EXACT LINK COLOUR */ | |||
body.skin-timeless a, | |||
body.skin-timeless a:link, | |||
body.skin-timeless a:visited, | |||
body.skin-timeless a.external, | |||
body.skin-timeless a.extiw, | |||
body.skin-timeless a.new { | |||
color: #B87333 !important; | |||
-webkit-text-fill-color: #B87333; | |||
text-decoration: none !important; | |||
} | |||
/* LINK HOVER */ | |||
body.skin-timeless a:hover, | |||
body.skin-timeless a:focus-visible { | |||
color: #FF9900 !important; | |||
-webkit-text-fill-color: #FF9900; | |||
} | |||
/* RESTORE GRADIENT TO LINKED HEADINGS AND WORDMARK */ | |||
body.skin-timeless #p-logo-text a, | |||
body.skin-timeless .mw-headline a { | |||
background-image: var(--heading-gradient) !important; | |||
background-clip: text !important; | |||
-webkit-background-clip: text !important; | |||
-webkit-text-fill-color: transparent !important; | |||
} | |||
/* LINK UNDERLINES */ | |||
#mw-content-text a:not(.image):not(.mw-file-description), | |||
.sidebar-chunk li a, | |||
#mw-footer a, | |||
.mw-editsection a { | |||
border-bottom: 1px dotted #FFFFFF; | |||
} | |||
/* ARTICLE TABS — LEFT ALIGNMENT */ | |||
#mw-page-header-links, | |||
#mw-page-header-links-bottom { | |||
text-align: left !important; | |||
} | |||
#mw-page-header-links #p-namespaces, | |||
#mw-page-header-links #p-views, | |||
#mw-page-header-links-bottom #p-namespaces, | |||
#mw-page-header-links-bottom #p-views { | |||
float: left !important; | |||
margin: 0; | |||
text-align: left; | |||
} | |||
#mw-page-header-links #p-views li, | |||
#mw-page-header-links-bottom #p-views li { | |||
margin-left: 0; | |||
margin-right: 1em; | |||
} | |||
/* REMOVE THE HEAVY TAB UNDERLINES */ | |||
#mw-page-header-links li, | |||
#mw-page-header-links-bottom li { | |||
border-bottom: none !important; | |||
} | |||
#mw-page-header-links a, | |||
#mw-page-header-links-bottom a { | |||
border-bottom: 1px dotted #FFFFFF !important; | |||
} | |||
#mw-page-header-links::after, | |||
#mw-page-header-links-bottom::after { | |||
content: ""; | |||
display: block; | |||
clear: both; | |||
} | |||
/* SECTION EDIT LINKS — PREVENT CLIPPING */ | |||
.skin-timeless .mw-heading { | |||
overflow: visible !important; | |||
align-items: baseline; | |||
gap: 0.5em; | |||
} | |||
.skin-timeless .mw-editsection { | |||
display: inline-block; | |||
position: static; | |||
float: none; | |||
overflow: visible !important; | |||
font-family: var(--font-body) !important; | |||
font-size: 0.75rem !important; | |||
font-weight: normal; | |||
line-height: 1.5; | |||
background: none !important; | |||
color: var(--secondary); | |||
-webkit-text-fill-color: var(--secondary); | |||
padding: 0; | |||
margin: 0 0 0 0.5em; | |||
white-space: nowrap; | |||
vertical-align: middle; | |||
} | |||
.skin-timeless .mw-editsection a { | |||
display: inline; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
background: none !important; | |||
-webkit-text-fill-color: #B87333; | |||
} | |||
/* BODY TEXT */ | |||
#mw-content-text, | |||
.mw-parser-output { | |||
color: #FF9900; | |||
font-family: var(--font-body); | |||
} | |||
.mw-parser-output p { | |||
text-align: justify; | |||
} | |||
/* MOBILE WORDMARK */ | |||
@media screen and (max-width: 850px) { | |||
.skin-timeless #p-logo-text a { | |||
font-size: 1.8rem; | |||
} | |||
.skin-timeless #mw-content { | |||
border-radius: 0; | |||
} | } | ||
} | } | ||
Revision as of 19:02, 1 December 2026
/* ==========================================================
TARAZEDI — TIMELESS SKIN
========================================================== */
/* GLOBAL INTERFACE */
body.skin-timeless {
background: var(--background);
color: var(--primary);
font-family: var(--font-body);
}
/* REMOVE DEFAULT BACKGROUNDS AND DECORATION */
#mw-header-container,
#mw-header,
#mw-content-container,
#mw-content-block,
#mw-content,
#mw-site-navigation,
#mw-related-navigation,
#mw-footer-container,
#mw-footer,
#mw-page-header-links,
#mw-page-header-links-bottom,
.sidebar-inner,
.mw-body,
.mw-portlet,
.ts-container {
background: var(--background);
color: var(--primary);
border-color: transparent;
box-shadow: none;
}
/* REMOVE TIMELESS COLOURED STRIPE */
.color-bar,
.color-left,
.color-middle,
.color-right,
.color-middle-container {
display: none;
}
/* SITE WORDMARK */
#p-logo-text,
#p-logo-text a,
#p-logo-text a:visited {
font-family: var(--font-heading);
font-size: 1.5em;
font-weight: 400;
background-image: var(--heading-gradient);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
border: none;
text-decoration: none;
}
/* SITE LOGO */
#p-logo {
text-align: center;
}
.mw-wiki-logo {
display: block;
width: 135px;
height: 135px;
margin: 0 auto;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
/* ARTICLE CONTAINER */
#mw-content {
border: none;
box-shadow: none;
}
/* ARTICLE TITLE */
#firstHeading {
font-family: var(--font-heading);
font-size: 3.5em;
font-weight: 400;
text-align: center;
border: none;
margin-bottom: 0.3em;
}
/* SECTION HEADINGS */
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
font-family: var(--font-heading);
font-weight: 400;
text-align: center;
border: none;
}
/* SIDEBAR */
.sidebar-chunk {
background: var(--background);
border: none;
box-shadow: none;
}
.sidebar-chunk h2,
.sidebar-chunk h3,
.mw-portlet h3 {
font-family: var(--font-heading);
font-size: 1.8em;
font-weight: 400;
text-align: center;
border: none;
}
.sidebar-chunk ul {
list-style: none;
padding-left: 0;
}
.sidebar-chunk li {
margin: 0.4em 0;
}
/* NAVIGATION LINKS */
.mw-portlet a,
.sidebar-chunk a,
#mw-page-header-links a,
#mw-page-header-links-bottom a {
color: var(--secondary);
font-family: var(--font-body);
text-decoration: none;
}
.sidebar-chunk a {
border-bottom: 1px dotted var(--accent);
}
.mw-portlet a:hover,
.sidebar-chunk a:hover {
color: var(--primary);
}
/* SELECTED NAVIGATION TAB */
.mw-portlet .selected a {
color: var(--primary);
border-bottom: 1px dotted var(--accent);
}
/* SEARCH AND FORM CONTROLS */
input,
textarea,
select,
button {
background-color: var(--background);
color: var(--primary);
border: 1px solid var(--secondary);
border-radius: 3px;
font-family: var(--font-body);
}
input::placeholder,
textarea::placeholder {
color: var(--secondary);
opacity: 1;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
outline: 1px solid var(--primary);
outline-offset: 2px;
}
#searchInput {
background-color: var(--background);
color: var(--primary);
border-color: var(--secondary);
}
/* DROPDOWN MENUS */
.mw-portlet-body,
.dropdown,
.suggestions,
.suggestions-results,
.suggestions-special {
background-color: var(--background);
color: var(--primary);
}
.suggestions-result {
color: var(--primary);
}
.suggestions-result-current {
background-color: var(--surface);
color: var(--accent);
}
/* TABLE OF CONTENTS */
#toc,
.toc {
background: var(--surface);
color: var(--primary);
border: none;
padding: 1em;
}
.tocnumber {
color: var(--primary);
}
.toctext {
color: var(--secondary);
}
/* INFOBOXES */
.infobox {
background: var(--background);
color: var(--primary);
border: 1px solid var(--border);
padding: 0.5em;
margin: 0 0 1em 1em;
max-width: 100%;
}
.infobox th {
background: var(--surface);
color: var(--secondary);
}
.infobox td {
color: var(--primary);
}
/* CATEGORY LIST */
#catlinks {
background: var(--background);
color: var(--primary);
border: none;
border-top: 1px solid var(--border);
padding: 0.75em 0;
}
/* FOOTER */
#mw-footer {
color: var(--secondary);
font-size: 0.8em;
text-align: center;
}
/* EDITING INTERFACE */
#wpTextbox1 {
background: var(--background);
color: var(--primary);
border: 1px solid var(--secondary);
font-family: var(--font-body);
}
/* ==========================================================
RESPONSIVE — MOBILE
========================================================== */
@media screen and (max-width: 850px) {
#mw-header-container,
#mw-content-container,
#mw-content {
background: var(--background);
border: none;
box-shadow: none;
}
#firstHeading {
font-size: 2.7em;
}
#p-logo-text {
font-size: 1.2em;
}
.mw-body h2 {
font-size: 2em;
}
.mw-body h3 {
font-size: 1.7em;
}
.mw-parser-output {
font-size: 1em;
line-height: 1.5;
}
.infobox {
float: none !important;
width: 100% !important;
max-width: 100%;
box-sizing: border-box;
margin: 1em auto;
}
.thumb,
.thumbinner,
figure {
max-width: 100%;
box-sizing: border-box;
}
.mw-parser-output img {
max-width: 100%;
height: auto;
}
}
/* ==========================================================
TARAZEDI — TIMELESS CORRECTIONS
========================================================== */
/* REMOVE RESIDUAL WHITE PANELS */
.skin-timeless .sidebar-chunk,
.skin-timeless .sidebar-chunk .mw-portlet,
.skin-timeless #mw-site-navigation,
.skin-timeless #mw-related-navigation,
.skin-timeless #mw-site-navigation .sidebar-chunk,
.skin-timeless #mw-related-navigation .sidebar-chunk {
background: #000000 !important;
border: none !important;
box-shadow: none !important;
}
/* REMOVE RESIDUAL BACKGROUND IMAGES */
body.skin-timeless,
#mw-content-container,
#mw-header-container,
#mw-footer-container {
background-color: #000000 !important;
background-image: none !important;
}
/* BASE TYPOGRAPHY */
body.skin-timeless {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
}
#mw-content-text {
font-family: var(--font-body);
font-size: 1rem;
line-height: 1.5;
}
/* SITE WORDMARK */
#p-logo-text a,
#p-logo-text a.long {
font-family: var(--font-heading) !important;
font-variant: normal !important;
text-transform: none !important;
letter-spacing: normal !important;
font-weight: 400 !important;
font-size: 2.2rem;
}
/* ALL HEADINGS */
.skin-timeless h1,
.skin-timeless h2,
.skin-timeless h3,
.skin-timeless h4,
.skin-timeless h5,
.skin-timeless h6 {
font-family: var(--font-heading) !important;
font-weight: 400 !important;
font-variant: normal !important;
text-transform: none !important;
text-align: center !important;
background: var(--heading-gradient);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
border: none !important;
box-shadow: none !important;
}
/* ARTICLE HEADINGS */
#firstHeading {
font-size: 3.5rem !important;
}
#mw-content-text h2 {
font-size: 2.4rem !important;
}
#mw-content-text h3 {
font-size: 2rem !important;
}
#mw-content-text h4 {
font-size: 1.7rem !important;
}
/* MODERN MEDIAWIKI SECTION WRAPPERS */
.mw-heading {
text-align: center !important;
justify-content: center !important;
border: none !important;
box-shadow: none !important;
}
.mw-heading h2,
.mw-heading h3,
.mw-heading h4 {
border: none !important;
}
.mw-editsection {
font-family: var(--font-body) !important;
font-size: 0.75rem !important;
-webkit-text-fill-color: initial;
}
/* SIDEBAR HEADINGS */
.skin-timeless .sidebar-chunk h2,
.skin-timeless .sidebar-chunk h3,
.skin-timeless .mw-portlet h2,
.skin-timeless .mw-portlet h3 {
font-size: 1.8rem !important;
text-align: center !important;
padding: 0.25em 0;
margin: 0.5em 0 0.2em;
border: none !important;
}
/* SIDEBAR LINKS */
.sidebar-chunk li {
font-size: 0.9rem;
line-height: 1.5;
}
/* OVERRIDE DEFAULT LINK COLOURS */
.skin-timeless a,
.skin-timeless a:visited,
.skin-timeless a.external,
.skin-timeless a.external:visited,
.skin-timeless a.extiw,
.skin-timeless a.new,
.skin-timeless .mw-parser-output a.external {
color: var(--secondary) !important;
text-decoration: none !important;
}
.skin-timeless a:hover,
.skin-timeless a:focus-visible {
color: var(--primary) !important;
}
/* DOTTED WHITE LINK BORDERS */
#mw-content-text a:not(.image):not(.mw-file-description),
.sidebar-chunk li a,
#mw-footer a {
border-bottom: 1px dotted #FFFFFF;
}
/* REMOVE EXTERNAL LINK ICONS */
.mw-parser-output a.external {
background-image: none !important;
padding-right: 0 !important;
}
/* REMOVE DEFAULT BLUE TAB ACCENTS */
#mw-page-header-links li,
#mw-page-header-links-bottom li,
#mw-page-header-links .selected,
#mw-page-header-links-bottom .selected {
border-color: var(--secondary) !important;
box-shadow: none !important;
}
#mw-page-header-links .selected a,
#mw-page-header-links-bottom .selected a {
color: var(--primary) !important;
border-bottom: 1px dotted #FFFFFF !important;
}
/* SEARCH */
#searchInput,
#simpleSearch,
#searchform {
background-color: #000000 !important;
border-color: var(--secondary) !important;
color: var(--primary) !important;
box-shadow: none !important;
}
/* FOOTER */
#mw-footer-container,
#mw-footer {
background: #000000 !important;
color: var(--secondary) !important;
border: none !important;
box-shadow: none !important;
}
#mw-footer {
font-size: 0.75rem;
}
/* MOBILE ADJUSTMENTS */
@media screen and (max-width: 850px) {
#firstHeading {
font-size: 2.7rem !important;
}
#mw-content-text h2 {
font-size: 2rem !important;
}
#mw-content-text h3 {
font-size: 1.7rem !important;
}
#p-logo-text a,
#p-logo-text a.long {
font-size: 1.8rem;
}
#mw-content-text {
font-size: 1rem;
}
}
/* ==========================================================
TARAZEDI — REFINEMENTS
========================================================== */
/* CENTRAL CONTENT BACKGROUND */
.skin-timeless #mw-content {
background: var(--content-background) !important;
border: none;
border-radius: 4px;
box-shadow: none;
}
/* HEADINGS — LOWERCASE AND FULL GRADIENT */
.skin-timeless h1,
.skin-timeless h2,
.skin-timeless h3,
.skin-timeless h4,
.skin-timeless h5,
.skin-timeless h6 {
font-family: var(--font-heading) !important;
font-weight: 400 !important;
text-transform: lowercase !important;
font-variant: normal !important;
text-align: center !important;
/* Reset the previous gradient implementation. */
background: none !important;
color: var(--secondary);
-webkit-text-fill-color: currentColor;
overflow: visible !important;
}
/* APPLY GRADIENT TO THE ACTUAL HEADING TEXT */
.skin-timeless #firstHeading,
.skin-timeless .mw-heading h1,
.skin-timeless .mw-heading h2,
.skin-timeless .mw-heading h3,
.skin-timeless .mw-heading h4,
.skin-timeless .mw-heading h5,
.skin-timeless .mw-heading h6,
.skin-timeless .mw-headline,
.skin-timeless .sidebar-chunk h3 {
background-image: var(--heading-gradient) !important;
background-clip: text !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent;
padding: 0.1em 0.15em;
line-height: 1.2;
}
/* SIDEBAR HEADING GRADIENT */
.skin-timeless .sidebar-chunk h3 {
display: table;
margin: 0.75em auto 0.4em;
padding: 0.1em;
font-size: 1.8rem !important;
}
/* SITE WORDMARK */
.skin-timeless #p-logo-text {
padding: 0 !important;
background: none !important;
text-align: center;
}
.skin-timeless #p-logo-text a {
display: inline-block;
height: auto;
padding: 0.1em 0.15em;
margin: 0 auto;
font-family: var(--font-heading) !important;
font-size: 2.2rem;
font-weight: 400;
text-transform: lowercase !important;
text-align: center;
line-height: 1.2;
background-image: var(--heading-gradient) !important;
background-clip: text !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent;
border: none !important;
}
/* ALIGN WORDMARK WITH THE DESKTOP LOGO COLUMN */
@media screen and (min-width: 1340px) {
#p-logo-text {
align-self: center;
text-align: center;
}
#p-logo-text a {
margin-left: auto;
margin-right: auto;
}
}
/* EXACT LINK COLOUR */
body.skin-timeless a,
body.skin-timeless a:link,
body.skin-timeless a:visited,
body.skin-timeless a.external,
body.skin-timeless a.extiw,
body.skin-timeless a.new {
color: #B87333 !important;
-webkit-text-fill-color: #B87333;
text-decoration: none !important;
}
/* LINK HOVER */
body.skin-timeless a:hover,
body.skin-timeless a:focus-visible {
color: #FF9900 !important;
-webkit-text-fill-color: #FF9900;
}
/* RESTORE GRADIENT TO LINKED HEADINGS AND WORDMARK */
body.skin-timeless #p-logo-text a,
body.skin-timeless .mw-headline a {
background-image: var(--heading-gradient) !important;
background-clip: text !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
}
/* LINK UNDERLINES */
#mw-content-text a:not(.image):not(.mw-file-description),
.sidebar-chunk li a,
#mw-footer a,
.mw-editsection a {
border-bottom: 1px dotted #FFFFFF;
}
/* ARTICLE TABS — LEFT ALIGNMENT */
#mw-page-header-links,
#mw-page-header-links-bottom {
text-align: left !important;
}
#mw-page-header-links #p-namespaces,
#mw-page-header-links #p-views,
#mw-page-header-links-bottom #p-namespaces,
#mw-page-header-links-bottom #p-views {
float: left !important;
margin: 0;
text-align: left;
}
#mw-page-header-links #p-views li,
#mw-page-header-links-bottom #p-views li {
margin-left: 0;
margin-right: 1em;
}
/* REMOVE THE HEAVY TAB UNDERLINES */
#mw-page-header-links li,
#mw-page-header-links-bottom li {
border-bottom: none !important;
}
#mw-page-header-links a,
#mw-page-header-links-bottom a {
border-bottom: 1px dotted #FFFFFF !important;
}
#mw-page-header-links::after,
#mw-page-header-links-bottom::after {
content: "";
display: block;
clear: both;
}
/* SECTION EDIT LINKS — PREVENT CLIPPING */
.skin-timeless .mw-heading {
overflow: visible !important;
align-items: baseline;
gap: 0.5em;
}
.skin-timeless .mw-editsection {
display: inline-block;
position: static;
float: none;
overflow: visible !important;
font-family: var(--font-body) !important;
font-size: 0.75rem !important;
font-weight: normal;
line-height: 1.5;
background: none !important;
color: var(--secondary);
-webkit-text-fill-color: var(--secondary);
padding: 0;
margin: 0 0 0 0.5em;
white-space: nowrap;
vertical-align: middle;
}
.skin-timeless .mw-editsection a {
display: inline;
padding: 0 !important;
margin: 0 !important;
background: none !important;
-webkit-text-fill-color: #B87333;
}
/* BODY TEXT */
#mw-content-text,
.mw-parser-output {
color: #FF9900;
font-family: var(--font-body);
}
.mw-parser-output p {
text-align: justify;
}
/* MOBILE WORDMARK */
@media screen and (max-width: 850px) {
.skin-timeless #p-logo-text a {
font-size: 1.8rem;
}
.skin-timeless #mw-content {
border-radius: 0;
}
}
