summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/components/_header.scss')
-rw-r--r--assets/css/components/_header.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss
index 56d09cd..60f4e05 100644
--- a/assets/css/components/_header.scss
+++ b/assets/css/components/_header.scss
@@ -70,10 +70,19 @@
70 height: prop(--dims --icon); 70 height: prop(--dims --icon);
71 } 71 }
72 72
73 @include modifier('fixed') {
74 position: fixed;
75 }
76
73 @include media('>=lg') { 77 @include media('>=lg') {
74 position: sticky; 78 position: sticky;
79 z-index: 100;
75 top: 0; 80 top: 0;
76 margin-bottom: calc(-.75 * #{prop(--dims --height)}); 81 margin-bottom: calc(-.75 * #{prop(--dims --height)});
82
83 @include modifier('fixed') {
84 position: fixed;
85 }
77 } 86 }
78 87
79 @media print { 88 @media print {