aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-04-09 18:40:30 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-09 18:40:30 +0100
commit8b460a494590acc6249eb351c1c9685ba1d50365 (patch)
treea9e2110e6bb2615790f6f8bda734604217ee066e
parentbc2223b3562058e8054a8880e7cfcc4ff49c8d64 (diff)
downloadyannherklotz.com-8b460a494590acc6249eb351c1c9685ba1d50365.tar.gz
yannherklotz.com-8b460a494590acc6249eb351c1c9685ba1d50365.zip
Make into webp
-rw-r--r--content.org3
-rw-r--r--static/images/portrait.webpbin0 -> 34494 bytes
-rw-r--r--themes/ymherklotz/static/css/default.css48
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
new file mode 100644
index 0000000..64b5d12
--- /dev/null
+++ b/static/images/portrait.webp
Binary files differ
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 {