87 Commits

Author SHA1 Message Date
welpo
1adf2423f3
💄style: use divider-color for <hr> & remove border-color 2023-08-26 21:09:34 +02:00
welpo
1be3fa886c
💄style: stylise scrollbar based on site's color scheme
See #114 and Jieiku/abridge#136
2023-08-26 00:34:12 +02:00
Óscar
ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2023-08-25 15:52:25 +02:00
Óscar
151063d74b
feat(shortcode): add spoiler shortcode (#113) 2023-08-24 14:27:33 +02:00
welpo
275950f97d
💄 style: adjust font styles for <details> and <summary>
Serif in text body, sans serif in tables.
2023-08-12 17:05:09 +02:00
welpo
2ebf72c83f
💄 style: keep top/bottom element's margin in full-width
Again, reverting b1b98eb
2023-08-12 13:45:54 +02:00
welpo
8cfab98e72
️ fix: revert flex display (b1b98eb) 2023-08-12 02:00:14 +02:00
welpo
b1b98eb2b1
💄 style: retain element's spacing within full-width 2023-08-12 01:22:59 +02:00
welpo
503f54ab5e
🔥 chore: remove duplicated code 2023-08-12 01:05:02 +02:00
welpo
56a53dce0c
🐛 fix: remove flex display on full-width elements
Avoids columns being created when multiple items are within the shortcode.
2023-08-12 00:59:04 +02:00
welpo
4b38d53693
💄 style: reset margin & padding for children of .full-width 2023-08-12 00:50:03 +02:00
welpo
fb0dea0106
feat: add wide container shortcode 2023-08-11 23:36:59 +02:00
welpo
a799732398
refactor: switch from @import to @use
`@import` is set to be deprecated.

See: https://github.com/sass/sass/blob/main/accepted/module-system.md#timeline
2023-08-10 19:19:08 +02:00
welpo
7ccd71736e
feat: add 2 interactive image shortcodes
- `image_hover` changes image on mouse hover.

- `image_toggler` swaps image on click.
2023-08-09 18:36:45 +02:00
welpo
c53ecdc472
🔥 style: remove dark primary colour variable 2023-08-06 21:21:08 +02:00
welpo
e3ee95d718
💄 style: redesign block quotes 2023-08-06 21:19:31 +02:00
welpo
05a6d15455
feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2023-07-16 00:50:07 +02:00
welpo
93c8b577b8
🚧 feat: add utterances support 2023-07-10 21:42:21 +02:00
welpo
b76f9bbf44
💄 style: increase body left/right margins 2023-07-10 17:56:45 +02:00
welpo
af81f88b92
🎨 refactor: combine and reorder media queries 2023-07-10 15:56:42 +02:00
welpo
fcc2cafcdc
💄 style: darken codeblock highlight colour 2023-07-08 00:51:35 +02:00
welpo
f5603acbdb
💄 style: reduce bold font-weight 2023-07-07 21:54:13 +02:00
welpo
8415535e13
💄 style: add codeblock background colours 2023-07-07 21:53:26 +02:00
welpo
fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2023-07-05 02:43:07 +02:00
welpo
5bdb8045a6
💄 style: set custom header anchor 2023-06-18 23:13:37 +02:00
welpo
ab29511d5e
feat: add multilingual quote shortcode 2023-06-05 23:22:17 +02:00
welpo
00c7d153c6
💄 style: widen article body; less reading saccades 2023-05-24 02:03:47 +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
3275e8a509
📱 style: reduce header-content margin in mobile
Except for articles.
2023-05-02 01:13:44 +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
ea00c9b9df
💄 style: standarise font rendering across browsers 2023-04-29 15:15:11 +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
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
a89fc02a96
💄 style: set a minimum value for paragraph spacing 2023-04-15 21:10:14 +02:00
welpo
1c07128aeb
💄 style: use theme's primary colour for table headers 2023-04-15 20:50:12 +02:00
welpo
7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2023-04-15 00:58:01 +02:00
welpo
0f14171b6a
♻️ refactor: move .last-updated to main.scss 2023-04-14 15:50:25 +02:00
welpo
a39306f6ef
💄 style: narrower article content for blog posts 2023-03-19 01:09:48 +01:00
welpo
15f26293b5
💄 style: reduce text/background contrast 2023-03-11 18:56:44 +01:00
welpo
7fbb4d7acd
💄 style: darken background for inline code (dark theme) 2023-03-11 00:27:45 +01: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
845a2f151a
💄 style: increase content bottom margin in small screens 2023-03-08 23:17:12 +01:00
welpo
ba19524254
💄 style: simplify colourscheme
Improves accessibility and cohesion.
2023-03-07 01:39:46 +01:00
welpo
e51f5318d6
️ style: increase contrast for link hover 2023-03-06 21:57:29 +01:00
welpo
cd2ab356be
💄 style: redesign post listing and other minor changes 2023-03-05 19:58:19 +01:00
welpo
a761fd00ee
🚧 style: list all posts per tag 2023-02-28 18:36:31 +01:00
welpo
1496f0cf73
💄 style: set style for figure & figure captions 2023-02-25 20:06:19 +01:00