diff --git a/assets/css/joe.mode.css b/assets/css/joe.mode.css index 1efa03a..42eb237 100644 --- a/assets/css/joe.mode.css +++ b/assets/css/joe.mode.css @@ -1 +1 @@ -html{--theme: #409eff;--background: #fff;--main: #303133;--routine: #606266;--minor: #909399;--seat: #c0c4cc;--classA: #dcdfe6;--classB: #e4e7ed;--classC: #ebeef5;--classD: #f2f6fc;--radius-wrap: 8px;--radius-inner: 4px;--text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);--box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22)}html[data-night='night']{--background: #333;--theme: #54b5db;--main: #808080;--routine: #7b7b7b;--minor: #6d6d6d;--seat: #666;--classA: #444;--classB: #444;--classC: #444;--classD: #444;--text-shadow: none;--box-shadow: none}html[data-night='night'] body::before{background:#202122;z-index:-500}html[data-night='night'] .joe_header__above-logo img{display:none}html[data-night='night'] .joe_header__above-logo svg{display:block} +html{--theme: #409eff;--background: #fff;--main: #303133;--routine: #606266;--minor: #909399;--seat: #c0c4cc;--classA: #dcdfe6;--classB: #e4e7ed;--classC: #ebeef5;--classD: #f2f6fc;--radius-wrap: 8px;--radius-inner: 4px;--text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);--box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22)}html[data-night='night'] body{--theme: #54b5db;--background: #333;--main: #717273;--routine: #696969;--minor: #606060;--seat: #666;--classA: #515253;--classB: #454545;--classC: #414243;--classD: #404040;--text-shadow: none;--box-shadow: none}html[data-night='night'] body::before{background:#121212;z-index:-500}html[data-night='night'] .joe_header__above-logo img{display:none}html[data-night='night'] .joe_header__above-logo svg{display:block} diff --git a/assets/css/joe.mode.scss b/assets/css/joe.mode.scss index 9c5a28d..93f9f09 100644 --- a/assets/css/joe.mode.scss +++ b/assets/css/joe.mode.scss @@ -17,26 +17,27 @@ html { --box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22); } -/* 黑夜模式的配色方案是我随便写的一套,您可以修改配色成您的一套方案 */ -html[data-night='night'] { - --background: #333; +/* 黑夜模式的配色方案 */ +html[data-night='night'] body { --theme: #54b5db; - --main: #808080; - --routine: #7b7b7b; - --minor: #6d6d6d; + --background: #333; + --main: #717273; + --routine: #696969; + --minor: #606060; --seat: #666; - --classA: #444; - --classB: #444; - --classC: #444; - --classD: #444; + --classA: #515253; + --classB: #454545; + --classC: #414243; + --classD: #404040; --text-shadow: none; --box-shadow: none; } /* 此处用于修改黑夜模式下没有覆盖到的小地方的样式 */ html[data-night='night'] { + /* 这里务必不能修改!!! */ body::before { - background: #202122; + background: #121212; z-index: -500; } .joe_header__above-logo img { @@ -45,4 +46,5 @@ html[data-night='night'] { .joe_header__above-logo svg { display: block; } + /* 自定义的样式,写在这个下面 */ } diff --git a/core/function.php b/core/function.php index d527582..050e3a5 100644 --- a/core/function.php +++ b/core/function.php @@ -3,7 +3,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "5.3.9"; + return "5.4.0"; }; /* 判断是否是手机 */ diff --git a/public/include.php b/public/include.php index d267f1a..5f3cc09 100644 --- a/public/include.php +++ b/public/include.php @@ -12,7 +12,7 @@ BIRTHDAY: 'options->JBirthDay() ?>', } function detectIE(){var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0){return parseInt(n.substring(e+5,n.indexOf(".",e)),10)}if(n.indexOf("Trident/")>0){var r=n.indexOf("rv:");return parseInt(n.substring(r+3,n.indexOf(".",r)),10)}var i=n.indexOf("Edge/");return i>0&&parseInt(n.substring(i+5,n.indexOf(".",i)),10)}; - detectIE() && (alert('当前站点不支持IE浏览器或您开启了兼容模式,请使用其他浏览器访问或关闭兼容模式。'), (location.href = 'https://www.baidu.com')) + detectIE() && (alert('当前站点不支持IE浏览器或您开启了兼容模式,请使用其他浏览器访问或关闭兼容模式。'), (location.href = 'https://www.baidu.com'))