MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, background: transparent; }
 * 1) mw-mf-page-center,
 * 2) secondary-button {

body { background: #0c262d; }

footer { color: #e0e0e0; }

.nomobile { display: none; }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

.mw-ui-button, .last-modified-bar #mw-mf-last-modified { background-color: rgba(0, 0, 0, 0); color: #e0e0e0; }

.overlay-enabled, #content { background: #0c262d url("https://static.wikia.nocookie.net/necronia_gamepedia_en/images/2/26/Background.png/revision/latest") repeat center top; color: #e0e0e0; font-family: "Fontawesome-webfont"; }

.overlay-enabled, #content { background-color: #0b262f; }

a, a:visited, a.external { color: #5a93cc; }

.mw-ui-icon-arrow::before { filter: invert(100%); }

.thumb, li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; }
 * 1) content_wrapper .thumb,

.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; }

border-left: 12px solid #505050; background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/*| ====== CUSTOMIZATIONS ====== |*/ display: none; } display: block; } /*|====== GENERAL SETTINGS ======|*/
 * 1) featured-media {
 * 1) necronia-navigation {

.flex-mp-container > * {padding: 10px 0;} .necronia-panel {position: relative; height:100%;} .np-content {padding: 1px; position: relative;} .np-middle::before {left: 0;} .np-middle::after {right: 0;} .np-middle::before, .np-middle::after {content: ""; z-index: 1;} .np-top::before, .np-top::after, .np-bottom::before, .np-bottom::after {z-index: 2;} .np-top::before, .np-top::after, .np-middle::before, .np-middle::after, .np-bottom::before, .np-bottom::after {position: absolute;} .np-bottom::before, .np-bottom::after {bottom: 0;} .np-top::before, .np-bottom::before {left: 0;} .np-top::after, .np-bottom::after {right: 0;} .np-wrap { display: inline-block; } .np-body { position: relative; margin: 20px; } .np-header { margin: 10px 0; text-align: center; } .np-text { max-width: 70ex; margin-left: auto; margin-right: auto; padding: 1em; } .np-text p { text-align: justify; }

/*|====== FANCY HEADER ======|*/

.sandvich-header { text-align: center; color: rgba(98,166,183,1); font-weight: bold; font-family: "serif"; font-size: 250%; border-image: linear-gradient(to right,rgba(255,215,0,0) 4%, rgba(98,166,183,1) 50%, rgba(255,241,0,0) 95%); background-image: linear-gradient(to right,rgba(255,215,0,0) 4%, rgba(98,166,183,0.3) 50%, rgba(255,241,0,0) 95%); padding: 0.2em; border-image-slice: 2; border-top: 3px solid; border-bottom: 3px solid; text-shadow: rgba(98,166,183,0.5) 0px 1px 0px, rgba(98,166,183,0.3) 0px 2px 0px, rgba(0, 0, 0, 0.296875) 0px 1px 6px; }

/*|====== NP-TEXT SIMPLE ======|*/

.np-text.simple { border: 1px solid rgba(98,166,183,0.6); background-color: rgba(11,38,47,0.7); border-radius: 4px; } .np-text.simple p { font-family: Arial, Helvetica, sans-serif; color: rgba(160,210,255,1); line-height: 1.2em; }

/*|====== NP-SIMPLE PANEL ======|*/ .np-simple .np-top::before    {width: 47px; height: 47px;}   /* top left corner */ .np-simple .np-top::after     {width: 47px; height: 47px;}   /* top right corner */ .np-simple .np-bottom::before {width: 47px; height: 47px;}   /* bottom left corner */ .np-simple .np-bottom::after  {width: 47px; height: 47px;}   /* bottom right corner */ .np-simple .np-top::before {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/3/38/Top_left.png/revision/latest);} .np-simple .np-top {background: url(/media/e/e6/horizontal_up.png);} .np-simple .np-top::after {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/c/c5/Top_right.png/revision/latest);} .np-simple .np-middle::before {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/8/82/Vertical_left.png/revision/latest);} .np-simple .np-middle {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/2/26/Background.png/revision/latest);} .np-simple .np-middle::after {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/3/39/Vertical_right.png/revision/latest);} .np-simple .np-bottom::before {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/3/32/Bottom_left.png/revision/latest);} .np-simple .np-bottom {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/4/42/Horizontal_down.png/revision/latest);} .np-simple .np-bottom::after {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/3/31/Bottom_right.png/revision/latest);}

.np-simple {min-height: 44px;}     /* = */ .np-simple .np-top { height: 21px;                    /* = top border height */ margin: 0 11px;                  /* = left & right border width */ } .np-simple .np-middle::before { height: calc(100% - 32px);       /* = panel height - top border height - bottom border height @READY */ width: 11px;                     /* = left border width */ } .np-simple .np-middle { height: calc(100% - 32px);       /* = @READY above */ margin: 0 11px;                  /* = left & right border width */ } .np-simple .np-middle::after { top: 21px;                       /* = top border height */ height: calc(100% - 32px);       /* = @READY above */ width: 11px;                     /* = right border width */ } .np-simple .np-bottom { margin: 0 11px;                  /* = left & right border width */ height: 11px;                    /* = bottom border height */ }

/*|====== NP-ORONATE PANEL ======|*/ .np-oronate .np-top::before {width: 48px; height: 53px;} .np-oronate .np-top::after {width: 48px; height: 54px;} .np-oronate .np-bottom::before {width: 48px; height: 53px;} .np-oronate .np-bottom::after {width: 48px; height: 53px;} .np-oronate .np-top::before {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/4/42/Mf_corner_nw.png/revision/latest);} .np-oronate .np-top {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/1/1b/Mf_north.png/revision/latest);} .np-oronate .np-top::after {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/6/65/Mf_corner_ne.png/revision/latest);} .np-oronate .np-middle::before {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/a/a1/Mf_west.png/revision/latest);} .np-oronate .np-middle {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/4/49/Background_blue.png/revision/latest);} .np-oronate .np-middle::after {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/c/c6/Mf_east.png/revision/latest);} .np-oronate .np-bottom::before {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/e/ec/Mf_corner_sw.png/revision/latest);} .np-oronate .np-bottom {background: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/2/29/Mf_south.png/revision/latest);} .np-oronate .np-bottom::after {content: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/e/ea/Mf_corner_se.png/revision/latest);}

.np-oronate {min-height: 107px;}   /* = higher top corner + higher bottom corner */ .np-oronate .np-top { height: 21px;                    /* = top border height */ margin: 0 21px;                  /* = left & right border width */ } .np-oronate .np-middle::before { height: calc(100% - 42px);       /* = panel height - top border height - bottom border height @READY */ width: 21px;                     /* = left border width */ } .np-oronate .np-middle { min-height: 65px;                /* = top corner + bottom corner - top border height - bottom border height */ height: calc(100% - 42px);       /* = @READY above */ margin: 0 21px;                  /* = left & right border width */ } .np-oronate .np-middle::after { top: 21px;                       /* = top border height */ height: calc(100% - 42px);       /* = @READY above */ width: 21px;                     /* = right border width */ } .np-oronate .np-bottom { margin: 0 21px;                  /* = left & right border width */ height: 21px;                    /* = bottom border height */ }

/*|====== TEXT HEADER ======|*/ .belt-header { display: -webkit-flex; display: flex; font-size: 120%; font-weight: bold; } .belt-header > * {display: flex;} .belt-header-body { text-align: center; background: rgba(98,166,183,0.2); border-top: 1px solid rgba(98,166,183,1); border-bottom: 1px solid rgba(98,166,183,1); } .belt-header-left, .belt-header-right { display: -webkit-flex; display: flex; flex: 1; overflow-x: hidden; border-top: 1px solid; border-bottom: 1px solid; } .belt-header-left { background-image: linear-gradient(to left, rgba(98,166,183,0.2) 20%, rgba(11,38,47,0.7) 100%); border-image: linear-gradient(to left, rgba(98,166,183,1) 0, rgba(255,241,0,0) 100%) 1; } .belt-header-right { background-image: linear-gradient(to right, rgba(98,166,183,0.2) 20%, rgba(11,38,47,0.2) 100%); border-image: linear-gradient(to right, rgba(98,166,183,1) 0, rgba(255,241,0,0) 100%) 1; direction: rtl; } .belt-header-body span { font-family: Arial, Helvetica, sans-serif; color: rgba(160,210,255,1); line-height: 1.4em; margin: 0.2em 0; padding: 0 0.3em; background-color: rgba(11,38,47,0.7); border: 1px solid; border-image: linear-gradient(to right, rgba(98,166,183,0.7), rgba(98,166,183,0.3) 18%, rgba(98,166,183,0.3) 82%, rgba(98,166,183,0.7) 100%) 1 round; } .belt-header .strip { display: flex; flex: 1; margin: auto; padding: 0 10px; } .belt-header .dot { min-height: 0.6em; min-width: 0.6em; background-color: rgba(11,38,47,0.7); border: 0.06em solid rgba(98,166,183,0.5); border-radius: 50%; margin: auto; }

/*|====== DEBUG MODE ======|*/ /* add .np-debug class into .necronia-panel div */

.np-debug {color: black;} .np-simple.np-debug {background-color: #eee;} .np-debug .np-top::before    {content:"";                background-color:cyan;} .np-debug .np-top            {background-image: none;    background-color: magenta;} .np-debug .np-top::after     {content:"";                background-color:cyan;} .np-debug .np-middle::before {background-image: none;    background-color: magenta;} .np-debug .np-middle         {background-image: none;    background-color: lemonchiffon;} .np-debug .np-middle::after  {background-image: none;    background-color: magenta;} .np-debug .np-bottom::before {content:"";                background-color:cyan;} .np-debug .np-bottom         {background-image: none;    background-color: magenta;} .np-debug .np-bottom::after  {content:"";                background-color:cyan;} .np-debug .np-header         {border: 3px solid black;   background: none;} .np-debug .np-body           {border: 3px solid orange;  background: none;}

.flex-vocation-container, .flex-production-container { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; width: 100%; height: auto; justify-content: space-around; min-width: 140px; }

.flex-vocation-item, .flex-production-item { min-width: 120px; min-height: 120px; margin: 10px; display: flex; } .flex-vocation-item .voc-name, .flex-production-item .craft-name { height: auto; width: auto; margin: auto; color: #80b1d1; } .flex-production-item { color: #eee; border-radius: 15px; text-align: center; background: #04161E99;

}

.warrior-vocations { border: 1px solid rgba(255, 3, 3, 0.5); color: red; border-radius: 4px; background: rgba(255, 0, 0, 0.1); } .ranger-vocations { border: 1px solid green; color: green; border-radius: 4px; background: rgba(10, 177, 10, 0.1); } .mage-vocations { border: 1px solid blue; color: blue; border-radius: 4px; background: rgba(0, 0, 255, 0.1); }

.flex-nav-container { -webkit-flex-wrap: wrap; flex-wrap: wrap; display: -webkit-flex; display: flex; width: 100%; height: auto; justify-content: space-around; min-width: 120px; }

.flex-nav-item { min-width: 150px; width: auto; } .flex-nav-item .nav-header { font-size: 110%; font-family: "TrajanPro-Regular"; font-weight: bold; color: #ec9e16; margin: 14px 4px 0; text-align: center; } .flex-nav-item ul { list-style-type: none; margin: 0; padding: 0; }

.flex-nav-item li a { display: block; color: white; padding: 4px 8px; text-decoration: none; }

.flex-nav-item li { text-align: center; border-image: linear-gradient(to right,rgba(255,215,0,0) 4%,orange 50%,rgba(255,241,0,0) 95%); border-image-slice: 2; border-top: 0; border-left: 0; border-right: 0; border-bottom: 1px solid; }

.flex-nav-item li:last-child { border-bottom: none; }

.flex-nav-item li a:hover:not(.active) { color: orange; }

.flex-nav-item li a.external.text { background-image:none; }

.flex-mp-container { display: -webkit-flex; display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; } .flex-mp-container > * { flex: 1 100%; }

@media only screen and (min-width: 632px) { .flex-nav-container { -webkit-flex-wrap: nowrap; flex-wrap: nowrap; }   .flex-nav-item { min-width: 100px; width: 33%; } } @media only screen and (min-width: 960px) { .mp-news { flex: 1 0px; } .mp-contribute { flex: 1 0px; } } @media only screen and (min-width: 1200px) { .mp-vocations { flex: 2 0px; } .mp-contribute { flex: 1 0px; } .mp-about { flex: 1 0px; } .mp-contribute { order: 1; } .mp-production { order: 2; } .mp-news { order: 3; } .mp-about { order: 4; } }

.bright-border { border: 5px solid transparent; -webkit-border-image: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/6/69/42hcsnE.png/revision/latest) 5 repeat; -o-border-image: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/6/69/42hcsnE.png/revision/latest) 5 repeat; border-image: url(https://static.wikia.nocookie.net/necronia_gamepedia_en/images/6/69/42hcsnE.png/revision/latest) 5 repeat; }