From d4f9781c5f0499793a99e594af832d8bb451d3bb Mon Sep 17 00:00:00 2001 From: Yuru Shao Date: Sat, 3 Aug 2024 14:17:23 -0700 Subject: [PATCH] Update font --- Gemfile | 1 + Gemfile.lock | 31 ++++++++++++++++--------------- _includes/head.html | 4 +++- _sass/minima.scss | 2 +- 4 files changed, 21 insertions(+), 17 deletions(-) diff --git a/Gemfile b/Gemfile index 72d1aa6..a468a68 100644 --- a/Gemfile +++ b/Gemfile @@ -29,3 +29,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.0" if Gem.win_platform? +gem "webrick", "~> 1.8.1" diff --git a/Gemfile.lock b/Gemfile.lock index b1acb58..118db3e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,18 +1,18 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) colorator (1.1.0) - concurrent-ruby (1.1.10) + concurrent-ruby (1.3.3) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.15.5) + ffi (1.17.0) forwardable-extended (2.6.0) http_parser.rb (0.8.0) - i18n (1.11.0) + i18n (1.14.5) concurrent-ruby (~> 1.0) jekyll (4.2.2) addressable (~> 2.4) @@ -42,8 +42,8 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) - listen (3.7.1) + liquid (4.0.4) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) @@ -53,13 +53,13 @@ GEM jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.7) - rb-fsevent (0.11.1) - rb-inotify (0.10.1) + public_suffix (5.1.1) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.3.3) + rexml (3.3.4) strscan - rouge (3.29.0) + rouge (3.30.0) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) @@ -67,10 +67,10 @@ GEM terminal-table (2.0.0) unicode-display_width (~> 1.1, >= 1.1.1) unicode-display_width (1.8.0) + webrick (1.8.1) PLATFORMS - universal-darwin-19 - x86_64-linux + ruby DEPENDENCIES jekyll (~> 4.2.2) @@ -78,6 +78,7 @@ DEPENDENCIES jekyll-paginate (~> 1.1.0) minima (~> 2.5.1) tzinfo-data + webrick (~> 1.8.1) BUNDLED WITH - 2.3.17 + 1.17.2 diff --git a/_includes/head.html b/_includes/head.html index 40817c3..136b02c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,9 @@ {%- seo -%} - + + + {%- feed_meta -%} {%- if jekyll.environment == 'production' and site.google_analytics -%} {%- include google-analytics.html -%} diff --git a/_sass/minima.scss b/_sass/minima.scss index c8b652e..0fc4da3 100644 --- a/_sass/minima.scss +++ b/_sass/minima.scss @@ -2,7 +2,7 @@ // Define defaults for each variable. -$base-font-family: "Lora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; +$base-font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; $base-font-size: 16px !default; $base-font-weight: 400 !default; $small-font-size: $base-font-size * 0.875 !default;