319 Commits (1efb0330e3926235cde79bdaec9bf157dc6d1743)
 

Author SHA1 Message Date
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
2 years ago
welpo eb63718bbf
🚚 refactor: rename minified KaTeX css 2 years ago
welpo 79f8559a3a
📝 docs: stylise KaTeX 2 years ago
welpo c36b66b7d4
📝 docs: acknowledge abridge's inspiration 2 years ago
welpo 556570d799
🐛 fix: only load script when themeswitcher is enabled 2 years ago
welpo 14997045d8
style: prevent header anchor selection
- Add `user-select: none` to .zola-anchor class in CSS
2 years ago
welpo 25a8374edc
💄 style: respect the tags capitalisation
Otherwise "TIL" becomes "Til", for example.
2 years ago
welpo 89bfdbe687
📝 docs: update theme's description 2 years ago
welpo 3ad76de2fb
📝 docs: update screenshots 2 years ago
welpo b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2 years ago
welpo be8ec45c35
📝 docs: mention responsive design 2 years ago
welpo 18cab7d37c
🍱 style: update project images 2 years ago
welpo 77dc2be14b
🍱 style: update project images 2 years ago
welpo e422c405cb
📝 docs: lowercase 'tabi' 2 years ago
Óscar cdce7dad09
Merge pull request #74 from welpo/docs/installation
📝 docs: clarify installation instructions
2 years ago
welpo 73811bdb7a
📝 docs: minor changes to installation instructions 2 years ago
welpo 538cb07a5f
📝 docs: clarify installation instructions 2 years ago
welpo 7aa61422a8
✏️ fix: properly end macro 2 years ago
Óscar 39ebf170a5
Merge pull request #73 from welpo/docs/lighthouse-score
📝 docs: mention (and achieve) perfect Lighthouse score
2 years ago
welpo 8b5726c34e
️ feat: set width and height of project images 2 years ago
welpo 698d4ebf74
🍱 style: greater resolution 2 years ago
welpo 7543f03e12
📝 docs: mention perfect Lighthouse score 2 years ago
Óscar 129f654ef9
Merge pull request #72 from welpo/feat/add-dimensions-to-shortcodes
 feat(shortcodes): update image path retrieval and dimensions in sho…
2 years ago
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.
2 years ago
welpo 35cea7222c
🍱 docs: update `nani` image 2 years ago
welpo 369fa9700a
💄 style: add link to project images 2 years ago
welpo 99bb93219d
💄 style: use shadow instead of border for cards 2 years ago
welpo a2ea8c3f88
📝 docs: update projects 2 years ago
welpo 10b85257cd
🔥 refactor: remove metadata in project files 2 years ago
welpo b5bc0d44db
📝 docs: update description 2 years ago
welpo 050f546e27
🐛 fix: set proper scope to transparent hover for anchor 2 years ago
welpo a89fc02a96
💄 style: set a minimum value for paragraph spacing 2 years ago
welpo 1c07128aeb
💄 style: use theme's primary colour for table headers 2 years ago
welpo dcf1af5ec5
🐛 fix: remove double equals in updated field 2 years ago
Óscar 209f13365d
Merge pull request #71 from welpo/feature/KaTeX-support
 feat: add KaTeX support
2 years ago
welpo f9335b3fa4
feat: add KaTeX support 2 years ago
welpo 7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
Óscar 50280e65a9
Merge pull request #70 from welpo/style/full-width-navs-mobile
💄 style: improve header's responsiveness
2 years ago
welpo 110c8723c3
📝 fix: fix screenshot path 2 years ago
welpo 3ce928a067
📝 docs: update description, demo URL, author info, and extra
Close #36
2 years ago
welpo 1803987555
feat: make JS light/dark toggle optional 2 years ago
welpo d98c0d0bb8
📝 docs: update screenshot 2 years ago
welpo a36823d672
🚀 feat: use github pages for live preview 2 years ago
welpo 4d18be3a83
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 65a3fcebba
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 1b5ed1546a
🚀 fix: enable github pages 2 years ago
welpo fded2bd53e
🐛 fix: use personal access token 2 years ago
welpo e32d4a8138
️ revert token change 2 years ago
welpo 91de9ad036
🐛 fix: update token 2 years ago
welpo 19bd85f8db
⬆️ fix: use latest zola-deploy-action 2 years ago