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

View File

@ -1,4 +1,4 @@
@charset"utf-8"; @charset "utf-8";
/*小于1400px时*/ /*小于1400px时*/
@media (max-width: 1400px) {} @media (max-width: 1400px) {}

View File

@ -214,6 +214,15 @@ i.iconfont.icon-yinhao-copy {
font-size: 1.10rem; 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 { .hitokoto-from {
margin-top: 10px; margin-top: 10px;
font-weight: bold; font-weight: bold;
@ -462,6 +471,11 @@ span.link-name {
font-size: 1.15rem; font-size: 1.15rem;
} }
i.iconfont.icon-a-daohangzhiyindingwei-05,
i.iconfont.icon-z_shangpinheji {
font-size: 2rem;
}
/*更多页面*/ /*更多页面*/
.more { .more {
display: none !important; 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> class="weekday">星期一</span><br><span class="time-text">00:00:00</span>
</div> </div>
<div class="weather"> <div class="weather">
<span id="city_text">天气</span>&nbsp;<span <span id="city_text">天气</span>&nbsp;
id="wea_text">加载失败</span>&nbsp;<span id="tem_night">N/A</span>°C~<span <span id="wea_text">加载失败</span>&nbsp;
id="tem_day">N/A</span>°C&nbsp;<span id="win_text"></span><span <span id="tem_night"></span>°C~
id="win_speed"></span> <span id="tem_day"></span>°C&nbsp;
<span id="win_text"></span>
<span id="win_speed"></span>
</div> </div>
</div> </div>
</div> </div>
@ -212,26 +214,26 @@
<!--第二组--> <!--第二组-->
<div class="row" style="margin-top: 1.5rem;"> <div class="row" style="margin-top: 1.5rem;">
<div class="col"> <div class="col">
<a href="https://lab.imsyy.top/" target="_blank"> <a href="https://nav.imsyy.top/" target="_blank">
<div class="link-card cards"> <div class="link-card cards">
<i class="iconfont icon-lab"></i> <i class="iconfont icon-a-daohangzhiyindingwei-05"></i>
<span class="link-name">实验室</span> <span class="link-name">起始页</span>
</div> </div>
</a> </a>
</div> </div>
<div class="col 2"> <div class="col 2">
<a href="https://web.imsyy.top/" target="_blank"> <a href="https://web.imsyy.top/" target="_blank">
<div class="link-card cards"> <div class="link-card cards">
<i class="iconfont icon-navigation1"></i> <i class="iconfont icon-z_shangpinheji"></i>
<span class="link-name">网址导航</span> <span class="link-name">网址</span>
</div> </div>
</a> </a>
</div> </div>
<div class="col"> <div class="col">
<a href="https://photo.imsyy.top/" target="_blank"> <a href="https://lab.imsyy.top/" target="_blank">
<div class="link-card cards"> <div class="link-card cards">
<i class="iconfont icon-photo"></i> <i class="iconfont icon-lab"></i>
<span class="link-name">相册</span> <span class="link-name">实验室</span>
</div> </div>
</a> </a>
</div> </div>
@ -312,9 +314,9 @@
</div> </div>
<div class="row" style="margin-top: 1.5rem;"> <div class="row" style="margin-top: 1.5rem;">
<div class="col"> <div class="col">
<a href="https://img.imsyy.top/" target="_blank"> <a href="https://photo.imsyy.top/" target="_blank">
<div class="link-card cards"> <div class="link-card cards">
<span class="link-name">图片站</span> <span class="link-name">时光相册</span>
</div> </div>
</a> </a>
</div> </div>

View File

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