MediaWiki:Timeless.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
category links for timeless skin not that anyone will use it |
||
| (109 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
--border-primary: #d39636; | --border-primary: #d39636; | ||
--font-primary: "Quicksand", Helvetica, sans-serif; | --font-primary: "Quicksand", Helvetica, sans-serif; | ||
} | |||
#personal-inner { | |||
background-color: var(--background-primary) !important; | |||
border: 3px solid var(--border-primary) !important; | |||
} | } | ||
@media screen and (min-width: 1100px) { | @media screen and (min-width: 1100px) { | ||
#mw-content { | #mw-content { | ||
margin-top: 4.7em; | |||
margin-bottom: 4.7em; | |||
} | } | ||
} | } | ||
| Line 75: | Line 80: | ||
border: 1px solid var(--border-primary); | border: 1px solid var(--border-primary); | ||
} | } | ||
#mw-related-navigation { | #mw-related-navigation { | ||
| Line 142: | Line 152: | ||
#mw-header-container { | #mw-header-container { | ||
background: var(--background-secondary); | background: var(--background-secondary); | ||
color: # | color: #eee; | ||
} | } | ||
| Line 203: | Line 213: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: | margin-bottom: 5px; | ||
letter-spacing: 2px; | letter-spacing: 2px; | ||
line-height: 110%; | line-height: 110%; | ||
| Line 267: | Line 277: | ||
/* --- FIXED FOOTER & BACKGROUND SPACING --- */ | /* --- FIXED FOOTER & BACKGROUND SPACING --- */ | ||
#mw-footer-container { | #mw-footer-container { | ||
background: var(--background-primary) !important; | background: var(--background-primary) !important; | ||
padding-top: 0.2em; | padding-top: 0.2em; | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
} | } | ||
| Line 284: | Line 294: | ||
padding-bottom: 0 !important; | padding-bottom: 0 !important; | ||
} | } | ||
.mw-headline:target { | .mw-headline:target { | ||
| Line 293: | Line 302: | ||
h3 { | h3 { | ||
border-bottom: 2px solid var(--border-primary) !important; | border-bottom: 2px solid var(--border-primary) !important; | ||
} | |||
h2 { | |||
border:none; | |||
} | |||
.mw-heading { | |||
background: linear-gradient(to right, rgba(211, 150, 54, 0.5) 0%, #0c1102 65%); | |||
border: none !important; | |||
padding: 7px; | |||
} | |||
.mw-heading2 { | |||
border-left: 4px solid var(--border-primary) !important; | |||
border-radius: 5px; | |||
} | |||
#mw-heading2 { | |||
border-left: 4px solid var(--border-primary) !important; | |||
border-radius: 5px; | |||
} | } | ||
code { | code { | ||
background: # | background: #222; | ||
color: #B0B0B0; | |||
border: 1px solid #444; | |||
padding: 1px; | |||
font-family: Consolas, Monaco, 'Courier New', monospace; | font-family: Consolas, Monaco, 'Courier New', monospace; | ||
} | } | ||
| Line 306: | Line 335: | ||
display: none; | display: none; | ||
} | } | ||
#searchInput-container { | |||
background: #eee; | |||
} | |||
.oo-ui-popupWidget-popup { | |||
background: #d39636 !important; | |||
} | |||
#oo-ui-popupWidget-popup { | |||
background: #d39636 !important; | |||
} | |||
#catlinks-sidebar { display: none; } | |||
#catlinks { display: inherit !important; } | |||
Latest revision as of 15:38, 27 October 2026
:root {
--background-primary: #0c1102;
--background-secondary: #0e2d36;
--color-primary: #eee;
--color-secondary: #d39636;
--border-primary: #d39636;
--font-primary: "Quicksand", Helvetica, sans-serif;
}
#personal-inner {
background-color: var(--background-primary) !important;
border: 3px solid var(--border-primary) !important;
}
@media screen and (min-width: 1100px) {
#mw-content {
margin-top: 4.7em;
margin-bottom: 4.7em;
}
}
#mw-content-container {
background-color: var(--background-secondary);
background-image: linear-gradient(to bottom, rgba(21, 59, 70, 0) 60%, var(--background-secondary) 100%), url("https://sourceworlds.wiki/wallaperezu.jpg");
background-position: top center, top center;
background-repeat: no-repeat, no-repeat;
background-size: 100% 700px, 100% 700px;
}
#p-logo-text {
display: none;
}
#mw-content {
background-color: var(--background-primary);
color: var(--color-primary);
font-family: var(--font-primary);
font-weight: 500;
min-height: calc(100vh - 25em);
border: 1px solid var(--border-primary);
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: var(--background-primary);
color: var(--color-primary);
border-color: var(--border-primary);
}
a,
a.external,
a:visited {
color: var(--color-secondary);
}
#mw-content-block a:hover,
#mw-site-navigation a:hover,
#mw-related-navigation a:hover,
#mw-footer-container a:hover {
color: var(--color-secondary);
text-decoration: underline;
}
#mw-content-block h1,
#mw-content-block h2,
#mw-content-block h3,
#mw-content-block h4,
#mw-content-block h5,
#mw-content-block h6 {
font-family: var(--font-primary);
font-weight: bold;
}
#mw-content-block a {
font-family: var(--font-primary);
font-weight: 500;
}
.toc {
border: 1px solid var(--border-primary);
}
#mw-related-navigation {
margin-top: 4.7em;
}
#mw-related-navigation .sidebar-chunk:first-child {
margin-top: 0;
}
/** TO BE MOVED TO COMMON.CSS WHEN COSMOS IS DISABLED **/
.portable-infobox {
width: 300px;
background-color: rgb(10, 17, 24);
border: 1px solid var(--background-secondary);
}
.portable-infobox .pi-secondary-background {
padding: 7px 3px !important;
}
.portable-infobox .pi-title {
text-align: center;
background: var(--background-secondary) !important;
border-radius: 0;
}
.portable-infobox .pi-header {
margin: 0 6px !important;
padding: 4px !important;
font-size: 12px !important;
width: 97%;
text-align: center;
margin-left: 0 !important;
background: var(--background-secondary) !important;
border-radius: 0;
}
.pi-caption {
font-size: 12px;
padding: 2px 0px 0px;
}
.portable-infobox .pi-border-color,
.portable-infobox .pi-horizontal-group .pi-border-color {
border: none;
}
.portable-infobox .pi-horizontal-group-item.pi-data-value {
padding: 9px 9px;
vertical-align: top;
}
.portable-infobox .pi-data-label,
.portable-infobox .pi-data-value {
font-size: 11px !important;
}
.portable-infobox .pi-item.pi-data.pi-item-spacing {
background-color: #000;
}
.portable-infobox img {
width: 100%;
}
#mw-header-container {
background: var(--background-secondary);
color: #eee;
}
.color-left, .color-middle, .color-right {
background: var(--border-primary);
}
#firstHeading {
font-weight: bold;
}
.mw-body h1.firstHeading {
border-bottom: 2px solid var(--border-primary);
}
.selected.mw-list-item a {
font-weight: bold !important;
}
#mw-page-header-links a {
color: var(--color-secondary) !important;
}
.mw-body li.gallerybox div.thumb {
background: none;
border: 0;
padding: 0;
margin: 0;
}
@media screen and (max-width: 850px) {
#mw-content-block {
background: var(--background-secondary);
}
}
.main-flex {
display: flex;
gap: 20px;
}
@media (max-width: 768px) {
.main-flex {
flex-direction: column;
}
}
.mainpage-box-wiki {
padding: 15px;
background: var(--background-secondary);
}
.mainpage-box-wiki .header {
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
}
.mainpage-box-welcome .header {
text-transform: uppercase;
font-weight: bold;
margin-bottom: 5px;
letter-spacing: 2px;
line-height: 110%;
font-size: 40px !important;
}
@media (max-width: 1300px) {
#mw-related-navigation {
margin-top: 0 !important;
}
}
.mwe-popups .mwe-popups-container {
background: var(--background-secondary) !important;
}
.mwe-popups {
border-color: var(--border-primary);
}
.mwe-popups .mwe-popups-extract {
color: var(--color-primary);
font-family: 'Quicksand', Helvetica, sans-serif;
font-weight: 500;
}
.mwe-popups .mwe-popups-extract:hover {
color: var(--color-primary);
}
.mwe-popups .mwe-popups-extract[dir='ltr']::after {
right: 0;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0), var(--background-secondary) 50%);
}
.mwe-popups.flipped-y::after,
.mwe-popups.mwe-popups-no-image-pointer::after {
border-top: 11px solid var(--background-secondary) !important;
}
.interactive-maps-viewer__map.leaflet-container {
background: #000;
}
.interactive-maps-viewer__legend {
background: var(--background-secondary);
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
background: var(--background-secondary) !important;
}
.leaflet-control-zoom-in span,
.leaflet-control-zoom-out span {
color: white;
}
.leaflet-control-zoom-in span:hover,
.leaflet-control-zoom-out span:hover {
color: var(--color-secondary);
}
/* --- FIXED FOOTER & BACKGROUND SPACING --- */
#mw-footer-container {
background: var(--background-primary) !important;
padding-top: 0.2em;
margin-top: 0 !important;
}
/* Apply background color to base containers without touching #mw-content-container's image */
body,
#mw-page-container {
background-color: var(--background-primary) !important;
}
#mw-content-block {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
.mw-headline:target {
background-color: gold;
}
h3 {
border-bottom: 2px solid var(--border-primary) !important;
}
h2 {
border:none;
}
.mw-heading {
background: linear-gradient(to right, rgba(211, 150, 54, 0.5) 0%, #0c1102 65%);
border: none !important;
padding: 7px;
}
.mw-heading2 {
border-left: 4px solid var(--border-primary) !important;
border-radius: 5px;
}
#mw-heading2 {
border-left: 4px solid var(--border-primary) !important;
border-radius: 5px;
}
code {
background: #222;
color: #B0B0B0;
border: 1px solid #444;
padding: 1px;
font-family: Consolas, Monaco, 'Courier New', monospace;
}
.mw-collapsible-toggle-default:before, .mw-collapsible-toggle-default:after {
display: none;
}
#searchInput-container {
background: #eee;
}
.oo-ui-popupWidget-popup {
background: #d39636 !important;
}
#oo-ui-popupWidget-popup {
background: #d39636 !important;
}
#catlinks-sidebar { display: none; }
#catlinks { display: inherit !important; }