diff options
-rw-r--r-- | assets/base.css | 3 | ||||
-rw-r--r-- | assets/header.css | 7 | ||||
-rw-r--r-- | assets/home.css | 4 | ||||
-rw-r--r-- | layouts/404.html | 3 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 5 |
5 files changed, 8 insertions, 14 deletions
diff --git a/assets/base.css b/assets/base.css index ae3d0c0..94cfb9c 100644 --- a/assets/base.css +++ b/assets/base.css @@ -77,6 +77,7 @@ html { background-color: var(--bg-0); color: var(--fg-0); + font-size: 150%; } body { background-color: var(--bg-1); @@ -86,7 +87,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", - sans-serif; + system-ui, sans-serif; font-feature-settings: "kern" 1; font-kerning: normal; diff --git a/assets/header.css b/assets/header.css index c725b06..f52a863 100644 --- a/assets/header.css +++ b/assets/header.css @@ -14,8 +14,7 @@ header nav ol { } header nav ol li a { display: block; - font-size: 1.25rem; - padding: 4px 16px 14px 16px; + padding: 4px 12px 14px 12px; text-align: center; text-decoration: none; } @@ -34,7 +33,7 @@ header nav ol li a:hover { background-color: var(--bg-1); } #title { - font-weight: 700; + font-weight: bold; text-transform: uppercase; } #themes { @@ -42,7 +41,7 @@ header nav ol li a:hover { border: none; color: var(--fg-1); display: none; - font-size: 1.25rem; + font-size: 100%; margin: 0; padding: 0; } diff --git a/assets/home.css b/assets/home.css deleted file mode 100644 index 7e91c20..0000000 --- a/assets/home.css +++ /dev/null @@ -1,4 +0,0 @@ -.home-page p { - font-size: 1.25rem; - font-weight: 300; -} diff --git a/layouts/404.html b/layouts/404.html index c0242ed..a0c2c94 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -13,10 +13,9 @@ {{- $code := resources.Get "code.css" -}} {{- $footer := resources.Get "footer.css" -}} {{- $header := resources.Get "header.css" -}} - {{- $home := resources.Get "home.css" -}} {{- $pagination := resources.Get "pagination.css" -}} {{- $responsive := resources.Get "responsive.css" -}} - {{- $allCss := slice $base $code $footer $header $home $pagination $responsive | resources.Concat "static/all.css" | fingerprint | minify -}} + {{- $allCss := slice $base $code $footer $header $pagination $responsive | resources.Concat "static/all.css" | fingerprint | minify -}} <link rel="stylesheet" href="{{ $allCss.Permalink }}"> {{ range .AlternativeOutputFormats -}} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c05ed38..c1d6ae4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ <html class="black-theme" lang="en"> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="viewport" content="width=device-width, initial-scale=0.9"> <link rel="icon" href="/static/favicon.ico"> {{ template "_internal/opengraph.html" . }} @@ -13,10 +13,9 @@ {{- $code := resources.Get "code.css" -}} {{- $footer := resources.Get "footer.css" -}} {{- $header := resources.Get "header.css" -}} - {{- $home := resources.Get "home.css" -}} {{- $pagination := resources.Get "pagination.css" -}} {{- $responsive := resources.Get "responsive.css" -}} - {{- $allCss := slice $base $code $footer $header $home $pagination $responsive | resources.Concat "static/all.css" | fingerprint | minify -}} + {{- $allCss := slice $base $code $footer $header $pagination $responsive | resources.Concat "static/all.css" | fingerprint | minify -}} <link rel="stylesheet" href="{{ $allCss.Permalink }}"> {{ range .AlternativeOutputFormats -}} |