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
2 years ago
welpo
79f8559a3a
📝 docs: stylise KaTeX
2 years ago
welpo
e422c405cb
📝 docs: lowercase 'tabi'
2 years ago
welpo
7543f03e12
📝 docs: mention perfect Lighthouse score
2 years ago
welpo
b841969a8f
✨ feat(shortcodes): update image path retrieval and dimensions in shortcodes
...
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image
These changes reduce layout shifts.
2 years ago
welpo
a2ea8c3f88
📝 docs: update projects
2 years ago
welpo
b5bc0d44db
📝 docs: update description
2 years ago
welpo
dcf1af5ec5
🐛 fix: remove double equals in updated field
2 years ago
welpo
f9335b3fa4
✨ feat: add KaTeX support
2 years ago
welpo
4d18be3a83
📝 fix: clarify requirements for A+ Observatory score
2 years ago
welpo
65a3fcebba
📝 fix: clarify requirements for A+ Observatory score
2 years ago
welpo
2a681f005f
📝 docs: replace "last lines" to "last directive"
2 years ago
welpo
bfda1df9f3
📝 docs: use hierarchical headings
2 years ago
welpo
27dc4b9a96
🔥 refactor: remove unused `section_title` variable
2 years ago
welpo
7532e0ab12
✨ feat: add anchor header links on hover
...
Closes #64
2 years ago
welpo
64449d5d9f
🚚 refactor: move blog posts `blog` section
2 years ago
welpo
de46a24d37
♻️ refactor: rename extra.desc to extra.header
2 years ago
welpo
9b680b0da7
📝 docs: set consistent paths for imgs
2 years ago
welpo
bd72fb84be
🔥 refactor: remove extra last_updated date
2 years ago
welpo
abfe2f9dc8
✏️ fix: update year to current year
2 years ago
welpo
31ea93bbbe
♻️ refactor: use native `updated` field
2 years ago
welpo
ed47f2580b
✨ feat: add 'Last updated' extra tag
2 years ago
welpo
eb60527bfb
📝 docs: change 'Usage' section styling
2 years ago
welpo
b3dc5396b4
✨ feat: add dual image support for switching themes
2 years ago
welpo
2c4b64481c
📝 docs: add closing shortcode tag to references()
2 years ago
welpo
4e4021da5d
✨ feat: format references with custom shortcode
...
Uses hanging indent for a References section.
2 years ago
welpo
69d4985fc5
📝 docs: replace `test` tag with `showcase`
2 years ago
welpo
73a563872e
✏️ docs: fix typos
2 years ago
welpo
d7caa7af5f
✨ feat: allow customizable secure headers (CSP)
2 years ago
welpo
f4cd6e6a92
💄 style: update footnote styling
2 years ago
welpo
2f07137cca
📝 docs: use markdown to showcase theme's capabilities
2 years ago
welpo
83e211a18d
📝 docs: js size has grown :(
2 years ago
welpo
799b31d403
✏️ fix: minor typo
2 years ago
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…)
2 years ago
welpo
2b861ea940
📝 style: mention all table colours change, not just header
2 years ago
welpo
7a69759112
🍱 improvement: use webp instead of png
2 years ago
welpo
f555d34207
🐛 fix: set main image path relative to base_url
2 years ago
welpo
394479d777
📝 style: showcase tables & invertable images
2 years ago
welpo
f2cd044096
💄 style: set tab to 4 spaces; remove newlines
2 years ago
welpo
f6cd7d3cf2
🍱 docs: change the codeblock example
2 years ago
welpo
d412eae7df
💄 style: set Cascadia Code as code font
...
Modifies the markdown file to showcase the font's ligatures.
2 years ago
welpo
9f412205b3
💄 style: move quote author to quote block
2 years ago
welpo
2f4695dd0b
✨ feat: showcase invertable image
2 years ago
welpo
6783ff6e49
🚚 style: move main image to static path
2 years ago
welpo
067bc6ba25
🐛 fix: set absolute path to main image
...
Otherwise it would fail to load when changing page.
2 years ago
welpo
fd7a9da61c
🍱 style: increase contrast and saturation
2 years ago
welpo
c71065d756
🍱 style: smaller home image; different circle crop
2 years ago
welpo
e2edab51b7
💄 style: set local main image; no border-radius
2 years ago
welpo
f1317e398b
🍱 style: add local main image
...
Created with app Dollify.
2 years ago
welpo
48d10f59a5
💄 style: add link to Zola's site
...
Just to show it's possible to use markdown on homepage.
2 years ago
welpo
fcc7a31270
💄 style: change posts' dates to show off Archive
2 years ago
Óscar
0068912163
Merge branch 'main' into fix/style
2 years ago
welpo
31f70fffaf
💬 fix: capitalise Archive title
2 years ago
serginogal
3434cbc926
✨ feat: add archive screen
2 years ago
Sergi Nogal
40017f069f
Merge pull request #14 from welpo/feature/add-md-support-to-index
...
Feature/add md support to index
2 years ago
serginogal
c29697c421
💄 feat: change markdown description style
2 years ago
welpo
32d4a9358c
✨ feat: set Table of Contents per page, not globally
2 years ago
welpo
cc93f9fb7f
✏️ fix: use Sentence case in Projects title
2 years ago
welpo
2cef2e5502
🐛 fix: add end-of-file newline
2 years ago
welpo
32ca1d3e9e
🍱 fix: update theme screenshot in /projects
2 years ago
welpo
ec51960eeb
Remove .DS_Store
2 years ago
welpo
27c3c030eb
Add tabi screenshot
2 years ago
welpo
0b117d1641
first commit
2 years ago