Difference between revisions of "MediaWiki:Common.css"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
m
m (test)
 
(2 intermediate revisions by the same user not shown)
Line 118: Line 118:
 
}
 
}
  
#firstHeading {
+
.mw-body #firstHeading {
 
     line-height: 0.8em;
 
     line-height: 0.8em;
 
     padding-bottom: 0.15em;
 
     padding-bottom: 0.15em;
Line 145: Line 145:
 
     text-align: right;
 
     text-align: right;
 
}
 
}
 +
 +
.noautonum .tocnumber { display: none; }
 +
 +
ol { counter-reset: item }
 +
ol li { display: block }
 +
ol li:before { content: counters(item, ".") " "; counter-increment: item }

Latest revision as of 14:17, 26 April 2021

/* CSS placed here will be applied to all skins */

table.hiddentable {
    background: transparent;
    border: 0px none;
    margin: 0px;
}

table.hiddentable th, table.hiddentable td {
    background: transparent;
    border: 0px none;
    padding: 0px;
}

table.vtop td, table.vtop th, table.vtop tr {
    vertical-align: top;
}

table.collapsed tr.collapsible {
    display: none;
}

.collapseButton {             /* 'show'/'hide' buttons created dynamically by the        */
    float: right;             /* CollapsibleTables JavaScript in [[MediaWiki: Common.js]] */
    font-weight: normal;      /* are styled here so they can be customised.              */
    margin-left: 0.5em;
    text-align: right;
    width: auto;
}

div.Boxmerge, div.NavFrame {
    margin: 0px;
    padding: 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    overflow: auto;
}

div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}

div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}

div.NavPic {
    background-color: #ffffff;
    margin: 0px;
    padding: 2px;
    float: left;
}

div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #efefef;
    position: relative;
}

div.NavFrame p {
    font-size: 100%;
}

div.NavFrame div.NavContent {
    font-size: 100%;
}

div.NavFrame div.NavContent p {
    font-size: 100%;
}

div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}

a.NavToggle {
    position: absolute;
    top: 0px;
    right: 3px;
    font-weight: normal;
    font-size: smaller;
}

#coordinates {
    position: absolute;
    z-index: 1;
    border: none;
    background: none;
    right: 30px;
    top: 3.7em;
    float: right;
    margin: 0.0em;
    padding: 0.0em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

td.expneg {
    text-align: right;
    background: #ff9999;
}

td.exppos {
    text-align: right;
    background: #99ff99;
}

.mw-body #firstHeading {
    line-height: 0.8em;
    padding-bottom: 0.15em;
}


.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 {
    display: none;
}

.infobox > caption {
    background: transparent;
}

#siteSub {
    clear: both;
    display: inline;
    float: right;
    font-size: 84%;
    font-style: italic;
    text-align: right;
}

.noautonum .tocnumber { display: none; }

ol { counter-reset: item }
ol li { display: block }
ol li:before { content: counters(item, ".") " "; counter-increment: item }