958 Commits (29bbd2eecc97aaaa95c61f8fb736d1301042aa91)
 

Author SHA1 Message Date
welpo 397b63cefa
📝 docs: add config info for multilingual sites 2 years ago
Óscar 3210de56d2
Merge pull request #80 from welpo/feat/multilingual-support
add multilingual support
2 years ago
Óscar 90d7188787
Merge branch 'main' into feat/multilingual-support 2 years ago
welpo 8ecd23b940
💫 refactor(404): remove mention of translations for single language sites 2 years ago
welpo 56b74ed23d
🍱 docs: update screenshots 2 years ago
welpo f657010be4
️ docs: revert script changes 2 years ago
welpo fb061a1469
feat: allow using emojis as favicon 🌱 2 years ago
welpo 5d91a0dcac
💄 style: center wrapped menu items
💄 style: decrease spacing around language switcher
2 years ago
welpo 00c7d153c6
💄 style: widen article body; less reading saccades 2 years ago
welpo cfef1f65d7
💄 style: widen article body; less reading saccades 2 years ago
welpo eded835d3f
🐛 fix: avoid empty dates when long_date_format is empty 2 years ago
welpo 534969de11
feat: include layout features in font subset 2 years ago
welpo 44980f1418
📝 docs: include layout features in font subset 2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo e316dc25ab
📝 docs: rephrase last sentence 2 years ago
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