hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 26d4164ff69337d0caff59bc246df393dea400e2
parent a0f64672a4db0dabf5999d2b3b12a3d2fdbd826a
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Thu, 12 Sep 2019 15:55:20 -0400

Use a softer color palette

Diffstat:
Mlayouts/partials/css/style.css | 21+++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/layouts/partials/css/style.css b/layouts/partials/css/style.css
@@ -1,12 +1,10 @@
 :root {
     --accent-color: #700000;
-    --background-color: #eee;
-    --text-color: #222;
-    --code-background-color: #ddd;
-    --code-text-color: #111;
-    --stress-1-color: #ddd;
-    --stress-2-color: #ccc;
-    --stress-3-color: #bbb;
+    --background-color: #f7f3e3;
+    --text-color: #2e2d2b;
+    --code-background-color: #e3dacb;
+    --stress-1-color: #e7e3d3;
+    --stress-2-color: #d7d3c3;
 }
 
 body {
@@ -63,7 +61,6 @@ pre {
     overflow-x: auto;
 }
 code {
-    color: var(--code-text-color);
     background: var(--code-background-color);
 }
 pre code {
@@ -83,13 +80,13 @@ main {
     hyphens: manual;
 }
 blockquote {
-    background: var(--stress-2-color);
-    border-left: 5px solid var(--stress-3-color);
+    background: var(--stress-1-color);
+    border-left: 5px solid var(--stress-2-color);
     border-radius: 5px;
     padding: 3px 1em 3px;
 }
 table {
-    background: var(--stress-2-color);
+    background: var(--stress-1-color);
     border-radius: 5px;
     border-collapse: collapse;
     margin: auto;
@@ -99,5 +96,5 @@ th, td {
     padding: 5px;
 }
 thead, tfoot, tr:nth-child(even) {
-    background: var(--stress-3-color);
+    background: var(--stress-2-color);
 }