diff options
author | 135e2 <[email protected]> | 2022-12-29 17:23:58 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-12-29 17:25:38 +0800 |
commit | 3351beb61c7dbb914790710906d7db0c523fdf37 (patch) | |
tree | bd2677c699e49d796a23dfebb19bac527002e43d /source/css | |
parent | df82c591c6177d0ab0a1656f368ac84e667ad0a2 (diff) | |
download | chromate-3351beb61c7dbb914790710906d7db0c523fdf37.tar.gz chromate-3351beb61c7dbb914790710906d7db0c523fdf37.tar.bz2 chromate-3351beb61c7dbb914790710906d7db0c523fdf37.zip |
revert: Revert "chore: load css & js locally..."
This reverts commit 45dba0654aa9c8ba210b8d5b80cdc388c408beef.
Conflicts:
layout/_partial/head.ejs
layout/_partial/scripts.ejs
Diffstat (limited to 'source/css')
-rw-r--r-- | source/css/shikwasa.chapter.min.css | 1 | ||||
-rw-r--r-- | source/css/shikwasa.min.css | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/css/shikwasa.chapter.min.css b/source/css/shikwasa.chapter.min.css deleted file mode 100644 index 40112f6..0000000 --- a/source/css/shikwasa.chapter.min.css +++ /dev/null @@ -1 +0,0 @@ -@-webkit-keyframes stretch{0%,to{box-shadow:0 0}50%{box-shadow:0 -5px}}@keyframes stretch{0%,to{box-shadow:0 0}50%{box-shadow:0 -5px}}.shk .shk-controls_extra .shk-btn.shk-btn_chapter{display:none}.shk[data-has-chapter] .shk-controls_extra .shk-btn.shk-btn_chapter{display:inline-block}.shk-chapter{background:var(--color-theme);border:1px solid rgba(0,41,37,.05);border-radius:2px;bottom:0;box-shadow:0 0 10px rgba(0,41,37,.07);box-sizing:border-box;height:0;left:20px;margin:0 auto;opacity:0;overflow:hidden;position:absolute;right:20px;transition:height .2s ease-in-out,bottom .1s ease-in-out,opacity .1s linear,visibility .1s .2s;visibility:hidden;z-index:0}.shk[data-show-chapter] .shk-chapter{bottom:120px;height:340px;opacity:1;transition:height .2s ease-in-out,bottom .1s ease-in-out,opacity .1s linear;visibility:visible}.shk-btn_close{fill:var(--color-primary);font-size:0;position:absolute;right:4px;top:4px}.shk-btn .shk-icon_close{height:16px;width:16px}.shk-chapter_main{box-sizing:border-box;height:calc(100% - 60px);margin:40px 0 20px;-webkit-mask-image:linear-gradient(180deg,transparent,#202124 5%,#202124 95%,transparent);mask-image:linear-gradient(180deg,transparent,#202124 5%,#202124 95%,transparent);overflow-x:hidden;overflow-y:scroll;padding:0 40px;scroll-behavior:smooth}.shk-chapter_list{box-sizing:border-box;list-style:none;margin:10px 0 0;padding:0}.shk-chapter_item{margin:5px 0}.shk-chapter .shk-chapter_btn{align-items:center;box-sizing:border-box;color:var(--color-text);display:flex;flex-flow:row nowrap;justify-content:flex-start;overflow:hidden;width:100%}.shk-chapter .shk-chapter_btn:after{border-radius:2px}.shk-chapter_btn div{fill:currentColor;color:currentColor}.shk-chapter_item[data-active] .shk-chapter_btn div{color:var(--color-primary);font-weight:600}.shk-icon_chapter{flex-shrink:0;height:12px;width:12px}.shk[data-play=playing] .shk-chapter_item[data-active] .shk-icon_playing,.shk[data-play=playing] .shk-chapter_item[data-active] .shk-icon_playing:after,.shk[data-play=playing] .shk-chapter_item[data-active] .shk-icon_playing:before{display:block}.shk-icon_playing,.shk-icon_playing:after,.shk-icon_playing:before{-webkit-animation:stretch 1s ease-in-out infinite;animation:stretch 1s ease-in-out infinite;background:currentColor;color:currentColor;display:none;height:5px;left:4px;top:6px;width:3px}.shk-icon_playing{-webkit-animation-delay:.16s;animation-delay:.16s;position:relative}.shk-icon_playing:after,.shk-icon_playing:before{content:"";position:absolute;top:0}.shk-icon_playing:before{-webkit-animation-delay:-.16s;animation-delay:-.16s;left:-4px}.shk-icon_playing:after{left:4px}.shk-icon_triangle{align-items:flex-start;display:flex;flex-shrink:0}.shk[data-play=playing] .shk-chapter_item[data-active] .shk-icon_triangle{display:none}.shk-icon_triangle svg{fill:currentColor;height:12px;width:12px}.shk-chapter_duration{color:var(--color-secondary);flex-shrink:0;font-weight:200;margin:0 5%;min-width:60px;text-align:left}.shk-chapter_title_wrap{flex-grow:1;overflow:hidden;white-space:nowrap}.shk-chapter_item[data-active] .shk-chapter_title_wrap[data-overflow]{-webkit-mask-image:linear-gradient(90deg,transparent,#202124 2%,#202124 98%,transparent);mask-image:linear-gradient(90deg,transparent,#202124 2%,#202124 98%,transparent)}.shk-chapter_title_inner{-webkit-animation-duration:inherit;animation-duration:inherit;display:flex}.shk-chapter_item[data-active] .shk-chapter_title_wrap[data-overflow] .shk-chapter_title_inner{box-sizing:border-box;padding:0 3%}.shk-chapter_item[data-active] .shk-chapter_title_wrap[data-overflow] .shk-chapter_title_inner:after{content:attr(data-chapter);display:block}.shk-chapter_title{color:var(--color-text);overflow:hidden;text-align:left;text-overflow:ellipsis}.shk-chapter_item[data-active] .shk-chapter_title{overflow:visible}.shk-chapter_item[data-active] .shk-chapter_title_wrap[data-overflow] .shk-chapter_title,.shk-chapter_item[data-active] .shk-chapter_title_wrap[data-overflow] .shk-chapter_title_inner:after{-webkit-animation:marquee linear infinite;animation:marquee linear infinite;-webkit-animation-duration:inherit;animation-duration:inherit;color:currentColor;padding-right:60px}@media (max-width:640px){.shk-chapter{left:10px;right:10px}.shk-chapter_main{padding:0 10px}}
\ No newline at end of file diff --git a/source/css/shikwasa.min.css b/source/css/shikwasa.min.css deleted file mode 100644 index d6deb0f..0000000 --- a/source/css/shikwasa.min.css +++ /dev/null @@ -1 +0,0 @@ -.shk{--color-primary:#0d6efd;--color-opac:#b9b9b94d;--color-theme:#fff;--color-secondary:#767676;--color-text:#333;--color-shadow:#b9b6b680;--color-handle-shadow-mobile:#b9b6b6;--background-body:var(--color-theme);--color-title:var(--color-text);--color-artist:var(--color-secondary);--color-button:var(--color-primary);--color-button-disabled:var(--color-opac);--color-button-active-background:var(--color-opac);--color-handle:var(--color-primary);--color-handle-disabled:#b9b9b9;--color-bar-loaded:var(--color-opac);--color-bar-played:var(--color-primary);--color-time:var(--color-secondary);--color-spinner:var(--color-primary);--color-live-symbol:var(--color-primary);--color-live-text:var(--color-primary);--shadow-body:2px 2px 8px -2px var(--color-shadow);--shadow-body-mobile:0 -2px 6px -2px var(--color-shadow);--shadow-handle:0px 2px 10px 2px var(--color-shadow);--shadow-handle-mobile:2px 2px 8px -2px var(--color-handle-shadow-mobile)}.shk[data-theme=dark]{--color-theme:#333;--color-secondary:#b9b6b6;--color-text:#f8f9fa;--color-handle-shadow-mobile:#141414;--color-shadow:#14141480}@media (prefers-color-scheme:dark){.shk[data-theme=auto]{--color-theme:#333;--color-secondary:#b9b6b6;--color-text:#fff;--color-handle-shadow-mobile:#141414;--color-shadow:#14141480}}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes marquee{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marquee{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.shk{border:none;color:var(--color-text);cursor:auto;font-family:inherit;font-size:16px;font-weight:400;line-height:1.42;position:relative}.js-focus-visible :focus:not(.focus-visible),.js-focus-visible:focus:not(.focus-visible){outline:none}.shk[data-fixed-type=fixed]{bottom:0;left:0;margin:0;position:fixed;width:100%}.shk[data-fixed-type=fixed][data-fixed-pos=top]{bottom:auto;top:0}.shk[data-seeking] .shk-player{cursor:grabbing}.shk button{font-family:inherit}.shk-player{background:var(--background-body);border-radius:2px;box-sizing:border-box;height:120px;position:relative;z-index:10}.shk-body{align-items:stretch;display:flex;flex-flow:row nowrap;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.shk-cover{background-repeat:no-repeat;background-size:cover;flex:0 0 auto;height:80px;margin-right:16px;width:80px}.shk-main{display:flex;flex-grow:1;flex-wrap:nowrap;justify-content:flex-start;position:relative}.shk-text{overflow:hidden}.shk-artist,.shk-title{margin:auto;white-space:nowrap}.shk-artist{color:var(--color-artist);font-weight:500;text-overflow:clip}.shk-title_wrap[data-overflow]{-webkit-mask-image:linear-gradient(90deg,transparent,#202124 5%,#202124 95%,transparent);mask-image:linear-gradient(90deg,transparent,#202124 5%,#202124 95%,transparent)}.shk-title_inner{display:inline-flex;overflow:visible}.shk-title_wrap[data-overflow] .shk-title_inner{-webkit-animation-duration:inherit;animation-duration:inherit;box-sizing:border-box;padding:0 3%;white-space:nowrap}.shk-title_wrap[data-overflow] .shk-title_inner:after{content:attr(data-title);display:inline-block}.shk-title,.shk-title_wrap[data-overflow] .shk-title_inner:after{color:var(--color-title);font-size:1.33em;font-weight:300}.shk-title_wrap[data-overflow] .shk-title,.shk-title_wrap[data-overflow] .shk-title_inner:after{-webkit-animation:marquee linear infinite;animation:marquee linear infinite;-webkit-animation-duration:inherit;animation-duration:inherit;padding-right:60px}.shk-btn{fill:currentColor;-webkit-appearance:none;appearance:none;background:transparent;border:none;box-sizing:content-box;color:var(--color-button);cursor:pointer;font-size:1em;line-height:normal;padding:10px;position:relative}.shk-btn:disabled{color:var(--color-button-disabled);cursor:not-allowed}.shk-btn:after{background:var(--color-button-active-background);border-radius:50%;content:"";height:100%;left:50%;opacity:0;pointer-events:none;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);transition:opacity 1s cubic-bezier(0,0,.2,1),visibility 1s linear;visibility:hidden;width:100%;z-index:-1}.shk-btn:not(:disabled):active:after{opacity:1;visibility:visible}a.shk-btn:visited{color:var(--color-button)}.shk-btn svg{height:24px;vertical-align:middle;width:24px}.shk-controls{flex:0 0 auto;margin:0 auto;position:relative;width:280px}.shk-controls .shk-btn{border-radius:100%}.shk-controls>div{align-items:center;display:flex;flex-flow:row nowrap}.shk-controls_basic{justify-content:space-between}.shk-controls_extra{background:var(--background-body);bottom:0;height:100%;justify-content:flex-end;margin-right:44px;opacity:0;overflow:hidden;padding-right:0 8px;position:absolute;right:0;transition:width .2s ease-in-out,opacity .1s linear .1s,visibility .2s;visibility:hidden;white-space:nowrap;width:0;z-index:10}.shk[data-extra] .shk-controls_extra{opacity:1;transition:width .2s ease-in-out,opacity .1s linear;visibility:visible;width:calc(100% - 44px)}.shk[data-extra] .shk-controls_extra .shk-btn{display:inline-block}.shk-btn_toggle svg{height:32px;width:32px}.shk[data-play=paused] .shk-btn_play,.shk[data-play=playing] .shk-btn_pause{display:inline}.shk[data-play=paused] .shk-btn_pause,.shk[data-play=playing] .shk-btn_play{display:none}.shk-btn_speed{font-size:.86em;font-weight:400;height:44px;padding:0;width:44px}.shk-btn_more{position:relative;-webkit-transform:none;transform:none;transition:-webkit-transform .2s .1s;transition:transform .2s .1s;transition:transform .2s .1s,-webkit-transform .2s .1s;z-index:11}.shk[data-extra] .shk-btn_more{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.shk[data-mute] svg.shk-btn_mute,svg.shk-btn_unmute{display:inline-block}.shk[data-mute] svg.shk-btn_unmute,svg.shk-btn_mute{display:none}.shk-bar_wrap{cursor:pointer;position:relative;z-index:1}.shk-bar{background:var(--background-body);box-sizing:border-box;height:4px;position:relative;width:100%}.shk-bar_loaded,.shk-bar_played{bottom:0;left:0;position:absolute;top:0;transition:width .1s ease-in;width:0}.shk-bar_loaded{background:var(--color-bar-loaded)}.shk-bar_played{background:var(--color-bar-played)}.shk[data-seeking] .shk-bar_played{transition:none}.shk-bar-handle{background:var(--color-handle);border:0;border-radius:20px;box-sizing:content-box;cursor:grab;height:20px;padding:0;position:absolute;right:-10px;width:20px}.shk-bar-handle:disabled{background-color:var(--color-handle-disabled);box-shadow:none;cursor:not-allowed}.shk-bar-handle:active{cursor:grabbing}.shk-display{position:absolute}.shk-loader{color:var(--color-spinner);display:none;vertical-align:middle}.shk[data-loading] .shk-loader{display:inline-block}.shk-loader svg{-webkit-animation:rotate 1.4s linear infinite;animation:rotate 1.4s linear infinite;height:12px;position:relative;width:12px}.shk-visuallyhidden:not(:focus):not(:active){clip:rect(0 0 0 0);border:0;-webkit-clip-path:inset(100%);clip-path:inset(100%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.shk-time{color:var(--color-time);display:inline-block;font-size:.8em;font-weight:300;vertical-align:middle}.shk .shk-live{align-items:center;color:var(--color-live-text);display:none;font-family:sans-serif;font-size:.8em;text-transform:uppercase}.shk .shk-live:before{background:var(--color-live-symbol);border-radius:50%;content:"";height:.5em;margin-right:2px;width:.5em}.shk-icons,.shk[data-live] .shk-bar,.shk[data-live] .shk-time{display:none}.shk[data-live] .shk-live{display:inline-flex}@media (min-width:641px){.shk-player{box-shadow:var(--shadow-body);margin-top:4px;padding:20px 16px}.shk-main{align-items:flex-end;flex-direction:row;max-width:calc(100% - 96px);padding:10px 0}.shk-text{flex:2 1 auto}.shk-bar_wrap{left:0;padding:4px 0 16px;position:absolute;right:0;top:-4px}.shk-bar{transition:height .15s ease-in}.shk-bar_wrap:hover .shk-bar{height:10px}.shk-bar-handle{border:4px solid transparent;box-shadow:var(--shadow-handle);top:-9.5px;-webkit-transform:scale(.0001);transform:scale(.0001);transition:all .1s ease-in}.shk-bar-handle.focus-visible,.shk-bar_wrap:hover .shk-bar-handle:not(:disabled){border-color:#fff;-webkit-transform:scale(.8);transform:scale(.8)}.shk-display{right:8px;top:-6px}.shk-loader{margin-right:4px}.shk-time_duration:before{content:"/";margin:0 4px}}@media (max-width:640px){.shk-player{box-shadow:var(--shadow-body-mobile);padding:5px 16px}.shk[data-fixed-type=auto]{bottom:0;left:0;position:fixed;width:100%}.shk[data-fixed-type=auto][data-fixed-pos=top]{bottom:auto;top:0}.shk[data-live] .shk-bar_wrap{height:4px}.shk-cover{display:none}.shk-main{align-items:center;flex-direction:column;max-width:none;padding:0;width:100%}.shk-text{flex:0 0 auto;text-align:center;width:100%}.shk-artist_wrap{font-size:.8em;line-height:1.1}.shk-artist{display:inline-block}.shk-title,.shk-title_wrap[data-overflow] .shk-title_inner:after{font-size:1em;line-height:1}.shk-bar_wrap{margin:0 60px;padding:8px 0}.shk-bar-handle{box-shadow:var(--shadow-handle-mobile);display:inline-block;top:-8px}.shk-bar{background:var(--color-opac);border-radius:2px}.shk-display{left:0;right:0;top:-16px}.shk-loader{left:-10px;position:absolute;top:-5px}.shk-time{display:flex;flex-flow:row nowrap;font-size:.7em;justify-content:space-between;line-height:1;margin:0 5px}.shk-time_now{text-align:right;width:40px}.shk-time_duration{text-align:left;width:40px}.shk-live{position:absolute;right:0;top:0}}
\ No newline at end of file |