Difference between revisions of "MediaWiki:Common.css"

From Final Fantasy XV Wiki
Jump to: navigation, search
 
Line 70: Line 70:
 
   margin: 0 0 0 0;
 
   margin: 0 0 0 0;
 
   padding: 5px 5px 0px 10px;
 
   padding: 5px 5px 0px 10px;
 +
}
 +
 +
/* Allow limiting of which header levels are shown in a TOC;
 +
  <div class="toclimit-3">, for instance, will limit to
 +
  showing ==headings== and ===headings=== but no further
 +
  (as long as there are no =headings= on the page, which
 +
  there shouldn't be according to the MoS). */
 +
.toclimit-2 .toclevel-1 ul,
 +
.toclimit-3 .toclevel-2 ul,
 +
.toclimit-4 .toclevel-3 ul,
 +
.toclimit-5 .toclevel-4 ul,
 +
.toclimit-6 .toclevel-5 ul,
 +
.toclimit-7 .toclevel-6 ul {
 +
    display: none;
 
}
 
}

Latest revision as of 05:17, 17 May 2017

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }

p.white {
   color:#FFFFFF;
}

p.white a:link {
   color:#FFFFFF;
}

p.white a:visited {
    color:#FFFFFF;
}

p.white a:hover {
    color:#FFFFFF;
}

p.white a:active {
    color:#FFFFFF;
}

.radical {
  padding: 0;
  margin: 10px -10px 0 -10px;
}

table.sharp1 {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 10px;
  margin: -10px 0 0 0;
  padding: 0;
  width: 100%;
}

.dull1 {
  border: 3px double #254b72;
  margin: 0 0 10px 0;
  padding: 3px 6px;
  vertical-align: top;
}

.dull1 .heading {
  margin: 0 0 0px 0;
  padding: 5px 0 10px 0;
}

.dull1 .body {
  height: 100%;
  margin: 0 0 0 0;
  padding: 5px 5px 0px 10px;
}

.dull2 {
  border: 3px double #254b72;
  margin: 0 0 10px 0;
  padding: 3px 6px;
  vertical-align: top;
}

.dull2 .heading {
  margin: 0 0 0px 0;
  padding: 5px 0 10px 0;
}

.dull2 .body {
  height: 100%;
  margin: 0 0 0 0;
  padding: 5px 5px 0px 10px;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}