From 4f78dc76cf92c778722df9e12755f2889e4d228d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 4 Feb 2023 23:38:09 +0100 Subject: [PATCH] variant: mention no IE11 in docs #445 --- exampleSite/content/basics/customization/_index.en.md | 4 ++++ exampleSite/content/basics/migration/_index.en.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/exampleSite/content/basics/customization/_index.en.md b/exampleSite/content/basics/customization/_index.en.md index 31a6245afd..91f5c57372 100644 --- a/exampleSite/content/basics/customization/_index.en.md +++ b/exampleSite/content/basics/customization/_index.en.md @@ -100,6 +100,10 @@ If you don't like that, you can set `themeVariantAuto`. The first element is the 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 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" %}}). diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index ffff955bdd..1692435b01 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -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. + 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 %}} The JavaScript code for handling image lightboxes (provided by [Featherlight](https://noelboss.github.io/featherlight)) was replaced by a CSS-only solution.