Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 9: Line 9:
 
   border: 1px solid #ccc;
 
   border: 1px solid #ccc;
 
   float: left;
 
   float: left;
   margin-right: 1em;
+
   margin: 0.4em;
  vertical-align: top;
 
 
   width: 32%;
 
   width: 32%;
 
}
 
}
Line 17: Line 16:
 
   background: #ddd;
 
   background: #ddd;
 
   font-weight: bold;
 
   font-weight: bold;
  text-align: left;
 
 
   margin: 0;
 
   margin: 0;
 
   padding: 0.2em 0.4em 0;
 
   padding: 0.2em 0.4em 0;

Revision as of 17:45, 13 April 2010

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

.page-Main_Page #firstHeading {
  display: none;
}

.page-Main_Page .block-interest {
  background: #eee;
  border: 1px solid #ccc;
  float: left;
  margin: 0.4em;
  width: 32%;
}

.page-Main_Page .block-interest h2 {
  background: #ddd;
  font-weight: bold;
  margin: 0;
  padding: 0.2em 0.4em 0;
}

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