ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit 87e9fd4fe6d3074be0e4f2685d03172b642605b7
parent 2555c749781d0c45f748023adcb902e554d0746a
Author: Yohanes Bandung Bondowoso <hi@ybbond.dev>
Date:   Mon,  4 Jan 2021 01:46:32 +0700

hotfix: bugs from the previous css refactor

Diffstat:
Massets/main.css | 41++++++++++++++++++++---------------------
Massets/theme.css | 2+-
Mlayouts/partials/head/head.html | 12++++++------

3 files changed, 27 insertions(+), 28 deletions(-)

diff --git a/assets/main.css b/assets/main.css
@@ -1,4 +1,5 @@
 html {
+  scroll-behavior: smooth;
   font-family: var(--font-text);
   letter-spacing: 0.025rem;
   line-height: 1.6;
@@ -118,33 +119,31 @@ time[title] {
 .pagination {
   padding: 1em 0;
   display: flex;
-  &__left {
-    text-align: left;
-    margin-left: 0.3rem;
-  }
-  &__center {
-    flex: 1;
-    text-align: center;
-  }
-  &__right {
-    text-align: right;
-    margin-right: 0.3rem;
-  }
+}
+.pagination__left {
+  text-align: left;
+  margin-left: 0.3rem;
+}
+.pagination__center {
+  flex: 1;
+  text-align: center;
+}
+.pagination__right {
+  text-align: right;
+  margin-right: 0.3rem;
 }
 
 .tagitem {
-  font-family: $font-mono;
+  font-family: var(--font-mono);
   margin: 0 0.4rem;
 }
 
-.footnotes {
-  hr {
-    margin-top: 3rem;
-    margin-bottom: 0.2rem;
-  }
-  &__text {
-    margin: 0;
-  }
+.footnotes hr {
+  margin-top: 3rem;
+  margin-bottom: 0.2rem;
+}
+.footnotes__text {
+  margin: 0;
 }
 
 .footnote-ref::before {
diff --git a/assets/theme.css b/assets/theme.css
@@ -125,7 +125,7 @@
   }
 
   blockquote {
-    border-color-color: var(--dark-red);
+    border-left-color: var(--dark-red);
   }
 
   :not(pre) > code {
diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
@@ -22,25 +22,25 @@
   {{ with resources.Get "fonts.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
-  {{ with resources.Get "theme.css" | resources.Minify }}
+  {{ with resources.Get "variables.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
-  {{ with resources.Get "responsive.css" | resources.Minify }}
+  {{ with resources.Get "theme.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
   {{ with resources.Get "main.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
-  {{ with resources.Get "content.css" | resources.Minify }}
-      {{ .Content | safeCSS }}
-  {{ end }}
   {{ with resources.Get "header.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
   {{ with resources.Get "footer.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
-  {{ with resources.Get "variables.css" | resources.Minify }}
+  {{ with resources.Get "content.css" | resources.Minify }}
+      {{ .Content | safeCSS }}
+  {{ end }}
+  {{ with resources.Get "responsive.css" | resources.Minify }}
       {{ .Content | safeCSS }}
   {{ end }}
 </style>