Browse Source

Update style

Track3 1 year ago
parent
commit
42ecda8db1
2 changed files with 12 additions and 8 deletions
  1. 11 7
      assets/scss/style.scss
  2. 1 1
      layouts/_default/list.html

+ 11 - 7
assets/scss/style.scss

@@ -22,7 +22,7 @@ body {
   margin: 0;
   padding: 1.5rem;
   line-height: 1.6;
-  letter-spacing: .05rem;
+  letter-spacing: .04rem;
 
   >main {
     margin-bottom: 5rem;
@@ -51,7 +51,7 @@ textarea {
   body {
     --c-bg: #1e1f20;
     --c-bg-alt: #313a3f;
-    --c-txt: #b1aeaa;
+    --c-txt: #adadad;
     --c-txt-alt: #898680;
     --c-txt-alt2: rgba(137, 134, 128, .5);
     --c-txt-em: #fff;
@@ -77,7 +77,7 @@ textarea {
 h1 {
   margin-top: .5rem;
   margin-bottom: 2rem;
-  line-height: normal;
+  line-height: 1.25;
 }
 
 #home-social a {
@@ -92,6 +92,8 @@ h1 {
   span {
     margin-right: .5em;
     color: var(--c-txt-alt);
+    font-style: italic;
+    font-size: 90%;
   }
 
   a {
@@ -348,7 +350,7 @@ textarea {
 }
 
 .post-info {
-  margin-top: -1.5rem;
+  margin-top: -1.75rem;
   line-height: normal;
   font-size: 90%;
   font-style: italic;
@@ -405,10 +407,11 @@ a.footnote-ref {
 }
 
 .post-year {
-  margin-bottom: .5rem;
-  line-height: normal;
+  margin-bottom: .75em;
+  line-height: 1;
   font-size: 150%;
   font-family: $serif-fonts;
+  font-style: italic;
 }
 
 .post-list {
@@ -422,7 +425,8 @@ a.footnote-ref {
 
 .post-day {
   display: inline-block;
-  min-width: 4.5em;
+  min-width: 4em;
+  font-style: italic;
 }
 
 @import "partials/comments", "partials/gallery";

+ 1 - 1
layouts/_default/list.html

@@ -13,7 +13,7 @@
 			<ul class="lsn post-list">
 				{{ range .Pages -}}
 				<li class="post-item">
-					<span class="dim post-day">{{ .Date.Format "Jan 02" }}</span>
+					<span class="dim post-day">{{ .Date.Format "01/02" }}</span>
 					<a href="{{.RelPermalink}}" class="post-title">{{.Title}}</a>
 				</li>
 				{{- end }}