499 Commits

Author SHA1 Message Date
welpo
07ceddcc00
feat: enhance Table of Contents
- Introduce `toc_ignore_pattern` to ignore specific headers based on regex.
- Allow custom ToC placement with shortcode or "<!-- toc -->" marker.
- Increase max depth for ToC to 4.
- Update Documentation for the above features.
 - Move ToC generation to a macro file.
2023-08-14 15:08:22 +02:00
welpo
a6046cd9d7
💄 style: set transparent bg for code in table headers
Changed the background color of the `code` tags within table headers
to transparent to enhance readability and contrast. This ensures
that the code tags in headers remain visually distinct
while not detracting from overall table aesthetics.
2023-08-13 21:59:17 +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
497566e696
🔥 chore: remove duplicated p line-height 2023-08-12 17:04:20 +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
fffaece884
💄 style: use theme variable for table borders
Borders looked jarring in the dark theme, as the hardcoded variable was too close to white.

Also reduces tables' top and bottom margin.
2023-08-12 00:22:01 +02:00
welpo
a47a8be011
🚸 docs: add ToC and quick navigation buttons 2023-08-12 00:07:25 +02:00
welpo
965af4b3dd
feat: add toc_levels to control ToC depth 2023-08-12 00:06:24 +02:00
Óscar
bc90d04c02
feat: add wide container shortcode (#107) 2023-08-11 23:40:01 +02:00
welpo
fb0dea0106
feat: add wide container shortcode 2023-08-11 23:36:59 +02:00
welpo
f8891dba2c
💄 fix: improve contrast on code within links on hover
Fixes #106.
2023-08-11 14:03:39 +02:00
welpo
4952ce88f1
feat: add rel=me attribute to social links
http://microformats.org/wiki/rel-me
2023-08-11 01:55:46 +02:00
welpo
8949db43e1
💄 fix: draft margin 2023-08-11 01:50:50 +02:00
welpo
41009a50a1
📝 docs: clarify the 2 possible paths for custom skins 2023-08-10 20:02:25 +02:00
welpo
6b0cc11da4
📝 docs: add link to skins showcase/documentation 2023-08-10 19:20:27 +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
e210652ac2
📝 docs: fix skins docs link 2023-08-10 18:42:55 +02:00
welpo
5250576744
💡 chore: add comments explaining use of get_random 2023-08-10 17:26:39 +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
d2780f42a3
feat: add pointer cursor to image toggler 2023-08-09 21:10:44 +02:00
welpo
2f83ef8062
️ feat: add cachebust for main.css 2023-08-09 18:53:45 +02:00
welpo
9ad08838c7
🐛 fix: add missing images for new shortcodes 2023-08-09 18:49:14 +02:00
welpo
638d75c819
🐛 fix: set proper color-scheme meta 2023-08-09 18:45:16 +02:00
Óscar
090ebcafec
feat: add 2 interactive image shortcodes 2023-08-09 18:40:54 +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
Óscar
42293b2868
feat: allow setting default theme 2023-08-08 00:56:22 +02:00
welpo
c78c7f5bd1
feat: allow setting the default theme
Used as fallback when JS is disabled and `theme_switcher` is enabled.

If `default_theme` is unset, it defaults to "light".

Used as single theme when `theme_switcher` is disabled.
2023-08-08 00:47:24 +02:00
welpo
ab879e3727
🐛 fix: remove extra newlines in final html 2023-08-07 00:12:00 +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
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
welpo
521a05b97f
📝 docs: improve Code tags example 2023-08-02 23:30:47 +02:00
welpo
672772a700
🐛 fix: align text to left codeblocks with line numbers
Fixes issue introduced in commit 85ccc08, which centered all table text.
2023-08-02 23:29:54 +02:00
welpo
edcfa359ef
feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
2023-08-02 19:38:04 +02:00
Óscar
5cdc18e688
feat: add backlinks to footnotes (#101) 2023-08-02 18:35:27 +02:00
welpo
a1ceb74785
💄 style: improve footnotes and <hr> styling
Fixes multiple footnotes having a horizontal line above each.
2023-08-02 17:28:47 +02:00
welpo
6b00aae20e
📝 docs: add Isso comments mention 2023-08-01 16:12:29 +02:00
welpo
da44e795d6
📝 docs: update [extra] settings 2023-08-01 14:11:32 +02:00
welpo
f9c18b0398
feat: optional trailing slash in menu links
Enabled by default.

Drops the `$BASE_URL` transformation to avoid confusion (#99).
2023-08-01 14:11:05 +02:00
Óscar
ae47f79d9d
📝 docs: update link to multilanguage lines in config 2023-07-31 23:03:32 +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