12 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
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
79f8559a3a
📝 docs: stylise KaTeX 2023-04-28 16:10:26 +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
dcf1af5ec5
🐛 fix: remove double equals in updated field 2023-04-15 20:44:08 +02:00
welpo
f9335b3fa4
feat: add KaTeX support 2023-04-15 19:55:57 +02:00
welpo
4d18be3a83
📝 fix: clarify requirements for A+ Observatory score 2023-04-14 23:50:26 +02:00
welpo
65a3fcebba
📝 fix: clarify requirements for A+ Observatory score 2023-04-14 23:29:03 +02:00
welpo
2a681f005f
📝 docs: replace "last lines" to "last directive" 2023-03-13 15:44:21 +01:00
welpo
bfda1df9f3
📝 docs: use hierarchical headings 2023-03-11 19:30:24 +01:00
welpo
7532e0ab12
feat: add anchor header links on hover
Closes #64
2023-03-06 02:22:02 +01:00
welpo
64449d5d9f
🚚 refactor: move blog posts blog section 2023-03-05 19:44:36 +01:00