Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 4832d1b..0fdc8fe 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -31,6 +31,24 @@
}
</style>
+ <style id="darkTheme">
+ .intro-and-nav,
+ .main-and-footer {
+ filter: invert(100%);
+ }
+
+ * {
+ background-color: inherit
+ }
+
+ img:not([src*=".svg"]),
+ .colors,
+ iframe,
+ .demo-container {
+ filter: invert(100%);
+ }
+ </style>
+
<link rel="stylesheet" href="{{ "css/prism.css" | relURL }}" media="none" onload="this.media='all';">
{{ $templateStyles := resources.Get "css/template-styles.css" }}