MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 48: | Line 48: | ||
.wavy span, .rainbow span, .wavy.rainbow span { | .wavy span, .rainbow span, .wavy.rainbow span { | ||
animation-duration: 1s, 3s !important; | |||
animation-iteration-count: infinite, infinite !important; | |||
animation-play-state: running !important; | animation-play-state: running !important; | ||
} | } | ||
Revision as of 17:09, 9 March 2026
/* CSS placed here will be applied to all skins */
.infobox {
border: 1px solid #aaa;
float: right;
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;
}
@keyframes wave {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
@keyframes hue-cycle {
from { filter: hue-rotate(0deg); }
to { filter: hue-rotate(360deg); }
}
.wavy span, .rainbow span, .wavy.rainbow span {
animation-duration: 1s, 3s !important;
animation-iteration-count: infinite, infinite !important;
animation-play-state: running !important;
}