MediaWiki:Timeless.css: Difference between revisions
From Research Realm
mNo edit summary |
whatever its fine |
||
| (31 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Timeless skin */ | /* All CSS here will be loaded for users of the Timeless skin */ | ||
:root { | |||
--brand-primary: #ffe10f; | |||
--brand-red-logo: #ed1c24; | |||
--brand-blu-logo: #007ed9; | |||
--brand-grn-logo: #39b54a; | |||
--brand-ylw-rr: #f8f400; | |||
--brand-teal-rr: #00a4a8; | |||
--brand-silver-base: #c8ccd1; /* Timeless default */ | |||
--brand-boxwhite: #f8f9fa; /* default for those side boxes */ | |||
--shadow-inset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset; | |||
--shadow-inset2: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset; | |||
--shadow-outset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4); | |||
--shadow-outset: 0 2px 5px 0 rgb(0, 0, 0, 0.4); | |||
--shadow-base: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2); /* Timeless default */ | |||
} | |||
#mw-content-container { | |||
background: var(--brand-teal-rr); | |||
border-bottom: solid 4px; | |||
border-bottom-color: var(--brand-primary); | |||
background-image: url(/images/tilestuds-wiki.png); | |||
background-repeat: repeat; | |||
} | |||
.color-middle { | |||
background: var(--brand-primary); | |||
} | |||
.color-left { | |||
background: var(--brand-primary); | |||
} | |||
.color-right { | |||
background: var(--brand-primary); | |||
} | |||
#mw-header-hack { | |||
box-shadow: var(--shadow-outset); | |||
} | |||
.mw-wiki-logo.timeless-logo { | |||
height: 162px; | |||
width: 162px; | |||
background-color: #eee; | |||
border-radius: 50%; | |||
border: 3px solid #bbb; | |||
display: inline-block; | |||
box-shadow: var(--shadow-inset); | |||
/* margin-top: 12px;*/ | |||
} | |||
.mw-wiki-logo.timeless-logo img { | |||
/* does this work on all browsers? */ | |||
margin-left: 10px; | |||
} | |||
.mw-body h1.firstHeading { | |||
border-bottom: solid 2px; | |||
border-bottom-color: var(--brand-silver-base); | |||
} | |||
.tools-inline li.selected { | |||
border-bottom-color: var(--brand-red-logo); | |||
} | |||
/* SPECIFIC TO DIFFERENT SCREEN WIDTHS */ | |||
@media screen and (min-width: 851px) and (max-width: 1099px) { | |||
#mw-content-block { | |||
background: var(--brand-boxwhite); | |||
box-shadow: var(--shadow-bottom) inset; | |||
} | } | ||
#mw-content { | |||
box-shadow: var(--shadow-bottom); | |||
} | } | ||
} | |||
@media screen and (max-width: 1099px) { | |||
.color-middle { | |||
background: var(--brand-teal-rr); | |||
} | |||
.color-left { | |||
background: var(--brand-teal-rr); | |||
} | |||
.color-right { | |||
background: var(--brand-teal-rr); | |||
} | |||
} | |||
@media screen and (min-width: 1100px) { | |||
#mw-site-navigation .sidebar-chunk { | |||
/* border-radius: 0.5rem; */ | |||
box-shadow: var(--shadow-outset); | |||
} | |||
#mw-related-navigation .sidebar-chunk { | |||
box-shadow: var(--shadow-outset); | |||
} /* these shouldn't be separate but it won't work otherwise */ | |||
#mw-content { | |||
box-shadow: var(--shadow-outset); | |||
} | |||
} | |||
Latest revision as of 20:43, 15 October 2025
/* All CSS here will be loaded for users of the Timeless skin */
:root {
--brand-primary: #ffe10f;
--brand-red-logo: #ed1c24;
--brand-blu-logo: #007ed9;
--brand-grn-logo: #39b54a;
--brand-ylw-rr: #f8f400;
--brand-teal-rr: #00a4a8;
--brand-silver-base: #c8ccd1; /* Timeless default */
--brand-boxwhite: #f8f9fa; /* default for those side boxes */
--shadow-inset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-inset2: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-outset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4);
--shadow-outset: 0 2px 5px 0 rgb(0, 0, 0, 0.4);
--shadow-base: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2); /* Timeless default */
}
#mw-content-container {
background: var(--brand-teal-rr);
border-bottom: solid 4px;
border-bottom-color: var(--brand-primary);
background-image: url(/images/tilestuds-wiki.png);
background-repeat: repeat;
}
.color-middle {
background: var(--brand-primary);
}
.color-left {
background: var(--brand-primary);
}
.color-right {
background: var(--brand-primary);
}
#mw-header-hack {
box-shadow: var(--shadow-outset);
}
.mw-wiki-logo.timeless-logo {
height: 162px;
width: 162px;
background-color: #eee;
border-radius: 50%;
border: 3px solid #bbb;
display: inline-block;
box-shadow: var(--shadow-inset);
/* margin-top: 12px;*/
}
.mw-wiki-logo.timeless-logo img {
/* does this work on all browsers? */
margin-left: 10px;
}
.mw-body h1.firstHeading {
border-bottom: solid 2px;
border-bottom-color: var(--brand-silver-base);
}
.tools-inline li.selected {
border-bottom-color: var(--brand-red-logo);
}
/* SPECIFIC TO DIFFERENT SCREEN WIDTHS */
@media screen and (min-width: 851px) and (max-width: 1099px) {
#mw-content-block {
background: var(--brand-boxwhite);
box-shadow: var(--shadow-bottom) inset;
}
#mw-content {
box-shadow: var(--shadow-bottom);
}
}
@media screen and (max-width: 1099px) {
.color-middle {
background: var(--brand-teal-rr);
}
.color-left {
background: var(--brand-teal-rr);
}
.color-right {
background: var(--brand-teal-rr);
}
}
@media screen and (min-width: 1100px) {
#mw-site-navigation .sidebar-chunk {
/* border-radius: 0.5rem; */
box-shadow: var(--shadow-outset);
}
#mw-related-navigation .sidebar-chunk {
box-shadow: var(--shadow-outset);
} /* these shouldn't be separate but it won't work otherwise */
#mw-content {
box-shadow: var(--shadow-outset);
}
}