Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 37: Line 37:
 
   background: #f9f9f9;
 
   background: #f9f9f9;
 
   border: 1px #aaa solid;
 
   border: 1px #aaa solid;
   margin: auto;
+
   margin: 0.2em auto;
 
   text-align: center;
 
   text-align: center;
 
}
 
}

Revision as of 15:51, 20 July 2009

/* 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: 0.2em auto;
  text-align: center;
}

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;
}

#footer {
  height: 26px;
}

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

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