From b97cd8cdbca87847c0cae25b6663d0038a023588 Mon Sep 17 00:00:00 2001 From: Dillon ZENG Date: Sat, 23 Nov 2019 16:22:42 +0800 Subject: [PATCH] feat(layout): add animation for title and some style changed --- assets/css/_page/_post.scss | 2 +- assets/css/_partial/_navbar.scss | 7 ++++++- layouts/partials/header.html | 7 +++++-- .../style.scss_b95b077eb505d5c0aff8055eaced30ad.content | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/assets/css/_page/_post.scss b/assets/css/_page/_post.scss index de540fa..ce9b87f 100644 --- a/assets/css/_page/_post.scss +++ b/assets/css/_page/_post.scss @@ -1,7 +1,7 @@ /** Post **/ .post-title { margin: 0 !important; - font-size: 2rem; + font-size: 1.8rem; line-height: 3rem; } diff --git a/assets/css/_partial/_navbar.scss b/assets/css/_partial/_navbar.scss index ca90d14..7b006f6 100644 --- a/assets/css/_partial/_navbar.scss +++ b/assets/css/_partial/_navbar.scss @@ -20,6 +20,7 @@ .navbar-header a { padding: 0 8px; + font-size: 20px; i { line-height: 2em; @@ -65,6 +66,10 @@ padding-left: 1em; box-sizing: border-box; + .navbar-header-title { + font-size: 20px; + } + .menu-toggle { cursor: pointer; line-height: 4.5em; @@ -72,7 +77,7 @@ span { display: block; background: #000; - width: 36px; + width: 24px; height: 2px; -webkit-border-radius: 3px; -moz-border-radius: 3px; diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 34f589a..6f6843c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@