From 23038a9c93b4b80300300d525ced8c6ff2bf19dc Mon Sep 17 00:00:00 2001 From: ap4y Date: Tue, 8 Dec 2020 14:39:02 +1300 Subject: [PATCH] Use system fonts instead of Ubuntu --- _layouts/default.html | 1 - assets/css/font-ubuntu.css | 12 ------------ assets/css/screen.css | 13 ++++++++----- 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 assets/css/font-ubuntu.css diff --git a/_layouts/default.html b/_layouts/default.html index 31f5adc..34e8520 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,7 +10,6 @@ - {% if site.snow == 1 %}{% endif %} diff --git a/assets/css/font-ubuntu.css b/assets/css/font-ubuntu.css deleted file mode 100644 index 48b347b..0000000 --- a/assets/css/font-ubuntu.css +++ /dev/null @@ -1,12 +0,0 @@ -@font-face { - font-family: 'Ubuntu'; - font-style: normal; - font-weight: 300; - src: local('Ubuntu Light'), local('Ubuntu-Light'), url(https://fonts.gstatic.com/s/ubuntu/v11/4iCv6KVjbNBYlgoC1CzjsGyI.ttf) format('truetype'); -} -@font-face { - font-family: 'Ubuntu'; - font-style: normal; - font-weight: 700; - src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v11/4iCv6KVjbNBYlgoCxCvjsGyI.ttf) format('truetype'); -} diff --git a/assets/css/screen.css b/assets/css/screen.css index 8c34586..87e36e3 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -1,14 +1,17 @@ body { - font-family: 'Ubuntu', sans-serif; - padding-top: 70px; /* For bootstrap fixed navbar + font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", + Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + padding-top: 70px; /* For bootstrap fixed navbar background-color: #111; color: #ddd; */ } code { - font-family: 'Ubuntu Mono', monospace; - background-color: #fdf6e3; - color: #000; + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; + background-color: #fdf6e3; + color: #000; } .navbar-inverse .navbar-nav > li > a {