From 1e25d7d93ed24a671ed87da7ce6a98865a1cb3cb Mon Sep 17 00:00:00 2001 From: Track3 Date: Mon, 31 Dec 2018 14:29:07 +0800 Subject: [PATCH] Minor style improvements * Get rid of inline style for mobile menu (#22) * Improve background image & post meta link style --- assets/scss/style.scss | 12 ++++++------ layouts/partials/header.html | 2 +- ...yle.scss_c16d144eee185fbddd582cd5e25a4fae.content | 2 +- .../style.scss_c16d144eee185fbddd582cd5e25a4fae.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/assets/scss/style.scss b/assets/scss/style.scss index bcf4533..f8ea1d9 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -252,6 +252,7 @@ table { position: fixed; bottom: 4.8em; right: 1.5em; + display: none; padding: .6em 1.8em; z-index: 1; box-sizing: border-box; @@ -398,7 +399,6 @@ p.img-404 { } } - // list.html // .posts-group { @@ -418,7 +418,6 @@ p.img-404 { margin: 0; padding: 0; list-style: none; - } .post-item { @@ -442,12 +441,13 @@ p.img-404 { // single.html // .bg-img { - width: 100%; - height: 100%; + width: 100vw; + height: 100vh; opacity: .03; z-index: -1; position: fixed; top: 0; + cursor: pointer; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; @@ -575,8 +575,8 @@ hr.post-end { margin: .8em 0; } - a { - text-decoration: underline; + a:hover { + border-bottom: 1px solid $theme; } svg { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d89b018..ae1a9a8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,7 +24,7 @@ -