101 Commits

Author SHA1 Message Date
welpo
d0162291d9
feat(shortcodes): add admonition shortcode (#285) 2024-03-21 01:21:11 +01:00
Óscar
906bc9dec0
feat: add search functionality (#250) 2024-01-08 01:00:52 +01:00
Xavier Vello
4d12cfe3fa
💄 fix(style): proper nested lists spacing (#218) 2023-10-28 16:01:36 +02:00
Donovan Glover
944ad4db35
💄 fix(style): add line-height to .section-title (#205) 2023-10-18 00:12:27 +02:00
welpo
4687418469
️ revert: use ttf serif font for compatibility 2023-10-03 12:13:19 +02:00
Óscar Fernández
a7044d2d8a
️ feat(fonts): optimise font size (#186) 2023-10-03 01:23:38 +02:00
Donovan Glover
317a1d1645
💄 fix(style): prevent videos from overflowing container (#185) 2023-10-03 00:41:38 +02:00
Óscar
a37756c6fa
feat(alias): style redirect page (#156) 2023-09-15 01:48:15 +02:00
welpo
355162ebe1
💄 style(sans-serif): slightly increase bold weight
Partially reverts bcc3f83
2023-09-13 00:10:26 +02:00
Óscar
14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 2023-09-12 21:28:33 +02:00
welpo
bcc3f83d85
💄 style: reduce bold text font weight on sans-serif
Stays the same for articles (serif).
2023-09-12 19:41:17 +02:00
welpo
327545f2d5
💄 style(code blocks): harmonise highlight colour
Should've been done in #131
2023-09-12 11:25:04 +02:00
Óscar
0055a3613e
️ fix(a11y): update heading tags (#140) 2023-09-09 18:03:09 +02:00
Óscar
d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size (#131)
📝 docs: remove opening and closing +++ in TOML codeblocks
2023-09-07 01:46:20 +02:00
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