MediaWiki:Timeless.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 — 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;
}
}
