MediaWiki:Timeless.css: Difference between revisions
From Aphelium
No edit summary |
No edit summary |
||
(60 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;700&display=swap'); | |||
/* Indefinite content width */ | /* Indefinite content width */ | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
Line 7: | Line 9: | ||
#mw-header *, | #mw-header *, | ||
#mw-site-navigation *, | #mw-site-navigation *, | ||
#mw-related-navigation * { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif } | #mw-related-navigation * { font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif } | ||
/* Avoid cutting off letters with descenders: g,j,p,q,y */ | /* Avoid cutting off letters with descenders: g,j,p,q,y */ | ||
Line 23: | Line 25: | ||
.mw-headline:target { | .mw-headline:target { | ||
background-color: gold; | background-color: gold; | ||
} | |||
/* One-sided navigation menu */ | |||
@media (min-width: 1340px) { | |||
#mw-content-block { | |||
display: block; | |||
} | |||
#mw-content, | |||
#content-bottom-stuff { | |||
margin-left: 14em; | |||
} | |||
#mw-content-wrapper { | |||
float: right; | |||
margin-left: -14em; | |||
width: 100%; | |||
} | |||
#mw-related-navigation { | |||
width: 14em; | |||
padding: 0 1em 0 0; | |||
} | |||
div.color-middle { | |||
margin-right: 0; | |||
} | |||
.mw-wiki-logo { | |||
display: inline-block; | |||
} | |||
} | |||
/* Align top colour bar with page columns */ | |||
.ts-inner { | |||
padding: 0 0 0 1em; | |||
} | |||
/* Re-aligning bottom logos */ | |||
#footer { padding-right: 1em; } | |||
/* UTILITY */ | |||
.grid { | |||
display: grid; | |||
} | |||
.grid-col-2 { | |||
grid-template-columns: repeat(2, 1fr); | |||
grid-gap: 10px; | |||
} | |||
.grid-col-3 { | |||
grid-template-columns: repeat(3, 1fr); | |||
grid-gap: 10px; | |||
} | } | ||
/* APHELIUM */ | /* APHELIUM */ | ||
body { | body { | ||
background-image: url(https://aphelium. | /*background-image: url(https://cdn.aphelium.io/images/wiki/wiki-bg.jpg);*/ | ||
background-color:#14141F; | |||
background-size: 100%; | background-size: 100%; | ||
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | |||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
background: transparent; | background: transparent; | ||
border-bottom: 0; | border-bottom: 0; | ||
} | |||
#mw-content { | |||
background: #fff; | |||
background: rgba(209,248,255,0.4); | |||
background: none; | |||
border-radius: 1.5rem; | |||
border: 0; | |||
margin-right: 2em; | |||
color: #fff; | |||
} | |||
@media screen and (max-width: 850px) { | |||
#mw-content-block { | |||
background: transparent; | |||
} | |||
#mw-content { | |||
margin-right: 1em; | |||
} | |||
} | |||
#mw-header-container { | |||
background: #000; | |||
color: #fff; | |||
} | |||
#mw-header-hack { | |||
display:none; | |||
} | |||
#p-logo-text a { | |||
color: #fff; | |||
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | |||
} | |||
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt { | |||
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | |||
} | |||
.toc { | |||
background: #14141F; | |||
border: 1px solid #000; | |||
color: #fff; | |||
} | |||
.toctogglelabel { | |||
color: #0096ff; | |||
} | |||
a, a:visited { | |||
color: #0096ff; | |||
} | |||
a:hover { | |||
color: #0096ff; | |||
} | |||
.thumbinner { | |||
background: #14141F; | |||
color: #fff; | |||
} | |||
.mw-body h1.firstHeading { | |||
border-bottom: 1px solid #374151; | |||
} | |||
.clearbox { | |||
clear: both; | |||
} | |||
.wikitable > tr > th, .wikitable > * > tr > th { | |||
background: #000; | |||
color: #fff; | |||
} | |||
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk { | |||
background: #1e293b; | |||
border: none; | |||
padding: 1.5em; | |||
color: #fff; | |||
border-radius: 0.5rem; | |||
} | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body .mw-search-profile-tabs, .mw-body fieldset#mw-searchoptions, .mw_metadata, .wikitable, .mw-datatable { | |||
background: #1e293b; | |||
border: 0; | |||
} | |||
.mw_metadata > tr > th, .mw-datatable > tr > th, .wikitable > tr > th, .mw_metadata > tr > td, .mw-datatable > tr > td, .wikitable > tr > td, .mw_metadata > * > tr > th, .mw-datatable > * > tr > th, .wikitable > * > tr > th, .mw_metadata > * > tr > td, .mw-datatable > * > tr > td, .wikitable > * > tr > td { | |||
border: 0; | |||
color: #fff; | |||
} | |||
.wikitable > tr > th, .wikitable > * > tr > th { | |||
border: 0; | |||
} | |||
.wikitable > caption { | |||
color: #fff; | |||
} | } |
Latest revision as of 07:55, 21 May 2023
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;700&display=swap');
/* Indefinite content width */
@media screen and (min-width: 851px) {
.color-middle-container,
.ts-inner { max-width: none; }
}
/* Top bar font modernization */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation * { font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif }
/* Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
height: 1.5em;
position:relative;
bottom:0.1em
}
/* Triangle position patch */
#personal h2::after {
position: relative;
bottom: 0.5em;
}
.mw-headline:target {
background-color: gold;
}
/* One-sided navigation menu */
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
.mw-wiki-logo {
display: inline-block;
}
}
/* Align top colour bar with page columns */
.ts-inner {
padding: 0 0 0 1em;
}
/* Re-aligning bottom logos */
#footer { padding-right: 1em; }
/* UTILITY */
.grid {
display: grid;
}
.grid-col-2 {
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
}
.grid-col-3 {
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
/* APHELIUM */
body {
/*background-image: url(https://cdn.aphelium.io/images/wiki/wiki-bg.jpg);*/
background-color:#14141F;
background-size: 100%;
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
#mw-content-container {
background: transparent;
border-bottom: 0;
}
#mw-content {
background: #fff;
background: rgba(209,248,255,0.4);
background: none;
border-radius: 1.5rem;
border: 0;
margin-right: 2em;
color: #fff;
}
@media screen and (max-width: 850px) {
#mw-content-block {
background: transparent;
}
#mw-content {
margin-right: 1em;
}
}
#mw-header-container {
background: #000;
color: #fff;
}
#mw-header-hack {
display:none;
}
#p-logo-text a {
color: #fff;
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
font-family: 'Urbanist', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
.toc {
background: #14141F;
border: 1px solid #000;
color: #fff;
}
.toctogglelabel {
color: #0096ff;
}
a, a:visited {
color: #0096ff;
}
a:hover {
color: #0096ff;
}
.thumbinner {
background: #14141F;
color: #fff;
}
.mw-body h1.firstHeading {
border-bottom: 1px solid #374151;
}
.clearbox {
clear: both;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background: #000;
color: #fff;
}
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
background: #1e293b;
border: none;
padding: 1.5em;
color: #fff;
border-radius: 0.5rem;
}
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body .mw-search-profile-tabs, .mw-body fieldset#mw-searchoptions, .mw_metadata, .wikitable, .mw-datatable {
background: #1e293b;
border: 0;
}
.mw_metadata > tr > th, .mw-datatable > tr > th, .wikitable > tr > th, .mw_metadata > tr > td, .mw-datatable > tr > td, .wikitable > tr > td, .mw_metadata > * > tr > th, .mw-datatable > * > tr > th, .wikitable > * > tr > th, .mw_metadata > * > tr > td, .mw-datatable > * > tr > td, .wikitable > * > tr > td {
border: 0;
color: #fff;
}
.wikitable > tr > th, .wikitable > * > tr > th {
border: 0;
}
.wikitable > caption {
color: #fff;
}