summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_header.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-29 15:51:49 +0100
committerVolpeon <git@volpeon.ink>2021-12-29 15:51:49 +0100
commit312015e8f74ca1738e7160e5d66cad9dcb07c6fd (patch)
tree0fa7922b190e22bfd82627d4b65552a981cd0340 /assets/css/components/_header.scss
parentSupport for more complex layouts (diff)
downloadvolpeon.ink-312015e8f74ca1738e7160e5d66cad9dcb07c6fd.tar.gz
volpeon.ink-312015e8f74ca1738e7160e5d66cad9dcb07c6fd.tar.bz2
volpeon.ink-312015e8f74ca1738e7160e5d66cad9dcb07c6fd.zip
Initial gallery macro
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 {