From 43e4f32aecbc9e463945d17306f03a5a679d08ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Mon, 16 May 2022 19:03:47 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E5=A3=81=E7=BA=B8=E5=A0=86=E5=8F=A0?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 9 +++++++++ css/mobile.min.css | 2 +- css/style.css | 2 +- css/style.min.css | 2 +- index.html | 14 +++++++------- js/main.js | 11 ++++++----- js/main.min.js | 2 +- 7 files changed, 26 insertions(+), 16 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index e9e874d..592c240 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -175,11 +175,20 @@ font-size: 1.75rem; } + i.iconfont.icon-a-daohangzhiyindingwei-05, + i.iconfont.icon-z_shangpinheji { + font-size: 1.65rem; + } + span.link-name { display: block !important; font-size: 0.85rem; } + .link-card:hover span.link-name { + font-size: 0.95rem; + } + span.line-text, i.iconfont.icon-link { font-size: 1.05rem; diff --git a/css/mobile.min.css b/css/mobile.min.css index 3fbc247..2af2ae8 100644 --- a/css/mobile.min.css +++ b/css/mobile.min.css @@ -1 +1 @@ -@charset "utf-8";@media (max-width:1200px){.container,.container-lg,.container-md,.container-sm{max-width:1000px!important}.weekday{display:none}.music-text{max-width:170px!important}}@media (max-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:900px!important}.col.left{margin-right:.75rem}.col.right{margin-left:.75rem}.col.hitokotos{display:none}.col.times{margin-left:0}.weekday{display:inline}.main-img img{width:110px}span.img-title{font-size:4.75rem}span.img-text{font-size:1.75rem}span.link-name{display:none!important}.link-card i{margin-left:10px!important;margin-right:10px!important}}@media (max-width:840px){.social{max-width:100%;justify-content:center}#link-text{display:none!important}.link i{margin:0 20px}}@media (max-width:789px){span.img-text{display:none}}@media (max-width:768px){.main-img img{width:100px}span.img-title{font-size:4.5rem}}@media (max-width:720px){.main-left{transform:translateY(20px)}.col.left{margin-right:0}.col.right{display:none}.col.right{margin-left:0}span.img-text{display:inline}.message{max-width:100%;pointer-events:none}.link-card{height:80px!important;align-items:center!important;flex-direction:column!important;justify-content:center!important}.link-card i{font-size:1.75rem}span.link-name{display:block!important;font-size:.85rem}i.iconfont.icon-link,span.line-text{font-size:1.05rem}.menu{display:flex;justify-content:center;position:fixed;top:84%}.munu-button{padding:5px 20px;background:rgb(0 0 0 / 20%);backdrop-filter:blur(10px);border-radius:6px;font-size:1.25rem;transition:.5s;width:60px;display:flex;justify-content:center;align-items:center;height:40px}footer{font-size:.85rem}.col.hitokotos{margin-right:0}.hitokoto-from,.hitokoto-text{font-size:1.05rem}.music-text{max-width:100%!important}#music-name{font-size:1.05rem}#music-open{display:none}#cursor{background:0 0!important}}@media (max-width:390px){.main-img img{display:none}}@media (min-width:568px){.iziToast{border-radius:30px!important}}@media (min-width:720px){.menu{display:none!important}}@media (min-width:992px){span#win_speed,span#win_text{display:none}}@media (min-width:1400px){span#win_speed,span#win_text{display:inline!important}}.menus .col.left{display:none}.menus .col.right{display:block!important;transition:.5s;padding:0 .75rem}.menus .col.hitokotos{display:block}.menus .col.times{display:none}.menus .row{--bs-gutter-x:0rem}.menus .col.\32{margin:0 .75rem}.menus .logo{display:inline!important;text-align:center;position:fixed;top:8%;font-size:1.75rem}.logo-text{font-family:Pacifico-Regular!important}#link-text,.close,.hitokoto,.line,.link-card,.logo,.main-img,.message,.social,.time{animation:fade .5;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.mobile .col.hitokotos{display:none}.mobile .col.times{display:block} \ No newline at end of file +@charset "utf-8";@media (max-width:1200px){.container,.container-lg,.container-md,.container-sm{max-width:1000px!important}.weekday{display:none}.music-text{max-width:170px!important}}@media (max-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:900px!important}.col.left{margin-right:.75rem}.col.right{margin-left:.75rem}.col.hitokotos{display:none}.col.times{margin-left:0}.weekday{display:inline}.main-img img{width:110px}span.img-title{font-size:4.75rem}span.img-text{font-size:1.75rem}span.link-name{display:none!important}.link-card i{margin-left:10px!important;margin-right:10px!important}}@media (max-width:840px){.social{max-width:100%;justify-content:center}#link-text{display:none!important}.link i{margin:0 20px}}@media (max-width:789px){span.img-text{display:none}}@media (max-width:768px){.main-img img{width:100px}span.img-title{font-size:4.5rem}}@media (max-width:720px){.main-left{transform:translateY(20px)}.col.left{margin-right:0}.col.right{display:none}.col.right{margin-left:0}span.img-text{display:inline}.message{max-width:100%;pointer-events:none}.link-card{height:80px!important;align-items:center!important;flex-direction:column!important;justify-content:center!important}.link-card i{font-size:1.75rem}i.iconfont.icon-a-daohangzhiyindingwei-05,i.iconfont.icon-z_shangpinheji{font-size:1.65rem}span.link-name{display:block!important;font-size:.85rem}.link-card:hover span.link-name{font-size:.95rem}i.iconfont.icon-link,span.line-text{font-size:1.05rem}.menu{display:flex;justify-content:center;position:fixed;top:84%}.munu-button{padding:5px 20px;background:rgb(0 0 0 / 20%);backdrop-filter:blur(10px);border-radius:6px;font-size:1.25rem;transition:.5s;width:60px;display:flex;justify-content:center;align-items:center;height:40px}footer{font-size:.85rem}.col.hitokotos{margin-right:0}.hitokoto-from,.hitokoto-text{font-size:1.05rem}.music-text{max-width:100%!important}#music-name{font-size:1.05rem}#music-open{display:none}#cursor{background:0 0!important}}@media (max-width:390px){.main-img img{display:none}}@media (min-width:568px){.iziToast{border-radius:30px!important}}@media (min-width:720px){.menu{display:none!important}}@media (min-width:992px){span#win_speed,span#win_text{display:none}}@media (min-width:1400px){span#win_speed,span#win_text{display:inline!important}}.menus .col.left{display:none}.menus .col.right{display:block!important;transition:.5s;padding:0 .75rem}.menus .col.hitokotos{display:block}.menus .col.times{display:none}.menus .row{--bs-gutter-x:0rem}.menus .col.\32{margin:0 .75rem}.menus .logo{display:inline!important;text-align:center;position:fixed;top:8%;font-size:1.75rem}.logo-text{font-family:Pacifico-Regular!important}#link-text,.close,.hitokoto,.line,.link-card,.logo,.main-img,.message,.social,.time{animation:fade .5;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.mobile .col.hitokotos{display:none}.mobile .col.times{display:block} \ No newline at end of file diff --git a/css/style.css b/css/style.css index fd510e6..a57f7b3 100644 --- a/css/style.css +++ b/css/style.css @@ -47,7 +47,7 @@ a:hover { /*背景*/ .bg-all { - z-index: 0; + z-index: -1; position: absolute; top: calc(0px + 0px); left: 0; diff --git a/css/style.min.css b/css/style.min.css index 312e5af..90db696 100644 --- a/css/style.min.css +++ b/css/style.min.css @@ -1 +1 @@ -@charset "utf-8";body,html{width:100%;height:100%;margin:0;padding:0;background-color:#333}*,a,p{text-decoration:none;transition:.3s;color:#efefef;user-select:none;font-family:MiSans,sans-serif}a:hover{color:#fff}.cards{transition:.5s}.cards:hover{transform:scale(1.01);transition:.5s}.cards:active{transform:scale(.95);transition:.5s}.noscript{z-index:999999;font-size:.95rem;text-align:center;margin:14px 0}.bg-all{z-index:0;position:absolute;top:calc(0px + 0px);left:0;width:100%;height:calc(100% - 0px);transition:.25s}#bg{transform:scale(1.1);filter:blur(10px);position:fixed;left:0;top:0;width:100%;height:100%;object-fit:cover;transition:opacity 1s,transform .25s,filter .25s;backface-visibility:hidden}img.error{display:none}.cover{opacity:0;position:fixed;left:0;top:0;width:100%;height:100%;background-image:radial-gradient(rgba(0,0,0,0) 0,rgba(0,0,0,.5) 100%),radial-gradient(rgba(0,0,0,0) 33%,rgba(0,0,0,.3) 166%);transition:.25s}section{display:block;position:fixed;width:100%;height:100%;min-height:600px;transform:scale(1.1);transition:ease 1.25s;opacity:0;filter:blur(10px)}main{width:100%;height:100%;background:rgb(0 0 0 / 20%);display:flex}.container{width:100%;display:flex;justify-content:space-around}.row{align-items:center;justify-content:center;width:100%;--bs-gutter-x:0!important}.col.\32{margin:0 1.5rem}.main-left{transform:translateY(40px)}.row.rightone{display:flex;align-items:center}.main-img{display:flex;align-items:center}.main-img img{border-radius:50%;width:120px}.main-img img:hover{transform:rotate(360deg)}.img-title{width:100%;margin-left:12px;transform:translateY(-8%)}span.img-title{font-size:5rem;font-family:Pacifico-Regular!important}span.img-text{font-size:2rem;font-family:Pacifico-Regular!important}.message{background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:1rem;border-radius:6px;margin-top:3.5rem;max-width:460px;cursor:pointer}.des{display:flex;justify-content:space-between}.des-title{margin:1rem 1rem;line-height:2rem}span#change{font-family:Pacifico-Regular!important}i.iconfont.icon-yinhao-copy{align-self:flex-end}.social{margin-top:1rem;display:flex;align-items:center;max-width:460px}.link i{font-size:1.75rem;margin:0 10px}#link-text{display:none;flex:1;text-align:right;margin-right:1rem}.col.hitokotos{margin-right:.75rem}.hitokoto{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column}.hitokoto-all{margin-top:10px;display:flex;flex-direction:column}.hitokoto-text{font-size:1.1rem}#hitokoto_text{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hitokoto-from{margin-top:10px;font-weight:700;align-self:flex-end;font-size:1.1rem}.open-music{display:none;justify-content:center;background:rgb(0 0 0 / 15%);padding:4px 0;font-size:.95rem;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.open-music:hover{background:rgb(0 0 0 / 30%)}#music{display:none}.music{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.music-all{display:flex;flex-direction:column;align-items:center;justify-content:space-around;height:100%}.music-button{display:flex;align-items:center;margin-bottom:6px}.music-control{display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;width:100%}.music-menu{height:26px;display:flex;align-items:center}i.iconfont.icon-pause,i.iconfont.icon-play{font-size:2.25rem;padding:6px;border-radius:6px}i.iconfont.icon-pause:hover,i.iconfont.icon-play:hover{background:rgb(255 255 255 / 20%);padding:6px;border-radius:6px}i#last,i#next{font-size:2rem}.music-text{margin-top:6px;font-size:1.1rem;text-overflow:ellipsis;max-width:220px;overflow-x:hidden;white-space:nowrap;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#music-close,#music-open{background:rgb(255 255 255 / 15%);padding:2px 8px;border-radius:6px;margin:0 6px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}#music-close:hover,#music-open:hover{background:rgb(255 255 255 / 30%)}.music-volume{margin-top:6px;display:flex;align-items:center;flex-direction:row;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#volume-ico{padding-top:1px;margin-right:6px}.music-volume i{font-size:1.75rem}input[type=range]{-webkit-appearance:none;width:100%;border-radius:10px;height:8px;background:rgb(255 255 255 / 15%)}input[type=range]::-moz-range-thumb,input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}input[type=range]::-moz-range-track,input[type=range]::-webkit-slider-runnable-track{height:15px;border-radius:10px}input[type=range]:focus{outline:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:15px;width:15px;background:#fff;border-radius:50%}.col.times{margin-left:.75rem}.time{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;text-align:center;display:flex;flex-direction:column;height:165px;font-size:1.1rem}span.time-text{font-size:3.25rem;letter-spacing:2px;font-family:UnidreamLED!important}.line{margin:1rem .25rem;margin-top:2rem;font-size:1.1rem;display:flex;align-items:center}span.line-text{font-size:1.2rem;margin:0 6px}i.iconfont.icon-link{font-size:1.2rem}.link-card{height:100px;width:100%;border-radius:6px;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);display:flex;align-items:center;flex-direction:row;justify-content:center}.link-card i{margin-left:0;font-size:2.2rem}.link-card:hover{background:rgb(0 0 0 / 40%);transition:.5s}span.link-name{font-size:1.1rem}.link-card:hover span.link-name{font-size:1.15rem}i.iconfont.icon-a-daohangzhiyindingwei-05,i.iconfont.icon-z_shangpinheji{font-size:2rem}.more{display:none!important;width:46%;z-index:999;position:fixed;height:82%;right:4%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);top:7%;border-radius:6px;padding:30px}.mores .more{display:flex!important;justify-content:space-evenly;flex-direction:column;align-items:center;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.mores .col.right{display:none}.close{display:none;left:auto;top:4px;right:8px;font-size:1.45rem}.close:hover{transform:scale(1.2)}.progress{width:100%;height:20px;align-items:center;background:rgb(0 0 0 / 0%)!important;backdrop-filter:blur(5px)}.progress-bar{font-family:UnidreamLED!important;background-color:#efefef!important;color:rgb(86 77 89)!important;font-size:.95rem;height:20px}.date{width:100%}.date-text{margin:1rem 0 .5rem 0}.mores .link-card{height:48px!important}.box-left{flex:0 44%;min-width:400px}.box{position:fixed;left:0;right:0;top:0;bottom:0;z-index:1996;background-color:rgba(0,0,0,.5);backdrop-filter:blur(20px);animation:fade .3s}.box-wrapper{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1997;width:80%;height:80%;background:rgb(255 255 255 / 40%);border-radius:6px;-webkit-animation:fade .3s;animation:fade .3s;padding:40px;display:flex;flex-direction:row;justify-content:space-between}#accordion{min-width:360px;margin-right:40px;margin-top:20px;margin-left:14px;border-radius:8px;box-shadow:0 2px 2px 0 rgb(0 0 0 / 7%),0 1px 5px 0 rgb(0 0 0 / 10%)}.accordion-item{background-color:transparent!important;border:none!important}.accordion-item:first-of-type .accordion-button{border-radius:8px}.accordion-button{color:#fff!important;background-color:transparent;transition:.3s}.accordion-button:focus{border-color:#ffffff26!important;outline:0!important;box-shadow:none!important;border-radius:8px;transition:.3s}.accordion-button:not(.collapsed){background-color:#ffffff26;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;font-weight:700;transition:.3s}.accordion-button::after{border-radius:8px;background-image:none!important}.accordion-body{padding:1rem 0!important;background-color:#ffffff10}.closebox{left:auto;top:10px;right:16px}.closebox:hover{transform:scale(1.2)}i.iconfont.icon-close,i.iconfont.icon-github1{font-size:1.45rem}.set{display:flex;flex-direction:column;padding:0 1.5rem}.btn-group,.btn-group-vertical{margin-top:10px}.btn-outline-primary{color:#eee!important;border-color:#ffffff26!important}.btn-outline-primary:hover{background-color:#ffffff26!important;border-color:#eee!important}.btn-check:focus+.btn,.btn:focus{box-shadow:none!important}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{background-color:#ffffff26!important;border-color:#eee!important}#wallpaper{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.form-radio{flex:1 1 0%;width:31.3%;min-width:31.3%;max-width:31.3%;text-align:center;margin:1%}input[type=radio]+label{padding:6px 10px;background:#ffffff26;border-radius:8px;transition:.3s;border:2px solid transparent;width:100%}input[type=radio]:checked+label{background:#ffffff06;border:2px solid #eee}.upnote{display:flex;flex-direction:column;padding:0 1.5rem;height:156px;overflow-y:auto}.uptext{line-height:32px}.box-right{flex:0 54%;display:flex;flex-direction:row;justify-content:center;align-items:center}.aplayer{background:0 0!important;width:100%;border-radius:6px!important;margin-right:18px}.aplayer.aplayer-withlrc .aplayer-pic{display:none}.aplayer.aplayer-withlrc .aplayer-info{margin-left:0!important}.aplayer.aplayer-withlrc .aplayer-info{background-color:#ffffff26;border-radius:6px}.aplayer .aplayer-info .aplayer-music .aplayer-title{font-size:16px!important}.aplayer.aplayer-withlist .aplayer-list{margin-top:6px}.aplayer .aplayer-list ol li.aplayer-list-light{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li:hover{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li{border-top:1px solid transparent!important}.aplayer.aplayer-withlist .aplayer-info{border-bottom:1px solid transparent!important}.aplayer-list-cur{background-color:#eee!important}.aplayer .aplayer-info .aplayer-controller{display:none!important}.aplayer .aplayer-lrc{margin:4px 0 0!important;height:34px!important}.aplayer .aplayer-lrc{text-align:left!important;margin-left:5px!important}.aplayer .aplayer-lrc p.aplayer-lrc-current{font-size:14.5px!important}.aplayer .aplayer-info .aplayer-music .aplayer-author,.aplayer .aplayer-info .aplayer-music .aplayer-title,.aplayer .aplayer-lrc p,span.aplayer-list-author,span.aplayer-list-index,span.aplayer-list-title{color:#fff!important}.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before{background:0 0!important}i.iconfont.icon-bars,i.iconfont.icon-times{font-size:1.25rem}footer{text-align:center;height:46px;backdrop-filter:blur(10px);background:rgb(0 0 0 / 25%)}.power{line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}#lrc{display:none;line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}.iziToast{backdrop-filter:blur(10px)!important}.iziToast>.iziToast-body .iziToast-title{font-size:16px!important}.iziToast-body .iziToast-message{line-height:18px!important}.iziToast>.iziToast-body .iziToast-message{margin:6px 0 4px 0!important}.iziToast:after{box-shadow:none!important}.iziToast>.iziToast-body .iziToast-texts{margin:6px 6px!important;display:flex!important;align-items:center}.iziToast-message{word-break:break-all!important}.iziToast>.iziToast-close{background:url(https://cdn.jsdelivr.net/gh/imsyy/file/pic/close.png) no-repeat 50% 50%!important;background-size:8px!important}::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#eee} \ No newline at end of file +@charset "utf-8";body,html{width:100%;height:100%;margin:0;padding:0;background-color:#333}*,a,p{text-decoration:none;transition:.3s;color:#efefef;user-select:none;font-family:MiSans,sans-serif}a:hover{color:#fff}.cards{transition:.5s}.cards:hover{transform:scale(1.01);transition:.5s}.cards:active{transform:scale(.95);transition:.5s}.noscript{z-index:999999;font-size:.95rem;text-align:center;margin:14px 0}.bg-all{z-index:-1;position:absolute;top:calc(0px + 0px);left:0;width:100%;height:calc(100% - 0px);transition:.25s}#bg{transform:scale(1.1);filter:blur(10px);position:fixed;left:0;top:0;width:100%;height:100%;object-fit:cover;transition:opacity 1s,transform .25s,filter .25s;backface-visibility:hidden}img.error{display:none}.cover{opacity:0;position:fixed;left:0;top:0;width:100%;height:100%;background-image:radial-gradient(rgba(0,0,0,0) 0,rgba(0,0,0,.5) 100%),radial-gradient(rgba(0,0,0,0) 33%,rgba(0,0,0,.3) 166%);transition:.25s}section{display:block;position:fixed;width:100%;height:100%;min-height:600px;transform:scale(1.1);transition:ease 1.25s;opacity:0;filter:blur(10px)}main{width:100%;height:100%;background:rgb(0 0 0 / 20%);display:flex}.container{width:100%;display:flex;justify-content:space-around}.row{align-items:center;justify-content:center;width:100%;--bs-gutter-x:0!important}.col.\32{margin:0 1.5rem}.main-left{transform:translateY(40px)}.row.rightone{display:flex;align-items:center}.main-img{display:flex;align-items:center}.main-img img{border-radius:50%;width:120px}.main-img img:hover{transform:rotate(360deg)}.img-title{width:100%;margin-left:12px;transform:translateY(-8%)}span.img-title{font-size:5rem;font-family:Pacifico-Regular!important}span.img-text{font-size:2rem;font-family:Pacifico-Regular!important}.message{background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:1rem;border-radius:6px;margin-top:3.5rem;max-width:460px;cursor:pointer}.des{display:flex;justify-content:space-between}.des-title{margin:1rem 1rem;line-height:2rem}span#change{font-family:Pacifico-Regular!important}i.iconfont.icon-yinhao-copy{align-self:flex-end}.social{margin-top:1rem;display:flex;align-items:center;max-width:460px}.link i{font-size:1.75rem;margin:0 10px}#link-text{display:none;flex:1;text-align:right;margin-right:1rem}.col.hitokotos{margin-right:.75rem}.hitokoto{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column}.hitokoto-all{margin-top:10px;display:flex;flex-direction:column}.hitokoto-text{font-size:1.1rem}#hitokoto_text{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hitokoto-from{margin-top:10px;font-weight:700;align-self:flex-end;font-size:1.1rem}.open-music{display:none;justify-content:center;background:rgb(0 0 0 / 15%);padding:4px 0;font-size:.95rem;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}.open-music:hover{background:rgb(0 0 0 / 30%)}#music{display:none}.music{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;height:165px;display:flex;justify-content:center;flex-direction:column;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.music-all{display:flex;flex-direction:column;align-items:center;justify-content:space-around;height:100%}.music-button{display:flex;align-items:center;margin-bottom:6px}.music-control{display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;width:100%}.music-menu{height:26px;display:flex;align-items:center}i.iconfont.icon-pause,i.iconfont.icon-play{font-size:2.25rem;padding:6px;border-radius:6px}i.iconfont.icon-pause:hover,i.iconfont.icon-play:hover{background:rgb(255 255 255 / 20%);padding:6px;border-radius:6px}i#last,i#next{font-size:2rem}.music-text{margin-top:6px;font-size:1.1rem;text-overflow:ellipsis;max-width:220px;overflow-x:hidden;white-space:nowrap;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#music-close,#music-open{background:rgb(255 255 255 / 15%);padding:2px 8px;border-radius:6px;margin:0 6px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}#music-close:hover,#music-open:hover{background:rgb(255 255 255 / 30%)}.music-volume{margin-top:6px;display:flex;align-items:center;flex-direction:row;animation:fade;-webkit-animation:fade .5s;-moz-animation:fade .5s;-o-animation:fade .5s;-ms-animation:fade .5s}#volume-ico{padding-top:1px;margin-right:6px}.music-volume i{font-size:1.75rem}input[type=range]{-webkit-appearance:none;width:100%;border-radius:10px;height:8px;background:rgb(255 255 255 / 15%)}input[type=range]::-moz-range-thumb,input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}input[type=range]::-moz-range-track,input[type=range]::-webkit-slider-runnable-track{height:15px;border-radius:10px}input[type=range]:focus{outline:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:15px;width:15px;background:#fff;border-radius:50%}.col.times{margin-left:.75rem}.time{width:100%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);padding:20px;border-radius:6px;text-align:center;display:flex;flex-direction:column;height:165px;font-size:1.1rem}span.time-text{font-size:3.25rem;letter-spacing:2px;font-family:UnidreamLED!important}.line{margin:1rem .25rem;margin-top:2rem;font-size:1.1rem;display:flex;align-items:center}span.line-text{font-size:1.2rem;margin:0 6px}i.iconfont.icon-link{font-size:1.2rem}.link-card{height:100px;width:100%;border-radius:6px;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);display:flex;align-items:center;flex-direction:row;justify-content:center}.link-card i{margin-left:0;font-size:2.2rem}.link-card:hover{background:rgb(0 0 0 / 40%);transition:.5s}span.link-name{font-size:1.1rem}.link-card:hover span.link-name{font-size:1.15rem}i.iconfont.icon-a-daohangzhiyindingwei-05,i.iconfont.icon-z_shangpinheji{font-size:2rem}.more{display:none!important;width:46%;z-index:999;position:fixed;height:82%;right:4%;background:rgb(0 0 0 / 25%);backdrop-filter:blur(10px);top:7%;border-radius:6px;padding:30px}.mores .more{display:flex!important;justify-content:space-evenly;flex-direction:column;align-items:center;animation:fade;-webkit-animation:fade .3s;-moz-animation:fade .3s;-o-animation:fade .3s;-ms-animation:fade .3s}.mores .col.right{display:none}.close{display:none;left:auto;top:4px;right:8px;font-size:1.45rem}.close:hover{transform:scale(1.2)}.progress{width:100%;height:20px;align-items:center;background:rgb(0 0 0 / 0%)!important;backdrop-filter:blur(5px)}.progress-bar{font-family:UnidreamLED!important;background-color:#efefef!important;color:rgb(86 77 89)!important;font-size:.95rem;height:20px}.date{width:100%}.date-text{margin:1rem 0 .5rem 0}.mores .link-card{height:48px!important}.box-left{flex:0 44%;min-width:400px}.box{position:fixed;left:0;right:0;top:0;bottom:0;z-index:1996;background-color:rgba(0,0,0,.5);backdrop-filter:blur(20px);animation:fade .3s}.box-wrapper{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1997;width:80%;height:80%;background:rgb(255 255 255 / 40%);border-radius:6px;-webkit-animation:fade .3s;animation:fade .3s;padding:40px;display:flex;flex-direction:row;justify-content:space-between}#accordion{min-width:360px;margin-right:40px;margin-top:20px;margin-left:14px;border-radius:8px;box-shadow:0 2px 2px 0 rgb(0 0 0 / 7%),0 1px 5px 0 rgb(0 0 0 / 10%)}.accordion-item{background-color:transparent!important;border:none!important}.accordion-item:first-of-type .accordion-button{border-radius:8px}.accordion-button{color:#fff!important;background-color:transparent;transition:.3s}.accordion-button:focus{border-color:#ffffff26!important;outline:0!important;box-shadow:none!important;border-radius:8px;transition:.3s}.accordion-button:not(.collapsed){background-color:#ffffff26;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;font-weight:700;transition:.3s}.accordion-button::after{border-radius:8px;background-image:none!important}.accordion-body{padding:1rem 0!important;background-color:#ffffff10}.closebox{left:auto;top:10px;right:16px}.closebox:hover{transform:scale(1.2)}i.iconfont.icon-close,i.iconfont.icon-github1{font-size:1.45rem}.set{display:flex;flex-direction:column;padding:0 1.5rem}.btn-group,.btn-group-vertical{margin-top:10px}.btn-outline-primary{color:#eee!important;border-color:#ffffff26!important}.btn-outline-primary:hover{background-color:#ffffff26!important;border-color:#eee!important}.btn-check:focus+.btn,.btn:focus{box-shadow:none!important}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{background-color:#ffffff26!important;border-color:#eee!important}#wallpaper{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.form-radio{flex:1 1 0%;width:31.3%;min-width:31.3%;max-width:31.3%;text-align:center;margin:1%}input[type=radio]+label{padding:6px 10px;background:#ffffff26;border-radius:8px;transition:.3s;border:2px solid transparent;width:100%}input[type=radio]:checked+label{background:#ffffff06;border:2px solid #eee}.upnote{display:flex;flex-direction:column;padding:0 1.5rem;height:156px;overflow-y:auto}.uptext{line-height:32px}.box-right{flex:0 54%;display:flex;flex-direction:row;justify-content:center;align-items:center}.aplayer{background:0 0!important;width:100%;border-radius:6px!important;margin-right:18px}.aplayer.aplayer-withlrc .aplayer-pic{display:none}.aplayer.aplayer-withlrc .aplayer-info{margin-left:0!important}.aplayer.aplayer-withlrc .aplayer-info{background-color:#ffffff26;border-radius:6px}.aplayer .aplayer-info .aplayer-music .aplayer-title{font-size:16px!important}.aplayer.aplayer-withlist .aplayer-list{margin-top:6px}.aplayer .aplayer-list ol li.aplayer-list-light{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li:hover{background:#ffffff26!important;border-radius:6px!important}.aplayer .aplayer-list ol li{border-top:1px solid transparent!important}.aplayer.aplayer-withlist .aplayer-info{border-bottom:1px solid transparent!important}.aplayer-list-cur{background-color:#eee!important}.aplayer .aplayer-info .aplayer-controller{display:none!important}.aplayer .aplayer-lrc{margin:4px 0 0!important;height:34px!important}.aplayer .aplayer-lrc{text-align:left!important;margin-left:5px!important}.aplayer .aplayer-lrc p.aplayer-lrc-current{font-size:14.5px!important}.aplayer .aplayer-info .aplayer-music .aplayer-author,.aplayer .aplayer-info .aplayer-music .aplayer-title,.aplayer .aplayer-lrc p,span.aplayer-list-author,span.aplayer-list-index,span.aplayer-list-title{color:#fff!important}.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before{background:0 0!important}i.iconfont.icon-bars,i.iconfont.icon-times{font-size:1.25rem}footer{text-align:center;height:46px;backdrop-filter:blur(10px);background:rgb(0 0 0 / 25%)}.power{line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}#lrc{display:none;line-height:46px;color:#eee;animation:fade;-webkit-animation:fade .75s;-moz-animation:fade .75s;-o-animation:fade .75s;-ms-animation:fade .75s}.iziToast{backdrop-filter:blur(10px)!important}.iziToast>.iziToast-body .iziToast-title{font-size:16px!important}.iziToast-body .iziToast-message{line-height:18px!important}.iziToast>.iziToast-body .iziToast-message{margin:6px 0 4px 0!important}.iziToast:after{box-shadow:none!important}.iziToast>.iziToast-body .iziToast-texts{margin:6px 6px!important;display:flex!important;align-items:center}.iziToast-message{word-break:break-all!important}.iziToast>.iziToast-close{background:url(https://cdn.jsdelivr.net/gh/imsyy/file/pic/close.png) no-repeat 50% 50%!important;background-size:8px!important}::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#eee} \ No newline at end of file diff --git a/index.html b/index.html index dc29fdb..bbe2ce7 100644 --- a/index.html +++ b/index.html @@ -14,10 +14,10 @@ 無名の主页 - + + href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/bootstrap/5.1.0/css/bootstrap.min.css"> @@ -27,14 +27,14 @@ - + - - diff --git a/js/main.js b/js/main.js index 486754f..8993268 100644 --- a/js/main.js +++ b/js/main.js @@ -73,11 +73,12 @@ if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) { link.type = 'text/css'; head.appendChild(link); window.addEventListener('load', function () { - iziToast.show({ - timeout: 8000, - iconUrl: './img/icon/warn.png', - message: '您正在使用火狐浏览器,部分功能可能不支持' - }); + setTimeout(function () { + iziToast.show({ + timeout: 8000, + message: '您正在使用火狐浏览器,部分功能可能不支持' + }); + }, 3800); }, false) } diff --git a/js/main.min.js b/js/main.min.js index 9905b2f..7e1ff7a 100644 --- a/js/main.min.js +++ b/js/main.min.js @@ -1 +1 @@ -function downloadJSAtOnload(){var t=document.createElement("script");t.src="./js/music.min.js",document.body.appendChild(t)}function time(){clearTimeout(t),dt=new Date;var e=dt.getYear()+1900,n=dt.getMonth()+1,o=dt.getDate(),s=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],i=dt.getDay(),a=dt.getHours(),c=dt.getMinutes(),l=dt.getSeconds();a<10&&(a="0"+a),c<10&&(c="0"+c),l<10&&(l="0"+l),$("#time").html(e+" 年 "+n+" 月 "+o+" 日 "+s[i]+"
"+a+":"+c+":"+l+""),t=setTimeout(time,1e3)}if(iziToast.settings({timeout:1e4,progressBar:!1,close:!1,closeOnEscape:!0,position:"topCenter",transitionIn:"bounceInDown",transitionOut:"flipOutX",displayMode:"replace",layout:"1",backgroundColor:"#00000040",titleColor:"#efefef",messageColor:"#efefef",iconColor:"#efefef"}),window.addEventListener("load",function(){$("#loading-box").attr("class","loaded"),$("#bg").css("cssText","transform: scale(1);filter: blur(0px);transition: ease 1.5s;"),$(".cover").css("cssText","opacity: 1;transition: ease 1.5s;"),$("#section").css("cssText","transform: scale(1) !important;opacity: 1 !important;filter: blur(0px) !important"),setTimeout(function(){iziToast.show({timeout:2500,title:hello,message:"欢迎来到我的主页"})},800)},!1),setTimeout(function(){$("#loading-text").html("字体及文件加载可能需要一定时间")},3e3),window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload,isFirefox=navigator.userAgent.indexOf("Firefox")>0){var head=document.getElementsByTagName("head")[0],link=document.createElement("link");link.href="./css/firefox.css",link.rel="stylesheet",link.type="text/css",head.appendChild(link),window.addEventListener("load",function(){iziToast.show({timeout:8e3,iconUrl:"./img/icon/warn.png",message:"您正在使用火狐浏览器,部分功能可能不支持"})},!1)}fetch("https://v1.hitokoto.cn?max_length=24").then(t=>t.json()).then(t=>{$("#hitokoto_text").html(t.hitokoto),$("#from_text").html(t.from)}).catch(console.error),fetch("https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1").then(t=>t.json()).then(t=>{$("#wea_text").html(t.wea),$("#city_text").html(t.city),$("#tem_night").html(t.tem_night),$("#tem_day").html(t.tem_day)}).catch(console.error);var t=null;t=setTimeout(time,1e3),$("#social").mouseover(function(){$("#social").css({background:"rgb(0 0 0 / 25%)","border-radius":"6px","backdrop-filter":"blur(5px)"}),$("#link-text").css({display:"block"})}).mouseout(function(){$("#social").css({background:"none","border-radius":"6px","backdrop-filter":"none"}),$("#link-text").css({display:"none"})}),$("#github").mouseover(function(){$("#link-text").html("去 Github 看看")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#qq").mouseover(function(){$("#link-text").html("有什么事吗")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#email").mouseover(function(){$("#link-text").html("来封 Email")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#telegram").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#twitter").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")});var shoemore=!1;$("#switchmore").on("click",function(){shoemore=!shoemore,shoemore&&$(document).width()>=990?($("#container").attr("class","container mores"),$("#change").html("Oops !"),$("#change1").html("哎呀,这都被你发现了( 再点击一次可关闭 )")):($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"))}),$("#close").on("click",function(){$("#switchmore").click()});var switchmenu=!1;$("#switchmenu").on("click",function(){switchmenu=!switchmenu,switchmenu?($("#row").attr("class","row menus"),$("#menu").html("")):($("#row").attr("class","row"),$("#menu").html(""))}),$("#openmore").on("click",function(){$("#box").css("display","block"),$("#row").css("display","none"),$("#more").css("cssText","display:none !important")}),$("#closemore").on("click",function(){$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex")}),window.addEventListener("load",function(){window.addEventListener("resize",function(){window.innerWidth>=600&&($("#row").attr("class","row"),$("#menu").html(""),$("#rightone").attr("class","row rightone")),window.innerWidth<=990&&($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"),$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex"))})});var changemore=!1;$("#changemore").on("click",function(){changemore=!changemore,changemore?$("#rightone").attr("class","row menus mobile"):$("#rightone").attr("class","row menus")}),$("#more").hover(function(){$("#close").css("display","block")},function(){$("#close").css("display","none")}),document.oncontextmenu=function(){return iziToast.show({timeout:2e3,iconUrl:"./img/icon/warn.png",message:"为了浏览体验,本站禁用右键"}),!1};var myDate=new Date,mon=myDate.getMonth()+1,date=myDate.getDate(),days=["4.4","5.12","7.7","9.9","9.18","12.13"];for(var day of days){var d=day.split(".");mon==d[0]&&date==d[1]&&(document.write(""),$("#change").html("Silence in silence"),$("#change1").html("今天是中国国家纪念日,全站已切换为黑白模式"),window.addEventListener("load",function(){iziToast.show({timeout:14e3,iconUrl:"./img/icon/candle.png",message:"今天是中国国家纪念日"})},!1))}var styleTitle1="\nfont-size: 20px;\nfont-weight: 600;\ncolor: rgb(244,167,89);\n",styleTitle2="\nfont-size:12px;\ncolor: rgb(244,167,89);\n",styleContent="\ncolor: rgb(30,152,255);\n",title1="無名の主页",title2="\n _____ __ __ _______ ____ __\n|_ _| \\/ |/ ____\\ \\ / /\\ \\ / /\n | | | \\ / | (___ \\ \\_/ / \\ \\_/ / \n | | | |\\/| |\\___ \\ \\ / \\ / \n _| |_| | | |____) | | | | | \n|_____|_| |_|_____/ |_| |_| \n",content="\n版 本 号:2.2\n更新日期:2022-04-12\n\n更新说明:\n1. 新增 壁纸个性化设置\n2. 新增 音乐播放器支持音量控制\n3. 优化 部分动画及细节\n4. 优化 页面加载缓慢\n5. 优化 音乐延迟加载\n\n主页: https://www.imsyy.top\nGithub: https://github.com/imsyy/home\n";console.log(`%c${title1} %c${title2}\n%c${content}`,styleTitle1,styleTitle2,styleContent); \ No newline at end of file +function downloadJSAtOnload(){var t=document.createElement("script");t.src="./js/music.min.js",document.body.appendChild(t)}function time(){clearTimeout(t),dt=new Date;var e=dt.getYear()+1900,n=dt.getMonth()+1,o=dt.getDate(),s=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],i=dt.getDay(),a=dt.getHours(),c=dt.getMinutes(),l=dt.getSeconds();a<10&&(a="0"+a),c<10&&(c="0"+c),l<10&&(l="0"+l),$("#time").html(e+" 年 "+n+" 月 "+o+" 日 "+s[i]+"
"+a+":"+c+":"+l+""),t=setTimeout(time,1e3)}if(iziToast.settings({timeout:1e4,progressBar:!1,close:!1,closeOnEscape:!0,position:"topCenter",transitionIn:"bounceInDown",transitionOut:"flipOutX",displayMode:"replace",layout:"1",backgroundColor:"#00000040",titleColor:"#efefef",messageColor:"#efefef",iconColor:"#efefef"}),window.addEventListener("load",function(){$("#loading-box").attr("class","loaded"),$("#bg").css("cssText","transform: scale(1);filter: blur(0px);transition: ease 1.5s;"),$(".cover").css("cssText","opacity: 1;transition: ease 1.5s;"),$("#section").css("cssText","transform: scale(1) !important;opacity: 1 !important;filter: blur(0px) !important"),setTimeout(function(){iziToast.show({timeout:2500,title:hello,message:"欢迎来到我的主页"})},800)},!1),setTimeout(function(){$("#loading-text").html("字体及文件加载可能需要一定时间")},3e3),window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload,isFirefox=navigator.userAgent.indexOf("Firefox")>0){var head=document.getElementsByTagName("head")[0],link=document.createElement("link");link.href="./css/firefox.css",link.rel="stylesheet",link.type="text/css",head.appendChild(link),window.addEventListener("load",function(){setTimeout(function(){iziToast.show({timeout:8e3,message:"您正在使用火狐浏览器,部分功能可能不支持"})},3800)},!1)}fetch("https://v1.hitokoto.cn?max_length=24").then(t=>t.json()).then(t=>{$("#hitokoto_text").html(t.hitokoto),$("#from_text").html(t.from)}).catch(console.error),fetch("https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1").then(t=>t.json()).then(t=>{$("#wea_text").html(t.wea),$("#city_text").html(t.city),$("#tem_night").html(t.tem_night),$("#tem_day").html(t.tem_day)}).catch(console.error);var t=null;t=setTimeout(time,1e3),$("#social").mouseover(function(){$("#social").css({background:"rgb(0 0 0 / 25%)","border-radius":"6px","backdrop-filter":"blur(5px)"}),$("#link-text").css({display:"block"})}).mouseout(function(){$("#social").css({background:"none","border-radius":"6px","backdrop-filter":"none"}),$("#link-text").css({display:"none"})}),$("#github").mouseover(function(){$("#link-text").html("去 Github 看看")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#qq").mouseover(function(){$("#link-text").html("有什么事吗")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#email").mouseover(function(){$("#link-text").html("来封 Email")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#telegram").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")}),$("#twitter").mouseover(function(){$("#link-text").html("你懂的 ~")}).mouseout(function(){$("#link-text").html("通过这里联系我")});var shoemore=!1;$("#switchmore").on("click",function(){shoemore=!shoemore,shoemore&&$(document).width()>=990?($("#container").attr("class","container mores"),$("#change").html("Oops !"),$("#change1").html("哎呀,这都被你发现了( 再点击一次可关闭 )")):($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"))}),$("#close").on("click",function(){$("#switchmore").click()});var switchmenu=!1;$("#switchmenu").on("click",function(){switchmenu=!switchmenu,switchmenu?($("#row").attr("class","row menus"),$("#menu").html("")):($("#row").attr("class","row"),$("#menu").html(""))}),$("#openmore").on("click",function(){$("#box").css("display","block"),$("#row").css("display","none"),$("#more").css("cssText","display:none !important")}),$("#closemore").on("click",function(){$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex")}),window.addEventListener("load",function(){window.addEventListener("resize",function(){window.innerWidth>=600&&($("#row").attr("class","row"),$("#menu").html(""),$("#rightone").attr("class","row rightone")),window.innerWidth<=990&&($("#container").attr("class","container"),$("#change").html("Hello World !"),$("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"),$("#box").css("display","none"),$("#row").css("display","flex"),$("#more").css("display","flex"))})});var changemore=!1;$("#changemore").on("click",function(){changemore=!changemore,changemore?$("#rightone").attr("class","row menus mobile"):$("#rightone").attr("class","row menus")}),$("#more").hover(function(){$("#close").css("display","block")},function(){$("#close").css("display","none")}),document.oncontextmenu=function(){return iziToast.show({timeout:2e3,iconUrl:"./img/icon/warn.png",message:"为了浏览体验,本站禁用右键"}),!1};var myDate=new Date,mon=myDate.getMonth()+1,date=myDate.getDate(),days=["4.4","5.12","7.7","9.9","9.18","12.13"];for(var day of days){var d=day.split(".");mon==d[0]&&date==d[1]&&(document.write(""),$("#change").html("Silence in silence"),$("#change1").html("今天是中国国家纪念日,全站已切换为黑白模式"),window.addEventListener("load",function(){iziToast.show({timeout:14e3,iconUrl:"./img/icon/candle.png",message:"今天是中国国家纪念日"})},!1))}var styleTitle1="\nfont-size: 20px;\nfont-weight: 600;\ncolor: rgb(244,167,89);\n",styleTitle2="\nfont-size:12px;\ncolor: rgb(244,167,89);\n",styleContent="\ncolor: rgb(30,152,255);\n",title1="無名の主页",title2="\n _____ __ __ _______ ____ __\n|_ _| \\/ |/ ____\\ \\ / /\\ \\ / /\n | | | \\ / | (___ \\ \\_/ / \\ \\_/ / \n | | | |\\/| |\\___ \\ \\ / \\ / \n _| |_| | | |____) | | | | | \n|_____|_| |_|_____/ |_| |_| \n",content="\n版 本 号:2.2\n更新日期:2022-04-12\n\n更新说明:\n1. 新增 壁纸个性化设置\n2. 新增 音乐播放器支持音量控制\n3. 优化 部分动画及细节\n4. 优化 页面加载缓慢\n5. 优化 音乐延迟加载\n\n主页: https://www.imsyy.top\nGithub: https://github.com/imsyy/home\n";console.log(`%c${title1} %c${title2}\n%c${content}`,styleTitle1,styleTitle2,styleContent); \ No newline at end of file