993 Commits (main)
 

Author SHA1 Message Date
welpo 47caa99e0c
📝 docs: rephrase description 2 years ago
welpo 3389638b06
✏️ docs: close codeblock 2 years ago
welpo 4af487eced
💄 style: round down code font-size 2 years ago
welpo 60680fad37
📝 docs: update URL 2 years ago
welpo 67aad3ef74
💄 style: standarise font rendering across browsers
Use Source Serif ttf instead of otf for proper font rendering in Chromium.

Use Cascadia Code SemiLight to reduce filesize.
2 years ago
welpo 526c8a1e67
♻️ refactor: simplify theme switching logic
🐛 fix: ensure currentTheme is initialized correctly
2 years ago
welpo 3275e8a509
📱 style: reduce header-content margin in mobile
Except for articles.
2 years ago
welpo 69989ccc94
style: increase margin between posts and year 2 years ago
welpo 5907091893
💄 style: move padding from post-time to listing-item
Fixes uneven background size on hover for titles.
2 years ago
welpo 25d3a4d109
️ style: restore meta font in article to sans-serif 2 years ago
welpo 87a5c9a3a2
♻️ refactor: simplify sans-serif-font declarations
🐛 fix: use sans-serif in article
2 years ago
welpo 6a5670d5a0
📱 style: improve mobile date display and title spacing 2 years ago
welpo 358e78d25a
📝 fix: remove extra backtick 2 years ago
welpo ea00c9b9df
💄 style: standarise font rendering across browsers 2 years ago
Óscar 1b0cc1877e
Merge pull request #79 from welpo/fix/flashing-text
🐛 fix: remove flashing from header text (Firefox)
2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
Óscar b20ab6f838
Merge pull request #78 from welpo/feat/update-fonts
⬆️ feat(fonts): use woff2 & update fonts
2 years ago
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
2 years ago
welpo 85a32e263f
📝 docs: update inspiration 2 years ago
welpo bc84a1f669
📝 docs: use full URLs for images for Zola theme page 2 years ago
Óscar be71ec55e5
Merge pull request #77 from welpo/fix/dark-mode-flash
🐛 fix: remove flash when navigating in dark-mode
2 years ago
welpo 0c8e0d228c
🚚 refactor: rename katex minified css 2 years ago
welpo 3b22e6be6c
📝 docs: add `data:` to CSP to load local svg 2 years ago
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.
2 years ago
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