Actions

MediaWiki

Difference between revisions of "Common.css"

From Just in Time

 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
   border-collapse: collapse;
 
   border-collapse: collapse;
 
  }
 
  }
 +
 +
table.wikitable tr:nth-child(even)
 +
{
 +
  background: #eeeeee;
 +
}
 +
 
  table.wikitable th, table.wikitable td,
 
  table.wikitable th, table.wikitable td,
 
  {
 
  {
Line 12: Line 18:
 
   padding: 0.5em;
 
   padding: 0.5em;
 
  }
 
  }
  table.wikitable th,
+
 
 +
  table.wikitable > tr > th, table.wikitable > * > tr > th
 
  {
 
  {
   background: #ccccff;
+
   background: #c0c0d0;
 
   text-align: center;
 
   text-align: center;
 
  }
 
  }
Line 23: Line 30:
 
  }
 
  }
 
  li#ca-viewsource { display: none; }
 
  li#ca-viewsource { display: none; }
.mw-content-ltr table#toc
+
h1,h2 { clear:both}
{
+
body.page-Main_Page h2.title { display: none; }
    float:left;
+
.mw-content-ltr table#toc {float:left}
    clear:both;
 
}
 

Latest revision as of 23:37, 7 January 2015

/* CSS placed here will be applied to all skins */
table.wikitable
 {
   margin: 1em 1em 1em 0;
   background: #f9f9f9;
   border: 1px #aaaaaa solid;
   border-collapse: collapse;
 }

table.wikitable tr:nth-child(even) 
{
  background: #eeeeee;
}

 table.wikitable th, table.wikitable td,
 {
   border: 1px #aaaaaa solid;
   padding: 0.5em;
 }

 table.wikitable > tr > th, table.wikitable > * > tr > th
 {
   background: #c0c0d0;
   text-align: center;
 }
 table.wikitable caption,
 {
   margin-left: inherit;
   margin-right: inherit;
 }
 li#ca-viewsource { display: none; }
h1,h2 { clear:both}
body.page-Main_Page h2.title { display: none; }
.mw-content-ltr table#toc {float:left}