26 Commits

Author SHA1 Message Date
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
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
7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2023-04-15 00:58:01 +02:00
welpo
5df62f546c
💄 style: improve header's responsiveness
Both title and navs take up 100% of the width on small displays.

Closes #48
2023-04-14 16:13:31 +02:00
welpo
0f14171b6a
♻️ refactor: move .last-updated to main.scss 2023-04-14 15:50:25 +02:00
welpo
76db25b44a
♻️ refactor: standarise left/right margins 2023-03-11 00:03:31 +01:00
welpo
e93b33e6b8
🐛 fix: remove horizontall scroll on mobile 2023-03-10 17:59:35 +01:00
welpo
50b8d5fc7b
️ fix: improve accessibility in lists & taps 2023-03-08 00:51:48 +01:00
welpo
ba19524254
💄 style: simplify colourscheme
Improves accessibility and cohesion.
2023-03-07 01:39:46 +01:00
welpo
7195734d59
🐛 fix: set proper ul & li scope for .meta elements
Fixes broken Table of Contents styling.
2023-03-05 20:34:17 +01:00
welpo
cd2ab356be
💄 style: redesign post listing and other minor changes 2023-03-05 19:58:19 +01:00
welpo
887929fac7
♻️ refactor: wrap tags in ul>li
Long tags will get wrapped onto new lines now.
2023-02-27 18:45:46 +01:00
welpo
ed47f2580b
feat: add 'Last updated' extra tag 2023-02-27 00:55:17 +01:00
welpo
83b7bb9d3a
💄 style: increase margins before content & after ToC 2023-02-19 16:27:43 +01:00
welpo
0ecc656b91
💄 style: reduce font size for meta in cards 2023-02-19 02:32:33 +01:00
welpo
4390b7bdfb
💄 style: coloured links in paragraph; meta changes
- Links in paragraphs are no longer underlined, but rather coloured with
the accent-colour of the theme.
- The meta section on posts (date, time to read, tags) is rehauled. It's
more compact, less distracting and more minimal.
- Line height is increased.
2023-02-19 00:31:57 +01:00
welpo
8fe96d3f46
Commit Message: Refactor font weight and size, add article max-width, update color variables 2023-02-18 19:27:46 +01:00
welpo
4f7e25b01e
💄style: set consistent no border radius
Only border radius left is main picture.
2023-02-08 22:13:39 +01:00
welpo
973e0f76f8
💄 style: increase padding between navs 2023-02-07 20:00:58 +01:00
welpo
fcb8db43a6
💄 style: increase padding between navs 2023-02-07 14:36:25 +01:00
serginogal
1c1e124115 🐛 fix: make navbar width and margin same as content 2023-02-07 00:52:10 +09:00
welpo
6a4620a33b 🐛 fix: set consistent padding between nav and main content 2023-02-05 02:21:21 +01:00
welpo
8b28ea75d6 🐛 fix: consistent round background for hovering over links
Changes the coloured background on the main/home title text when
hovering, so that it is as round as the rest of the navbar.
2023-02-05 01:36:17 +01:00
serginogal
b044e30b1a 🐛 fix: nav-links hover style 2023-02-03 18:44:44 +09:00
welpo
0b117d1641 first commit 2023-02-02 15:53:54 +01:00