mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
💄 fix(sth): 样式美化
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
@import url("themes/default.css");
|
@import url("themes/default.css");
|
||||||
@import url("themes/dark.css");
|
@import url("themes/dark.css");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 隐藏应用最右边的滚动条
|
||||||
|
* @since Alpha v0.1.4
|
||||||
|
*/
|
||||||
|
html {
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @description 侧边滚动条样式
|
* @description 侧边滚动条样式
|
||||||
* @since Alpha v0.1.3
|
* @since Alpha v0.1.3
|
||||||
@@ -13,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background: #f1f1f1;
|
background: var(--scroll-bg);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @file assets themes light.css
|
* @file assets themes light.css
|
||||||
* @description 主题样式文件
|
* @description 主题样式文件
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.3
|
* @since Alpha v0.1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 主题色 */
|
/* 主题色 */
|
||||||
@@ -10,6 +10,8 @@ html.dark {
|
|||||||
--sidebar-bg: #1e1e1e;
|
--sidebar-bg: #1e1e1e;
|
||||||
--sidebar-icon: #e1e1e1;
|
--sidebar-icon: #e1e1e1;
|
||||||
--page-bg:#2a2a2a;
|
--page-bg:#2a2a2a;
|
||||||
|
--scroll-bg: #393b40;
|
||||||
|
--calendar-btn-bg: #1e1e1e;
|
||||||
--back-top-shadow: #000000;
|
--back-top-shadow: #000000;
|
||||||
--theme-switch-icon: #e1e1e1;
|
--theme-switch-icon: #e1e1e1;
|
||||||
--post-default-text: #faf7e8;
|
--post-default-text: #faf7e8;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @file assets themes dark.css
|
* @file assets themes dark.css
|
||||||
* @description 主题样式文件
|
* @description 主题样式文件
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.3
|
* @since Alpha v0.1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 主题色 */
|
/* 主题色 */
|
||||||
@@ -10,6 +10,8 @@ html.default {
|
|||||||
--sidebar-bg: #485466;
|
--sidebar-bg: #485466;
|
||||||
--sidebar-icon: #ece5d8;
|
--sidebar-icon: #ece5d8;
|
||||||
--page-bg:#ece5d8;
|
--page-bg:#ece5d8;
|
||||||
|
--scroll-bg: #f1f1f1;
|
||||||
|
--calendar-btn-bg: #393b40;
|
||||||
--back-top-shadow: #546d8b;
|
--back-top-shadow: #546d8b;
|
||||||
--theme-switch-icon: #393b40;
|
--theme-switch-icon: #393b40;
|
||||||
--post-default-text: #1e1e1e;
|
--post-default-text: #1e1e1e;
|
||||||
|
|||||||
@@ -12,8 +12,9 @@
|
|||||||
class="calendar-btn"
|
class="calendar-btn"
|
||||||
:style="{
|
:style="{
|
||||||
border: text.week === weekNow ? '2px solid var(--btn-bg-1)' : '0',
|
border: text.week === weekNow ? '2px solid var(--btn-bg-1)' : '0',
|
||||||
background: text.week === btnNow ? 'var(--btn-bg-1)' : 'var(--btn-bg-2)',
|
background: text.week === btnNow ? 'var(--btn-bg-1)' : 'var(--calendar-btn-bg)',
|
||||||
color: '#faf7e8'
|
color: '#faf7e8',
|
||||||
|
marginBottom: '1px'
|
||||||
}"
|
}"
|
||||||
@click="getContents(text.week)"
|
@click="getContents(text.week)"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user