diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-04-09 18:40:30 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-04-09 18:40:30 +0100 |
commit | 8b460a494590acc6249eb351c1c9685ba1d50365 (patch) | |
tree | a9e2110e6bb2615790f6f8bda734604217ee066e | |
parent | bc2223b3562058e8054a8880e7cfcc4ff49c8d64 (diff) | |
download | yannherklotz.com-8b460a494590acc6249eb351c1c9685ba1d50365.tar.gz yannherklotz.com-8b460a494590acc6249eb351c1c9685ba1d50365.zip |
Make into webp
-rw-r--r-- | content.org | 3 | ||||
-rw-r--r-- | static/images/portrait.webp | bin | 0 -> 34494 bytes | |||
-rw-r--r-- | themes/ymherklotz/static/css/default.css | 48 |
3 files changed, 25 insertions, 26 deletions
diff --git a/content.org b/content.org index 23b9dc4..61468eb 100644 --- a/content.org +++ b/content.org @@ -10,8 +10,7 @@ :EXPORT_FILE_NAME: _index :END: -#+attr_html: :alt Profile picture :width 200 :height 200 :class profile-picture -[[./static/images/portrait.jpg]] +#+html: <figure class="profile-picture"><img src="/images/portrait.webp" alt="Profile picture" width="200" height="200" /></figure> Hi! I'm currently a PhD student in the Circuits and Systems group at Imperial College London, supervised by [[https://johnwickerson.github.io][John Wickerson]]. diff --git a/static/images/portrait.webp b/static/images/portrait.webp Binary files differnew file mode 100644 index 0000000..64b5d12 --- /dev/null +++ b/static/images/portrait.webp diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index affffbb..0948003 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -1,37 +1,37 @@ @font-face { - font-family: 'Iosevka YMHG Web'; - font-display: swap; - font-weight: 500; - font-stretch: normal; - font-style: normal; - src: url('/fonts/ttf/iosevka-ymhg-medium.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-medium.woff2') format('woff2'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: normal; + src: url('/fonts/ttf/iosevka-ymhg-medium.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-medium.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka YMHG Web'; - font-display: swap; - font-weight: 500; - font-stretch: normal; - font-style: italic; - src: url('/fonts/ttf/iosevka-ymhg-mediumitalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-mediumitalic.woff2') format('woff2'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: italic; + src: url('/fonts/ttf/iosevka-ymhg-mediumitalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-mediumitalic.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka YMHG Web'; - font-display: swap; - font-weight: 700; - font-stretch: normal; - font-style: normal; - src: url('/fonts/ttf/iosevka-ymhg-bold.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bold.woff2') format('woff2'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: normal; + src: url('/fonts/ttf/iosevka-ymhg-bold.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bold.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka YMHG Web'; - font-display: swap; - font-weight: 700; - font-stretch: normal; - font-style: italic; - src: url('/fonts/ttf/iosevka-ymhg-bolditalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bolditalic.woff2') format('woff2'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: italic; + src: url('/fonts/ttf/iosevka-ymhg-bolditalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bolditalic.woff2') format('woff2'); } /*@font-face { |