diff options
author | vvveiii <cntrump@gmail.com> | 2021-01-29 04:34:00 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2021-01-29 04:34:00 +0300 |
commit | d9dbe8bb88d73f52a7aa14b7a7693070d5bb48f2 (patch) | |
tree | a05860d634e7821c3e19d5e1a320d41595bfa025 | |
parent | 9375b9b31b11464e8c0d86f5d10f1c2712a3bb86 (diff) |
update font-family
-rw-r--r-- | assets/css/dark-style.css | 5 | ||||
-rw-r--r-- | assets/css/normalize.css | 2 | ||||
-rw-r--r-- | assets/css/style.css | 12 | ||||
-rw-r--r-- | exampleSite/config.toml | 2 |
4 files changed, 8 insertions, 13 deletions
diff --git a/assets/css/dark-style.css b/assets/css/dark-style.css index cb44c79..7d54d36 100644 --- a/assets/css/dark-style.css +++ b/assets/css/dark-style.css @@ -23,11 +23,6 @@ table tr:nth-child(even) { background-color: rgba(51, 54, 58, .35); } -::selection { - color: #191919; - background-color: #c2c1a2; -} - mark { background-color: #515b70; } diff --git a/assets/css/normalize.css b/assets/css/normalize.css index dee9418..b1c5254 100644 --- a/assets/css/normalize.css +++ b/assets/css/normalize.css @@ -11,7 +11,7 @@ html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-weight: 400; - font-size: 17px; + font-size: 14px; line-height: 1.2; } diff --git a/assets/css/style.css b/assets/css/style.css index c186e94..cd21288 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -35,11 +35,11 @@ } html { - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'Segoe UI', + font-family: 'Avenir Next', Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'Segoe UI', Ubuntu, Roboto, Oxygen, Cantarell, 'Fira Sans', 'Droid Sans', - 'Helvetica Neue', Helvetica, Arial, Verdana, 'Lucida Grande', + 'Helvetica Neue', Helvetica , Verdana, 'Lucida Grande', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; - font-size: 17px; + font-size: 16px; font-weight: 400; line-height: 1.5; } @@ -60,6 +60,8 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; + padding-top: constant(safe-area-inset-top); padding-right: constant(safe-area-inset-right); padding-bottom: constant(safe-area-inset-bottom); @@ -111,10 +113,6 @@ q { margin: 0; } -::selection { - background-color: #fffed5; -} - mark { background-color: rgba(12, 242, 143, .2); } diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d34b913..39464f7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -16,6 +16,8 @@ enableRobotsTXT = true # Google Analytics #googleAnalytics = "UA-123-45" +ignoreErrors = ["error-remote-getjson"] + [markup.highlight] codeFences = true noClasses = false |