Commit graph

555 commits

Author SHA1 Message Date
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
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
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
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
67fb8b987f
notice: add expander to box title #901 2024-09-01 13:56:39 +02:00
Sören Weber
86aad0a516
404: move styles to separate file #889 2024-08-23 00:11:54 +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
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
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
8af14cfbd9
fontawesome: update to 6.5.2 #834 2024-04-19 07:27:13 +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
555f609dd2
docs: fixing typos #581 2024-04-12 17:30:16 +02:00
Sören Weber
0f11308c93
variant: wildspace #822 2024-04-07 13:37:31 +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
a955167df4
theme: refine stuff #822 2024-04-04 23:49:34 +02:00
Sören Weber
24ba96eccb
theme: add style for kbd element #822 2024-04-04 23:15:51 +02:00
Sören Weber
58610aeefa
theme: add textmarker style for marked text #822 2024-04-04 22:11:31 +02:00
Sören Weber
2c8cf85ea1
a11y: improve search box #821 2024-04-04 17:49:28 +02:00
Sören Weber
0b37d72780
font: use woff2 for font-weight:200 2024-03-31 16:13:04 +02:00
Sören Weber
aa949164ae
scrollbar: scroll bar in side menu gets stuck in dragged state on mobile #808 2024-03-30 00:33:51 +01:00
Sören Weber
0c4bee9adb
nav: scroll to prev/next heading using keyboard shortcut #819 2024-03-29 21:09:03 +01:00
Sören Weber
1550a869f9
variant: make "clear history" glow in neon 2024-03-17 10:17:18 +01:00
Sören Weber
91752cc6b2
theme: support full page width #752 2024-03-11 23:52:26 +01:00
Sören Weber
be212bdbf6
mermaid: fix border position #795 2024-03-11 22:28:27 +01:00
Sören Weber
74b9aaaeed
mermaid: let it behave like block level element #795 2024-03-11 21:37:55 +01:00
Sören Weber
a9e7e8a492
mermaid: support Markdown attributes #795 2024-03-11 20:57:21 +01:00
Sören Weber
345de238c9
math: support Markdown attributes #795 2024-03-11 20:45:51 +01:00
Sören Weber
0cd82c9459
resources: new shortcode to deprecate attachments shortcode #22 2024-02-29 20:45:01 +01:00
Sören Weber
cc97ab0600
menu: use --MENU-WIDTH-S to adjust mobile flyout #761 2024-01-21 13:39:15 +01:00
Sören Weber
c2054f24dd
topbar: a11y #739 2023-12-05 15:50:11 +01:00
Sören Weber
e95386a556
theme: remove FF compat warnings 2023-12-05 12:50:13 +01:00
Sören Weber
edf50b44fe
menu: add outline for controls #726 2023-12-04 16:30:42 +01:00