Act of War Wiki
mNo edit summary
No edit summary
Line 221: Line 221:
 
padding: 4px;
 
padding: 4px;
 
line-height: 1;
 
line-height: 1;
  +
}
  +
  +
/* Navbox formatting */
  +
table.navbox+table.navbox {
  +
margin-top: -1px;
  +
}
  +
  +
.navbox-title,
  +
.navbox-abovebelow,
  +
table.navbox th {
  +
/* title and above/below styles */
  +
padding-left: 1em;
  +
padding-right: 1em;
  +
text-align: center;
  +
}
  +
  +
.navbox {
  +
background: #6C130F;
  +
border: 1px solid #8E4340;
  +
color: #FFF;
  +
font-size: 9pt;
  +
text-align: center;
  +
width: 100%;
  +
}
  +
  +
.navbox-title {
  +
background: #901010;
  +
text-align: center;
  +
width: auto;
  +
}
  +
  +
.navbox-header {
  +
background: #901010;
  +
font-weight: bold;
  +
text-align: center;
  +
width: 100%;
  +
}
  +
  +
.navbox-group {
  +
background: #901010;
  +
border-right: 2px solid #6C130F;
  +
font-weight: bold;
  +
text-align: center;
  +
}
  +
  +
.navbox-list {
  +
background: #5B100C;
  +
padding: 0;
  +
text-align: center;
  +
width: 84%;
  +
}
  +
  +
.navbox-abovebelow {
  +
background: #901010;
  +
text-align: center;
  +
width: 100%;
  +
}
  +
  +
.navbox-title a,
  +
.navbox-group a,
  +
.navbox .mw-collapsible-toggle a {
  +
color: #FFF;
 
}
 
}

Revision as of 00:31, 26 July 2021

/***** CSS placed here will be applied to all skins on the entire site. *****/
 
/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
    display: inline;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
    display: none;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ": ";
}
.hlist dd:after,
.hlist li:after {
    content: " · ";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
    counter-reset: listitem;
}
.hlist ol > li {
    counter-increment: listitem;
}
.hlist ol > li:before {
    content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) "\a0";
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}

/* Giving headers and TOC a little extra space */
h2 {
   margin-top: 20px;
}
.toc {
   margin-top: 20px;
}

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   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 #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
   border: 1px solid #aaa;
   margin-top: 1em;
   padding: 12px;
}
.forumlist td.forum_edited a {
   color: black;
   text-decoration: none;
}
.forumlist td.forum_title a {
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
   font-weight: bold;
   background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
   font-weight: normal;
   background: none;
   padding-left: 20px;
}
.forumlist th.forum_title {
   padding-left: 20px;
}

/* Recent changes byte indicators */
.mw-plusminus-pos {
   color: #006500;
}
.mw-plusminus-neg {
   color: #8B0000;
}

/* Image frame fix */
div.tright, div.tleft {
   border: 1px solid silver;
}

div.thumbinner {
   background: inherit;
   border: none;
   color: inherit;
}
#article div.thumb {
   color:inherit;
}

/* ################################################## */
/* ### PORTALS                                    ### */
/* ################################################## */
 
.portal_section {
   width: 100%; 
   background: transparent; 
   margin-top: 0px; 
   margin-bottom: 5px; 
   border: 1px solid #8E4340;
}
 
.portal_header {
   background: #5B100C;
   border: 0; 
   color: #fff; 
   font-size: 120%; 
   font-weight: bold; 
   padding: 5px; 
   text-align: left;
   vertical-align: middle;
}
 
.portal_body {
   border-top: 1px solid #8E4340;
   background: #761B17;
   padding: 5px;
   vertical-align: top;
}
 
.portal_editbar {
   float: right;
   font-size: 75%;
   font-weight: normal;
}

/* Portable infobox formatting */
.portable-infobox {
    background: #761B17 !important;
    border: 1px solid #8e4340;
    border-collapse: collapse;
    color: white !important;
    font-size: 10pt;
    padding: 4px;
    line-height: 1;
}

/* Navbox formatting */
table.navbox+table.navbox {
	margin-top: -1px;
}
 
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    /* title and above/below styles */
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox {
    background: #6C130F;
    border: 1px solid #8E4340;
    color: #FFF;
    font-size: 9pt;
    text-align: center;
    width: 100%;
}

.navbox-title {
    background: #901010;
    text-align: center;
    width: auto;
}

.navbox-header {
    background: #901010;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.navbox-group {
    background: #901010;
    border-right: 2px solid #6C130F;
    font-weight: bold;
    text-align: center;
}

.navbox-list {
    background: #5B100C;
    padding: 0;
    text-align: center;
    width: 84%;
}

.navbox-abovebelow {
    background: #901010;
    text-align: center;
    width: 100%;
}

.navbox-title a,
.navbox-group a,
.navbox .mw-collapsible-toggle a {
    color: #FFF;
}