Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
#content, #firstHeading {
 
#content, #firstHeading {
  padding-top: 0.4em; /* google ads buffer */
+
padding-top: 0.4em; /* google ads buffer */
 
}
 
}
  
 
.page-Main_Page #firstHeading {
 
.page-Main_Page #firstHeading {
  display: none;
+
display: none;
 
}
 
}
  
 
table.gallery {
 
table.gallery {
  border: 0;
+
border: 0;
  width: 100%;
+
width: 100%;
 
}
 
}
  
 
table.gallery td .gallerybox {
 
table.gallery td .gallerybox {
  margin: auto;
+
margin: auto;
 
}
 
}
  
 
table.wikitable,
 
table.wikitable,
table.sortable,
+
table.sortable {
div.achievement {
+
background: #f9f9f9;
  background: #f9f9f9;
+
border: 1px #aaa solid;
  border: 1px #aaa solid;
+
border-collapse: collapse;
  border-collapse: collapse;
+
margin: 1em 1em 1em 0;
  margin: 1em 1em 1em 0;
 
 
}
 
}
  
 
table.wikitable th,
 
table.wikitable th,
 
table.sortable th {
 
table.sortable th {
  background: #e9e9e9;
+
background: #e9e9e9;
  border: 1px solid rgb(196,196,196);
+
border: 1px solid rgb(196,196,196);
  padding: 0.2em;
+
padding: 0.2em;
  text-align: center;
+
text-align: center;
  vertical-align: top;
+
vertical-align: top;
 
}
 
}
  
Line 39: Line 38:
 
table.sortable tr:nth-child(odd),
 
table.sortable tr:nth-child(odd),
 
div.achievement:nth-child(odd) {
 
div.achievement:nth-child(odd) {
  background: #f1f1f1;
+
background: #f1f1f1;
 
}
 
}
  
Line 45: Line 44:
 
table.sortable tr:nth-child(even),
 
table.sortable tr:nth-child(even),
 
div.achievement:nth-child(even) {
 
div.achievement:nth-child(even) {
  background: #f9f9f9;
+
background: #f9f9f9;
 
}
 
}
  
 
table.wikitable tr, table.wikitable td,
 
table.wikitable tr, table.wikitable td,
 
table.sortable tr, table.sortable td {
 
table.sortable tr, table.sortable td {
  border: 1px solid rgb(235,235,235);
+
border: 1px solid rgb(235,235,235);
  padding: 0.2em;
+
padding: 0.2em;
  vertical-align: top;
+
vertical-align: top;
 
}
 
}
  
 
table.wikitable caption,
 
table.wikitable caption,
 
table.sortable caption {
 
table.sortable caption {
  font-weight: bold;
+
font-weight: bold;
  margin-left: inherit;
+
margin-left: inherit;
  margin-right: inherit;
+
margin-right: inherit;
 
}
 
}
  
 
table.wikitable code,
 
table.wikitable code,
 
table.sortable code {
 
table.sortable code {
  background-color: transparent;
+
background-color: transparent;
 
}
 
}
  
 
.collapseButton {
 
.collapseButton {
  float: right;
+
float: right;
  font-weight: normal;
+
font-weight: normal;
  text-align: right;
+
text-align: right;
  width: auto;
+
width: auto;
 
}
 
}
  
 
.infobox {
 
.infobox {
  background: #eff0ff;
+
background: #eff0ff;
  border: 1px solid #b5b7cf;
+
border: 1px solid #b5b7cf;
  clear: none;
+
clear: none;
  float: right;
+
float: right;
  margin: 0 1em 1em 1em;
+
margin: 0 1em 1em 1em;
  padding: 0.8em;
+
padding: 0.8em;
  text-align: center;
+
text-align: center;
  width: 235px;
+
width: 235px;
 
}
 
}
  
 
.infobox .floatright {
 
.infobox .floatright {
  margin: 0;
+
margin: 0;
 
}
 
}
  
 
.infobox .title {
 
.infobox .title {
  font-size: 125%;
+
font-size: 125%;
  font-weight: bold;
+
font-weight: bold;
  margin: auto;
+
margin: auto;
 
}
 
}
  
 
.infobox table {
 
.infobox table {
  background: transparent;
+
background: transparent;
  font-size: 90%;
+
font-size: 90%;
  width: 100%;
+
width: 100%;
 
}
 
}
  
 
.infobox table .section {
 
.infobox table .section {
  background: #ccf;
+
background: #ccf;
 
}
 
}
  
 
.infobox table .section th {
 
.infobox table .section th {
  text-align: center !important;
+
text-align: center !important;
 
}
 
}
  
 
.infobox table th {
 
.infobox table th {
  text-align: left;
+
text-align: left;
  vertical-align: top;
+
vertical-align: top;
  width: 100px;
+
width: 100px;
 
}
 
}
  
 
.infobox table td {
 
.infobox table td {
  text-align: left;
+
text-align: left;
  vertical-align: top;
+
vertical-align: top;
 
}
 
}
  
 
div.achievement {
 
div.achievement {
  margin: 0.4em;
+
border: 1px solid rgb(235,235,235);
 +
padding: 0.2em;
 
}
 
}
  
 
.pageflipper {
 
.pageflipper {
  margin-top: 2em;
+
margin-top: 2em;
  text-align: center;
+
text-align: center;
 
}
 
}
  
 
.pageflipper .glyph {
 
.pageflipper .glyph {
  font-size: 4em;
+
font-size: 4em;
 
}
 
}
  
 
.pageflipper .glyph a:hover {
 
.pageflipper .glyph a:hover {
  text-decoration: none;
+
text-decoration: none;
 
}
 
}
  
 
.pageflipper .prev {
 
.pageflipper .prev {
  float: left;
+
float: left;
 
}
 
}
  
 
.pageflipper .next {
 
.pageflipper .next {
  float: right;
+
float: right;
 
}
 
}
  
 
.references-small {
 
.references-small {
  font-size: 75%;
+
font-size: 75%;
 
}
 
}
  

Revision as of 19:57, 24 September 2010

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

#content, #firstHeading {
 padding-top: 0.4em; /* google ads buffer */
}

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

table.gallery {
 border: 0;
 width: 100%;
}

table.gallery td .gallerybox {
 margin: auto;
}

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

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

table.wikitable tr:nth-child(odd),
table.sortable tr:nth-child(odd),
div.achievement:nth-child(odd) {
 background: #f1f1f1;
}

table.wikitable tr:nth-child(even),
table.sortable tr:nth-child(even),
div.achievement:nth-child(even) {
 background: #f9f9f9;
}

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

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

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

.collapseButton {
 float: right;
 font-weight: normal;
 text-align: right;
 width: auto;
}

.infobox {
 background: #eff0ff;
 border: 1px solid #b5b7cf;
 clear: none;
 float: right;
 margin: 0 1em 1em 1em;
 padding: 0.8em;
 text-align: center;
 width: 235px;
}

.infobox .floatright {
 margin: 0;
}

.infobox .title {
 font-size: 125%;
 font-weight: bold;
 margin: auto;
}

.infobox table {
 background: transparent;
 font-size: 90%;
 width: 100%;
}

.infobox table .section {
 background: #ccf;
}

.infobox table .section th {
 text-align: center !important;
}

.infobox table th {
 text-align: left;
 vertical-align: top;
 width: 100px;
}

.infobox table td {
 text-align: left;
 vertical-align: top;
}

div.achievement {
 border: 1px solid rgb(235,235,235);
 padding: 0.2em;
}

.pageflipper {
 margin-top: 2em;
 text-align: center;
}

.pageflipper .glyph {
 font-size: 4em;
}

.pageflipper .glyph a:hover {
 text-decoration: none;
}

.pageflipper .prev {
 float: left;
}

.pageflipper .next {
 float: right;
}

.references-small {
 font-size: 75%;
}

.spoiler {
 display: inline;
}

.spoiler-data {
 display: none;
 font-style: italic;
}

.spoiler-click {
 color: #002BB8;
 cursor: pointer;
}

#footer-icon-poweredby {
 display: none;
}