diff --git a/themes/yilia/layout/layout.ejs b/themes/yilia/layout/layout.ejs
index 8a6dd20..5c681d0 100644
--- a/themes/yilia/layout/layout.ejs
+++ b/themes/yilia/layout/layout.ejs
@@ -7,7 +7,12 @@
<%- partial('_partial/live2d') %>
<%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %>
diff --git a/themes/yilia/source-src/css/grid.scss b/themes/yilia/source-src/css/grid.scss
index 4a07dcf..0c03ff8 100644
--- a/themes/yilia/source-src/css/grid.scss
+++ b/themes/yilia/source-src/css/grid.scss
@@ -20,15 +20,13 @@ html, body, #container {
#container{
position:relative;
min-height:100%;
+ background: linear-gradient(200deg,#5aa5c6,#a4854b);
.anm-canvas {
display: none;
}
- &.show {
- background: linear-gradient(200deg,#5aa5c6,#a4854b);
- .anm-canvas {
- display: block;
- position: fixed;
- }
+ &.show .anm-canvas {
+ display: block;
+ position: fixed;
}
}
.body-wrap{
diff --git a/themes/yilia/source-src/css/mobile.scss b/themes/yilia/source-src/css/mobile.scss
index e55e5e2..01041f9 100644
--- a/themes/yilia/source-src/css/mobile.scss
+++ b/themes/yilia/source-src/css/mobile.scss
@@ -55,25 +55,15 @@
}
.btnctn{
position: fixed;
- width: 50px;
- height: 50px;
z-index: 4;
.slider-trigger{
- position: absolute;
- z-index: 101;
- width: 42px;
- height: 42px;
+ width: 35px;
+ height: 35px;
text-align: center;
- line-height: 50px;
- &.back {
- top: 0;
- left: 0;
- }
- &.list {
- background-color: rgba(100,100,100,0.7)
- }
+ line-height: 40px;
+ background-color: rgba(100,100,100,0.7);
.icon{
- font-size: 24px;
+ font-size: 20px;
color: #fff;
}
}
diff --git a/themes/yilia/source-src/css/night.scss b/themes/yilia/source-src/css/night.scss
index 1e3fa53..ecea14f 100644
--- a/themes/yilia/source-src/css/night.scss
+++ b/themes/yilia/source-src/css/night.scss
@@ -41,7 +41,7 @@ $textColor_night: #d5d5d5; // 文字颜色
body.night {
background: $mainBg_night;
// 展开菜单之后的背景
- #container.show {
+ #container {
background: none;
}
// 主背景