Skip to content

Commit

Permalink
修复一些样式 #10
Browse files Browse the repository at this point in the history
  • Loading branch information
底层用户 committed Aug 23, 2022
1 parent 6a3f531 commit a9110e9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 26 deletions.
Empty file removed css/firefox.css
Empty file.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ body {
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
user-select: none;
font-family: 'MiSans', sans-serif;
}

*,
Expand All @@ -41,7 +42,6 @@ p {
transition: 0.3s;
color: var(--main-text-color);
user-select: none;
font-family: 'MiSans', sans-serif;
}

section {
Expand Down
1 change: 0 additions & 1 deletion css/style.min.css

This file was deleted.

7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
21 changes: 2 additions & 19 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -149,6 +131,7 @@ $(".sou-button").click(function () {
}
});

//鼠标中键点击事件
$(window).mousedown(function (event) {
if (event.button == 1) {
$("#time_text").click();
Expand Down
2 changes: 1 addition & 1 deletion js/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function closeBox() {
});
//时间下移
$(".tool-all").css({
"transform": 'translateY(-110%)'
"transform": 'translateY(-120%)'
});
//背景模糊
$('#bg').css({
Expand Down

1 comment on commit a9110e9

@vercel
Copy link

@vercel vercel bot commented on a9110e9 Aug 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

snavigation – ./

snavigation-imsyy.vercel.app
snavigation-git-master-imsyy.vercel.app
snavigation.vercel.app

Please sign in to comment.