diff options
author | Aiden X <caichao.xu@gmail.com> | 2020-09-14 16:04:29 +0300 |
---|---|---|
committer | Aiden X <caichao.xu@gmail.com> | 2020-09-14 16:04:29 +0300 |
commit | 40afeee2aa91b0d2dd87817dfbd2f20f98eeef86 (patch) | |
tree | 7d02837556b84ed4f3ce19f78e329b34e1635ce4 /assets | |
parent | 79562851b49fcabdff8cd2db35071a9d8786ea43 (diff) |
page: add menu func
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/_single.scss | 22 | ||||
-rw-r--r-- | assets/scss/_taxonomy.scss | 6 | ||||
-rw-r--r-- | assets/scss/less.scss | 1 |
3 files changed, 24 insertions, 5 deletions
diff --git a/assets/scss/_single.scss b/assets/scss/_single.scss index b577f13..1989361 100644 --- a/assets/scss/_single.scss +++ b/assets/scss/_single.scss @@ -3,10 +3,15 @@ line-height: 2; color: #4C4E4D; font-size: 16px; + display: flex; + + .single-body { + max-width: 100%; + } .single-title { line-height: 1.2; - margin-bottom: 20px; + margin-bottom: 10px; font-size: 30px; font-weight: 500; font-family: 'Monda', -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, Arial, sans-serif; @@ -23,10 +28,13 @@ border-radius: 2px; padding: 20px; overflow: auto; - line-height: 1.4; - + line-height: 1.6; + background: #111115 !important; + code { font-size: 14px; + white-space: inherit; + word-break: inherit; } } @@ -70,8 +78,13 @@ } .single-date { - margin-right: 10px; color: #a0a0a0; + margin-bottom: 10px; +} + +.single-tag { + font-size: 14px; + margin-right: 10px; } .single-toc { @@ -82,7 +95,6 @@ color: #909090; position: fixed; top: 50%; - right: 0; transform: translate(0, -50%); @include mobile { diff --git a/assets/scss/_taxonomy.scss b/assets/scss/_taxonomy.scss new file mode 100644 index 0000000..7871ca3 --- /dev/null +++ b/assets/scss/_taxonomy.scss @@ -0,0 +1,6 @@ +.taxonomy-name { + font-size: 20px; + margin-bottom: 50px; + color: #909090; + font-family: 'Monda', -apple-system, sans-serif; +}
\ No newline at end of file diff --git a/assets/scss/less.scss b/assets/scss/less.scss index bc44603..ccf35ce 100644 --- a/assets/scss/less.scss +++ b/assets/scss/less.scss @@ -13,6 +13,7 @@ $container-max-widths: (md: 800px,); @import "heaader"; @import "single"; @import "footer"; +@import "taxonomy"; @include container($breakpoints: $breakpoints); @include row(); |