Commit graph

816 commits

Author SHA1 Message Date
Sören Weber
b6ba7c20f2
variantgenerator: always download the selected variant #757 2024-12-08 01:43:53 +01:00
Sören Weber
5208766085
variantgenerator: avoid accidently overwriting of existing changes #757 2024-12-08 01:01:53 +01:00
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
25824cef5b
mermaid: print preview closes automatically after opening #959
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-12-04 20:10:25 +01:00
Sören Weber
bc369da06e
mermaid: update to 11.4.1 #951 2024-11-27 19:24:09 +01:00
Sören Weber
a36e20dad7
theme: changed prettier settings #947 2024-11-27 19:23:52 +01:00
Sören Weber
a22e183c51
theme: move fonts all into one dir #947
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-11-16 00:37:07 +01:00
Sören Weber
ce72cce3e9
theme: format more files #947 2024-11-16 00:30:25 +01:00
Sören Weber
348702d8c2
theme: apply Prettier config #947 2024-11-15 23:38:25 +01: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
1ee0b86b6b
children: don't let list items look fiddly #567 2024-10-11 16:47:16 +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
58110a0c1d
theme: remove obsolete style
is included in theme.css
2024-10-11 16:46:55 +02:00
Sören Weber
5356b3b15a
theme: restructure release notes #917 2024-10-11 16:46:41 +02:00
Sören Weber
e79541352b
theme: misc stuff #891 2024-10-11 16:45:42 +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
24726ef4b0
search: index file rename #888 2024-10-11 16:45:34 +02:00
Sören Weber
b896794c80
highlight: remove additional newlines from code if copied from cursor selection #925 2024-10-11 16:16:28 +02:00
Sören Weber
7d927f1925
include: don't erroneously remove headings if hidefirstheading=true #914 2024-09-12 14:58:56 +02:00
Sören Weber
70e51b0c26
notice: support user defined box styles #913 2024-09-12 07:55:24 +02:00
Sören Weber
5d7bdfcb33
notice: fix code in markdown alerts, take II #906 2024-09-11 21:01:56 +02:00
Sören Weber
1858bf48a3
notice: fix styling for Markdown code boxes #906 2024-09-06 08:49:40 +02:00
Sören Weber
0edaa81974
notice: collapse borders if single code block is displayed #906 2024-09-04 19:48:14 +02:00
Sören Weber
550a6eeb92
mermaid: update to 11.1.0 #904 2024-09-02 17:48:55 +02:00
Sören Weber
67fb8b987f
notice: add expander to box title #901 2024-09-01 13:56:39 +02:00
Sören Weber
28975d0dbf
mermaid: classDiagram breaks when using <<interface>> #895 2024-08-29 11:36:44 +02:00
Sören Weber
86aad0a516
404: move styles to separate file #889 2024-08-23 00:11:54 +02:00
Sören Weber
3a0ae52e61
arrownav: avoid rude event handling for form elements #887 2024-08-22 19:25:40 +02:00
Sören Weber
efa0a93fb7
anchor: add option to scroll into view #886 2024-08-22 18:33:27 +02:00
Sören Weber
83b1f27cb9
theme: support for GitHub styled alerts #885 2024-08-13 12:48:25 +02:00
Sören Weber
bf504c9712
icon: update Font Awesome to 6.6.0 #881 2024-08-02 11:19:51 +02:00
Sören Weber
c3b567bb1c
math: update MathJax to 3.2.2 #880 2024-08-02 11:12:12 +02:00
Sören Weber
8f6356ecc5
openapi: update swagger-ui to 5.17.14 #879 2024-08-02 11:01:23 +02:00
Sören Weber
d65db880a3
mermaid: update to 10.9.1 #878 2024-08-02 10:54:29 +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
cfd65dad08
theme: use --bpx1 consistently throughout CSS 2024-05-28 20:00:08 +02:00
Sören Weber
bd3a4030fb
search: remove JSON outputformat for search index #846 2024-04-27 00:21:02 +02:00
Sören Weber
0dde58adc3
a11y: add some outline to menu controls #838 2024-04-23 21:52:58 +02:00
Sören Weber
12d3a91067
button: fix outline color for some unusual derivations #838 2024-04-23 21:52:24 +02:00
Sören Weber
e326a8e85f
images: color outline using primary color #838 2024-04-22 23:42:24 +02:00
Sören Weber
1934f80347
lightbox: remove outline #838 2024-04-21 23:19:39 +02:00
Sören Weber
625ca2d45a
variant: remove themeVariantModifier artifact #831 2024-04-19 22:40:45 +02:00
Sören Weber
8af14cfbd9
fontawesome: update to 6.5.2 #834 2024-04-19 07:27:13 +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
77ed3f431a
theme: fixing typos #581 2024-04-12 17:30:31 +02:00
Sören Weber
555f609dd2
docs: fixing typos #581 2024-04-12 17:30:16 +02:00