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

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/themes/gohugoioTheme/assets/css/_stickyheader.css')
-rw-r--r--docs/themes/gohugoioTheme/assets/css/_stickyheader.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/themes/gohugoioTheme/assets/css/_stickyheader.css b/docs/themes/gohugoioTheme/assets/css/_stickyheader.css
new file mode 100644
index 000000000..7759bed96
--- /dev/null
+++ b/docs/themes/gohugoioTheme/assets/css/_stickyheader.css
@@ -0,0 +1,15 @@
+
+@media (min-width: 75em) {
+
+ [data-scrolldir="down"] .sticky {
+ position: fixed;
+ top:100px;
+ right:0;
+ }
+
+ [data-scrolldir="up"] .sticky {
+ position: fixed;
+ top:100px;
+ right:0;
+ }
+}