From 05b8ce254b0d19c7d9d76ba19ec2c0bd036d3f5e Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 19 Aug 2021 23:37:44 +0800 Subject: [PATCH] css --- layout/_partial/sidebar/header.ejs | 3 --- source/css/_layout/layout.styl | 2 +- source/css/_layout/main.styl | 5 ----- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/layout/_partial/sidebar/header.ejs b/layout/_partial/sidebar/header.ejs index 1568e35..c0278e6 100644 --- a/layout/_partial/sidebar/header.ejs +++ b/layout/_partial/sidebar/header.ejs @@ -29,9 +29,6 @@ function layoutDiv() { el += ' mobile-only'; } el += '">'; - if (where == 'main') { - el += ''; - } el += partial('logo'); if (where != 'main') { if (page.layout === 'wiki' && page.wiki) { diff --git a/source/css/_layout/layout.styl b/source/css/_layout/layout.styl index 6f85242..e452e6b 100644 --- a/source/css/_layout/layout.styl +++ b/source/css/_layout/layout.styl @@ -22,7 +22,7 @@ // iPad 竖屏 @media screen and (max-width: $device-tablet) .mobile-only - display: flex !important + display: block !important .l_body padding: 0 .l_left diff --git a/source/css/_layout/main.styl b/source/css/_layout/main.styl index ccf102c..96d41b6 100644 --- a/source/css/_layout/main.styl +++ b/source/css/_layout/main.styl @@ -8,10 +8,5 @@ padding-top: "calc(2 * %s)" % var(--gap-l) header margin: 3rem 1rem 2rem - .sidebar-toggle - margin-right: .5rem - font-size: 1.25rem - background: none - color: var(--text-p1) .logo-wrap margin: 0