summaryrefslogtreecommitdiff
path: root/assets/css/core
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-21 17:32:20 +0800
committerReorx <novoreorx@gmail.com>2022-04-21 17:32:20 +0800
commit9377da773c41b31862cc5144280820a832658ef4 (patch)
tree9d71e98215c36c1426028fc63d63aad7d9562434 /assets/css/core
parent368da1791e45b542618b49dd635c1048f5a75c53 (diff)
enhance post typography
Diffstat (limited to 'assets/css/core')
-rw-r--r--assets/css/core/reset.css7
-rw-r--r--assets/css/core/theme-vars.css6
2 files changed, 8 insertions, 5 deletions
diff --git a/assets/css/core/reset.css b/assets/css/core/reset.css
index 7027379..4c38720 100644
--- a/assets/css/core/reset.css
+++ b/assets/css/core/reset.css
@@ -22,9 +22,10 @@ h6 {
}
body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica, 'Helvetica Neue', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
+ /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
font-size: 18px;
- line-height: 1.6;
+ line-height: 1.6em;
word-break: break-word;
background: var(--theme);
}
@@ -119,7 +120,7 @@ img {
}
::-webkit-scrollbar-thumb {
- background: var(--tertiary);
+ background: var(--tertiary-bg);
border: 5px solid var(--theme);
border-radius: var(--radius);
}
diff --git a/assets/css/core/theme-vars.css b/assets/css/core/theme-vars.css
index b8d3d30..7a27f0f 100644
--- a/assets/css/core/theme-vars.css
+++ b/assets/css/core/theme-vars.css
@@ -12,7 +12,8 @@
--entry: rgb(255, 255, 255);
--primary: rgb(30, 30, 30);
--secondary: rgb(108, 108, 108);
- --tertiary: rgb(214, 214, 214);
+ --tertiary: rgb(158, 158, 158);
+ --tertiary-bg: rgb(214, 214, 214);
--content: rgb(31, 31, 31);
--code-bg: rgb(245, 245, 245);
--border: rgb(238, 238, 238);
@@ -29,7 +30,8 @@
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
- --tertiary: rgb(65, 66, 68);
+ --tertiary: rgb(123, 124, 124);
+ --tertiary-bg: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);