diff --git a/css/mobile.css b/css/mobile.css index 4dd843d..06dd040 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -177,12 +177,12 @@ span.link-name { display: block !important; - font-size: 1.05rem; + font-size: 0.95rem; } span.line-text, i.iconfont.icon-link { - font-size: 1.20rem; + font-size: 1.05rem; } /*菜单栏按钮*/ @@ -212,16 +212,29 @@ font-size: 0.85rem; } - /*一言边距*/ + /*一言*/ .col.hitokotos { margin-right: 0rem; } + .hitokoto-text, + .hitokoto-from { + font-size: 1.05rem; + } + /*音乐播放器*/ .music-text { max-width: 100% !important; } + #music-name { + font-size: 1.05rem; + } + + #music-open { + display: none; + } + /*隐藏鼠标样式*/ #cursor { background: transparent !important; diff --git a/css/style.css b/css/style.css index d250a40..5673322 100644 --- a/css/style.css +++ b/css/style.css @@ -576,7 +576,7 @@ span.link-name { } .upnote { - margin-top: 2rem; + margin-top: 1rem; margin-left: 2rem; display: flex; flex-direction: column; @@ -584,6 +584,10 @@ span.link-name { font-size: 1.10rem; } +.uptext i { + font-size: 1.25rem; +} + .closebox { left: auto; top: 10px; @@ -616,7 +620,16 @@ i.iconfont.icon-github1 { } .aplayer.aplayer-withlrc .aplayer-pic { - border-radius: 6px !important; + display: none; +} + +.aplayer.aplayer-withlrc .aplayer-info { + margin-left: 0px !important; +} + +.aplayer.aplayer-withlrc .aplayer-info { + background-color: #ffffff26; + border-radius: 6px; } /*歌曲名称*/ @@ -625,17 +638,13 @@ i.iconfont.icon-github1 { } /*音乐列表*/ -.aplayer.aplayer-withlist .aplayer-list { - margin-top: 8px; -} - .aplayer .aplayer-list ol li.aplayer-list-light { - background: #ffffff57 !important; + background: #ffffff26 !important; border-radius: 6px !important; } .aplayer .aplayer-list ol li:hover { - background: #ffffff57 !important; + background: #ffffff26 !important; border-radius: 6px !important; } @@ -662,6 +671,11 @@ i.iconfont.icon-github1 { 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; @@ -735,6 +749,10 @@ footer { line-height: 18px !important; } +.iziToast>.iziToast-body .iziToast-message { + margin: 6px 0px 4px 0px !important; +} + .iziToast:after { box-shadow: none !important; } diff --git a/index.html b/index.html index 091a294..5309815 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,6 @@ - @@ -153,7 +152,7 @@
- @@ -346,7 +345,7 @@
imsyy - .top + .top
  v 1.6 @@ -390,7 +389,6 @@ - diff --git a/js/main.js b/js/main.js index 348b6c9..3875e09 100644 --- a/js/main.js +++ b/js/main.js @@ -20,6 +20,20 @@ else if (window.attachEvent) window.attachEvent("onload", downloadJSAtOnload); else window.onload = downloadJSAtOnload; +//新春灯笼 ( 需要时取消注释 ) +/* +new_element=document.createElement("link"); +new_element.setAttribute("rel","stylesheet"); +new_element.setAttribute("type","text/css"); +new_element.setAttribute("href","./css/lantern.css"); +document.body.appendChild(new_element); + +new_element=document.createElement("script"); +new_element.setAttribute("type","text/javascript"); +new_element.setAttribute("src","./js/lantern.js"); +document.body.appendChild(new_element); +*/ + //弹窗样式 iziToast.settings({ timeout: 10000, @@ -42,12 +56,14 @@ if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) { link.rel = 'stylesheet'; link.type = 'text/css'; head.appendChild(link); - iziToast.info({ - timeout: 8000, - iconUrl: './img/warn.png', - title: '兼容提醒', - message: '您正在使用火狐浏览器,部分功能可能不支持' - }); + window.addEventListener('load', function () { + iziToast.info({ + timeout: 8000, + iconUrl: './img/warn.png', + title: '兼容提醒', + message: '您正在使用火狐浏览器,部分功能可能不支持' + }); + }, false) } //获取一言 @@ -165,12 +181,10 @@ $('#switchmore').on('click', function () { //更多页面关闭按钮 $('#close').on('click', function () { - $('#container').attr('class', 'container'); - $("#change").html("Hello World !"); - $("#change1").html("一个建立于 21 世纪的小站,存活于互联网的边缘"); + $('#switchmore').click(); }); -//菜单栏切换 +//移动端菜单栏切换 var switchmenu = false; $('#switchmenu').on('click', function () { switchmenu = !switchmenu; @@ -241,7 +255,7 @@ $("#more").hover(function () { //屏蔽右键 document.oncontextmenu = function () { iziToast.info({ - timeout: 4000, + timeout: 400000, iconUrl: './img/warn.png', title: '温馨提醒', message: '为了浏览体验,本站禁用右键' @@ -261,13 +275,15 @@ for (var day of days) { '' ) $("#change").html("Silence in silence"); - $("#change1").html("今天是国家纪念日,全站已切换为黑白模式"); - iziToast.info({ - timeout: 14000, - iconUrl: './img/candle.png', - title: '今天是国家纪念日', - message: '历史不会忘记,人民永远铭记!' - }); + $("#change1").html("今天是中国国家纪念日,全站已切换为黑白模式"); + window.addEventListener('load', function () { + iziToast.info({ + timeout: 14000, + iconUrl: './img/candle.png', + title: '今天是中国国家纪念日', + message: '历史不会忘记,人民永远铭记!' + }); + }, false); } }