MediaWiki:Gadget-AudioPlayer.css

.audio-player { position: relative; padding: 0 .5em 0 1.5em; cursor: pointer; }

.audio-player audio { display: none; }

.audio-player:before { content: ""; display: inline-block; position: absolute; height: .9em; width: .9em; top: 50%; transform: translate(-1.1em, -50%);

mask-image: url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/2/2d/Player_Buttons.svg/revision/latest); -webkit-mask-image: url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/2/2d/Player_Buttons.svg/revision/latest); mask-position-x: 0; -webkit-mask-position-x: 0; mask-size: auto .9em; -webkit-mask-size: auto .9em;

background: white; vertical-align: middle;

transition: -webkit-mask-position-x .1s, mask-position-x .1s; }

.audio-player.playing:before { mask-position-x: .9em; -webkit-mask-position-x: .9em; }

.audio-player.playing.pausable:before { mask-position-x: -.9em; -webkit-mask-position-x: .9em; }