-
- {% if site.data.right.license %}
+ {% if site.data.rights.license %}
{% endif %}
diff --git a/_posts/2019-08-08-text-and-typography.md b/_posts/2019-08-08-text-and-typography.md
index 4d2938ed7ea..a149e8f8ac5 100644
--- a/_posts/2019-08-08-text-and-typography.md
+++ b/_posts/2019-08-08-text-and-typography.md
@@ -1,5 +1,6 @@
---
-title: "Text and Typography"
+title: Text and Typography
+author: Cotes Chung
date: 2019-08-08 11:33:00 +0800
categories: [Blogging, Demo]
tags: [typography]
diff --git a/_posts/2019-08-08-write-a-new-post.md b/_posts/2019-08-08-write-a-new-post.md
index 67dd2e9a999..138da40f41a 100644
--- a/_posts/2019-08-08-write-a-new-post.md
+++ b/_posts/2019-08-08-write-a-new-post.md
@@ -1,5 +1,6 @@
---
-title: "Writing a New Post"
+title: Writing a New Post
+author: Cotes Chung
date: 2019-08-08 14:10:00 +0800
categories: [Blogging, Tutorial]
tags: [writing]
diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md
index 579349e8422..63944751696 100644
--- a/_posts/2019-08-09-getting-started.md
+++ b/_posts/2019-08-09-getting-started.md
@@ -1,5 +1,6 @@
---
title: Getting Started
+author: Cotes Chung
date: 2019-08-09 20:55:00 +0800
categories: [Blogging, Tutorial]
tags: [getting started]
diff --git a/_posts/2019-08-11-customize-the-favicon.md b/_posts/2019-08-11-customize-the-favicon.md
index 457cf1d0466..ce347528805 100644
--- a/_posts/2019-08-11-customize-the-favicon.md
+++ b/_posts/2019-08-11-customize-the-favicon.md
@@ -1,5 +1,6 @@
---
-title: "Customize the Favicon"
+title: Customize the Favicon
+author: Cotes Chung
date: 2019-08-11 00:34:00 +0800
categories: [Blogging, Tutorial]
tags: [favicon]
diff --git a/assets/css/main.scss b/assets/css/main.scss
index 8dd1670a206..7eaf1021ab7 100644
--- a/assets/css/main.scss
+++ b/assets/css/main.scss
@@ -752,9 +752,6 @@ a {
@extend %no-bottom-border;
}
}
- .license-wrapper .license-text &:hover {
- @extend %link-hover;
- }
} // a
@@ -857,13 +854,14 @@ table {
min-width: 2rem;
text-align: center;
background: var(--tag-bg);
- border-radius: .34rem;
+ border-radius: .3rem;
padding: 0 .4rem;
color: #818182;
- line-height: 1.6rem;
- &:not(:first-child) {
- margin-left: .2rem;
+ line-height: 1.3rem;
+ &:not(:last-child) {
+ margin-right: .2rem;
}
+
&:hover {
@extend %tag-hover;
border-bottom: none;
diff --git a/assets/css/post.scss b/assets/css/post.scss
index 0074761cb4a..40b216e2dbf 100644
--- a/assets/css/post.scss
+++ b/assets/css/post.scss
@@ -8,6 +8,7 @@
MIT License
*/
@import "_addon/variables";
+@import "_addon/module";
$prompt-older: "{{ site.data.label.post.button.previous }}";
$prompt-newer: "{{ site.data.label.post.button.next }}";
@@ -26,6 +27,10 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
border-color: var(--btn-border-color);
}
+.author {
+ font-weight: 600;
+}
+
.post img {
margin-top: .5rem;
margin-bottom: 1.5rem;
@@ -40,11 +45,15 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
}
.post-tail-wrapper {
- margin-top: 5rem;
+ margin-top: 4rem;
border-bottom: 1px double var(--main-border-color);
font-size: 0.85rem;
}
+.post-tags {
+ line-height: 2rem;
+}
+
.post-navigation {
padding-top: 3rem;
padding-bottom: 2rem;
@@ -268,8 +277,11 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
.license-wrapper {
line-height: 1.2rem;
- .license-text>a {
+ >a {
font-weight: 600;
+ &:hover {
+ @extend %link-hover;
+ }
}
i {
font-weight: 400;
@@ -282,10 +294,11 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
@media all and (max-width: 576px) {
.post-tail-bottom {
- -ms-flex-wrap: wrap!important;
- flex-wrap: wrap!important;
+ -ms-flex-wrap: wrap-reverse!important;
+ flex-wrap: wrap-reverse!important;
>div:first-child {
- margin-bottom: 1rem;
+ width: 100%;
+ margin-top: 1rem;
}
}
}