353 Commits

Author SHA1 Message Date
welpo
8ecd23b940
💫 refactor(404): remove mention of translations for single language sites 2023-05-25 18:00:39 +02:00
welpo
56b74ed23d
🍱 docs: update screenshots 2023-05-25 17:44:39 +02:00
welpo
f657010be4
️ docs: revert script changes 2023-05-25 16:04:56 +02:00
welpo
5d91a0dcac
💄 style: center wrapped menu items
💄 style: decrease spacing around language switcher
2023-05-24 15:51:23 +02:00
welpo
00c7d153c6
💄 style: widen article body; less reading saccades 2023-05-24 02:03:47 +02:00
welpo
eded835d3f
🐛 fix: avoid empty dates when long_date_format is empty 2023-05-23 22:59:47 +02:00
welpo
534969de11
feat: include layout features in font subset 2023-05-22 19:44:41 +02:00
welpo
44980f1418
📝 docs: include layout features in font subset 2023-05-22 19:42:04 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +02:00
welpo
e316dc25ab
📝 docs: rephrase last sentence 2023-05-22 18:28:09 +02:00
welpo
47caa99e0c
📝 docs: rephrase description 2023-05-22 18:11:10 +02:00
welpo
3389638b06
✏️ docs: close codeblock 2023-05-21 23:44:27 +02:00
welpo
4af487eced
💄 style: round down code font-size 2023-05-21 22:48:56 +02:00
welpo
60680fad37
📝 docs: update URL 2023-05-18 23:24:50 +02:00
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.
2023-05-02 02:03:13 +02:00
welpo
526c8a1e67
♻️ refactor: simplify theme switching logic
🐛 fix: ensure currentTheme is initialized correctly
2023-05-02 01:33:03 +02:00
welpo
3275e8a509
📱 style: reduce header-content margin in mobile
Except for articles.
2023-05-02 01:13:44 +02:00
welpo
69989ccc94
style: increase margin between posts and year 2023-04-30 19:28:31 +02:00
welpo
5907091893
💄 style: move padding from post-time to listing-item
Fixes uneven background size on hover for titles.
2023-04-30 19:25:55 +02:00
welpo
25d3a4d109
️ style: restore meta font in article to sans-serif 2023-04-30 17:01:45 +02:00
welpo
87a5c9a3a2
♻️ refactor: simplify sans-serif-font declarations
🐛 fix: use sans-serif in article
2023-04-30 01:08:27 +02:00
welpo
6a5670d5a0
📱 style: improve mobile date display and title spacing 2023-04-30 00:06:57 +02:00
welpo
358e78d25a
📝 fix: remove extra backtick 2023-04-29 18:24:00 +02:00
welpo
ea00c9b9df
💄 style: standarise font rendering across browsers 2023-04-29 15:15:11 +02:00
Óscar
1b0cc1877e
Merge pull request #79 from welpo/fix/flashing-text
🐛 fix: remove flashing from header text (Firefox)
2023-04-29 15:12:33 +02:00
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
Óscar
b20ab6f838
Merge pull request #78 from welpo/feat/update-fonts
⬆️ feat(fonts): use woff2 & update fonts
2023-04-28 18:05:12 +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