Sören Weber
deee4ae6b7
theme: fix flash of non-default variant, part II #757
...
adapt the variant generator to previous changes;
interestingly, the new mechanism caused the variant generator
to be greatly simplified; something, I didn't expect beforehand
2024-12-08 00:17:03 +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
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
57defcfab7
theme: prepare for Prettier config #947
2024-11-15 23:36:23 +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
9f69cb73b0
theme: make users with font changes accountable #922
2024-10-13 00:48:07 +02:00
Sören Weber
d1e5e8e309
openapi: restore h2 font size #922
2024-10-13 00:24:19 +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
Sören Weber
dbfada89d6
style: relaxing to restrictive rule #891
...
this caused ill formatting for .article-subheading in print outputformat
2024-10-11 16:47:00 +02:00
Sören Weber
c5db84c5db
theme: add migration layer #891
2024-10-11 16:45:46 +02:00
Sören Weber
8692fc4988
theme: broadly renaming template files #891
2024-10-11 16:45:40 +02:00
Sören Weber
e95d057776
theme: replace output-partial by Hugo mechanisms #891
2024-10-11 16:45:37 +02:00
Sören Weber
70e51b0c26
notice: support user defined box styles #913
2024-09-12 07:55:24 +02:00
Sören Weber
67fb8b987f
notice: add expander to box title #901
2024-09-01 13:56:39 +02:00
Sören Weber
83b1f27cb9
theme: support for GitHub styled alerts #885
2024-08-13 12:48:25 +02:00
Sören Weber
1b2e139512
assetbuster: use asset buster for all resources #875
2024-07-04 08:23:54 +02:00
Sören Weber
f00152ec3f
variant: align Neon colors to Learn
...
to better match auto mode with both variants
2024-04-27 15:58:31 +02:00
Sören Weber
0c748b2fd3
variant: darker purple for neon
2024-04-23 22:07:53 +02:00
Sören Weber
56bc54d92d
variant: purple is the new blue in neon
2024-04-23 22:04:28 +02:00
Sören Weber
ca0db4d815
variant: remove unnecessary themeVariantModifier option #831
2024-04-19 00:03:45 +02:00
Sören Weber
bd40625c21
variant: avoid Hugo permission errors on build #831
2024-04-19 00:02:28 +02:00
Sören Weber
e952e148fc
theme: end support for Internet Explorer 11 #584
2024-04-18 23:32:19 +02:00
Sören Weber
7ee2023bff
print: make it nice #822
...
now the user can use <mark> aswell as the theme, when marking search results in the page;
to only print users <mark> with color, we had to adjust the serach highlighting
2024-04-05 00:22:12 +02:00
Sören Weber
829a097e18
print: fix overflows after removing !important stuff
2023-12-04 00:41:44 +01:00
Sören Weber
8cca74e3e6
variant: introduce option for filename modifier #679 #734
2023-12-03 15:22:32 +01:00
Sören Weber
b49668a203
variant: make chroma style dynamically switchable #679
2023-11-25 14:23:58 +01:00
Sören Weber
a435587765
variant: themeVariantAuto for advanced options #679
2023-11-23 01:05:26 +01:00
Sören Weber
258093e2d5
variant: allow extended configuration #679
...
currently only the additional name option is recognized
2023-11-20 09:39:40 +01:00
Sören Weber
c3a67fad85
variant: make auto variant work in all combinations of root/subfolder and hugo/hugo server #516
2023-05-18 15:56:16 +02:00
Sören Weber
563606425b
variant: avoid style leak for auto style #473
2023-02-10 18:38:27 +01:00
Sören Weber
81aafc7f9c
variant: include missing theme-auto.css in distribution #467
2023-02-06 06:40:39 +01:00