MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→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; }..." |
No edit summary |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 49: | Line 49: | ||
color: white !important; | color: white !important; | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
.infobox .infoboxDual { | |||
text-align: center; | |||
} | |||
.infobox a { | |||
color: currentColor; | |||
font-weight: bold; | |||
} | |||
/* 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; | |||
} | |||
/* references styling */ | |||
.references-div { | |||
font-size: 0.75em; | |||
} | |||
sup.reference { | |||
user-select: none; | |||
} | } | ||
Latest revision as of 23:15, 3 May 2025
/* 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;
}
.infobox a {
color: currentColor;
font-weight: bold;
}
/* 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;
}
/* references styling */
.references-div {
font-size: 0.75em;
}
sup.reference {
user-select: none;
}