Dead State Wiki
m (fix urls)
m (from default loadout)
Line 49: Line 49:
 
/*******************/
 
/*******************/
 
body.page-Dead_State_Wiki h1.firstHeading { display:none; }
 
body.page-Dead_State_Wiki h1.firstHeading { display:none; }
  +
  +
/* This governs the sections on the Community portal */
  +
.cpbox {
  +
display: flex;
  +
flex-direction: row-reverse;
  +
flex-wrap: wrap;
  +
}
  +
  +
.cpbox #admins {
  +
box-sizing: border-box;
  +
width: calc(33% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
  +
min-width: 300px;
  +
}
  +
  +
.cpbox #help {
  +
box-sizing: border-box;
  +
width: calc(67% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
  +
}
  +
  +
/* Template documentation styles */
  +
/* If modifying these styles, be sure to update the mobile skin! */
  +
.doc {
  +
margin: 0em auto 1em;
  +
background-color: rgba(0, 0, 0, 0.1);
  +
border: 2px solid #BDCAC3;
  +
border-radius: 1em;
  +
padding: 1em;
  +
}
  +
  +
.doc-header {
  +
padding-bottom: 3px;
  +
border-bottom: 1px solid #BDCAC3;
  +
margin-bottom: 1ex;
  +
}
  +
  +
.doc-footer {
  +
margin: 0;
  +
background-color: rgba(0, 0, 0, 0.1);
  +
border: 2px solid #BDCAC3;
  +
border-radius: 1em;
  +
padding: 1em;
  +
}
  +
  +
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
  +
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
  +
.desktopleft {
  +
text-align: left;
  +
}
  +
  +
.desktopcenter {
  +
text-align: center;
  +
}
  +
  +
.desktopright {
  +
text-align: right;
  +
}

Revision as of 22:57, 23 July 2018

div.header-bg {
    background: #000000 url(/media/b/b2/Header_bg.jpg) no-repeat 0em 0em; 
    border: 1px solid #a7a7a7;
    padding: 5px;
}

div.header {
    background: #000000 url(/media/2/2c/Maintablebg_tile.jpg) no-repeat 0em 0em; 
    border: 1px solid #a7a7a7;
    padding: 5px;
}

/***********
/* Infobox *
/***********/
/* Infobox template style */
.infobox {
   border: 1px solid #a7a7a7;
   background-color: #000000;
   color: white;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #a7a7a7;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/*******************
/* Main page title *
/*******************/
body.page-Dead_State_Wiki h1.firstHeading { display:none; }

/* This governs the sections on the Community portal */
.cpbox {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.cpbox #admins {
    box-sizing: border-box;
    width: calc(33% - 10px);
    margin: 5px;
    flex-grow: 1;
    min-width: 300px;
}

.cpbox #help {
    box-sizing: border-box;
    width: calc(67% - 10px);
    margin: 5px;
    flex-grow: 1;
}

/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
    margin: 0em auto 1em;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

.doc-header {
    padding-bottom: 3px;
    border-bottom: 1px solid #BDCAC3;
    margin-bottom: 1ex;
}

.doc-footer {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
    text-align: left;
}

.desktopcenter {
    text-align: center;
}

.desktopright {
    text-align: right;
}