第145行: | 第145行: | ||
height: 40px; | height: 40px; | ||
border-radius: 40px; | border-radius: 40px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Used files: [[File:OggPlayer play.svg]] [[File:OggPlayer stop.svg]] [[File:OggPlayer mute.svg]] */ | ||
+ | |||
+ | .audio-button { | ||
+ | display: inline-block; | ||
+ | vertical-align: text-top; | ||
+ | width: 1em; | ||
+ | height: 1em; | ||
+ | overflow: hidden; | ||
+ | border-radius: 3px; | ||
+ | background-color: #006cb0; | ||
+ | transition: background-color .2s; | ||
+ | cursor: pointer; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: center; | ||
+ | background-image: url('https://vignette.wikia.nocookie.net/dev/images/d/d6/OggPlayer_play.svg'); | ||
+ | } | ||
+ | .audio-button-parent { | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | .audio-button.now-playing, | ||
+ | .audio-button:hover, | ||
+ | .audio-button-parent:hover > .click-parent { | ||
+ | background-color: #b30000; | ||
+ | } | ||
+ | .audio-button.now-playing { | ||
+ | background-image: url('https://vignette.wikia.nocookie.net/dev/images/a/a9/OggPlayer_stop.svg'); | ||
+ | } | ||
+ | .audio-button.no-audio { | ||
+ | cursor: help; | ||
+ | background-color: #b30000; | ||
+ | background-image: url('https://vignette.wikia.nocookie.net/dev/images/a/ae/OggPlayer_mute.svg'); | ||
+ | } | ||
+ | .ogg-player audio, | ||
+ | .ogg-player video { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | .ogg-player .info-icon { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | z-index: 2; | ||
+ | background-color: transparent; | ||
+ | background-image: url('https://images.wikia.nocookie.net/common/skins/shared/images/sprite.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: -1228px 0; | ||
+ | height: 18px; | ||
+ | width: 18px; | ||
+ | } | ||
+ | .ogg-audio-player .info-icon { | ||
+ | background-color: rgba(0, 0, 0, .5); | ||
+ | margin: -5px 0 0 -5px; | ||
+ | border-radius: 100%; | ||
+ | } | ||
+ | .ogg-video-player .info-icon { | ||
+ | margin: 2px 0 0 -20px; | ||
+ | } | ||
+ | .ogg-player:hover .info-icon { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | .audio-button>*{ | ||
+ | display: none; | ||
} | } |
2020年12月22日 (二) 22:33的版本
/* 导航栏 */ #cosmos-banner { background-color: #002A32; } .cosmos-bannerOption-icon { fill: none; stroke: #00d6d6; } .cosmos-bannerOption-dropdownIcon { stroke: #FF776D; fill: #FF776D; } .cosmos-bannerOption:hover .cosmos-bannerOption-dropdownIcon { fill: #FF776D; stroke: #FF776D; } .cosmos-bannerOption:hover .cosmos-bannerOption-icon { stroke: white !important; } #searchInput { color: #00d6d6 !important; border-bottom: 2px solid #00d6d6; } #searchInput:enabled { border-bottom: 2px solid #00d6d6; } input[type="search"]::-webkit-input-placeholder { /* WebKit browsers */ color: #00d6d6 !important; } input[type="search"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #00d6d6 !important; } input[type="search"]::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #00d6d6 !important; } input[type="search"]:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #00d6d6 !important; } #cosmos-search-buttonContainer:hover #cosmos-search-buttonIcon { stroke: white !important; } .cosmos-userButton-label { color: #00d6d6; } .cosmos-userOptions-personalTools:hover .cosmos-userButton-label { color: white; } /* 主页面 */ #cosmos-actionsList-list { background-color: #292929; border-color: #888888; color: #e6e6e6; border-bottom: none !important; } .cosmos-header { background-image: url(http://ec2-3-92-244-220.compute-1.amazonaws.com/w/images/2/26/MainBannerImage.png); background-color: #111111; } .cosmos-header__sitename a:-webkit-any-link { color: white; } .cosmos-header .wds-tabs .wds-tabs__tab-label a { color: white; } .cosmos-header::before{ background: black; background-image: black; } .cosmos-header .cosmos-header__counter { color: white; } .mw-body h1.firstHeading { border-bottom: none !important; color:white; } body h1 { border-bottom: none !important; color:#27d1f4; } body h2 { border-bottom: none !important; background-image: url(http://ec2-3-92-244-220.compute-1.amazonaws.com/w/images/b/bd/Underline_yellow.svg); background-repeat: no-repeat; background-position: 25% 105%; background-size: 100% 10px; padding-bottom: 6px; color: #27d1f4; } body h3 { border-bottom: none !important; color:#27d1f4; } body #mw-content-text { color: white; } #mw-content { background-color: rgba(17,17,17,0.91); border: 0 !important; } #mw-content a:not(.new) { color: #ffef00; } .cosmos-button-primary { color: #000000; background-color: #27d1f4; stroke: #000000; stroke-width: 2px; } .cosmos-button.cosmos-button-secondary { color: white; stroke: white; stroke-width: 2px; } #cosmos-footer { background-color: rgba(17,17,17,0.91);} .cosmos-footerLinks-list { color: white;} .cosmos-footerLinks-list li a { color: #ffef00; } a.sm2_button, a.sm2_button.sm2_paused:hover { background-image: none,url(http://ec2-3-92-244-220.compute-1.amazonaws.com/w/images/a/ad/AudioPlay.svg); background-size: 40px; background-repeat: no-repeat; background-position: center; width: 40px; height: 40px; border-radius: 40px; } /* Used files: [[File:OggPlayer play.svg]] [[File:OggPlayer stop.svg]] [[File:OggPlayer mute.svg]] */ .audio-button { display: inline-block; vertical-align: text-top; width: 1em; height: 1em; overflow: hidden; border-radius: 3px; background-color: #006cb0; transition: background-color .2s; cursor: pointer; background-repeat: no-repeat; background-position: center; background-image: url('https://vignette.wikia.nocookie.net/dev/images/d/d6/OggPlayer_play.svg'); } .audio-button-parent { cursor: pointer; } .audio-button.now-playing, .audio-button:hover, .audio-button-parent:hover > .click-parent { background-color: #b30000; } .audio-button.now-playing { background-image: url('https://vignette.wikia.nocookie.net/dev/images/a/a9/OggPlayer_stop.svg'); } .audio-button.no-audio { cursor: help; background-color: #b30000; background-image: url('https://vignette.wikia.nocookie.net/dev/images/a/ae/OggPlayer_mute.svg'); } .ogg-player audio, .ogg-player video { display: inline-block; } .ogg-player .info-icon { display: none; position: absolute; z-index: 2; background-color: transparent; background-image: url('https://images.wikia.nocookie.net/common/skins/shared/images/sprite.png'); background-repeat: no-repeat; background-position: -1228px 0; height: 18px; width: 18px; } .ogg-audio-player .info-icon { background-color: rgba(0, 0, 0, .5); margin: -5px 0 0 -5px; border-radius: 100%; } .ogg-video-player .info-icon { margin: 2px 0 0 -20px; } .ogg-player:hover .info-icon { display: inline-block; } .audio-button>*{ display: none; }