修复一些样式 #10

This commit is contained in:
底层用户 2022-08-23 16:21:53 +08:00
parent 6a3f5315c7
commit a9110e9e35
6 changed files with 7 additions and 26 deletions

View File

View File

@ -32,6 +32,7 @@ body {
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
user-select: none;
font-family: 'MiSans', sans-serif;
}
*,
@ -41,7 +42,6 @@ p {
transition: 0.3s;
color: var(--main-text-color);
user-select: none;
font-family: 'MiSans', sans-serif;
}
section {

1
css/style.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -8,18 +8,17 @@
<title>Snavigation</title>
<link rel="icon" href="favicon.ico">
<!-- jQuery -->
<script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.5.1/jquery.min.js"></script>
<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/jquery/3.6.0/jquery.min.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" type="text/css" href="./css/font.css">
<link rel="stylesheet" type="text/css" href="./css/loading.css">
<link rel="stylesheet" type="text/css" href="./css/mobile.css">
<link rel="stylesheet" type="text/css" href="./css/firefox.css">
<link rel="stylesheet" type="text/css" href="./css/animation.css">
<!-- Izitoast -->
<link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/izitoast/1.4.0/css/iziToast.min.css">
<link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/css/iziToast.min.css">
<script type="text/javascript"
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/izitoast/1.4.0/js/iziToast.min.js">
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/js/iziToast.min.js">
</script>
<!-- IE Out -->
<script>

View File

@ -95,25 +95,7 @@ fetch('https://yiketianqi.com/api?unescape=1&version=v6&appid=43986679&appsecret
$('#tem2').text(data.tem2)
})
.catch(console.error)
//火狐浏览器独立样式
if (isFirefox = navigator.userAgent.indexOf("Firefox") > 0) {
var head = document.getElementsByTagName('head')[0];
var 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: 8000,
message: '您正在使用火狐浏览器,部分功能可能不支持'
});
}, 3800);
}, false)
}
//Tab书签页
$(function () {
$(".mark .tab .tab-item").click(function () {
@ -149,6 +131,7 @@ $(".sou-button").click(function () {
}
});
//鼠标中键点击事件
$(window).mousedown(function (event) {
if (event.button == 1) {
$("#time_text").click();

View File

@ -487,7 +487,7 @@ function closeBox() {
});
//时间下移
$(".tool-all").css({
"transform": 'translateY(-110%)'
"transform": 'translateY(-120%)'
});
//背景模糊
$('#bg').css({