feat(compatibility): improve compatibility for Hugo basic version (#352)

This commit is contained in:
Dillon
2020-05-13 00:45:19 +08:00
committed by GitHub
parent 6aa05a7f3e
commit 762a7e538d
26 changed files with 230 additions and 214 deletions

View File

@@ -142,10 +142,14 @@ header {
#header-desktop {
display: block;
position: $header-position-desktop;
position: fixed;
height: $header-height;
line-height: $header-height;
[header-desktop=normal] & {
position: static;
}
.header-wrapper {
padding: 0 2rem 0 10vh;
@@ -203,10 +207,14 @@ header {
#header-mobile {
display: none;
position: $header-position-mobile;
position: fixed;
height: $header-height;
line-height: $header-height;
[header-mobile=normal] & {
position: static;
}
.header-container {
padding: 0;
margin: 0;