MediaWiki:Common.css: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Add a blinking effect that's somewhat less harsh than the actual thing)
m (Forgot to remove stuff for testing)
Line 6: Line 6:
}
}


.blinking, #mw-sitecsspreview {
.blinking {
animation: 2.5s linear infinite blinking_text;
animation: 2.5s linear infinite blinking_text;
}
}

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 {
	animation: 2.5s linear infinite blinking_text;
}
@keyframes blinking_text {
	35% {
		opacity: 100%;
	}
	45% {
		opacity: 0%;
	}
	55% {
		opacity: 0%;
	}
	65% {
		opacity: 100%;
	}
}