|
|
| (9 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 {
| | /* Target all common MediaWiki dark mode classes */ |
| border: 1px solid #aaa;
| | .skin-theme-clientpref-night img { |
| float: right;
| | background-color: transparent !important; |
| margin: 0 0 1em 1em;
| |
| width: 300px;
| |
| }
| |
| .infobox table {
| |
| width: 100%;
| |
| }
| |
| .infobox-title {
| |
| font-size: 2em;
| |
| text-align: center;
| |
| }
| |
| .ib-city {
| |
| background: #DDAA22;
| |
| }
| |
| .ib-country {
| |
| background: #DD7722;
| |
| }
| |
| .ib-deity {
| |
| background: #DDDD11;
| |
| }
| |
| .infobox-image {
| |
| text-align: center;
| |
| }
| |
| .infobox th {
| |
| text-align: center;
| |
| vertical-align: top;
| |
| padding-top: 1em;
| |
| }
| |
| .infobox td {
| |
| text-align: center;
| |
| vertical-align: top;
| |
| padding: 0 0.5em;
| |
| }
| |
| | |
| /* Wavy */ | |
| @keyframes wave {
| |
| 0%, 100% { transform: translateY(0); }
| |
| 50% { transform: translateY(-6px); }
| |
| }
| |
| | |
| .wavy span { | |
| display: inline-block;
| |
| animation: wave 1s ease-in-out infinite;
| |
| }
| |
| | |
| /* Rainbow */
| |
| @keyframes hue-cycle {
| |
| from { filter: hue-rotate(0deg); }
| |
| to { filter: hue-rotate(360deg); }
| |
| }
| |
| | |
| .rainbow span {
| |
| animation: hue-cycle 3s linear infinite;
| |
| }
| |
| | |
| /* Both combined */
| |
| .wavy.rainbow span {
| |
| display: inline-block;
| |
| animation: wave 1s ease-in-out infinite, hue-cycle 3s linear infinite;
| |
| } | | } |
Latest revision as of 15:26, 23 March 2026
/* CSS placed here will be applied to all skins */
/* Target all common MediaWiki dark mode classes */
.skin-theme-clientpref-night img {
background-color: transparent !important;
}