MediaWiki:Timeless.css: Difference between revisions

From SourceWorlds Wiki
Jump to navigation Jump to search
No edit summary
category links for timeless skin not that anyone will use it
 
(164 intermediate revisions by the same user not shown)
Line 8: Line 8:
}
}


@media screen and (min-width: 1100px) and (max-width: 1339px) {
#personal-inner {
     #mw-content {
    background-color: var(--background-primary) !important;
        margin-top: 4.7em;
     border: 3px solid var(--border-primary) !important;
    }
}
}
@media screen and (min-width: 1340px) {
 
@media screen and (min-width: 1100px) {
     #mw-content {
     #mw-content {
        margin-top: 4.7em;
    margin-top: 4.7em;
    margin-bottom: 4.7em;
     }
     }
}
}
Line 36: Line 37:
     font-family: var(--font-primary);
     font-family: var(--font-primary);
     font-weight: 500;
     font-weight: 500;
    min-height: calc(100vh - 25em);
     border: 1px solid var(--border-primary);
     border: 1px solid var(--border-primary);
}
}
Line 78: Line 80:
     border: 1px solid var(--border-primary);
     border: 1px solid var(--border-primary);
}
}


#mw-related-navigation {
#mw-related-navigation {
     margin-top: 4.7em
     margin-top: 4.7em;
}
}


Line 90: Line 97:
.portable-infobox {
.portable-infobox {
     width: 300px;
     width: 300px;
     background: black !important;
     background-color: rgb(10, 17, 24);
    border: 1px solid var(--background-secondary);
}
}
.portable-infobox .pi-secondary-background {
.portable-infobox .pi-secondary-background {
     padding: 7px 3px !important;
     padding: 7px 3px !important;
Line 98: Line 107:
.portable-infobox .pi-title {
.portable-infobox .pi-title {
     text-align: center;
     text-align: center;
    background: var(--background-secondary) !important;
    border-radius: 0;
}
}
.portable-infobox .pi-header {
.portable-infobox .pi-header {
     margin: 0 6px !important;
     margin: 0 6px !important;
     padding: 4px !important;
     padding: 4px !important;
     font-size: 12px !important;
     font-size: 12px !important;
}
.portable-infobox .pi-header {
     width: 97%;
     width: 97%;
     text-align: center;
     text-align: center;
     margin-left: 0 !important;
     margin-left: 0 !important;
    background: var(--background-secondary) !important;
    border-radius: 0;
}
}


Line 116: Line 127:
}
}


.portable-infobox .pi-border-color, .portable-infobox .pi-horizontal-group .pi-border-color {
.portable-infobox .pi-border-color,  
.portable-infobox .pi-horizontal-group .pi-border-color {
     border: none;
     border: none;
}
}
.portable-infobox .pi-horizontal-group-item.pi-data-value {
.portable-infobox .pi-horizontal-group-item.pi-data-value {
     padding: 9px 9px;
     padding: 9px 9px;
    vertical-align: top;
}
}


.portable-infobox .pi-horizontal-group-item.pi-data-value {
.portable-infobox .pi-data-label,  
    vertical-align: top;
.portable-infobox .pi-data-value {
}
.portable-infobox .pi-data-label, .portable-infobox .pi-data-value {
     font-size: 11px !important;
     font-size: 11px !important;
}
.portable-infobox {
    background-color: rgb(10, 17, 24);
}
}


.portable-infobox .pi-item.pi-data.pi-item-spacing {
.portable-infobox .pi-item.pi-data.pi-item-spacing {
     background-color: #000;
     background-color: #000;
}
.portable-infobox .pi-header, .portable-infobox .pi-title {
    background: var(--background-secondary) !important;
    border-radius: 0;
}
.portable-infobox {
    border: 1px solid var(--background-secondary);
}
}


Line 153: Line 152:
#mw-header-container {
#mw-header-container {
     background: var(--background-secondary);
     background: var(--background-secondary);
     color: #fff;
     color: #eee;
}
}


Line 214: Line 213:
     text-transform: uppercase;
     text-transform: uppercase;
     font-weight: bold;
     font-weight: bold;
     margin-bottom: 10px;
     margin-bottom: 5px;
     letter-spacing: 2px;
     letter-spacing: 2px;
     line-height: 110%;
     line-height: 110%;
Line 231: Line 230:


.mwe-popups {
.mwe-popups {
    border-color: var(--border-primary);
    border-color: var(--border-primary);
}
}


Line 249: Line 248:
}
}


.mwe-popups.flipped-y::after, .mwe-popups.mwe-popups-no-image-pointer::after {
.mwe-popups.flipped-y::after,  
.mwe-popups.mwe-popups-no-image-pointer::after {
     border-top: 11px solid var(--background-secondary) !important;
     border-top: 11px solid var(--background-secondary) !important;
}
}
Line 256: Line 256:
     background: #000;
     background: #000;
}
}
.interactive-maps-viewer__legend {
.interactive-maps-viewer__legend {
     background: var(--background-secondary);
     background: var(--background-secondary);
}
}


.leaflet-control-zoom-in, .leaflet-control-zoom-out {
.leaflet-control-zoom-in,  
.leaflet-control-zoom-out {
     background: var(--background-secondary) !important;
     background: var(--background-secondary) !important;
}
}


 
.leaflet-control-zoom-in span,  
.leaflet-control-zoom-in span, .leaflet-control-zoom-out span {
.leaflet-control-zoom-out span {
     color: white;
     color: white;
}
}


.leaflet-control-zoom-in span:hover, .leaflet-control-zoom-out span:hover {
.leaflet-control-zoom-in span:hover,  
.leaflet-control-zoom-out span:hover {
     color: var(--color-secondary);
     color: var(--color-secondary);
}
}
/* --- FIXED FOOTER & BACKGROUND SPACING --- */


#mw-footer-container {
#mw-footer-container {
background: #0c1102;
    background: var(--background-primary) !important;
padding-top: 1em;
    padding-top: 0.2em;
    margin-top: 0 !important;
}
}


 
/* Apply background color to base containers without touching #mw-content-container's image */
/* Ensure the page body and main layout wrappers share your primary dark background */
body,  
body,  
#mw-page-container,
#mw-page-container {
#mw-content-container {
     background-color: var(--background-primary) !important;
     background-color: var(--background-primary) !important;
}
}


/* Fix any gap underneath the content block or footer */
#mw-content-block {
#mw-content-block {
     margin-bottom: 0 !important;
     margin-bottom: 0 !important;
Line 292: Line 295:
}
}


#mw-footer-container {
.mw-headline:target {
     background-color: var(--background-primary) !important;
  background-color: gold;
     margin-top: 0 !important;
}
     border-top: 1px solid var(--border-primary); /* Optional: adds a clean border line above footer */
 
 
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; }

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; }