diff --git a/docs/assets/images/wgportal_dark.png b/docs/assets/images/wgportal_dark.png new file mode 100644 index 0000000..7260037 Binary files /dev/null and b/docs/assets/images/wgportal_dark.png differ diff --git a/docs/assets/images/wgportal_light.png b/docs/assets/images/wgportal_light.png new file mode 100644 index 0000000..9b76aa6 Binary files /dev/null and b/docs/assets/images/wgportal_light.png differ diff --git a/docs/theme-overrides/layouts/home.html b/docs/theme-overrides/layouts/home.html index 447ab19..db5b297 100644 --- a/docs/theme-overrides/layouts/home.html +++ b/docs/theme-overrides/layouts/home.html @@ -300,6 +300,59 @@ background: var(--md-accent-fg-color--transparent); } +.before, +.after { + margin: 0; +} + +.after figcaption { + background: #fff; + font-weight: bold; + border: 1px solid #c0c0c0; + color: #000000; + opacity: 0.9; + padding: 9px; + position: absolute; + top: 100%; + transform: translateY(-100%); + line-height: 100%; +} + +.before figcaption { + background: #000; + font-weight: bold; + border: 1px solid #c0c0c0; + color: #ffffff; + opacity: 0.9; + padding: 9px; + position: absolute; + top: 100%; + transform: translateY(-100%); + line-height: 100%; +} + +.before figcaption { + left: 0px; +} +.after figcaption { + right: 0px; +} +.custom-animated-handle { + transition: transform 0.2s; +} + +.slider-with-animated-handle:hover .custom-animated-handle { + transform: scale(1.2); +} +.md-typeset img-comparison-slider figure { + margin: initial; +} + +.first-overlay { + color: #000; +} + + @@ -326,11 +379,21 @@
- +
+ +
+ Light Mode +
Light Mode
+
+
+ Dark Mode +
Dark Mode
+
+ + + +
+
diff --git a/docs/theme-overrides/main.html b/docs/theme-overrides/main.html index adb180f..821f30c 100644 --- a/docs/theme-overrides/main.html +++ b/docs/theme-overrides/main.html @@ -14,4 +14,12 @@ {% endif %} + + {% endblock %} \ No newline at end of file