Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
#content {
 
  font-family: Georgia, serif;
 
}
 
 
/* ns-0 is the main namespace only */
 
.ns-0 #bodyContent {
 
  font-size: 115%;
 
}
 
 
.ns-0 #bodyContent p+p {
 
  text-indent: 2.5em;
 
}
 
 
.ns-0 #bodyContent div p {
 
  text-indent: 0;
 
}
 
 
.infobox {
 
  background-color: #f9f9f9;
 
  border: 1px solid #aaa;
 
  clear: right;
 
  color: #000;
 
  float: right;
 
  margin-bottom: 0.5em;
 
  margin-left: 1em;
 
  padding: 0 0.6em;
 
}
 
 
.infobox td,
 
.infobox th {
 
  vertical-align: top;
 
}
 
 
.timeline {
 
  background: #f9f9f9;
 
  border: 1px #aaa solid;
 
  margin: 1em auto;
 
  text-align: center;
 
}
 
  
 
table.wikitable {
 
table.wikitable {
Line 74: Line 34:
 
tr.even {
 
tr.even {
 
   background-color: #edf3fe;
 
   background-color: #edf3fe;
 +
}
 +
 +
.infobox {
 +
  background-color: #f9f9f9;
 +
  border: 1px solid #aaa;
 +
  clear: right;
 +
  color: #000;
 +
  float: right;
 +
  margin-bottom: 0.5em;
 +
  margin-left: 1em;
 +
  padding: 0 0.6em;
 +
}
 +
 +
.infobox td,
 +
.infobox th {
 +
  vertical-align: top;
 +
}
 +
 +
.timeline {
 +
  background: #f9f9f9;
 +
  border: 1px #aaa solid;
 +
  margin: 1em auto;
 +
  text-align: center;
 
}
 
}
  

Revision as of 15:24, 13 April 2010

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

table.wikitable {
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
  margin: 1em 1em 1em 0;
}

table.wikitable th {
  background: rgb(248,248,248);
  border: 1px solid rgb(196,196,196);
  padding: 0.2em;
  text-align: center;
  vertical-align: top;
}

table.wikitable tr, table.wikitable td {
  border: 1px solid rgb(235,235,235);
  padding: 0.2em;
  vertical-align: top;
}

table.wikitable caption {
  font-weight: bold;
  margin-left: inherit;
  margin-right: inherit;
}

table.wikitable code {
  background-color: transparent;
}

tr.even {
  background-color: #edf3fe;
}

.infobox {
  background-color: #f9f9f9;
  border: 1px solid #aaa;
  clear: right;
  color: #000;
  float: right;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0 0.6em;
}

.infobox td,
.infobox th {
  vertical-align: top;
}

.timeline {
  background: #f9f9f9;
  border: 1px #aaa solid;
  margin: 1em auto;
  text-align: center;
}

#footer {
  height: 26px;
}

#footer ul {
  margin-top: 0.8em;
}

#footer img {
  margin-top: 4px;
}