Fixes #4098: Missing Georgia font breaks leayout.
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 9 Sep 2020 13:21:52 +0000 (15:21 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000 (14:15 +0200)
src/wolnelektury/static/css/master.book.css
src/wolnelektury/static/css/new.book.css
src/wolnelektury/static/scss/main/base.scss
src/wolnelektury/static/scss/main/fonts.scss
src/wolnelektury/static/scss/main/header.scss
src/wolnelektury/static/scss/main/search.scss

index c430a69..3a2eda5 100644 (file)
@@ -1,6 +1,8 @@
+@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400;0,700;1,400;1,700&display=swap');
+
 body {
     font-size: 16px;
-    font-family: Georgia, "Times New Roman", serif;
+    font-family: Gelasio, Georgia, "Times New Roman", serif;
     line-height: 1.5em;
     margin: 0;
 }
index 2208cd3..e3ad091 100644 (file)
@@ -1,6 +1,8 @@
+@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400;0,700;1,400;1,700&display=swap');
+
 body {
     font-size: 16px;
-    font-family: Georgia, "Times New Roman", serif;
+    font-family: Gelasio, Georgia, "Times New Roman", serif;
     line-height: 1.5em;
     margin: 0;
 }
index 0c8dc89..20b0a35 100644 (file)
@@ -14,7 +14,7 @@ html, body {
 
 /* Basic colors and fonts */
 body {
-  font-family: Georgia, serif;
+  font-family: Gelasio, Georgia, serif;
   background: #f7f7f7;
   color: black;
 
index 20abbb6..03cf19a 100644 (file)
   src: local('Cousine Bold Italic'), local('Cousine-BoldItalic'), url(/static/fonts/cousine/v10/y_AZ5Sz-FwL1lux2xLSTZegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
 }
+
+
+@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400;0,700;1,400;1,700&display=swap');
index 9e6bb6b..c8adda5 100644 (file)
@@ -246,24 +246,24 @@ header#main {
         @include size(border-radius, 5px);
         @include box-shadow(0 0 6.5px #444444 inset);
 
-        font-family: Georgia, serif;
+        font-family: Gelasio, Georgia, serif;
         @include size(font-size, 13px);
         background-color: white;
         color: black;
 
         /* styling search placeholder */
         &::placeholder {
-          font-family: Georgia, serif;
+          font-family: Gelasio, Georgia, serif;
           font-style: italic;
           color: #767676;
         }
         &::-webkit-input-placeholder {
-          font-family: Georgia, serif;
+          font-family: Gelasio, Georgia, serif;
           font-style: italic;
           color: #767676;
         }
         &::-moz-placeholder {
-          font-family: Georgia, serif;
+          font-family: Gelasio, Georgia, serif;
           font-style: italic;
           color: #767676;
         }
index 5e14505..3d992b3 100644 (file)
@@ -5,7 +5,7 @@
 }
 
 .ui-widget {
-    font-family: Georgia !important;
+    font-family: Gelasio, Georgia, serif !important;
     @include size(font-size, 10px !important);
 }