Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAiden X <caichao.xu@gmail.com>2020-09-15 19:00:44 +0300
committerAiden X <caichao.xu@gmail.com>2020-09-15 19:00:44 +0300
commitcf9a162f0ce44e43639ba3aa3f7828c983595169 (patch)
treeb892e155b1fcde73b6ea5902af1d77f6eaa6622e /assets
parent09650d7d0bd215ab5da9d8dbbc7cdc91b9aec6f7 (diff)
page: add terms
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/_dark.scss5
-rw-r--r--assets/scss/_taxonomy.scss24
-rw-r--r--assets/scss/less.scss4
3 files changed, 31 insertions, 2 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;