MediaWiki:Common.css: Difference between revisions
Alphagenics (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .infobox { background-color: #ffff00; border: 2px solid #008600; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { border: 1px solid #000000; font-size: 1.5em; text-align: center; background-color: #ff0000; } .infobox-subtitle { font-size: 1em; text-align: center; background-color: #fff00; } .infobox-image { text-align: center; background-color: #ffff00; }") |
Alphagenics (talk | contribs) No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Infobox */ | |||
.infobox { | .infobox { | ||
background | background: #eee; | ||
border: | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: | padding: 0.5em 0; | ||
width: | width: 360px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | |||
text-align: center; | |||
text-align: | } | ||
background-color: | .infobox-image { | ||
text-align: center; | |||
margin-bottom: 1.5em; | |||
} | |||
.infobox th { | |||
text-align: left; | |||
padding-left: 30px; | |||
width: 120px; | |||
} | |||
.thumbinner { | |||
min-width: 150px; | |||
} | |||
.transparent.thumbimage { | |||
background-color: transparent; | |||
border: 0; | |||
} | |||
/* Main article template */ | |||
.mw-parser-output div.hatnote { | |||
padding-left: 1.6em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
. | |||
font- | .mw-parser-output .hatnote { | ||
font-style: italic; | |||
} | } | ||
. | |||
text-align: center | /* Wikitable */ | ||
.wikitable td { | |||
text-align: center; | |||
} | } | ||
/* Disable image smoothing */ | |||
img { | |||
image-rendering: optimizeSpeed; /* */ | |||
image-rendering: -moz-crisp-edges; /* Firefox */ | |||
image-rendering: -o-crisp-edges; /* Opera */ | |||
image-rendering: -webkit-optimize-contrast; /* Chrome (and Safari) */ | |||
image-rendering: pixelated; /* Chrome as of 2019 */ | |||
image-rendering: optimize-contrast; /* CSS3 Proposed */ | |||
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */ | |||
} | |||
Latest revision as of 15:59, 26 August 2022
/* CSS placed here will be applied to all skins */
/* Infobox */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 0.5em 0;
width: 360px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
margin-bottom: 1.5em;
}
.infobox th {
text-align: left;
padding-left: 30px;
width: 120px;
}
.thumbinner {
min-width: 150px;
}
.transparent.thumbimage {
background-color: transparent;
border: 0;
}
/* Main article template */
.mw-parser-output div.hatnote {
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.mw-parser-output .hatnote {
font-style: italic;
}
/* Wikitable */
.wikitable td {
text-align: center;
}
/* Disable image smoothing */
img {
image-rendering: optimizeSpeed; /* */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and Safari) */
image-rendering: pixelated; /* Chrome as of 2019 */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}