Difference between revisions of "MediaWiki:Common.css"

From Lantern Hill
Jump to: navigation, search
(Created page with "- CSS placed here will be applied to all skins: #headerTable { background: transparent; border-color: #CCCCCC; border-style: solid; border-width: 1px; ...")
 

Latest revision as of 18:18, 7 April 2013

/* CSS placed here will be applied to all skins */
#headerTable {
    background: transparent; 
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 1px;
    margin-right: 1em;
}

#layoutTable, #displayTable {
  border-color: #FFFFFF;
  border-spacing: 8px;
  border-style: solid;
  border-width: 1px;
  color: #000000;
  margin: 0px -8px;
}

#layoutTable td, #displayTable td {
  background-color: transparent;
  border-color: #BBBBBB;
  border-style: solid;
  border-width: 1px;
  color: #000000;
  vertical-align: top;
}

#displayTable td {
  vertical-align: middle;
}

#layoutTable td table, #displayTable td table {
  background-color: transparent;
}

#layoutTable td table td, #displayTable td table td {
  border-width: 0px;
}

#layoutTable th, #displayTable th {
   background: #000;
   border-top-left-radius: 4px;
   -moz-border-radius-topleft: 4px;
   -webkit-border-top-left-radius: 4px;
   border-top-right-radius: 4px;
   -moz-border-radius-topright: 4px;
   -webkit-border-top-right-radius: 4px;
   border: 1px solid #000;
   color: #FFF;
   font-weight: bold;
   text-align: center;
}

#layoutTable th h2, #displayTable th h2 {
  background: #CFE3FB;
  border: 0px;
  color: #000;
  font-size: 120%;
  font-weight: bold;
  margin: 0;
  text-align:left;
  padding: 0;
}

#layoutTable th a, #displayTable th a {  color: #FFF;
  text-shadow: black 1px 1px 1px;}

#layoutTable table #toc, #displayTable table #toc {
  border: 0px;
  padding-left: 15%;
}

#layoutTable table #toctitle, #displayTable table #toctitle {
  display: none;
}

.subpages {
  background-color: transparent;
  border-color: #EEEEEE;
  border-width: 1px;
  border-style: dotted;
  font-size: 1.1em;
  padding: .2em;
  margin-top: .5em;
}

a, a:visited {
   color: #0000FF;
}

a.new, a.new:visited {
   color: #666666;
}

table {
    background: none;
}

 /* Default messagebox is gray */
 .messagebox { width:90%; margin:0px auto; padding:0em; border:2px solid #aaaaaa; background:#fbfbfb; color:black; text-align:left; }
 .messagebox img { border:0em; padding:0em 0.5em; text-align:center; }
 
 /* default for all content namespaces */
 .ns-subject .messagebox + .messagebox { border-top-width:0em; margin-top:-1px; }
 .ns-subject .messagebox         { border-left-color:#1e90ff; border-left-width:10px; }
 .ns-subject .messagebox.notice  { border-left-color:#1e90ff; }
 .ns-subject .messagebox.warning { border-left-color:#b22222; }
 .ns-subject .messagebox.serious { border-left-color:#b22222; }
 .ns-subject .messagebox.content { border-left-color:#f28500; }
 .ns-subject .messagebox.style   { border-left-color:#f4c430; }
 .ns-subject .messagebox.merge   { border-left-color:#9932cc; }
 .ns-subject .messagebox.growth  { border-left-color:#228b22; }
 .ns-subject .messagebox.idea    { border-left-color:yellow;  }
 .ns-subject .messagebox.query   { border-left-color:#ffb734; }
 .ns-subject .messagebox.move    { border-left-color:#9932cc; }
 
 /* image namespace */
 .ns-6 .messagebox + .messagebox { border-top-width:2px; margin-top:0.5em; }
 .ns-6 .messagebox         { border-color:#1e90ff; border-bottom-width:5px; border-left-width:2px;}
 .ns-6 .messagebox.notice  { border-color:#1e90ff; }
 .ns-6 .messagebox.warning { border-color:#b22222; }
 .ns-6 .messagebox.serious { border-color:#b22222; }
 .ns-6 .messagebox.content { border-color:#f28500; }
 .ns-6 .messagebox.query   { border-color:#ffb734; }
 .ns-6 .messagebox.free    { border-color:#79CC55; }
 .ns-6 .messagebox.nonfree { border-color:#EF9132; }
 .ns-6 .messagebox.pd      { border-color:#7E80A3; }
 .ns-6 .messagebox.move    { border-color:#9932cc; }

 /* Renown Chart */
 .renownchart tr td {
     border-top: 1px dotted #999999;
 }
 .rensubcat {
     font-size: 1.1em;
     font-weight: 600 !important;
     border-top: 1px dashed black !important;
     border-bottom: 1px dashed black !important;
 }
 .rencat {
     font-size: 1.3em;
     font-weight: 600 !important;
     border-top: 1px solid black !important;
     border-bottom: 1px solid black !important;
 }
 .renhead {
     font-size: 1.5em;
     font-weight: 600 !important;
     border-top: 0px !important;
     border-bottom: 2px solid black !important;
 }
 .renspecial {
     text-align: center;
     background-color: #eeeeee;
     font-weight: 500;
 }
 .G {
     text-align: center;
     font-weight: 500;
     background-color: #ffeeee;
 }
 .H {
     text-align: center;
     font-weight: 500;
     background-color: #eeeeff;
 }
 .W {
     text-align: center;
     font-weight: 500;
     background-color: #eeffee;
 }
 .notop {
     border-top: 0px !important;
 }

 .log p {
     margin-bottom: 1.5em;
 }

 .g2item {
     float:left;
     text-align:center;
 }
 .g2pic {
     display:table-cell;
     vertical-align:middle;
     border:1px solid #CCCCCC;
     padding:0px;
     margin:2px 2px 0px 2px;
 }
 .g2text {
     display:block;
     font-size:1em;
     padding:0px 3px;
     margin:0px;
 }
.page-Main_Page h1.firstHeading { display: none; }