From cf9a162f0ce44e43639ba3aa3f7828c983595169 Mon Sep 17 00:00:00 2001 From: Aiden X Date: Wed, 16 Sep 2020 00:00:44 +0800 Subject: page: add terms --- assets/scss/_dark.scss | 5 ++++- assets/scss/_taxonomy.scss | 24 ++++++++++++++++++++++++ assets/scss/less.scss | 4 +++- layouts/_default/single.html | 2 +- layouts/_default/terms.html | 18 +++++++++++++++++- 5 files changed, 49 insertions(+), 4 deletions(-) diff --git a/assets/scss/_dark.scss b/assets/scss/_dark.scss index 584b4a4..06a70c1 100644 --- a/assets/scss/_dark.scss +++ b/assets/scss/_dark.scss @@ -16,7 +16,10 @@ } .post-title, - .single-title { + .single-title, + .nav-menu a, + .terms h2, + .terms a { color: #d0d0d0; } diff --git a/assets/scss/_taxonomy.scss b/assets/scss/_taxonomy.scss index 697615b..fefff81 100644 --- a/assets/scss/_taxonomy.scss +++ b/assets/scss/_taxonomy.scss @@ -4,3 +4,27 @@ color: #909090; font-family: "Monda", -apple-system, sans-serif; } + +.terms { + h2 { + font-size: 24px; + margin-bottom: 30px; + } + + li { + margin-bottom: 15px; + } + + a { + font-size: 18px; + text-decoration: none; + color: #161816; + &:hover { + text-decoration: underline; + } + + span { + color: #a0a0a0; + } + } +} diff --git a/assets/scss/less.scss b/assets/scss/less.scss index 884e8ab..b7f87f2 100644 --- a/assets/scss/less.scss +++ b/assets/scss/less.scss @@ -66,6 +66,7 @@ body { .main { padding-top: 40px; max-width: 100%; + min-height: calc(100% - 160px); } a { @@ -95,7 +96,8 @@ a { font-size: 12px; } -.post-title { +.post-title, +h2 { 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; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 31e3d1f..3227c32 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -19,7 +19,7 @@