MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Update EGA font) |
(Add a blinking effect that's somewhat less harsh than the actual thing) |
||
Line 4: | Line 4: | ||
font-family: "EGA8"; | font-family: "EGA8"; | ||
src: url("/w/images/d/d7/Px437_IBM_EGA8.woff2") format("woff2"); | src: url("/w/images/d/d7/Px437_IBM_EGA8.woff2") format("woff2"); | ||
} | |||
.blinking, #mw-sitecsspreview { | |||
animation: 2.5s linear infinite blinking_text; | |||
} | |||
@keyframes blinking_text { | |||
35% { | |||
opacity: 100%; | |||
} | |||
45% { | |||
opacity: 0%; | |||
} | |||
55% { | |||
opacity: 0%; | |||
} | |||
65% { | |||
opacity: 100%; | |||
} | |||
} | } |
Revision as of 02:56, 15 June 2020
/* CSS placed here will be applied to all skins */ @font-face { font-family: "EGA8"; src: url("/w/images/d/d7/Px437_IBM_EGA8.woff2") format("woff2"); } .blinking, #mw-sitecsspreview { animation: 2.5s linear infinite blinking_text; } @keyframes blinking_text { 35% { opacity: 100%; } 45% { opacity: 0%; } 55% { opacity: 0%; } 65% { opacity: 100%; } }