MediaWiki:Common.css: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(Fake link) Tag: Reverted |
No edit summary Tag: Manual revert |
||
(85 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins on desktop */ |
||
/********* Portable infobox theme *********/ |
|||
pre { |
|||
.portable-infobox { |
|||
overflow: auto; |
|||
--pi-border-color: #d62020; |
|||
border: 2px solid #d62020; |
|||
border-radius: 8px; |
|||
padding: 0px; |
|||
font-size: 12px; |
|||
background-color: #ffffff; |
|||
line-height: 1.5; |
|||
width: 22.5em; |
|||
} |
} |
||
.portable-infobox .pi-header { |
|||
#toc, .toc { |
|||
background-color: #d62020; |
|||
margin-bottom: 3px; |
|||
text-align: center; |
|||
color: white; |
|||
width: 17em; |
|||
} |
|||
.portable-infobox .pi-navigation { |
|||
background-color: #ffffff; |
|||
font-size: 12px; |
|||
text-align: center; |
|||
text-color: darkred; |
|||
} |
} |
||
.portable-infobox .pi-title { |
|||
#mw-indicator-mw-helplink a { |
|||
background: #d62020; |
|||
display:none; |
|||
color:white; |
|||
border-color: var(--theme-box-border-color-inner); |
|||
border-radius: var(--theme-box-border-radius-inner); |
|||
text-align: center; |
|||
font-style: bold; |
|||
} |
} |
||
.portable-infobox .pi-title { |
|||
.messagebox, .errorbox, .warningbox, .successbox { |
|||
font-weight: bold; |
|||
padding:12px; |
|||
font-size: 15px; |
|||
padding: 6px 3px; |
|||
line-height: 1.2; |
|||
text-align: center; |
|||
} |
} |
||
/* Navbox style |
|||
/* Mark redirects on Special:AllPages and Special:EditWatchlist */ |
|||
Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-NavboxStyle.css |
|||
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { |
|||
Staff highlights |
|||
color: #888 !important; |
|||
Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-StaffHighlights.css */ |
|||
/* <h3> Shared interface </h3> */ |
|||
.ns-104 div.thumb { |
|||
border-color: transparent; |
|||
} |
} |
||
.catlinks { |
|||
/* Pixelated gallery/interface image upscaling */ |
|||
background: #f9f9f9; |
|||
ul.gallery img, table.filehistory img, table.listfiles img { |
|||
margin-top: 10px; |
|||
image-rendering: crisp-edges; |
|||
} |
|||
image-rendering: pixelated; |
|||
#catlinks li { |
|||
margin: 0.28em 0; |
|||
line-height: 1em; |
|||
} |
} |
||
blockquote { |
|||
.pixelated, .pixelart, .sprites, .sprite { |
|||
border-left: 3px solid #06f; |
|||
image-rendering: crisp-edges; |
|||
margin-left: 2em; |
|||
image-rendering: pixelated; |
|||
padding-left: 1em; |
|||
} |
} |
||
/* |
/* User pages */ |
||
.ns-2 #mw-content-text p > img { |
|||
a { color: #00f; } |
|||
max-width: 100% !important; |
|||
a:active { color: orange; } |
|||
height: auto !important; |
|||
a:visited { color: #00c; } |
|||
} |
|||
.mw-parser-output a.extiw { color: #06f; } |
|||
.mw-parser-output a.extiw:visited { color: #3366BB; } |
|||
.mw-parser-output a.external { color: #06f; } |
|||
.mw-parser-output a.external:visited { color: #0044CC; } |
|||
/* |
/* User talk pages */ |
||
.ns-3 [style*="position:fixed"], |
|||
body.page-Nintendo_Wiki.action-view h1.firstHeading, |
|||
.ns-3 [style*="position: fixed"] { |
|||
body.page-Nintendo_Wiki.action-view #siteSub, |
|||
body.page-Nintendo_Wiki.action-view #catlinks, |
|||
body.page-Nintendo_Wiki.action-view #lastmod, |
|||
body.page-Nintendo_Wiki.action-view .mw-revision { |
|||
display: none; |
display: none; |
||
} |
} |
||
/* |
/* <h3> All pages </h3> */ |
||
/* Infobox templates */ |
|||
.infobox { |
.infobox { |
||
float: right; |
|||
background-color: #fff; |
|||
clear: right; |
|||
border: 1px solid gray; |
|||
margin: 0 0 1em 1.15em; |
|||
float: right; |
|||
} |
|||
font-size: 88%; |
|||
.infobox + .infobox, |
|||
width: 300px; |
|||
.infobox + style + .infobox { |
|||
margin:0 0 1em 1.15em; |
|||
clear: none; |
|||
padding:4px; |
|||
} |
|||
.infobox, .infobox-wide { |
|||
font-size: 88%; |
|||
} |
} |
||
.infobox tr { |
.infobox tr { |
||
vertical-align: top; |
vertical-align: top; |
||
} |
} |
||
.infobox td, .infobox th |
.infobox td, .infobox th, |
||
.infobox-wide td, .infobox-wide th { |
|||
padding: 2px; |
padding: 2px; |
||
} |
} |
||
/* Notice templates */ |
|||
.infobox .mw-collapsible-toggle { |
|||
min-width: 39px; |
|||
text-align: right; |
|||
} |
|||
/* notice templates */ |
|||
body:not(.ns-6) .notice-template + .notice-template { |
body:not(.ns-6) .notice-template + .notice-template { |
||
margin-top: -0.375em !important; |
margin-top: -0.375em !important; |
||
} |
} |
||
.notice-template.talk, |
|||
body:not(.ns-6) .notice-template.maintenance { |
|||
margin-top: 0.75em !important; |
|||
max-width: max-content !important; |
|||
} |
|||
#mw-imagepage-content .notice-template:not(#aboutfile) { |
|||
margin-top: 0.75em !important; |
|||
margin-bottom: 2.5px !important; |
|||
} |
} |
||
.notice-template p { |
.notice-template p { |
||
margin: 0.6em 0; |
margin: 0.6em 0; |
||
} |
} |
||
/* Keep create account benefits up top */ |
|||
.notice-template { |
|||
.mw-special-CreateAccount #userloginForm { |
|||
display: flex; |
|||
margin-right: 90px; |
|||
background: #f1f1de; |
|||
border: 2px solid #996; |
|||
margin: 0 2% 0.75em; |
|||
padding:0 1em; |
|||
color: #000; |
|||
} |
} |
||
/* Adjust inputbox button padding in Firefox */ |
|||
@-moz-document url-prefix() { |
|||
.bodySearchWrap .mw-ui-button, .createboxButton { |
|||
padding-top: 4px; |
|||
padding-bottom: 5px; |
|||
} |
|||
} |
|||
/* main page */ |
|||
.notice-template.copyright { |
|||
background: #fff9f9; |
|||
body.page-Nintendo_Wiki.action-view h1.firstHeading, |
|||
border: 1px solid #C55; |
|||
body.page-Nintendo_Wiki.action-view #contentSub > *, |
|||
font-size: 95%; |
|||
body.page-Nintendo_Wiki.action-view #siteSub, |
|||
width: 90%; |
|||
body.page-Nintendo_Wiki.action-view #catlinks, |
|||
margin: 5px auto; |
|||
body.page-Nintendo_Wiki.action-view #lastmod { |
|||
padding: 5px; |
|||
display: none !important; |
|||
} |
} |
||
/* |
/* <h3> Misc / Unsorted </h2> */ |
||
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black} |
|||
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em} |
|||
.special li { |
|||
/* forum formatting*/ |
|||
line-height: 19px; |
|||
.forumheader { |
|||
border: 1px solid #88A; |
|||
background-color: #F8F8FF; |
|||
margin-top: 1em; |
|||
margin-bottom: 1em; |
|||
padding: 8px; |
|||
} |
} |
||
#preftoc a:active { |
|||
.forumlist td.forum_edited a { |
|||
color: # |
color: #00c; |
||
text-decoration: none; |
|||
} |
} |
||
.easywrap { |
|||
.forumlist td.forum_title a { |
|||
width: 100%; |
|||
padding-left: 20px; |
|||
table-layout: fixed; |
|||
word-wrap: break-word; |
|||
overflow: hidden; |
|||
} |
} |
||
.right { |
|||
.forumlist td.forum_title a.forum_new { |
|||
text-align: right; |
|||
} |
|||
padding-left: 20px; |
|||
/* Indicator icons */ |
|||
.mw-indicator { |
|||
margin: 0 2px; |
|||
} |
} |
||
#mw-indicator-investigate-link { |
|||
.forumlist td.forum_title a.forum_new:visited { |
|||
top: 7px; |
|||
font-weight: normal; |
|||
padding-left: 20px; |
|||
} |
} |
||
#mw-indicator-ext-checkuser-investigation-btns { |
|||
.forumlist th.forum_title { |
|||
top: 3px; |
|||
padding-left: 20px; |
|||
} |
} |
||
/* References */ |
|||
/* Echo extension */ |
|||
ol.references { |
|||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup { |
|||
margin-top: 0; |
|||
font-size: |
font-size: 12px; |
||
} |
} |
||
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper { |
|||
ol.references div { |
|||
margin-bottom: 10px; |
|||
display: inline; |
|||
} |
} |
||
.mw-echo-ui-crossWikiUnreadFilterWidget-group { |
|||
ol.references span { |
|||
display: none; |
|||
} |
|||
.oo-ui-popupWidget-body-padded { |
|||
margin-top: 8px; |
|||
} |
|||
.oo-ui-popupWidget-head { |
|||
overflow: hidden; |
|||
} |
|||
.mw-echo-ui-overlay { |
|||
z-index: 100; |
|||
} |
} |
||
/* |
/* Who's online */ |
||
#whosonline { |
|||
span.fakelink { |
|||
margin-bottom: 1px; |
|||
color: #002bb8; |
|||
cursor: pointer; |
|||
} |
} |
||
span.fakelink:hover { |
|||
/* CSS for Audio buttons */ |
|||
text-decoration: underline; |
|||
.audio-button .video-js .vjs-control-bar, |
|||
.audio-lilia .video-js .vjs-control-bar { |
|||
background: transparent; |
|||
position: inherit; |
|||
} |
} |
||
.audio-button .video-js, |
|||
/* Video widget */ |
|||
.audio-button .video-js .vjs-play-control, |
|||
.infobox .videoWidget, |
|||
.audio-button .mw-tmh-player.audio { |
|||
.infobox .videoWidget iframe { |
|||
width: 14px !important; |
|||
height: 14px !important; |
|||
background: transparent; |
|||
} |
} |
||
.infobox .autoResize { |
|||
.audio-button .vjs-icon-play, |
|||
margin: 0 auto !important; |
|||
.audio-button .video-js .vjs-play-control .vjs-icon-placeholder, |
|||
.audio-button .video-js .vjs-big-play-button .vjs-icon-placeholder, |
|||
.audio-button .vjs-icon-replay, |
|||
.audio-button .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder, |
|||
.audio-button .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon { |
|||
width: 14px; |
|||
height: 14px; |
|||
background-color: #ffb8b8; |
|||
border: none; |
|||
border-radius: 5px; |
|||
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/8/85/OggPlayer_Play.png'); |
|||
background-position: 0; |
|||
display: inline-block; |
|||
background-size: 14px auto; |
|||
animation: none; |
|||
} |
} |
||
.autoResize:not(.thumbinner) .thumbcaption { |
|||
.audio-button .vjs-icon-pause, |
|||
margin: 0; |
|||
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder, |
|||
padding: 0; |
|||
.audio-button .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon:hover { |
|||
background-color: #bd9964 !important; |
|||
} |
} |
||
.videoWidget + p { |
|||
.audio-button .vjs-icon-pause, |
|||
margin: 0; |
|||
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder { |
|||
width: 14px; |
|||
height: 14px; |
|||
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/3/3e/OggPlayer_Stop.png'); |
|||
background-size: 14px auto; |
|||
} |
|||
.audio-button.no-audio img { |
|||
background-color: #f78181; |
|||
vertical-align: top; |
|||
border: none; |
|||
border-radius: 5px; |
|||
} |
} |
||
.audio-lilia .video-js, |
|||
/* Media player */ |
|||
.audio-lilia .video-js .vjs-play-control, |
|||
#file > .video-js { display: inline-block !important; } |
|||
.audio-lilia .mw-tmh-player.audio { |
|||
.thumb .video-js { margin-left: auto; margin-right: auto; } |
|||
width: 50px !important; |
|||
.video-js .vjs-progress-control .vjs-mouse-display { z-index: 2; } |
|||
height: 50px !important; |
|||
background: transparent; |
|||
.video-js .vjs-volume-vertical, .vjs-mouse-display .vjs-time-tooltip { background: #111; } |
|||
} |
|||
.video-js { overflow-x: clip; display: block !important; } |
|||
.video-js .vjs-control-bar { background: #000; } |
|||
/* Newbie bug fix */ |
|||
body.newbie .video-js { overflow: hidden !important; } |
|||
body.newbie .vjs-time-tooltip { display: none !important; } |
|||
.audio-lilia .vjs-icon-play, |
|||
/* Formatting fixes */ |
|||
.audio-lilia .video-js .vjs-play-control .vjs-icon-placeholder, |
|||
div[style*="column-count"] > p { margin: 0 !important; } |
|||
.audio-lilia .video-js .vjs-big-play-button .vjs-icon-placeholder, |
|||
span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] { |
|||
.audio-lilia .vjs-icon-replay, |
|||
word-wrap: anywhere; |
|||
.audio-lilia .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder, |
|||
.audio-lilia .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon { |
|||
width: 50px ; |
|||
height: 50px ; |
|||
background-color: transparent; |
|||
border: none; |
|||
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/d/d1/Lilia_Music_1.png'); |
|||
background-position: 0; |
|||
display: inline-block; |
|||
background-size: 50px auto; |
|||
animation: none; |
|||
filter: grayscale(50%); |
|||
transition: filter 1s, |
|||
background-image 1s, |
|||
} |
} |
||
.audio-lilia .vjs-icon-pause, |
|||
/* Media player fix */ |
|||
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder, |
|||
.wikitable .mediaContainer { |
|||
.audio-lilia .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon:hover { |
|||
margin-top: 2px; |
|||
width: 50px ; |
|||
height: 50px ; |
|||
background-color: transparent !important; |
|||
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/7/71/Lilia_Music_2.png') !important; |
|||
background-size: 50px auto; |
|||
filter: none; |
|||
} |
|||
.audio-lilia .vjs-icon-pause, |
|||
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder { |
|||
animation-duration: 3s; |
|||
animation-name: wiggle; |
|||
animation-iteration-count: infinite; |
|||
animation-timing-function: linear; |
|||
} |
} |
||
@keyframes wiggle { |
|||
/* fake links */ |
|||
0% {transform: rotate(0deg);} |
|||
span.fakelink { |
|||
25% {transform: rotate(10deg);} |
|||
color: #002bb8; |
|||
75% {transform: rotate(-20deg);} |
|||
cursor: pointer; |
|||
} |
} |
||
span.fakelink:hover { |
|||
.audio-lilia.no-audio { |
|||
text-decoration: underline; |
|||
background-color: transparent; |
|||
background-size: 50px auto; |
|||
filter: grayscale(100%); |
|||
vertical-align: top; |
|||
} |
} |
||
.audio-button .vjs-icon-play:before, |
|||
.audio-button .video-js .vjs-play-control .vjs-icon-placeholder:before, |
|||
.audio-button .video-js .vjs-big-play-button .vjs-icon-placeholder:before, |
|||
.audio-button .vjs-icon-pause:before, |
|||
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before, |
|||
.audio-button .vjs-icon-replay:before, |
|||
.audio-button .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before, |
|||
.audio-lilia .vjs-icon-play:before, |
|||
.audio-lilia .video-js .vjs-play-control .vjs-icon-placeholder:before, |
|||
.audio-lilia .video-js .vjs-big-play-button .vjs-icon-placeholder:before, |
|||
.audio-lilia .vjs-icon-pause:before, |
|||
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before, |
|||
.audio-lilia .vjs-icon-replay:before, |
|||
.audio-lilia .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before { |
|||
content: none; |
|||
} |
|||
/* Audio Button CSS End */ |
Latest revision as of 11:01, May 25, 2024
/* CSS placed here will be applied to all skins on desktop */
/********* Portable infobox theme *********/
.portable-infobox {
--pi-border-color: #d62020;
border: 2px solid #d62020;
border-radius: 8px;
padding: 0px;
font-size: 12px;
background-color: #ffffff;
line-height: 1.5;
width: 22.5em;
}
.portable-infobox .pi-header {
background-color: #d62020;
text-align: center;
color: white;
width: 17em;
}
.portable-infobox .pi-navigation {
background-color: #ffffff;
font-size: 12px;
text-align: center;
text-color: darkred;
}
.portable-infobox .pi-title {
background: #d62020;
color:white;
border-color: var(--theme-box-border-color-inner);
border-radius: var(--theme-box-border-radius-inner);
text-align: center;
font-style: bold;
}
.portable-infobox .pi-title {
font-weight: bold;
font-size: 15px;
padding: 6px 3px;
line-height: 1.2;
text-align: center;
}
/* Navbox style
Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-NavboxStyle.css
Staff highlights
Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-StaffHighlights.css */
/* <h3> Shared interface </h3> */
.ns-104 div.thumb {
border-color: transparent;
}
.catlinks {
background: #f9f9f9;
margin-top: 10px;
}
#catlinks li {
margin: 0.28em 0;
line-height: 1em;
}
blockquote {
border-left: 3px solid #06f;
margin-left: 2em;
padding-left: 1em;
}
/* User pages */
.ns-2 #mw-content-text p > img {
max-width: 100% !important;
height: auto !important;
}
/* User talk pages */
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
display: none;
}
/* <h3> All pages </h3> */
/* Infobox templates */
.infobox {
float: right;
clear: right;
margin: 0 0 1em 1.15em;
}
.infobox + .infobox,
.infobox + style + .infobox {
clear: none;
}
.infobox, .infobox-wide {
font-size: 88%;
}
.infobox tr {
vertical-align: top;
}
.infobox td, .infobox th,
.infobox-wide td, .infobox-wide th {
padding: 2px;
}
/* Notice templates */
body:not(.ns-6) .notice-template + .notice-template {
margin-top: -0.375em !important;
}
.notice-template.talk,
body:not(.ns-6) .notice-template.maintenance {
max-width: max-content !important;
}
.notice-template p {
margin: 0.6em 0;
}
/* Keep create account benefits up top */
.mw-special-CreateAccount #userloginForm {
margin-right: 90px;
}
/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-bottom: 5px;
}
}
/* main page */
body.page-Nintendo_Wiki.action-view h1.firstHeading,
body.page-Nintendo_Wiki.action-view #contentSub > *,
body.page-Nintendo_Wiki.action-view #siteSub,
body.page-Nintendo_Wiki.action-view #catlinks,
body.page-Nintendo_Wiki.action-view #lastmod {
display: none !important;
}
/* <h3> Misc / Unsorted </h2> */
.special li {
line-height: 19px;
}
#preftoc a:active {
color: #00c;
}
.easywrap {
width: 100%;
table-layout: fixed;
word-wrap: break-word;
overflow: hidden;
}
.right {
text-align: right;
}
/* Indicator icons */
.mw-indicator {
margin: 0 2px;
}
#mw-indicator-investigate-link {
top: 7px;
}
#mw-indicator-ext-checkuser-investigation-btns {
top: 3px;
}
/* Echo extension */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
font-size: 12px;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
margin-bottom: 10px;
}
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
display: none;
}
.oo-ui-popupWidget-body-padded {
margin-top: 8px;
}
.oo-ui-popupWidget-head {
overflow: hidden;
}
.mw-echo-ui-overlay {
z-index: 100;
}
/* Who's online */
#whosonline {
margin-bottom: 1px;
}
/* CSS for Audio buttons */
.audio-button .video-js .vjs-control-bar,
.audio-lilia .video-js .vjs-control-bar {
background: transparent;
position: inherit;
}
.audio-button .video-js,
.audio-button .video-js .vjs-play-control,
.audio-button .mw-tmh-player.audio {
width: 14px !important;
height: 14px !important;
background: transparent;
}
.audio-button .vjs-icon-play,
.audio-button .video-js .vjs-play-control .vjs-icon-placeholder,
.audio-button .video-js .vjs-big-play-button .vjs-icon-placeholder,
.audio-button .vjs-icon-replay,
.audio-button .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,
.audio-button .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon {
width: 14px;
height: 14px;
background-color: #ffb8b8;
border: none;
border-radius: 5px;
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/8/85/OggPlayer_Play.png');
background-position: 0;
display: inline-block;
background-size: 14px auto;
animation: none;
}
.audio-button .vjs-icon-pause,
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,
.audio-button .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon:hover {
background-color: #bd9964 !important;
}
.audio-button .vjs-icon-pause,
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder {
width: 14px;
height: 14px;
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/3/3e/OggPlayer_Stop.png');
background-size: 14px auto;
}
.audio-button.no-audio img {
background-color: #f78181;
vertical-align: top;
border: none;
border-radius: 5px;
}
.audio-lilia .video-js,
.audio-lilia .video-js .vjs-play-control,
.audio-lilia .mw-tmh-player.audio {
width: 50px !important;
height: 50px !important;
background: transparent;
}
.audio-lilia .vjs-icon-play,
.audio-lilia .video-js .vjs-play-control .vjs-icon-placeholder,
.audio-lilia .video-js .vjs-big-play-button .vjs-icon-placeholder,
.audio-lilia .vjs-icon-replay,
.audio-lilia .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,
.audio-lilia .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon {
width: 50px ;
height: 50px ;
background-color: transparent;
border: none;
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/d/d1/Lilia_Music_1.png');
background-position: 0;
display: inline-block;
background-size: 50px auto;
animation: none;
filter: grayscale(50%);
transition: filter 1s,
background-image 1s,
}
.audio-lilia .vjs-icon-pause,
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,
.audio-lilia .mw-tmh-player.audio .mw-tmh-play .mw-tmh-play-icon:hover {
width: 50px ;
height: 50px ;
background-color: transparent !important;
background-image: url('https://static.miraheze.org/twistedwonderlandwiki/7/71/Lilia_Music_2.png') !important;
background-size: 50px auto;
filter: none;
}
.audio-lilia .vjs-icon-pause,
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder {
animation-duration: 3s;
animation-name: wiggle;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes wiggle {
0% {transform: rotate(0deg);}
25% {transform: rotate(10deg);}
75% {transform: rotate(-20deg);}
}
.audio-lilia.no-audio {
background-color: transparent;
background-size: 50px auto;
filter: grayscale(100%);
vertical-align: top;
}
.audio-button .vjs-icon-play:before,
.audio-button .video-js .vjs-play-control .vjs-icon-placeholder:before,
.audio-button .video-js .vjs-big-play-button .vjs-icon-placeholder:before,
.audio-button .vjs-icon-pause:before,
.audio-button .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,
.audio-button .vjs-icon-replay:before,
.audio-button .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,
.audio-lilia .vjs-icon-play:before,
.audio-lilia .video-js .vjs-play-control .vjs-icon-placeholder:before,
.audio-lilia .video-js .vjs-big-play-button .vjs-icon-placeholder:before,
.audio-lilia .vjs-icon-pause:before,
.audio-lilia .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,
.audio-lilia .vjs-icon-replay:before,
.audio-lilia .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before {
content: none;
}
/* Audio Button CSS End */