Commit graph

20 commits

Author SHA1 Message Date
Sören Weber
4d514de8d1
anchor: make sure button is unthemed #982 2025-01-02 19:41:24 +01:00
Sören Weber
64ffb39f35
clipboard: make copy button reachable by keyboard #983 2025-01-01 21:56:52 +01:00
Sören Weber
ee07f8ff7d
a11y: use native button elements where appropriate #982 2025-01-01 21:52:00 +01:00
Sören Weber
dafc7168a3
notice: links aren't clickable #968 2024-12-10 19:31:02 +01:00
Sören Weber
0505b36141
theme: fix flash of non-default variant, part I #757
implements the first part, working for configured variants;

for that, loading of stylesheets was overhauled by now
merging all configured variants into one big stylesheet for
each output format and loading this instead of one stylesheet
per configured variant;

previously @media print styles were applied on top of @media screen
styles; this is now strictly isolated, which doesn't require styles
like neon to revert styles for print anymore;

this change was also used to implement the minify parameter, to shrink
those generated stylesheets, making them shrink to 66% of their
unminified size for the exampleSite;

the theme switcher functionality is now completely independend of
variant.js; the switch is now handled by in-page javascript which
avoids waiting for external scripts to load, so switching can happen
as early as possible;

switching of themes is now implemented by just setting a data attribute
to the html element, were previously a complex mechanism of dynamically
loading of variant CSS files was implemented;

the call for variant.js was removed in this changeset, making the
generator broken and useless; this will be fixed with the next patch;
2024-12-06 07:38:05 +01:00
Sören Weber
39fcbb3283
menu: replace clumsy expand implementation #955
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-11-30 19:55:14 +01:00
Sören Weber
bda57027b3
notice: improve accessibility of notice title #897
switch to details/summary elements which hopefully has better a11y
and will simplify state handling as it is build into the browser
2024-11-30 19:10:58 +01:00
Sören Weber
e32ff04f06
expand: use notice internally #953 2024-11-29 22:41:18 +01:00
Sören Weber
348702d8c2
theme: apply Prettier config #947 2024-11-15 23:38:25 +01:00
Sören Weber
40a55a3e52
menu: fix style for non-main submenus #423 2024-10-24 19:57:02 +02:00
Sören Weber
79b43fcfce
menu: support nested Hugo menus #423 2024-10-22 19:35:28 +02:00
Sören Weber
758f74d4a9
logo: move default styles #924 2024-10-13 01:47:48 +02:00
Sören Weber
92b1e68ae7
theme: more fun with fonts #922 2024-10-13 01:47:07 +02:00
Sören Weber
2061495d2e
theme: make bold weight configurable #922
to avoid migration hassle if someone forced a different font
2024-10-12 23:09:25 +02:00
Sören Weber
d34d155e5d
logo: fix migration issues #924
test installations shown an unwanted resize of the logo
2024-10-12 22:03:57 +02:00
Sören Weber
21c7bb3034
logo: move Relearn logo to exampleSite #924 2024-10-11 16:47:36 +02:00
Sören Weber
34c46451bd
theme: fix home button styling 2024-10-11 16:47:24 +02:00
Sören Weber
f0a80f64ad
theme: increase thickness of bold text #922 2024-10-11 16:47:23 +02:00
Sören Weber
9eec161dba
theme: replace font Work Sans with Roboto Flex #922 2024-10-11 16:47:22 +02:00
Sören Weber
14d290cf63
theme: merge variant.css in theme.css #922
- for improving maintainability
- preparing for font switch
2024-10-11 16:47:22 +02:00
Renamed from static/css/theme.css (Browse further)