76 Commits

Author SHA1 Message Date
welpo
ab4b523f9c
🐛 fix(favicon): use get_url for favicon 2023-09-01 23:50:52 +02:00
Óscar
78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2023-09-01 23:29:11 +02:00
welpo
9f74868c72
💄style(isso): align buttons and input & cleanup 2023-08-26 23:38:15 +02:00
welpo
85fe38f815
💄style(isso): clean isso styles & use CSS variables 2023-08-26 20:11:47 +02:00
welpo
427ffc7241
feat(footer/socials): add base64 encoded email protection 2023-08-18 18:39:24 +02:00
welpo
68e37f4574
🐛 fix(styled feed): url to "Visit Website"
Before this, it was linking to the own feed.
Now it links to the homepage of the corresponding language.
2023-08-18 12:55:57 +02:00
welpo
725101300e
️ refactor(utterances): further minify JS 2023-08-17 23:58:08 +02:00
welpo
6abb756d88
📸 chore: update mint screenshots to match the rest 2023-08-10 17:10:59 +02:00
Óscar
f8cce3001c
feat: introduce skins to customise the theme (#105) 2023-08-10 13:21:52 +02:00
welpo
9ad08838c7
🐛 fix: add missing images for new shortcodes 2023-08-09 18:49:14 +02:00
welpo
c53ecdc472
🔥 style: remove dark primary colour variable 2023-08-06 21:21:08 +02:00
welpo
113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2023-08-03 00:12:00 +02:00
welpo
a4e48b48fd
💡 chore: add comments 2023-08-02 23:52:28 +02:00
welpo
92e6af1d58
️ refactor: further minify theme initialization 2023-08-02 23:51:52 +02:00
Óscar
5cdc18e688
feat: add backlinks to footnotes (#101) 2023-08-02 18:35:27 +02:00
welpo
b2ca636eb9
🐛 fix: correct CSS path for GitHub pages 2023-07-31 21:15:34 +02:00
Óscar
32b1177140
♻️ refactor: improve stylised feed translations & consolidate XSL/CSS loading (#98) 2023-07-31 21:07:13 +02:00
welpo
86ab1c5f06
🐛 fix: path to main.css 2023-07-31 17:23:31 +02:00
welpo
e7bd988a52
🐛 fix: use relative path to main.css 2023-07-31 17:17:41 +02:00
welpo
7ed295db3a
💬 refactor: translate xsl stylesheets 2023-07-31 17:04:34 +02:00
smtbook
e7dc5eb44e
fix: multilingual issues in feeds and 'nav.html' 2023-07-31 17:04:34 +02:00
welpo
9a98789922
feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
e1dfd2ea07
🐛 fix: properly initialise currentTheme
The `currentTheme` variable is now properly initialized when setting
the initial theme, which fixes the "extra click" issue observed when system preference
is `dark` and there's no saved theme in localStorage.

Also minifies the themeSwitcher.

Fixes #94
2023-07-25 00:40:45 +02:00
welpo
4b43229d0a
🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
welpo
7924e8206c
feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
welpo
5993e950c7
feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
welpo
19d120019b
feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
welpo
93c8b577b8
🚧 feat: add utterances support 2023-07-10 21:42:21 +02:00
welpo
2dec139e41
feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
welpo
8e1473bba9
🚧 feat: add basic copy button to codeblocks 2023-07-06 02:45:54 +02:00
welpo
fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2023-07-05 02:43:07 +02:00
welpo
a6dfd4d1ba
🐛 fix: remove leading slash from css href 2023-06-27 00:06:54 +02:00
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