This commit is contained in:
底层用户 2022-03-21 17:29:30 +08:00
parent bee5fe6465
commit 1ac1c05022
10 changed files with 50 additions and 26 deletions

View File

@ -16,9 +16,9 @@
@font-face {
font-family: "iconfont";
/* Project id 2831425 */
src: url('../font/font_2831425_x34rhwyvdnp.woff2') format('woff2'),
url('../font/font_2831425_x34rhwyvdnp.woff') format('woff'),
url('../font/font_2831425_x34rhwyvdnp.ttf') format('truetype');
src: url('../font/iconfont.woff2') format('woff2'),
url('../font/iconfont.woff') format('woff'),
url('../font/iconfont.ttf') format('truetype');
}
.iconfont {
@ -29,6 +29,14 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-z_shangpinheji:before {
content: "\e683";
}
.icon-a-daohangzhiyindingwei-05:before {
content: "\e970";
}
.icon-volume-x:before {
content: "\e67a";
}

View File

@ -214,6 +214,15 @@ i.iconfont.icon-yinhao-copy {
font-size: 1.10rem;
}
#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: bold;
@ -462,6 +471,11 @@ 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;

Binary file not shown.

Binary file not shown.

BIN
font/iconfont.woff Normal file

Binary file not shown.

BIN
font/iconfont.woff2 Normal file

Binary file not shown.

View File

@ -167,10 +167,12 @@
class="weekday">星期一</span><br><span class="time-text">00:00:00</span>
</div>
<div class="weather">
<span id="city_text">天气</span>&nbsp;<span
id="wea_text">加载失败</span>&nbsp;<span id="tem_night">N/A</span>°C~<span
id="tem_day">N/A</span>°C&nbsp;<span id="win_text"></span><span
id="win_speed"></span>
<span id="city_text">天气</span>&nbsp;
<span id="wea_text">加载失败</span>&nbsp;
<span id="tem_night"></span>°C~
<span id="tem_day"></span>°C&nbsp;
<span id="win_text"></span>
<span id="win_speed"></span>
</div>
</div>
</div>
@ -212,26 +214,26 @@
<!--第二组-->
<div class="row" style="margin-top: 1.5rem;">
<div class="col">
<a href="https://lab.imsyy.top/" target="_blank">
<a href="https://nav.imsyy.top/" target="_blank">
<div class="link-card cards">
<i class="iconfont icon-lab"></i>
<span class="link-name">实验室</span>
<i class="iconfont icon-a-daohangzhiyindingwei-05"></i>
<span class="link-name">起始页</span>
</div>
</a>
</div>
<div class="col 2">
<a href="https://web.imsyy.top/" target="_blank">
<div class="link-card cards">
<i class="iconfont icon-navigation1"></i>
<span class="link-name">网址导航</span>
<i class="iconfont icon-z_shangpinheji"></i>
<span class="link-name">网址</span>
</div>
</a>
</div>
<div class="col">
<a href="https://photo.imsyy.top/" target="_blank">
<a href="https://lab.imsyy.top/" target="_blank">
<div class="link-card cards">
<i class="iconfont icon-photo"></i>
<span class="link-name">相册</span>
<i class="iconfont icon-lab"></i>
<span class="link-name">实验室</span>
</div>
</a>
</div>
@ -312,9 +314,9 @@
</div>
<div class="row" style="margin-top: 1.5rem;">
<div class="col">
<a href="https://img.imsyy.top/" target="_blank">
<a href="https://photo.imsyy.top/" target="_blank">
<div class="link-card cards">
<span class="link-name">图片站</span>
<span class="link-name">时光相册</span>
</div>
</a>
</div>

View File

@ -83,8 +83,8 @@ if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) {
fetch('https://v1.hitokoto.cn?max_length=24')
.then(response => response.json())
.then(data => {
$('#hitokoto_text').text(data.hitokoto)
$('#from_text').text(data.from)
$('#hitokoto_text').html(data.hitokoto)
$('#from_text').html(data.from)
})
.catch(console.error)
@ -94,12 +94,12 @@ fetch('https://v1.hitokoto.cn?max_length=24')
fetch('https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1')
.then(response => response.json())
.then(data => {
$('#wea_text').text(data.wea)
$('#city_text').text(data.city)
$('#tem_night').text(data.tem_night)
$('#tem_day').text(data.tem_day)
$('#win_text').text(data.win)
$('#win_speed').text(data.win_speed)
$('#wea_text').html(data.wea)
$('#city_text').html(data.city)
$('#tem_night').html(data.tem_night)
$('#tem_day').html(data.tem_day)
$('#win_text').html(data.win)
$('#win_speed').html(data.win_speed)
})
.catch(console.error)