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

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/scss/layouts/_header.scss')
-rwxr-xr-xsrc/scss/layouts/_header.scss10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/scss/layouts/_header.scss b/src/scss/layouts/_header.scss
index bfb3176..6008759 100755
--- a/src/scss/layouts/_header.scss
+++ b/src/scss/layouts/_header.scss
@@ -18,11 +18,6 @@
-webkit-backface-visibility: hidden;
-webkit-perspective: 1000;
- min-width: $main-width;
- @media only screen and (max-width: $main-width) {
- min-width: 100%;
- }
-
#btn-open-sidebar {
position: absolute;
// vertical center
@@ -72,9 +67,8 @@
}
}
// Class used to swipe to the top the header on small screen when the user scroll down
- @include prefix(transition, 'margin-top 0.5s, margin-left 0.5s, width 0.5s', 'webkit' 'moz');
&.header-up {
- margin-top: -#{map-get($header, height)};
+ @include prefix(transform, translate3d(0, -#{map-get($header, height)}, 0), 'webkit' 'moz');
}
// Push the header from the size of the large sidebar
@@ -122,4 +116,4 @@
#header {
display: none;
}
-} \ No newline at end of file
+}