MediaWiki:Timeless.css: Difference between revisions
From Tarazedi
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
========================================================== */ | ========================================================== */ | ||
/* | /* BASE INTERFACE */ | ||
body.skin-timeless { | body.skin-timeless { | ||
| Line 9: | Line 9: | ||
color: var(--primary); | color: var(--primary); | ||
font-family: var(--font-body); | font-family: var(--font-body); | ||
font-size: 16px; | |||
} | } | ||
/* | /* BLACK INTERFACE PANELS */ | ||
#mw-header-container, | #mw-header-container, | ||
| Line 17: | Line 18: | ||
#mw-content-container, | #mw-content-container, | ||
#mw-content-block, | #mw-content-block, | ||
#mw-site-navigation, | #mw-site-navigation, | ||
#mw-related-navigation, | #mw-related-navigation, | ||
#mw-footer-container, | #mw-footer-container, | ||
#mw-footer, | #mw-footer, | ||
#mw | #mw-header-hack, | ||
#mw | #mw-header-nav-hack, | ||
.sidebar-inner, | .sidebar-inner, | ||
. | .sidebar-chunk, | ||
.mw-portlet, | .mw-portlet, | ||
.ts-container { | .ts-container { | ||
background | background-color: var(--background) !important; | ||
border-color: transparent !important; | |||
border-color: transparent; | box-shadow: none !important; | ||
box-shadow: none; | } | ||
#mw-content-container { | |||
background-image: none !important; | |||
} | } | ||
/* REMOVE TIMELESS | /* REMOVE TIMELESS COLOUR STRIPE */ | ||
.color-bar, | .color-bar, | ||
| Line 44: | Line 47: | ||
} | } | ||
/* | /* CENTRAL CONTENT */ | ||
.skin-timeless #mw-content { | |||
background: var(--content-background) !important; | |||
color: var(--primary); | |||
border: none; | |||
border-radius: 4px; | |||
box-shadow: none; | |||
} | |||
#bodyContent, | |||
#bodyContentOuter, | |||
#mw-content-text { | |||
background: transparent; | |||
color: var(--primary); | |||
font-family: var(--font-body); | |||
} | |||
#mw-content-text { | |||
font-size: 1rem; | |||
line-height: 1.5; | |||
} | |||
/* HEADINGS */ | |||
.skin-timeless h1, | |||
.skin-timeless h2, | |||
.skin-timeless h3, | |||
font-family: var(--font-heading); | .skin-timeless h4, | ||
font- | .skin-timeless h5, | ||
font- | .skin-timeless h6 { | ||
font-family: var(--font-heading) !important; | |||
font-weight: 400 !important; | |||
font-variant: normal !important; | |||
text-transform: lowercase !important; | |||
text-align: center !important; | |||
background-image: var(--heading-gradient); | background-image: var(--heading-gradient); | ||
| Line 58: | Line 89: | ||
-webkit-text-fill-color: transparent; | -webkit-text-fill-color: transparent; | ||
border: none; | border: none !important; | ||
text- | box-shadow: none !important; | ||
overflow: visible !important; | |||
line-height: 1.3; | |||
} | |||
/* ARTICLE TITLE */ | |||
.skin-timeless #firstHeading { | |||
font-size: 3.5rem; | |||
margin-bottom: 0.3em; | |||
padding: 0.1em 0; | |||
} | |||
/* SECTION HEADINGS */ | |||
.skin-timeless #mw-content-text h2 { | |||
font-size: 2.4rem; | |||
} | |||
.skin-timeless #mw-content-text h3 { | |||
font-size: 2rem; | |||
} | |||
.skin-timeless #mw-content-text h4 { | |||
font-size: 1.7rem; | |||
} | |||
.skin-timeless #mw-content-text h5 { | |||
font-size: 1.5rem; | |||
} | |||
.skin-timeless #mw-content-text h6 { | |||
font-size: 1.3rem; | |||
} | } | ||
/* | /* SECTION HEADING WRAPPERS */ | ||
.skin-timeless .mw-heading { | |||
display: flex; | |||
justify-content: center; | |||
align-items: baseline; | |||
flex-wrap: wrap; | |||
gap: 0.5em; | |||
text-align: center; | text-align: center; | ||
border: none !important; | |||
overflow: visible !important; | |||
} | |||
.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 { | |||
padding: 0.1em 0.15em; | |||
overflow: visible !important; | |||
} | } | ||
.mw- | /* SECTION EDIT CONTROLS */ | ||
display: block; | |||
.skin-timeless .mw-editsection { | |||
height: | display: inline-block; | ||
margin: 0 | position: static; | ||
float: none; | |||
background- | font-family: var(--font-body) !important; | ||
font-size: 0.75rem !important; | |||
font-weight: normal; | |||
line-height: 1.5; | |||
color: var(--secondary); | |||
-webkit-text-fill-color: var(--secondary); | |||
background: none !important; | |||
margin: 0; | |||
padding: 0; | |||
white-space: nowrap; | |||
overflow: visible !important; | |||
} | |||
.skin-timeless .mw-editsection a, | |||
.skin-timeless .mw-editsection a:first-of-type { | |||
display: inline; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
background: none !important; | |||
color: var(--secondary); | |||
-webkit-text-fill-color: var(--secondary); | |||
} | } | ||
/* | /* SITE WORDMARK */ | ||
# | #p-logo-text { | ||
background: none; | |||
box- | padding: 0; | ||
text-align: center; | |||
box-sizing: border-box; | |||
} | } | ||
.skin-timeless #p-logo-text a, | |||
.skin-timeless #p-logo-text a.long { | |||
display: inline-block; | |||
height: auto; | |||
margin: 0 auto; | |||
padding: 0.1em 0.2em; | |||
font-family: var(--font-heading) !important; | |||
font-family: var(--font-heading); | font-size: 2.5rem; | ||
font-size: | |||
font-weight: 400; | font-weight: 400; | ||
font-variant: normal; | |||
text-transform: lowercase; | |||
text-align: center; | text-align: center; | ||
border: none; | line-height: 1.15; | ||
background-image: var(--heading-gradient); | |||
background-clip: text; | |||
-webkit-background-clip: text; | |||
-webkit-text-fill-color: transparent !important; | |||
border: none !important; | |||
} | |||
/* DESKTOP WORDMARK ALIGNMENT */ | |||
@media screen and (min-width: 851px) { | |||
#p-logo-text { | |||
flex: 0 0 14em; | |||
width: 14em; | |||
max-width: 14em; | |||
order: 1; | |||
align-self: center; | |||
text-align: center; | |||
} | |||
#p-search { | |||
order: 2; | |||
flex: 1 1 auto; | |||
min-width: 0; | |||
} | |||
#user-tools { | |||
order: 3; | |||
} | |||
} | } | ||
/* | /* SITE LOGO */ | ||
#p-logo { | |||
text-align: center; | text-align: center; | ||
} | } | ||
/* | #p-logo .mw-wiki-logo { | ||
display: block; | |||
margin: 0.75em auto; | |||
background-size: contain; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
} | |||
#p-logo .mw-wiki-logo img { | |||
width: 135px; | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
/* SIDEBARS */ | |||
.sidebar-chunk { | .skin-timeless .sidebar-chunk { | ||
background: var(--background); | background: var(--background) !important; | ||
border: none; | border: none !important; | ||
box-shadow: none; | box-shadow: none !important; | ||
} | } | ||
. | .skin-timeless .sidebar-chunk h3, | ||
.sidebar-chunk h3, | .skin-timeless .mw-portlet h3 { | ||
.mw-portlet h3 { | font-size: 1.8rem; | ||
font-size: 1. | |||
font-weight: 400; | font-weight: 400; | ||
text-align: center; | text-align: center; | ||
margin: 0.6em auto 0.3em; | |||
padding: 0.1em 0; | |||
} | } | ||
| Line 133: | Line 278: | ||
.sidebar-chunk li { | .sidebar-chunk li { | ||
margin: 0. | margin: 0.3em 0; | ||
font-size: 0.9rem; | |||
line-height: 1.5; | |||
} | } | ||
/* | /* ALL LINKS */ | ||
. | body.skin-timeless a, | ||
. | body.skin-timeless a:link, | ||
body.skin-timeless a:visited, | |||
body.skin-timeless a.external, | |||
color: var(--secondary); | body.skin-timeless a.extiw, | ||
body.skin-timeless a.new { | |||
color: var(--secondary) !important; | |||
text-decoration: none !important; | |||
} | |||
body.skin-timeless a:hover, | |||
body.skin-timeless a:focus-visible { | |||
color: var(--primary) !important; | |||
} | } | ||
.sidebar-chunk a { | #mw-content-text a:not(.image):not(.mw-file-description), | ||
.sidebar-chunk li a, | |||
#mw-footer a, | |||
.mw-editsection a { | |||
border-bottom: 1px dotted var(--accent); | border-bottom: 1px dotted var(--accent); | ||
} | } | ||
.mw- | /* EXTERNAL LINKS */ | ||
.mw-parser-output a.external { | |||
background-image: none !important; | |||
padding-right: 0 !important; | |||
} | |||
/* PAGE NAVIGATION TABS */ | |||
#mw-page-header-links, | |||
#mw-page-header-links-bottom { | |||
text-align: left; | |||
background: transparent; | |||
} | |||
#p-namespaces, | |||
#p-views { | |||
float: left !important; | |||
text-align: left; | |||
} | |||
#p-namespaces li, | |||
#p-views li { | |||
margin-left: 0; | |||
margin-right: 1em; | |||
} | } | ||
.tools-inline li, | |||
.tools-inline li.selected, | |||
.tools-inline li:hover { | |||
border-bottom: none !important; | |||
box-shadow: none !important; | |||
} | |||
. | .tools-inline a { | ||
border-bottom: 1px dotted var(--accent); | border-bottom: 1px dotted var(--accent); | ||
} | |||
/* PRESERVE WATCHLIST ICON WITHOUT EMPTY UNDERLINE */ | |||
#ca-watch a, | |||
#ca-unwatch a { | |||
border-bottom: none; | |||
filter: brightness(1.7); | |||
} | |||
#mw-page-header-links::after, | |||
#mw-page-header-links-bottom::after { | |||
content: ""; | |||
display: block; | |||
clear: both; | |||
} | } | ||
| Line 174: | Line 371: | ||
border-radius: 3px; | border-radius: 3px; | ||
font-family: var(--font-body); | font-family: var(--font-body); | ||
} | |||
#simpleSearch { | |||
background: var(--background); | |||
border: 1px solid var(--secondary); | |||
box-shadow: none; | |||
} | |||
#searchInput { | |||
color: var(--primary); | |||
background: transparent; | |||
border: none; | |||
box-shadow: none; | |||
} | } | ||
| Line 190: | Line 400: | ||
} | } | ||
# | #searchButton, | ||
#mw-searchButton { | |||
color: var(-- | filter: brightness(0) invert(1); | ||
border: none; | |||
} | |||
/* ACCOUNT MENU — PRESERVE NATIVE CONTROLS */ | |||
#personal h2, | |||
#user-tools h2 { | |||
font-family: var(--font-body) !important; | |||
font-size: 1rem; | |||
text-transform: none !important; | |||
color: var(--secondary); | |||
-webkit-text-fill-color: var(--secondary); | |||
background-clip: border-box; | |||
-webkit-background-clip: border-box; | |||
} | |||
#personal h2 { | |||
background-image: none; | |||
} | } | ||
/* | /* DROPDOWNS AND SEARCH SUGGESTIONS */ | ||
.dropdown, | .dropdown, | ||
.suggestions, | .suggestions, | ||
.suggestions-results, | .suggestions-results, | ||
.suggestions-special { | .suggestions-special { | ||
background-color: var(--background); | background-color: var(--background) !important; | ||
color: var(--primary); | color: var(--primary); | ||
border-color: var(--border); | |||
} | } | ||
| Line 254: | Line 483: | ||
} | } | ||
/* | /* CATEGORIES */ | ||
#catlinks { | #catlinks { | ||
background: | background: transparent; | ||
color: var(--primary); | color: var(--primary); | ||
border: none; | border: none; | ||
| Line 267: | Line 496: | ||
#mw-footer { | #mw-footer { | ||
background: var(--background); | |||
color: var(--secondary); | color: var(--secondary); | ||
font-size: 0. | font-size: 0.75rem; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Line 287: | Line 517: | ||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
# | #p-logo-text { | ||
width: auto; | |||
max-width: none; | |||
} | } | ||
# | .skin-timeless #p-logo-text a, | ||
font-size: | .skin-timeless #p-logo-text a.long { | ||
font-size: 1.8rem; | |||
} | } | ||
# | .skin-timeless #firstHeading { | ||
font-size: | font-size: 2.7rem; | ||
} | } | ||
.mw- | .skin-timeless #mw-content-text h2 { | ||
font-size: | font-size: 2rem; | ||
} | } | ||
.mw- | .skin-timeless #mw-content-text h3 { | ||
font-size: 1. | font-size: 1.7rem; | ||
} | } | ||
.mw- | .skin-timeless #mw-content { | ||
font-size: | border-radius: 0; | ||
} | |||
#mw-content-text { | |||
font-size: 1rem; | |||
line-height: 1.5; | line-height: 1.5; | ||
} | } | ||
| Line 329: | Line 561: | ||
max-width: 100%; | max-width: 100%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
} | } | ||
Revision as of 19:06, 1 December 2026
/* ==========================================================
TARAZEDI — TIMELESS SKIN
========================================================== */
/* BASE INTERFACE */
body.skin-timeless {
background: var(--background);
color: var(--primary);
font-family: var(--font-body);
font-size: 16px;
}
/* BLACK INTERFACE PANELS */
#mw-header-container,
#mw-header,
#mw-content-container,
#mw-content-block,
#mw-site-navigation,
#mw-related-navigation,
#mw-footer-container,
#mw-footer,
#mw-header-hack,
#mw-header-nav-hack,
.sidebar-inner,
.sidebar-chunk,
.mw-portlet,
.ts-container {
background-color: var(--background) !important;
border-color: transparent !important;
box-shadow: none !important;
}
#mw-content-container {
background-image: none !important;
}
/* REMOVE TIMELESS COLOUR STRIPE */
.color-bar,
.color-left,
.color-middle,
.color-right,
.color-middle-container {
display: none;
}
/* CENTRAL CONTENT */
.skin-timeless #mw-content {
background: var(--content-background) !important;
color: var(--primary);
border: none;
border-radius: 4px;
box-shadow: none;
}
#bodyContent,
#bodyContentOuter,
#mw-content-text {
background: transparent;
color: var(--primary);
font-family: var(--font-body);
}
#mw-content-text {
font-size: 1rem;
line-height: 1.5;
}
/* 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: lowercase !important;
text-align: center !important;
background-image: var(--heading-gradient);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
border: none !important;
box-shadow: none !important;
overflow: visible !important;
line-height: 1.3;
}
/* ARTICLE TITLE */
.skin-timeless #firstHeading {
font-size: 3.5rem;
margin-bottom: 0.3em;
padding: 0.1em 0;
}
/* SECTION HEADINGS */
.skin-timeless #mw-content-text h2 {
font-size: 2.4rem;
}
.skin-timeless #mw-content-text h3 {
font-size: 2rem;
}
.skin-timeless #mw-content-text h4 {
font-size: 1.7rem;
}
.skin-timeless #mw-content-text h5 {
font-size: 1.5rem;
}
.skin-timeless #mw-content-text h6 {
font-size: 1.3rem;
}
/* SECTION HEADING WRAPPERS */
.skin-timeless .mw-heading {
display: flex;
justify-content: center;
align-items: baseline;
flex-wrap: wrap;
gap: 0.5em;
text-align: center;
border: none !important;
overflow: visible !important;
}
.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 {
padding: 0.1em 0.15em;
overflow: visible !important;
}
/* SECTION EDIT CONTROLS */
.skin-timeless .mw-editsection {
display: inline-block;
position: static;
float: none;
font-family: var(--font-body) !important;
font-size: 0.75rem !important;
font-weight: normal;
line-height: 1.5;
color: var(--secondary);
-webkit-text-fill-color: var(--secondary);
background: none !important;
margin: 0;
padding: 0;
white-space: nowrap;
overflow: visible !important;
}
.skin-timeless .mw-editsection a,
.skin-timeless .mw-editsection a:first-of-type {
display: inline;
padding: 0 !important;
margin: 0 !important;
background: none !important;
color: var(--secondary);
-webkit-text-fill-color: var(--secondary);
}
/* SITE WORDMARK */
#p-logo-text {
background: none;
padding: 0;
text-align: center;
box-sizing: border-box;
}
.skin-timeless #p-logo-text a,
.skin-timeless #p-logo-text a.long {
display: inline-block;
height: auto;
margin: 0 auto;
padding: 0.1em 0.2em;
font-family: var(--font-heading) !important;
font-size: 2.5rem;
font-weight: 400;
font-variant: normal;
text-transform: lowercase;
text-align: center;
line-height: 1.15;
background-image: var(--heading-gradient);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent !important;
border: none !important;
}
/* DESKTOP WORDMARK ALIGNMENT */
@media screen and (min-width: 851px) {
#p-logo-text {
flex: 0 0 14em;
width: 14em;
max-width: 14em;
order: 1;
align-self: center;
text-align: center;
}
#p-search {
order: 2;
flex: 1 1 auto;
min-width: 0;
}
#user-tools {
order: 3;
}
}
/* SITE LOGO */
#p-logo {
text-align: center;
}
#p-logo .mw-wiki-logo {
display: block;
margin: 0.75em auto;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
#p-logo .mw-wiki-logo img {
width: 135px;
max-width: 100%;
height: auto;
}
/* SIDEBARS */
.skin-timeless .sidebar-chunk {
background: var(--background) !important;
border: none !important;
box-shadow: none !important;
}
.skin-timeless .sidebar-chunk h3,
.skin-timeless .mw-portlet h3 {
font-size: 1.8rem;
font-weight: 400;
text-align: center;
margin: 0.6em auto 0.3em;
padding: 0.1em 0;
}
.sidebar-chunk ul {
list-style: none;
padding-left: 0;
}
.sidebar-chunk li {
margin: 0.3em 0;
font-size: 0.9rem;
line-height: 1.5;
}
/* ALL LINKS */
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: var(--secondary) !important;
text-decoration: none !important;
}
body.skin-timeless a:hover,
body.skin-timeless a:focus-visible {
color: var(--primary) !important;
}
#mw-content-text a:not(.image):not(.mw-file-description),
.sidebar-chunk li a,
#mw-footer a,
.mw-editsection a {
border-bottom: 1px dotted var(--accent);
}
/* EXTERNAL LINKS */
.mw-parser-output a.external {
background-image: none !important;
padding-right: 0 !important;
}
/* PAGE NAVIGATION TABS */
#mw-page-header-links,
#mw-page-header-links-bottom {
text-align: left;
background: transparent;
}
#p-namespaces,
#p-views {
float: left !important;
text-align: left;
}
#p-namespaces li,
#p-views li {
margin-left: 0;
margin-right: 1em;
}
.tools-inline li,
.tools-inline li.selected,
.tools-inline li:hover {
border-bottom: none !important;
box-shadow: none !important;
}
.tools-inline a {
border-bottom: 1px dotted var(--accent);
}
/* PRESERVE WATCHLIST ICON WITHOUT EMPTY UNDERLINE */
#ca-watch a,
#ca-unwatch a {
border-bottom: none;
filter: brightness(1.7);
}
#mw-page-header-links::after,
#mw-page-header-links-bottom::after {
content: "";
display: block;
clear: both;
}
/* 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);
}
#simpleSearch {
background: var(--background);
border: 1px solid var(--secondary);
box-shadow: none;
}
#searchInput {
color: var(--primary);
background: transparent;
border: none;
box-shadow: none;
}
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;
}
#searchButton,
#mw-searchButton {
filter: brightness(0) invert(1);
border: none;
}
/* ACCOUNT MENU — PRESERVE NATIVE CONTROLS */
#personal h2,
#user-tools h2 {
font-family: var(--font-body) !important;
font-size: 1rem;
text-transform: none !important;
color: var(--secondary);
-webkit-text-fill-color: var(--secondary);
background-clip: border-box;
-webkit-background-clip: border-box;
}
#personal h2 {
background-image: none;
}
/* DROPDOWNS AND SEARCH SUGGESTIONS */
.dropdown,
.suggestions,
.suggestions-results,
.suggestions-special {
background-color: var(--background) !important;
color: var(--primary);
border-color: var(--border);
}
.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);
}
/* CATEGORIES */
#catlinks {
background: transparent;
color: var(--primary);
border: none;
border-top: 1px solid var(--border);
padding: 0.75em 0;
}
/* FOOTER */
#mw-footer {
background: var(--background);
color: var(--secondary);
font-size: 0.75rem;
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) {
#p-logo-text {
width: auto;
max-width: none;
}
.skin-timeless #p-logo-text a,
.skin-timeless #p-logo-text a.long {
font-size: 1.8rem;
}
.skin-timeless #firstHeading {
font-size: 2.7rem;
}
.skin-timeless #mw-content-text h2 {
font-size: 2rem;
}
.skin-timeless #mw-content-text h3 {
font-size: 1.7rem;
}
.skin-timeless #mw-content {
border-radius: 0;
}
#mw-content-text {
font-size: 1rem;
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;
}
}
