169 Commits

Author SHA1 Message Date
welpo
3aa22cb3ad
♻️ refactor: split macros.html in different files
Clearer macros format.
2023-02-21 19:39:54 +01:00
Óscar
3d7a662ac8
Merge pull request #50 from welpo/feature/word-number-on-reading-time-hover
🥚 feature: add tooltip on reading time to show number of words
2023-02-21 15:46:28 +01:00
welpo
ae88ca4db1
🔥 refactor: remove unused meta hover logic
This was used for the previous functionality where the "time to read"
meta would become "number of words" on hover.
2023-02-21 15:37:57 +01:00
welpo
9ed4034260
🥚 refactor: show word count as reading time tooltip 2023-02-21 14:51:02 +01:00
welpo
d9cd64e5a4
feat: display word count when hovering over read time 2023-02-21 02:43:23 +01:00
welpo
23f5c6d309
🔧 improvement: open external links in new window 2023-02-20 13:12:18 +01:00
welpo
1c93df0a6f
️ refactor: improve table of contents accessibility 2023-02-20 01:21:20 +01:00
welpo
e4c6705843
💄 style: resize headers 2023-02-19 21:23:10 +01:00
Óscar
b387f3b32d
Merge pull request #49 from welpo/docs/markdown-examples
📝 docs: use markdown to showcase theme's capabilities
2023-02-19 19:14:41 +01:00
welpo
2f07137cca
📝 docs: use markdown to showcase theme's capabilities 2023-02-19 19:12:46 +01:00
Óscar
a1c16b0df0
Merge pull request #47 from welpo/feature/responsive-footer
📱 feat: make footer & banner responsive
2023-02-19 18:56:04 +01:00
welpo
921725cb11
📱 feat: make footer & banner responsive
Social icons were too big on smaller screens.
Fix #34
2023-02-19 18:54:02 +01:00
Óscar
900cce3b65
Merge pull request #46 from welpo/style/increase-margins
💄 style: increase margins before content & after ToC
2023-02-19 16:31:11 +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
Óscar
0c4aef7d44
Merge pull request #45 from welpo/feature/ordinal-days-date
 feat: use ordinal day number in dates
2023-02-19 02:29:43 +01:00
welpo
0ecc6eff78
feat: use ordinal day number in dates
If the date_format variable in config.toml is empty, the new format date
will be used. Example: 2nd August 2043.
2023-02-19 02:27:01 +01:00
Óscar
e052371865
📝 docs: add internetVin's blog as inspiration 2023-02-19 01:20:27 +01:00
welpo
367d6a8be4
💄 style: reduce font-size and increase line-height in article-title 2023-02-19 01:14:19 +01:00
Óscar
c05b9b85b4
Merge pull request #44 from welpo/style/links-metadata-rehaul
💄 style: coloured links in paragraph; meta changes
2023-02-19 00:35:32 +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
83e211a18d
📝 docs: js size has grown :( 2023-02-18 23:12:55 +01:00
welpo
9242fa4389
📱 feature: responsive (and centered) images 2023-02-18 19:39:07 +01:00
Óscar
d653f5b281
Merge pull request #43 from welpo/style/redesign-posts
💄 style: narrower blog layout, smaller and thinner text, and more
2023-02-18 19:34:35 +01:00
Óscar
9ff7462ccd
Merge branch 'main' into style/redesign-posts 2023-02-18 19:31:03 +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
799b31d403
✏️ fix: minor typo 2023-02-18 03:24:58 +01:00
Óscar
586b5617b2
Merge pull request #39 from welpo/feature/default-theme-switcher
Change default theme to OS default; listen to OS default theme changes and switch accordingly (as long as there's no user preference set)
2023-02-17 13:47:59 +01:00
welpo
e61e7970f2
💄 style: slight redesign of quote blocks
Uses theme's colours.
2023-02-17 00:34:31 +01:00
welpo
6afcd2fbbb
📱 improvement: responsive inline code font size 2023-02-17 00:10:44 +01:00
welpo
9a1f5db45c
feat: listen for changes on OS theme to switch accordingly
As long as the visitor has not changed the default theme, the site will
change between dark and light themes matching the OS setting.
2023-02-16 21:23:48 +01:00
serginogal
2f80b0b5ad feat: clean js code 2023-02-16 22:19:58 +09:00
welpo
505eb2cb72
️ improvement: try to load local fonts first 2023-02-16 01:04:26 +01:00
Óscar
40c12a8ed0
Merge pull request #40 from welpo/feature/dimmable-image-shortcode
 feat: add dimmable-image shortcode for dark theme
2023-02-16 00:25:36 +01:00
welpo
174a37e221
feat: add dimmable-image shortcode for dark theme 2023-02-16 00:25:17 +01:00
welpo
bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2023-02-16 00:22:31 +01:00
Óscar
26ad170d9f
feat: change default theme to OS setting 2023-02-15 20:50:21 +01:00
welpo
af80aef00c
feat: change default theme to OS default
Update the theme switcher code to set the default theme to the OS
default, rather than the "light" theme. This provides a more seamless
user experience for users whose OS is set to a dark mode. The current
theme setting in local storage will still be respected if present. This
change was made to improve the accessibility and usability.

Fixes #38
2023-02-15 20:36:26 +01:00
welpo
2f4d0658d8
🐛 fix: rename sun icon reference 2023-02-15 01:33:43 +01:00
welpo
84b4469b07
️ improvement: switch from webp to svg icons
Saves a bit of space :)
2023-02-14 23:21:32 +01:00
Óscar
8132810928
Merge pull request #37 from welpo/style/colorscheme
💄 style: change colourscheme. improve cohesion and accesibility
2023-02-13 02:57:59 +01:00
welpo
0e4d274de9
💄 style: revert background back to pure white 2023-02-13 02:57:15 +01:00
welpo
b7da11222e
💄 style: change colourscheme. improve cohesion and accesibility 2023-02-13 02:53:11 +01:00
welpo
2b861ea940
📝 style: mention all table colours change, not just header 2023-02-12 12:59:38 +01:00
welpo
c6e5de7dee
️ improvement: use webp instead of png 2023-02-11 21:48:47 +01:00
welpo
bd0dbaab1a
️ improvement: use webp instead of png 2023-02-11 21:38:40 +01:00
welpo
7a69759112
🍱 improvement: use webp instead of png 2023-02-11 21:35:22 +01:00
welpo
f555d34207
🐛 fix: set main image path relative to base_url 2023-02-11 21:09:18 +01:00
welpo
ebfc1f0001
🔥 refactor: remove useless code
An image border was set in _image.scss and unset in main.scss.
2023-02-11 21:03:02 +01:00
Óscar
b4cc05e625 Merge pull request #31 from welpo/style/tables
💄 style: center tables; colour headers; round borders
2023-02-11 20:57:13 +01:00