156 Commits

Author SHA1 Message Date
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
welpo
394479d777
📝 style: showcase tables & invertable images 2023-02-11 20:55:27 +01:00
welpo
5b45351970
💄 style: center tables; colour headers; round borders 2023-02-11 20:49:03 +01:00
welpo
2732f494cf
🐛 fix: override font-size for home subtitle <p> 2023-02-11 19:55:29 +01:00
Óscar
1845649613
✏️ fix: set remote Zola url 2023-02-11 19:52:31 +01:00
Óscar
f68a371ffe
Merge pull request #30 from welpo/style/Cascadia-Code-font
💄 style: set Cascadia Code as code font
2023-02-11 19:50:06 +01:00
welpo
f2cd044096
💄 style: set tab to 4 spaces; remove newlines 2023-02-11 19:49:09 +01:00
welpo
9db00d1f9d
💄 style: use Cascadia Code as code font 2023-02-11 19:47:42 +01:00
welpo
f6cd7d3cf2
🍱 docs: change the codeblock example 2023-02-11 19:38:59 +01:00
welpo
d412eae7df
💄 style: set Cascadia Code as code font
Modifies the markdown file to showcase the font's ligatures.
2023-02-11 19:31:53 +01:00
Óscar
e387f792c3
Merge pull request #29 from welpo/style/serif-body
💄 style: use serif font in body
2023-02-11 19:28:57 +01:00
welpo
c65eea156c
✏️ fix: use serif as fallback 2023-02-11 19:26:14 +01:00
welpo
ce2cf4d056
💄 style: use serif font in body
Also increases the size of the subheader in main page (cards), and
reduces the font weight of links.
2023-02-11 19:20:56 +01:00
welpo
9f412205b3
💄 style: move quote author to quote block 2023-02-11 15:41:54 +01:00