mirror of
https://github.com/caojiezi2003/Snavigation.git
synced 2024-11-10 06:39:45 +00:00
修复一些样式 #10
This commit is contained in:
parent
6a3f5315c7
commit
a9110e9e35
@ -32,6 +32,7 @@ body {
|
|||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
font-family: 'MiSans', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
@ -41,7 +42,6 @@ p {
|
|||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
color: var(--main-text-color);
|
color: var(--main-text-color);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
font-family: 'MiSans', sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
1
css/style.min.css
vendored
1
css/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -8,18 +8,17 @@
|
|||||||
<title>Snavigation</title>
|
<title>Snavigation</title>
|
||||||
<link rel="icon" href="favicon.ico">
|
<link rel="icon" href="favicon.ico">
|
||||||
<!-- jQuery -->
|
<!-- 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/style.css">
|
||||||
<link rel="stylesheet" type="text/css" href="./css/font.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/loading.css">
|
||||||
<link rel="stylesheet" type="text/css" href="./css/mobile.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">
|
<link rel="stylesheet" type="text/css" href="./css/animation.css">
|
||||||
<!-- Izitoast -->
|
<!-- 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"
|
<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>
|
</script>
|
||||||
<!-- IE Out -->
|
<!-- IE Out -->
|
||||||
<script>
|
<script>
|
||||||
|
19
js/main.js
19
js/main.js
@ -96,24 +96,6 @@ fetch('https://yiketianqi.com/api?unescape=1&version=v6&appid=43986679&appsecret
|
|||||||
})
|
})
|
||||||
.catch(console.error)
|
.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书签页
|
//Tab书签页
|
||||||
$(function () {
|
$(function () {
|
||||||
$(".mark .tab .tab-item").click(function () {
|
$(".mark .tab .tab-item").click(function () {
|
||||||
@ -149,6 +131,7 @@ $(".sou-button").click(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//鼠标中键点击事件
|
||||||
$(window).mousedown(function (event) {
|
$(window).mousedown(function (event) {
|
||||||
if (event.button == 1) {
|
if (event.button == 1) {
|
||||||
$("#time_text").click();
|
$("#time_text").click();
|
||||||
|
Loading…
Reference in New Issue
Block a user