No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
body { |
body { |
||
background: var(-\-bg-color-secondary); |
background: var(-\-bg-color-secondary); |
||
− | color: |
+ | color: var(-\-font-color-primary); |
} |
} |
||
Line 89: | Line 89: | ||
/********************/ |
/********************/ |
||
.primary-navigation-enabled { |
.primary-navigation-enabled { |
||
− | border-left: 12px solid #505050 !important; |
+ | border-left: 12px solid #505050 !important; |
− | background: #101010 !important; |
+ | background: #101010 !important; |
} |
} |
||
#mw-mf-page-left { |
#mw-mf-page-left { |
||
− | border-left: 12px solid #505050; |
+ | border-left: 12px solid #505050; |
− | background: |
+ | background: var(-\-bg-color-secondary); |
} |
} |
||
#mw-mf-page-left ul { |
#mw-mf-page-left ul { |
||
− | background: transparent; |
+ | background: transparent; |
} |
} |
||
#mw-mf-page-left ul:first-child { |
#mw-mf-page-left ul:first-child { |
||
− | border-bottom: 12px solid #505050; |
+ | border-bottom: 12px solid #505050; |
} |
} |
||
#mw-mf-page-left ul li { |
#mw-mf-page-left ul li { |
||
− | border-top: 1px solid #505050; |
+ | border-top: 1px solid #505050; |
− | border-bottom: 1px solid #505050; |
+ | border-bottom: 1px solid #505050; |
− | background: transparent; |
+ | background: transparent; |
− | text-shadow: none; |
+ | text-shadow: none; |
} |
} |
||
#mw-mf-page-left ul li a, |
#mw-mf-page-left ul li a, |
||
#mw-mf-page-left ul.hlist li a { |
#mw-mf-page-left ul.hlist li a { |
||
− | border: none; |
+ | border: none; |
− | color: #3674b3; |
+ | color: #3674b3; |
} |
} |
||
#mw-mf-page-left ul li:hover { |
#mw-mf-page-left ul li:hover { |
||
− | border-left: 12px solid #aaaaaa; |
+ | border-left: 12px solid #aaaaaa; |
− | background: #505050; |
+ | background: #505050; |
} |
} |
||
#mw-mf-page-left ul.hlist li:hover { |
#mw-mf-page-left ul.hlist li:hover { |
||
− | border: none; |
+ | border: none; |
} |
} |
||
#mw-mf-page-left ul li:hover a, |
#mw-mf-page-left ul li:hover a, |
||
#mw-mf-page-left ul.hlist li:hover a { |
#mw-mf-page-left ul.hlist li:hover a { |
||
− | color: #ffffff; |
+ | color: #ffffff; |
} |
} |
||
Revision as of 19:07, 13 September 2017
/* CSS placed here will affect users of the mobile site */
.nomobile {
display: none;
}
/* Variable declarations for important, widely used elements */
:root {
-\-bg-color-primary: #FDFDFD;
-\-bg-color-secondary: #F0F0F0;
-\-bg-color-tertiary: #474747;
-\-border-color-primary: #474747;
-\-border-color-secondary: #D9D9D9;
-\-font-color-primary: #333;
-\-font-color-secondary: #FFFFFF;
-\-font-color-highlight: #F07C2A;
}
/* non-content area */
body {
background: var(-\-bg-color-secondary);
color: var(-\-font-color-primary);
}
/* content area */
.overlay-enabled,
#content {
background: url(https://anthem.gamepedia.com/media/anthem.gamepedia.com/d/dd/Content-bg.png) repeat-x var(-\-bg-color-primary) !important;
color: var(-\-font-color-primary);
}
a,
a:visited,
a.external {
color: var(-\-font-color-highlight);
}
.client-js .toc-mobile {
background-color: rgba(0, 0, 0, 0) !important;
border: 1px solid #596167 !important;
}
.mw-ui-button,
.last-modified-bar #mw-mf-last-modified {
background-color: rgba(0, 0, 0, 0);
/*
color: #e0e0e0;
*/
}
.thumb,
#content_wrapper .thumb,
li.gallerybox div.thumb {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #505050;
}
.content table th {
background-color: rgba(0, 0, 0, 0);
}
.content table td,
.content table th {
border: 1px solid #505050;
padding: 3px;
}
.content table.wikitable {
background-color: rgba(0, 0, 0, 0);
margin: auto;
margin-bottom: 1em;
}
.content table.wikitable > tr > th,
.content table.wikitable > tr > td,
.content table.wikitable > * > tr > th,
.content table.wikitable > * > tr > td {
border: 1px solid #505050;
}
.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
background-color: inherit;
padding: 3px;
}
/* Responsive main page stuff */
/********************
/* Main menu styles *
/********************/
.primary-navigation-enabled {
border-left: 12px solid #505050 !important;
background: #101010 !important;
}
#mw-mf-page-left {
border-left: 12px solid #505050;
background: var(-\-bg-color-secondary);
}
#mw-mf-page-left ul {
background: transparent;
}
#mw-mf-page-left ul:first-child {
border-bottom: 12px solid #505050;
}
#mw-mf-page-left ul li {
border-top: 1px solid #505050;
border-bottom: 1px solid #505050;
background: transparent;
text-shadow: none;
}
#mw-mf-page-left ul li a,
#mw-mf-page-left ul.hlist li a {
border: none;
color: #3674b3;
}
#mw-mf-page-left ul li:hover {
border-left: 12px solid #aaaaaa;
background: #505050;
}
#mw-mf-page-left ul.hlist li:hover {
border: none;
}
#mw-mf-page-left ul li:hover a,
#mw-mf-page-left ul.hlist li:hover a {
color: #ffffff;
}
/* this section governs the responsive 3 column main page layout */
.fpmain {
width: 100%;
overflow: hidden;
z-index: 1;
}
.fpbanner {
background: var(-\-bg-color-secondary);
border: 1px solid var(-\-border-color-primary);
box-shadow: 0 2px 5px var(-\-border-color-primary);
color: #B3B4B7;
margin: 0 5px 5px 5px;
padding: 5px;
min-height: 80px;
}
.fpbannertable {
display: table;
border: none;
background: transparent;
width: 100%;
min-height: 75px;
margin: 0;
padding: 5px;
}
.fpbannercell {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.fpbannerblock {
border: none;
font-weight: bold;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
font-size: 132%;
width: 100%;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpmidsections {
float: left;
width: 100%;
overflow: hidden;
}
.fpbox {
background: var(-\-bg-color-secondary);
border: 1px solid var(-\-border-color-primary);
box-shadow: 0 2px 5px var(-\-border-color-primary);
margin: 5px;
padding: 5px;
overflow: auto;
}
.fpbox .mainheading {
border: none;
border-bottom: 1px solid var(-\-font-color-highlight);
font-size: 150%;
font-weight: bold;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
overflow: auto;
}
.fpbox .heading {
border: none;
border-bottom: 1px solid var(-\-font-color-highlight);
text-align: center;
font-size: 132%;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
overflow: auto;
}
.fpmain .columns .leftcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpsection1, .fpsection2, .fpsection3, .fpsection4 {
float: left;
clear: both;
width: 100%;
}
div.fp2columnonly, div.fp3columnonly {
display: none;
}
@media (min-width: 790px) {
.fpsection1 {
float: left;
clear: none;
width: 50%;
}
.fpmidsections {
clear: none;
float: right;
width: 50%;
}
.fpsection4 {
float: left;
clear: none;
width: 50%;
}
div.fp2columnonly {
display: block;
}
}
@media (min-width: 990px) {
.fpmain .columns .leftcol {
float: left;
width: 50%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
float: right;
width: 50%;
margin: 0;
padding: 0;
}
}
@media (min-width: 1390px) {
.fpmidsections {
clear: none;
float: right;
width: 66.667%;
}
.fpsection1 {
clear: none;
width: 33.333%;
}
.fpsection2 {
clear: none;
width: 50%;
}
.fpsection3 {
clear: none;
width: 50%;
}
.fpsection4 {
clear: left;
width: 33.333%;
}
div.fp2columnonly {
display: none;
}
div.fp3columnonly {
display: block;
}
}
.fpbox.plain {
background: transparent;
border: none;
box-shadow: none;
}
.fpimagelist ul {
list-style-type: none;
list-style-image: none;
}
.fpvideos {
margin: 0 auto;
overflow: hidden;
text-align: center;
}
.fpvideo {
display: inline-block;
margin: 0 5px;
}
/* Infobox template style */
.content table.infobox {
float: right;
margin: .5em 0 1em 1em;
border: 1px solid #AAA;
background-color: var(-\-bg-color-secondary);
font-size: 90%;
width: 300px;
border-collapse: collapse;
}
.content table.infobox-img {
background: transparent;
padding: 0;
}
.content table.infobox-header {
background-image: url(https://anthem.gamepedia.com/media/anthem.gamepedia.com/9/98/Lined-header-bg.png);
background-repeat: repeat-x !important;
background-color: #FEAB00;
padding: 4px;
font-size: larger;
color: var(-\-font-color-secondary);
}
.content table.infobox-subheader {
background-color: #474747;
color: var(-\-font-color-secondary);
}
.content table.infobox-label {
border: none;
font-weight: bold;
padding: 0.5px 7px;
text-align: center;
vertical-align: top;
width: 100px;
}
.content table.infobox tr:nth-child(odd) {
background-color: rgba(0,0,0,0.1);
}