MilMo Wiki

READ MORE

MilMo Wiki
No edit summary
No edit summary
Line 213: Line 213:
   
 
.infoboxtable td > div {
 
.infoboxtable td > div {
background-color: rgba(0, 0, 0, 0.05);
+
background-color: #22A7F7;
 
border: 2px solid inherit;
 
border: 2px solid inherit;
border-radius: 5px;
+
color: #23233D;
 
font-weight: bold;
 
font-weight: bold;
 
padding: 0.5px 7px;
 
padding: 0.5px 7px;
Line 222: Line 222:
   
 
.infoboxname {
 
.infoboxname {
background-color: rgba(0, 0, 0, 0.05);
+
background-color: #22A7F7;
  +
color: #23233D;
 
font-size: 110%;
 
font-size: 110%;
 
font-weight: bold;
 
font-weight: bold;
Line 229: Line 230:
   
 
.infoboxdetails {
 
.infoboxdetails {
background-color: rgba(0, 0, 0, 0.05);
+
background-color: #22A7F7;
  +
color: #23233D;
 
padding: 0em;
 
padding: 0em;
 
}
 
}

Revision as of 18:30, 30 October 2018

/* CSS placed here will affect users of the Hydra skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

/* Hide main page header */
body.page-MilMo_Wiki h1.firstHeading {
    display:none;
}

/* Background has the typical MilMo sky: [[File:Background.png]] */
body {
    background-color: #8FC8E6;
    background-image: url(/media/2/26/Background.png);
        background-position: center center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
}

/* Head */
div#mw-page-base {
    background: rgba(0, 0, 0, 0);
    background-image: none;
}

div#mw-head {
    margin-right: 5px;
}

#mw-head-base {
    background: rgba(0, 0, 0, 0);
    background-image: none;
    border-bottom: 0px;
}

/* Tabs */
#left-navigation {
    margin-left: 11.3em;
    margin-top: 2.45em;
}

#right-navigation {
    margin-right: 5px;
    margin-top: 2.45em;
}

div.vectorTabs,
div.vectorTabs ul,
div.vectorTabs span {
    background-image: linear-gradient(transparent,#DCE8ED);
    background-size: 1px 100%;
}

div#mw-head div.vectorMenu h3 {
    background-image: linear-gradient(transparent,#DCE8ED);
    background-repeat: repeat;
    border-bottom: 1px solid #a7d7f9;
}

div.vectorTabs ul li {
    background-color: transparent;
    background-image: linear-gradient(to top,#DCE8ED 5px,transparent);
    border-bottom: 1px solid #a7d7f9;
}

div.vectorTabs li.selected {
    background-color: transparent;
    background-image: linear-gradient(to top,#DCE8ED 5px,transparent);
    border-bottom: 1px solid #DCE8ED;
}

div.vectorTabs li a,
.vectorTabs li a span,
div.vectorMenu h3 span,
div.vectorTabs a {
    color: #666666;
    font-weight: bold;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: 333333 !important;
}

div.vectorMenu div.menu {
    background-color: #DCE8ED;
    border: 1px solid #a7d7f9;
}

div.vectorMenu ul {
    background-color: transparent;
}

/* Mutes the stark white background */

#mw-body-content {
    background-color: #DCE8ED;
}

.mw-body {
    background-color: #DCE8ED;
}
 
/* Hide main page header */
body.page-Main_Page h1.firstHeading {
    display:none;
}

/* for "edit this page" tab and "discussion" tab etc */
.pagetab {
     border-style: solid solid none;
     border-width: thin;
     border-color: #808080;
     padding:0.25ex 1ex 0ex;
     font-size: 95%;
}

.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* INFOBOXES */
.infoboxtable {
    background-color: #f9f9f9;
    border: 1px solid #aaaaaa;
    color: #000000;
    float: right;
    font-size: 89%; 
    margin-bottom: 0.5em; 
    margin-left: 1em; 
    padding: 0.2em; 
    width: 300px;
}

.infoboxtable td {
    vertical-align: top;
}

.infoboxtable td > div {
    background-color: #22A7F7;
    border: 2px solid inherit; 
    color: #23233D;
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    background-color: #22A7F7;
    color: #23233D;
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    background-color: #22A7F7;
    color: #23233D;
    padding: 0em;
}

/* Collapsing sections in infoboxes */
.section-collapse {
    border-color: #000000;
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    cursor: pointer;
    display: inline-block;
    height: 7px;
    margin-right: 5px;
    position: relative;
    right: 0;
    top: 5px;
    transform: rotate(-45deg);
    vertical-align: middle;
    width: 7px;
}

.section-collapsed {
    display: none;
}

.collapsed-icon {
   margin-top: -2px;
   transform: rotate(135deg);
}

/* copyright images tweak */
.copyright-icon {
    background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
    background-size: 100%;
    width: 32px;
    height: 32px;
}

.feature {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px; padding: 10px;
}

/* Navbox template style */
table.navbox {
    border: 1px solid #aaaaaa;
    clear: both;
    font-size: 88%;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%; 
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(255, 255, 255, 0.2);
}

.navbox-list {
    border-color: rgba(255, 255, 255, 0.2); /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(255, 255, 255, 0.2);
    color: #444;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Odd row striping */
.navbox-odd {
    background: transparent;
}
 
.collapseButton {
    font-weight: normal;
    width: auto;
}

.navbox .collapseButton {
    width: 6em;
}
 
.navbar {
    font-size: 88%;
    font-weight: normal;
}

.navbox .navbar {
    font-size: 100%;
}
 
table.collapsed tr.collapsible {
    display: none;
}
/* End of new Navbox styling */

/* This CSS governs the responsive 3 column main page layout */
.fpmidsections {
    float: left;
    width: 100%;
    overflow: hidden;
}

.fpsection1,
.fpsection2,
.fpsection3,
.fpsection4 {
    float: left;
    clear: both;
    width: 100%;
}

.fpmain .columns .leftcol,
.fpmain .columns .rightcol {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 790px) {
    .fpsection1,
    .fpsection4 {
        float: left;
        clear: none;
        width: 50%;
    }

    .fpmidsections {
        float: right;
        clear: none;
        width: 50%;
    }
}

@media (min-width: 990px) {
    .fpmain .columns .leftcol {
        float: left;
        width: 50%;
    }

    .fpmain .columns .rightcol {
        float: right;
        width: 50%;
    }
}

@media (min-width: 1390px) {
    .fpmidsections {
        clear: none;
        float: right;
        width: 66.667%;
    }

    .fpsection1 {
        clear: none;
        width: 33.333%;
    }

    .fpsection2,
    .fpsection3 {
        clear: none;
        width: 50%;
    }

    .fpsection4 {
        clear: left;
        width: 33.333%;
    }
}

/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
	border: 0;
	border-bottom: 1px solid #505050;
}

.fpbox {
	background: rgba(0, 0, 0, 0.05);
	border: 1px solid #505050;
	box-shadow: 0 2px 5px #505050;
}

.fplink {
	background: rgba(0,0,0,0.3);
	border: 1px solid #505050;
}

.fplink-fullwidth .fplink {
	background: rgba(0,0,0,0.4);
}

.linkslabel {
	border-bottom: 2px solid #505050;
}