Experiment fixes.
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 22 Oct 2021 08:10:29 +0000 (10:10 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 22 Oct 2021 08:10:29 +0000 (10:10 +0200)
src/catalogue/templates/catalogue/2021/book_detail.html
src/wolnelektury/static/2021/css/base/_fonts.scss
src/wolnelektury/static/2021/css/base/_icons.scss

index f492251..406c703 100644 (file)
             </article>
             {% if HAVE_AUTHOR_PHOTO %}
               <figure class="l-author__photo">
-                <img src="{% static '2021/images/author.jpg' %}" alt="Adam Mickiewicz">
+                <img src="" alt="{{ author.name }}">
                 <figcaption>
-                  Wikipedia
                 </figcaption>
               </figure>
             {% endif %}
index 489da87..e69de29 100644 (file)
@@ -1,29 +0,0 @@
-@font-face {
-  font-family: "Futura PT";
-  src: url('#{$font-path}/subset-FuturaPT-Book.ttf?20uhbq') format('truetype'),
-       url('#{$font-path}/subset-FuturaPT-Book.woff?20uhbq') format('woff'),
-       url('#{$font-path}/subset-FuturaPT-Book.woff2?20uhbq') format('woff2');
-  font-weight: $regular;
-  font-style: normal;
-  font-display: swap;
-}
-
-@font-face {
-  font-family: "Canela";
-  src: url('#{$font-path}/subset-Canela-Light.ttf?20uhbq') format('truetype'),
-       url('#{$font-path}/subset-Canela-Light.woff?20uhbq') format('woff'),
-       url('#{$font-path}/subset-Canela-Light.woff2?20uhbq') format('woff2');
-  font-weight: $light;
-  font-style: normal;
-  font-display: swap;
-}
-
-@font-face {
-  font-family: "Canela";
-  src: url('#{$font-path}/subset-Canela-LightItalic.ttf?20uhbq') format('truetype'),
-       url('#{$font-path}/subset-Canela-LightItalic.woff') format('woff'),
-       url('#{$font-path}/subset-Canela-LightItalic.woff2') format('woff2');
-  font-weight: $light;
-  font-style: italic;
-  font-display: swap;
-}
index 161be54..0f09c91 100644 (file)
@@ -11,16 +11,6 @@ $icon-arrow-down: "\e905";
 $icon-arrow-left: "\e906";
 $icon-arrow-right: "\e907";
 
-@font-face {
-  font-family: '#{$icomoon-font-family}';
-  src:
-    url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?20uhbq') format('truetype'),
-    url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?20uhbq') format('woff'),
-    url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?20uhbq##{$icomoon-font-family}') format('svg');
-  font-weight: normal;
-  font-style: normal;
-  font-display: block;
-}
 
 [class^="icon-"], [class*=" icon-"] {
   /* use !important to prevent issues with browser extensions that change fonts */