From: Radek Czajka Date: Fri, 22 Oct 2021 08:10:29 +0000 (+0200) Subject: Experiment fixes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4cd71669901402b22710219fbb4e767f35953fbd?ds=sidebyside;hp=24721591455e048cffca365384e6759daae05916 Experiment fixes. --- diff --git a/src/catalogue/templates/catalogue/2021/book_detail.html b/src/catalogue/templates/catalogue/2021/book_detail.html index f492251cf..406c703fc 100644 --- a/src/catalogue/templates/catalogue/2021/book_detail.html +++ b/src/catalogue/templates/catalogue/2021/book_detail.html @@ -224,9 +224,8 @@ {% if HAVE_AUTHOR_PHOTO %}
- Adam Mickiewicz + {{ author.name }}
- Wikipedia
{% endif %} diff --git a/src/wolnelektury/static/2021/css/base/_fonts.scss b/src/wolnelektury/static/2021/css/base/_fonts.scss index 489da8791..e69de29bb 100644 --- a/src/wolnelektury/static/2021/css/base/_fonts.scss +++ b/src/wolnelektury/static/2021/css/base/_fonts.scss @@ -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; -} diff --git a/src/wolnelektury/static/2021/css/base/_icons.scss b/src/wolnelektury/static/2021/css/base/_icons.scss index 161be54fa..0f09c91a4 100644 --- a/src/wolnelektury/static/2021/css/base/_icons.scss +++ b/src/wolnelektury/static/2021/css/base/_icons.scss @@ -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 */