variant: mention no IE11 in docs #445

This commit is contained in:
Sören Weber 2023-02-04 23:38:09 +01:00
parent df0a4102e2
commit 4f78dc76cf
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 6 additions and 0 deletions

View file

@ -100,6 +100,10 @@ If you don't like that, you can set `themeVariantAuto`. The first element is the
themeVariantAuto = [ "learn", "neon" ] themeVariantAuto = [ "learn", "neon" ]
``` ```
{{% notice note %}}
This is not supported for Internet Explorer 11, which still displays in the `relearn-light` variant.
{{% /notice %}}
### Roll your own ### Roll your own
If you are not happy with the shipped variants you can either copy and rename one of the shipped files from `themes/hugo-theme-relearn/static/css` to `static/css`, edit them afterwards to your liking in a text editor and configure the `themeVariant` parameter in your `config.toml` or just use the [interactive variant generator]({{%relref "basics/generator" %}}). If you are not happy with the shipped variants you can either copy and rename one of the shipped files from `themes/hugo-theme-relearn/static/css` to `static/css`, edit them afterwards to your liking in a text editor and configure the `themeVariant` parameter in your `config.toml` or just use the [interactive variant generator]({{%relref "basics/generator" %}}).

View file

@ -34,6 +34,8 @@ This document shows you what's new in the latest release. For a detailed list of
Additionally you are able to configure the variants to be taken for light/dark mode with the new `themeVariantAuto` parameter. Additionally you are able to configure the variants to be taken for light/dark mode with the new `themeVariantAuto` parameter.
This is not supported for Internet Explorer 11, which still displays in the `relearn-light` variant.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} In the effort to comply with WCAG standards, the implementation of the [`expand` shortcode]({{% relref "shortcodes/expand" %}}) was changed. While Internet Explorer 11 has issues in displaying it, the functionality still works. - {{% badge style="note" title=" " %}}Change{{% /badge %}} In the effort to comply with WCAG standards, the implementation of the [`expand` shortcode]({{% relref "shortcodes/expand" %}}) was changed. While Internet Explorer 11 has issues in displaying it, the functionality still works.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} The JavaScript code for handling image lightboxes (provided by [Featherlight](https://noelboss.github.io/featherlight)) was replaced by a CSS-only solution. - {{% badge style="note" title=" " %}}Change{{% /badge %}} The JavaScript code for handling image lightboxes (provided by [Featherlight](https://noelboss.github.io/featherlight)) was replaced by a CSS-only solution.