37 Commits (main)

Author SHA1 Message Date
Óscar 42f9bb9781
💄 style: improve navigation bar & metadata wrapping (#425) 3 months ago
Óscar 1027f5ba53
🌐 style: improve RTL styling consistency (#381) 5 months ago
Óscar Fernández 2c6ac293ad
️ fix: improve accessibility and i18n (#183) 1 year ago
Jake G 437c55cf33
💄 style(language-switcher): update icon to be lighter (#173)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 1 year ago
Óscar 32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
1 year ago
Óscar ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2 years ago
welpo 8c5f30556a
⚰️ refactor: remove unused code 2 years ago
welpo 5d91a0dcac
💄 style: center wrapped menu items
💄 style: decrease spacing around language switcher
2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo 25d3a4d109
️ style: restore meta font in article to sans-serif 2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
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
2 years ago
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 7a1bb1d04c
🎨 refactor: improve code format; set tabs = 4 spaces 2 years ago
welpo 5df62f546c
💄 style: improve header's responsiveness
Both title and navs take up 100% of the width on small displays.

Closes #48
2 years ago
welpo 0f14171b6a
♻️ refactor: move .last-updated to main.scss 2 years ago
welpo 76db25b44a
♻️ refactor: standarise left/right margins 2 years ago
welpo e93b33e6b8
🐛 fix: remove horizontall scroll on mobile 2 years ago
welpo 50b8d5fc7b
️ fix: improve accessibility in lists & taps 2 years ago
welpo ba19524254
💄 style: simplify colourscheme
Improves accessibility and cohesion.
2 years ago
welpo 7195734d59
🐛 fix: set proper ul & li scope for .meta elements
Fixes broken Table of Contents styling.
2 years ago
welpo cd2ab356be
💄 style: redesign post listing and other minor changes 2 years ago
welpo 887929fac7
♻️ refactor: wrap tags in ul>li
Long tags will get wrapped onto new lines now.
2 years ago
welpo ed47f2580b
feat: add 'Last updated' extra tag 2 years ago
welpo 83b7bb9d3a
💄 style: increase margins before content & after ToC 2 years ago
welpo 0ecc656b91
💄 style: reduce font size for meta in cards 2 years ago
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.
2 years ago
welpo 8fe96d3f46
Commit Message: Refactor font weight and size, add article max-width, update color variables 2 years ago
welpo 4f7e25b01e
💄style: set consistent no border radius
Only border radius left is main picture.
2 years ago
welpo 973e0f76f8
💄 style: increase padding between navs 2 years ago
welpo fcb8db43a6
💄 style: increase padding between navs 2 years ago
serginogal 1c1e124115 🐛 fix: make navbar width and margin same as content 2 years ago
welpo 6a4620a33b 🐛 fix: set consistent padding between nav and main content 2 years ago
welpo 8b28ea75d6 🐛 fix: consistent round background for hovering over links
Changes the coloured background on the main/home title text when
hovering, so that it is as round as the rest of the navbar.
2 years ago
serginogal b044e30b1a 🐛 fix: nav-links hover style 2 years ago
welpo 0b117d1641 first commit 2 years ago