MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
.infobox .infoboxDual { | .infobox .infoboxDual { | ||
text-align: center; | text-align: center; | ||
} | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
.wikitable th, .wikitable td, | |||
.prettytable th, .prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
} | |||
.wikitable th, | |||
.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
.wikitable caption, | |||
.prettytable caption { | |||
font-weight: bold; | |||
} | } | ||
Revision as of 10:08, 25 December 2020
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
width: 250px;
margin: 5px;
border: none;
border-collapse: collapse;
font-size: 0.9em;
}
.infobox td, .infobox th {
padding: 3px;
border: 1px solid lightgray;
}
.infobox .infoboxImage {
text-align: center;
}
.infobox .infoboxName {
height: 25px;
font-size: 1.2em;
font-variant: small-caps;
}
.infobox tr {
border: none;
margin: 0;
padding: 0;
}
.infobox .infoboxParent {
font-size: 1.1em;
font-variant: small-caps;
}
.infobox .infoboxCase {
background-color: #EEEEF0;
color: black;
font-weight: bolder;
}
.infobox .infoboxParent, .infobox .infoboxName {
background-color: #111;
color: white;
}
.infobox .infoboxParent a {
color: white !important;
text-decoration: none;
}
.infobox .infoboxDual {
text-align: center;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}