44 Commits

Author SHA1 Message Date
welpo
eb8f630fde
💄 style: smaller title and "Recent Posts" text 2023-06-26 21:56:55 +02:00
welpo
0494a54f57
💄 style: add styling to infobox 2023-06-26 02:12:49 +02:00
welpo
fc591f549c
💄 style: add title suffix & reduce RSS icon size 2023-06-25 22:59:29 +02:00
welpo
1b60be8c9d
🚧 feat: style xml feed 2023-06-24 03:06:54 +02:00
welpo
ab29511d5e
feat: add multilingual quote shortcode 2023-06-05 23:22:17 +02:00
Óscar
90d7188787
Merge branch 'main' into feat/multilingual-support 2023-05-25 18:03:24 +02:00
welpo
fb061a1469
feat: allow using emojis as favicon 🌱 2023-05-25 14:31:03 +02:00
welpo
534969de11
feat: include layout features in font subset 2023-05-22 19:44:41 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +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
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
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
0c8e0d228c
🚚 refactor: rename katex minified css 2023-04-28 16:45:05 +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
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
welpo
698d4ebf74
🍱 style: greater resolution 2023-04-16 13:38:35 +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
35cea7222c
🍱 docs: update nani image 2023-04-16 02:35:20 +02:00
welpo
a2ea8c3f88
📝 docs: update projects 2023-04-16 00:51:06 +02:00
welpo
f9335b3fa4
feat: add KaTeX support 2023-04-15 19:55:57 +02:00
welpo
38a38fa606
💄 style: Promise I will never go blonde like Kanye⁉️ 2023-03-09 00:41:21 +01:00
welpo
b3dc5396b4
feat: add dual image support for switching themes 2023-02-25 22:28:43 +01:00
Óscar
586b5617b2
Merge pull request #39 from welpo/feature/default-theme-switcher
Change default theme to OS default; listen to OS default theme changes and switch accordingly (as long as there's no user preference set)
2023-02-17 13:47:59 +01:00
welpo
9a1f5db45c
feat: listen for changes on OS theme to switch accordingly
As long as the visitor has not changed the default theme, the site will
change between dark and light themes matching the OS setting.
2023-02-16 21:23:48 +01:00
serginogal
2f80b0b5ad feat: clean js code 2023-02-16 22:19:58 +09:00
welpo
bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2023-02-16 00:22:31 +01:00
welpo
af80aef00c
feat: change default theme to OS default
Update the theme switcher code to set the default theme to the OS
default, rather than the "light" theme. This provides a more seamless
user experience for users whose OS is set to a dark mode. The current
theme setting in local storage will still be respected if present. This
change was made to improve the accessibility and usability.

Fixes #38
2023-02-15 20:36:26 +01:00
welpo
84b4469b07
️ improvement: switch from webp to svg icons
Saves a bit of space :)
2023-02-14 23:21:32 +01:00
welpo
bd0dbaab1a
️ improvement: use webp instead of png 2023-02-11 21:38:40 +01:00
welpo
7a69759112
🍱 improvement: use webp instead of png 2023-02-11 21:35:22 +01:00
welpo
d412eae7df
💄 style: set Cascadia Code as code font
Modifies the markdown file to showcase the font's ligatures.
2023-02-11 19:31:53 +01:00
welpo
ce2cf4d056
💄 style: use serif font in body
Also increases the size of the subheader in main page (cards), and
reduces the font weight of links.
2023-02-11 19:20:56 +01:00
welpo
2f4695dd0b
feat: showcase invertable image 2023-02-10 13:33:14 +01:00
welpo
6783ff6e49
🚚 style: move main image to static path 2023-02-10 02:53:55 +01:00
welpo
722d493a9a
💄 style: default light mode 2023-02-10 02:15:05 +01:00
welpo
339f818cfb 🐛 fix: remove duplicate social images; allow relative paths in socials
- Remove duplicate files in social_icons folder
- Allow relative paths in socials section (footer)
- Add more socials in default config
2023-02-04 12:56:55 +01:00
welpo
ec51960eeb Remove .DS_Store 2023-02-02 22:50:09 +01:00
welpo
57ea76111e Improve inline code blocks contrast & remove border
Also removes .DS_Store from static/
2023-02-02 21:54:57 +01:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00