移动端夜间模式调整

This commit is contained in:
结发受长生 2019-05-08 23:25:08 +08:00
parent f64ec5dc6d
commit 1a915a94cb
3 changed files with 9 additions and 11 deletions

View File

@ -1,6 +1,5 @@
<% var defaultBg = '#4d4d4d'; %>
<nav id="mobile-nav"> <nav id="mobile-nav">
<div class="overlay js-overlay" style="background: <%= theme.style && theme.style.header ? theme.style.header : defaultBg %>"></div> <div class="overlay js-overlay" ></div>
<div class="btnctn js-mobile-btnctn"> <div class="btnctn js-mobile-btnctn">
<div class="slider-trigger list" @click="openSlider($event, 'innerArchive')"><i class="icon icon-sort"></i></div> <div class="slider-trigger list" @click="openSlider($event, 'innerArchive')"><i class="icon icon-sort"></i></div>
</div> </div>

View File

@ -20,7 +20,6 @@
.header-author { .header-author {
text-align: center; text-align: center;
margin: 0.67em 0; margin: 0.67em 0;
font-family: Roboto, "Roboto", serif;
font-size: 30px; font-size: 30px;
-webkit-transition: 0.3s; -webkit-transition: 0.3s;
-moz-transition: 0.3s; -moz-transition: 0.3s;

View File

@ -45,15 +45,15 @@ body.night {
// 左侧栏 // 左侧栏
.left-col { .left-col {
background: $articleBg_night; background: $articleBg_night;
.overlay {
background: none;
}
.profilepic { // 头像
filter: brightness(30%);
}
} }
// 看板娘 #mobile-nav {
.waifu { background: none;
}
.overlay {
background: none;
}
// 头像 看板娘
.profilepic, .waifu {
filter: brightness(30%); filter: brightness(30%);
} }
// 评论 // 评论