Commit graph

22 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
ce72cce3e9
theme: format more files #947 2024-11-16 00:30:25 +01: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
e952e148fc
theme: end support for Internet Explorer 11 #584 2024-04-18 23:32:19 +02:00
Sören Weber
e95386a556
theme: remove FF compat warnings 2023-12-05 12:50:13 +01:00
Sören Weber
5342161fed
mermaid: avoid graph bombing on hugo --minify #656 2023-09-30 21:41:31 +02:00
Sören Weber
914c2a9da4
#theme: fix links in nav and menu on hover #577 2023-06-28 23:45:00 +02:00
Sören Weber
63928e5a91
theme: improve display of links #577 2023-06-23 11:50:29 +02:00
Sören Weber
06d35bbbdb
openapi: replace implementation with swagger-ui #523 2023-05-14 23:05:07 +02:00
Sören Weber
c0a1c9cbcb
menu: rebuild collapsible expander #466
because sizing and positioning was a mess;
the follwing things are fixed with this:
- resizes and positions correctly according to html elements font-size
- IE11 compatiblity is now given
- a11y: expander is now correctly given a focus outline
- chevron is now coded into html instead of a css content value, which makes it easier to change (was an issue in the past)
- the visited checkmark now breaks correctly on long lines and hides behind the text if necessary
- some more css classes were introduced to make further extensions (eg. nested shortcut links) easier
2023-02-24 23:29:33 +01:00
Sören Weber
4b7409f31c
theme: switch layout and menu to rem units #466 2023-02-14 20:28:11 +01:00
Sören Weber
d62e2f7e0e
i18n: full support for RTL #470 2023-02-10 00:34:47 +01:00
Sören Weber
fbdb71e6fa
responsive: switch to rem units for scalable sizing #466 2023-02-07 00:32:28 +01:00
Sören Weber
41582f63f0
theme: add accent color #409 2022-12-02 20:44:53 +01:00
Sören Weber
0ac97ba47e
i18n: support RTL in content #357 2022-11-01 02:00:50 +01:00
Sören Weber
897e004e1a
archetypes: rethink rendering #300 2022-07-05 00:19:27 +02:00
Sören Weber
6fcb287e3b
theme: remove some unused styles
as proclaimed by Edge
2022-04-03 18:34:25 +02:00
Sören Weber
ee80b251ef
theme: nuke unused nucleus styles 2022-03-25 14:01:58 +01:00
Sören Weber
89dab09410
theme: streamline block margins #92 2021-09-29 00:08:26 +02:00
Sören Weber
fcf9b1586c
theme: remove unused styles #92 2021-09-29 00:00:44 +02:00
Lloyd Benson
92d8204121 remove source map metadata since .map is not included in the theme to fix firefox 404s 2018-10-01 13:36:06 -05:00
Mathieu Cornic
9246996907 feat: init commit with basic functionnalities 2016-03-17 12:01:39 +01:00