Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
+ | /* Logo. */ | ||
.mw-wiki-logo { | .mw-wiki-logo { | ||
background-size: contain; | background-size: contain; | ||
Line 8: | Line 9: | ||
.mw-wiki-logo:hover { | .mw-wiki-logo:hover { | ||
animation: beat 0.666s ease-out infinite; | animation: beat 0.666s ease-out infinite; | ||
+ | } | ||
+ | @keyframes beat { | ||
+ | from { transform: scale(1.05, 1.05) } | ||
+ | to { transform: scale(1, 1) } | ||
} | } | ||
− | + | /* Enemy attack template. */ | |
− | + | .enemy-attack-container { | |
− | + | border: 1px solid black; | |
− | } | + | padding: 0; |
+ | } | ||
+ | .enemy-attack-head { | ||
+ | background: #5d0312; | ||
+ | color: white; | ||
+ | padding: 0.1em; | ||
+ | margin: 0em; | ||
+ | } | ||
− | + | .enemy-attack-body { | |
− | + | padding: 1em; | |
− | + | padding-bottom: 0em; | |
+ | margin: 0em; | ||
} | } |
Revision as of 23:47, 20 September 2020
/* CSS placed here will be applied to all skins #ca0312 */ #p-logo { background: #5d0312 } /* Logo. */ .mw-wiki-logo { background-size: contain; } .mw-wiki-logo:hover { animation: beat 0.666s ease-out infinite; } @keyframes beat { from { transform: scale(1.05, 1.05) } to { transform: scale(1, 1) } } /* Enemy attack template. */ .enemy-attack-container { border: 1px solid black; padding: 0; } .enemy-attack-head { background: #5d0312; color: white; padding: 0.1em; margin: 0em; } .enemy-attack-body { padding: 1em; padding-bottom: 0em; margin: 0em; }