User:LIMAFOX76/timeless.css: Difference between revisions
From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
More actions
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
--link-red: @red; | --link-red: @red; | ||
--font-size: 0.93em; | --font-size: 0.93em; | ||
} | |||
.box() { | |||
background: var(--background3); | |||
border: solid var(--yellow-dark); | |||
border-width: 1px 1px @border; | |||
padding: 1.25em 1.75em; | |||
box-shadow: 0 1px 2px 1px rgba( 0, 0, 0, 0.02 ); | |||
} | } | ||
Revision as of 18:37, 19 January 2020
/* LIMAFOX76 CSS style for the Timeless skin */
/* variables */
:root {
--text: #fff;
--background: #471919;
--background2: #000;
--background3: #160807;
--background-dark: #f4a460;
--background-dark2: #d2691e;
--text-inverse: #018;
--grey: #ccc;
--grey-bright: #eee;
--grey-dark: #666;
--red: #d44;
--red-bright: #f55;
--red-dark: #900;
--orange: #ffa500;
--orange-bright: #ff4500;
--orange-dark: #ff8c00;
--yellow: #ffff00;
--yellow-bright: #ffffe0;
--yellow-dark: #ffd700;
--green: #3b7;
--green-bright: #4c8;
--green-dark: #396;
--blue: #08d;
--blue-bright: #2af;
--blue-dark: #069;
--link: @yellow;
--link-red: @red;
--font-size: 0.93em;
}
.box() {
background: var(--background3);
border: solid var(--yellow-dark);
border-width: 1px 1px @border;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba( 0, 0, 0, 0.02 );
}
body {
color: var(--text);
background: var(--background3);
font-size: var(--font-size);
line-height: 1.4;
}
#mw-page-header-links {
div,
ul,
li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
li {
margin: 0.25em 0 1em;
border-bottom: solid 3px transparent;
&:hover {
border-bottom-color: var(--grey);
}
&.selected {
border-bottom-color: var(--orange);
a {
color: var(--text);
}
}
}
}
/* Global width */
.ts-inner {
padding: 0 3.2em;
max-width: 1920px;
}
/* Content */
#mw-content-container {
background: var(--background2);
border-bottom: solid 4px var(--yellow-dark);
}
#mw-content {
.box;
background: var(--background);
padding: 1em @content-padding 3em;
/* Set a z-index for the content to group it away from any nav stuff (extensions) - T200148 */
position: relative;
z-index: 0;
}
/* Logo background */
#p-logo {
background: #160807;
border: 1px solid #471919;
}
/* Site Navigation */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: #160807;
border: solid #ffd700;
border-width: 1px 1px 0.2em;
color: #ffffff;
}
/* Header Container */
#mw-header-container {
background: #471919;
color: #ffffff;
}
#p-logo-text a {
color: #ffffff;
}
/* Color Middle */
.color-middle-container {
padding: 0 4.0em;
max-width: 1920px;
}
.color-middle {
margin-left: 13.2em;
margin-right: 15em;
background: #ff8c00;
}
/* Context Infoboxes Jar*/
#stacked_layout {
background: #000000;
}
/* Footer */
#mw-footer-container {
border-top: solid 1px #ffa500;
background: #160807;
}
/* Style effects for the Browse properties */
.mw_metadata th,
#mw-allmessagestable td {
background-color: #160807;
}
#mw-allmessagestable tbody:hover {
background-color: #471919;;
}
.mw_metadata td,
#mw-allmessagestable th,
.diff-addedline .diffchange {
background: #000;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select {
background-color: #fff;
}
.warningbox {
background-color: #160807;
color: #fff;
}
div.mw-warning-with-logexcerpt {
background: #160807;
}
table#portal_intro.contentbox {
box-sizing: border-box;
border: 7px solid transparent;
border-image: url("https://media.battlestarwiki.org/images/2/20/BSG_Border.png") 50 round;
-webkit-border-image: url("https://media.battlestarwiki.org/images/2/20/BSG_Border.png") 50 round;
background: #1f0b0c;
background-clip: padding-box;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
margin: 1em auto 0;
}