diff options
| author | Track3 <pengliabc@live.cn> | 2018-12-31 14:29:07 +0800 |
|---|---|---|
| committer | Track3 <pengliabc@live.cn> | 2018-12-31 14:29:07 +0800 |
| commit | 1e25d7d93ed24a671ed87da7ce6a98865a1cb3cb (patch) | |
| tree | 6a4604af4370b3b4f2ba687cb5f9593edff1683d /assets | |
| parent | fbf51b713ef499a1bcc6637861652eba3ec1073e (diff) | |
| download | hermit-1e25d7d93ed24a671ed87da7ce6a98865a1cb3cb.tar.gz | |
Minor style improvements
* Get rid of inline style for mobile menu (#22)
* Improve background image & post meta link style
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/scss/style.scss | 12 |
1 files changed, 6 insertions, 6 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 { |
