No edit summary |
No edit summary |
||
Line 163: | Line 163: | ||
table.alternate td:nth-child(odd) { |
table.alternate td:nth-child(odd) { |
||
border-right: 1px solid #7a7a7a; |
border-right: 1px solid #7a7a7a; |
||
+ | } |
||
+ | |||
+ | table.alternate td:nth-child(even) { |
||
+ | background: #000; |
||
} |
} |
Revision as of 00:18, 21 December 2021
@font-face {
font-family: "moonhouse";
src: url(https://vignette.wikia.nocookie.net/mugen/images/9/90/Moonhouse.ttf);
}
.page-content * {
-webkit-box-sizing: revert;
box-sizing: revert;
}
.page-content .mw-inputbox-centered * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.WikiaArticle h3, .WikiaArticle h4 { font-weight:bold; }
/* === Collapsible table link colours === */
.mw-collapsible-toggle a { color:#e6e6e6 !important; }
/*table#arm a { color:#0000ff; }
table#core a { color:#FF0000; }
table#skrmaps a { color:#00FF00; }*/
/* === Absolutely nutty buildmenu shenanigans === */
#buildmenul {
background-image: url(https://images.wikia.nocookie.net/totalannihilation/images/0/05/IGBUTTONL.png?format=original);
}
#buildmenul:active {
background-image: url(https://images.wikia.nocookie.net/totalannihilation/images/f/fe/IGBUTTONL2.png?format=original);
}
#buildmenur {
background-image: url(https://images.wikia.nocookie.net/totalannihilation/images/8/89/IGBUTTONR.png?format=original);
}
#buildmenur:active {
background-image: url(https://images.wikia.nocookie.net/totalannihilation/images/e/e6/IGBUTTONR2.png?format=original);
}
.buildmenupage {
position: absolute;
}
#bright img {
image-rendering: pixelated;
border-top: 1px solid #FFFFFF;
border-left: 1px solid #4b4b4b;
border-bottom: 1px solid #000000;
border-right: 1px solid #8b8b8b;
}
#bright img:active {
filter: brightness(150%);
-webkit-filter: brightness(150%);
}
#IGPATCH {
background-image:url('https://vignette.wikia.nocookie.net/totalannihilation/images/1/10/IGPATCH.png?format=original');
image-rendering: pixelated;
text-align: left;
}
/* === Commander's Handbook images === */
#handbook img {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
position: absolute;
top: -100%; left: -100%; right: -100%; bottom: -100%;
margin: auto;
}
div.handbook {
position: absolute;
margin: auto;
}
/* === TA's pipe borders (GROMMETS) === */
#grommets {
background-color: #000;
background-clip: content-box;
border: solid #323232;
border-width: 14px;
-moz-border-image: url(https://images.wikia.nocookie.net/totalannihilation/images/e/e8/GROMMETS.png?format=original) 20 repeat;
-webkit-border-image: url(https://images.wikia.nocookie.net/totalannihilation/images/e/e8/GROMMETS.png?format=original) 20 repeat;
-o-border-image: url(https://images.wikia.nocookie.net/totalannihilation/images/e/e8/GROMMETS.png?format=original) 20 repeat;
border-image: url(https://images.wikia.nocookie.net/totalannihilation/images/e/e8/GROMMETS.png?format=original) 20 repeat;
border-image-width: auto;
}
#grommets p {
margin: .4em .5em .5em;
}
#grommets img {
max-width: 100%;
height: auto;
}
/* ===Infobox Tabber=== */
.infoboxtabber a {
color: var(--theme-page-text-color) !important;
text-decoration: none !important;
}
.infoboxtabber .wds-tabs__tab:first-child {
border-left: 1px solid #7a7a7a;
margin-left: initial;
}
.infoboxtabber .wds-tabs__tab {
margin-right: initial;
}
.infoboxtabber .wds-tabs__tab {
cursor: pointer;
background-color: var(--theme-page-background-color);
border-top: 1px solid #7a7a7a;
border-right: 1px solid #7a7a7a;
}
.infoboxtabber .wds-tabs__tab.wds-is-current {
-webkit-box-shadow: none !important;
box-shadow: none !important;
background-color: #0b2bbb;
}
.infoboxtabber .wds-tabs__tab.wds-is-current:first-child {
background-color: #d72300;
}
.infoboxtabber {
float: right;
}
.infoboxtabber .wds-tabs__wrapper.with-bottom-border {
float: right;
padding: 0;
border: 0;
width: calc(100% - 1em);
}
.infoboxtabber ul.wds-tabs {
justify-content: center;
}
table.alternate tr {
border-bottom: 1px solid #7a7a7a;
}
table.alternate tr:nth-child(odd) {
background: #1b1b1b;
}
table.alternate tr:nth-child(even) {
background: #0c0c0c;
}
table.alternate tr:last-child {
border-bottom: none;
}
table.alternate td:nth-child(odd) {
border-right: 1px solid #7a7a7a;
}
table.alternate td:nth-child(even) {
background: #000;
}