327 Commits

Author SHA1 Message Date
welpo
a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2023-04-29 15:11:13 +02:00
welpo
1c06c99047
⬆️ feat(fonts): use woff2 & update fonts
⬆️ Update Source Serif to latest version
 Update Inter font to v4 beta
📸 Update screenshots to reflect font changes
2023-04-28 18:03:17 +02:00
welpo
85a32e263f
📝 docs: update inspiration 2023-04-28 16:56:11 +02:00
welpo
bc84a1f669
📝 docs: use full URLs for images for Zola theme page 2023-04-28 16:53:41 +02:00
Óscar
be71ec55e5
Merge pull request #77 from welpo/fix/dark-mode-flash
🐛 fix: remove flash when navigating in dark-mode
2023-04-28 16:46:05 +02:00
welpo
0c8e0d228c
🚚 refactor: rename katex minified css 2023-04-28 16:45:05 +02:00
welpo
3b22e6be6c
📝 docs: add data: to CSP to load local svg 2023-04-28 16:42:16 +02:00
welpo
9512bbb194
♻️ refactor: use const in theme initialization
Refactor the theme initialization script to use 'const' instead of 'let'
for the 'currentTheme' variable, as the value is not expected to change
after initialization.

This makes the code more clear and prevents accidental
re-assignment.
2023-04-28 16:38:46 +02:00
welpo
1efb0330e3
🐛 fix: remove flash when navigating in dark-mode
The `initialize-theme.js` script takes care of the following:

  1. If there is a stored theme value in the localStorage, set the theme
 based on that value.
  2. If there is no stored theme value, check the  user's system
  preference (dark or light) and set the theme accordingly.

The new `main.js` takes care of the actual theme switching and listening
to system preference changes (if the user has not manually set a theme).

Now the icons are stored in CSS, and are set according to the current
theme. This allows for having different icons that dynamically switch.

Additionally, wraps social and navigation elements in ul/li.

Fixes #76
2023-04-28 16:20:42 +02:00
welpo
eb63718bbf
🚚 refactor: rename minified KaTeX css 2023-04-28 16:12:14 +02:00
welpo
79f8559a3a
📝 docs: stylise KaTeX 2023-04-28 16:10:26 +02:00
welpo
c36b66b7d4
📝 docs: acknowledge abridge's inspiration 2023-04-28 16:10:03 +02:00
welpo
556570d799
🐛 fix: only load script when themeswitcher is enabled 2023-04-27 23:45:58 +02:00
welpo
14997045d8
style: prevent header anchor selection
- Add `user-select: none` to .zola-anchor class in CSS
2023-04-17 13:56:08 +02:00
welpo
25a8374edc
💄 style: respect the tags capitalisation
Otherwise "TIL" becomes "Til", for example.
2023-04-17 02:22:07 +02:00
welpo
89bfdbe687
📝 docs: update theme's description 2023-04-16 19:10:07 +02:00
welpo
3ad76de2fb
📝 docs: update screenshots 2023-04-16 18:35:27 +02:00
welpo
b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
welpo
be8ec45c35
📝 docs: mention responsive design 2023-04-16 17:38:17 +02:00
welpo
18cab7d37c
🍱 style: update project images 2023-04-16 17:37:31 +02:00
welpo
77dc2be14b
🍱 style: update project images 2023-04-16 17:31:28 +02:00
welpo
e422c405cb
📝 docs: lowercase 'tabi' 2023-04-16 17:00:15 +02:00
Óscar
cdce7dad09
Merge pull request #74 from welpo/docs/installation
📝 docs: clarify installation instructions
2023-04-16 16:35:48 +02:00
welpo
73811bdb7a
📝 docs: minor changes to installation instructions 2023-04-16 16:34:12 +02:00
welpo
538cb07a5f
📝 docs: clarify installation instructions 2023-04-16 14:52:44 +02:00
welpo
7aa61422a8
✏️ fix: properly end macro 2023-04-16 13:42:19 +02:00
Óscar
39ebf170a5
Merge pull request #73 from welpo/docs/lighthouse-score
📝 docs: mention (and achieve) perfect Lighthouse score
2023-04-16 13:41:16 +02:00
welpo
8b5726c34e
️ feat: set width and height of project images 2023-04-16 13:39:08 +02:00
welpo
698d4ebf74
🍱 style: greater resolution 2023-04-16 13:38:35 +02:00
welpo
7543f03e12
📝 docs: mention perfect Lighthouse score 2023-04-16 03:40:52 +02:00
Óscar
129f654ef9
Merge pull request #72 from welpo/feat/add-dimensions-to-shortcodes
 feat(shortcodes): update image path retrieval and dimensions in sho…
2023-04-16 03:24:16 +02:00
welpo
b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2023-04-16 03:21:41 +02:00
welpo
35cea7222c
🍱 docs: update nani image 2023-04-16 02:35:20 +02:00
welpo
369fa9700a
💄 style: add link to project images 2023-04-16 02:34:09 +02:00
welpo
99bb93219d
💄 style: use shadow instead of border for cards 2023-04-16 02:08:05 +02:00
welpo
a2ea8c3f88
📝 docs: update projects 2023-04-16 00:51:06 +02:00
welpo
10b85257cd
🔥 refactor: remove metadata in project files 2023-04-16 00:47:01 +02:00
welpo
b5bc0d44db
📝 docs: update description 2023-04-16 00:43:39 +02:00
welpo
050f546e27
🐛 fix: set proper scope to transparent hover for anchor 2023-04-15 21:25:24 +02:00
welpo
a89fc02a96
💄 style: set a minimum value for paragraph spacing 2023-04-15 21:10:14 +02:00
welpo
1c07128aeb
💄 style: use theme's primary colour for table headers 2023-04-15 20:50:12 +02:00
welpo
dcf1af5ec5
🐛 fix: remove double equals in updated field 2023-04-15 20:44:08 +02:00
Óscar
209f13365d
Merge pull request #71 from welpo/feature/KaTeX-support
 feat: add KaTeX support
2023-04-15 20:37:37 +02:00
welpo
f9335b3fa4
feat: add KaTeX support 2023-04-15 19:55:57 +02:00
welpo
7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2023-04-15 00:58:01 +02:00
Óscar
50280e65a9
Merge pull request #70 from welpo/style/full-width-navs-mobile
💄 style: improve header's responsiveness
2023-04-15 00:53:14 +02:00
welpo
110c8723c3
📝 fix: fix screenshot path 2023-04-15 00:51:06 +02:00
welpo
3ce928a067
📝 docs: update description, demo URL, author info, and extra
Close #36
2023-04-15 00:44:05 +02:00
welpo
1803987555
feat: make JS light/dark toggle optional 2023-04-15 00:42:27 +02:00
welpo
d98c0d0bb8
📝 docs: update screenshot 2023-04-15 00:03:01 +02:00