3 /// html5up.net | @ajlkn
4 /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
9 @include keyframes('reveal-header') {
10 0% { top: -4em; opacity: 0; }
11 100% { top: 0; opacity: 1; }
15 @include vendor('display', 'flex');
16 background-color: _palette(bg-alt);
17 box-shadow: 0 0 0.25em 0 rgba(0,0,0,0.15);
19 font-weight: _font(weight-bold);
22 letter-spacing: _font(letter-spacing-alt);
26 text-transform: uppercase;
29 z-index: _misc(z-index-base);
33 display: inline-block;
40 @include vendor('transition', (
41 'background-color #{_duration(transition)} ease-in-out',
42 'color #{_duration(transition)} ease-in-out'
44 background-color: _palette(fg-bold);
46 display: inline-block;
48 margin-right: 0.325em;
49 padding: 0 0.125em 0 (_font(letter-spacing-alt) + 0.125em);
54 background-color: _palette(highlight);
60 background-color: desaturate(darken(_palette(highlight), 15), 5);
66 @include vendor('display', 'flex');
67 @include vendor('justify-content', 'flex-end');
68 @include vendor('flex-grow', '1');
80 vertical-align: middle;
87 padding-right: 3.325em !important;
90 background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 32" preserveAspectRatio="none"><style>line { stroke-width: 2px; stroke: #{_palette(fg-bold)}; }</style><line x1="0" y1="11" x2="24" y2="11" /><line x1="0" y1="21" x2="24" y2="21" /><line x1="0" y1="16" x2="24" y2="16" /></svg>');
91 background-position: center;
92 background-repeat: no-repeat;
93 background-size: 24px 32px;
100 vertical-align: middle;
105 @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
106 background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 32" preserveAspectRatio="none"><style>line { stroke-width: 2px; stroke: #{_palette(highlight)}; }</style><line x1="0" y1="11" x2="24" y2="11" /><line x1="0" y1="21" x2="24" y2="21" /><line x1="0" y1="16" x2="24" y2="16" /></svg>');
118 padding-right: 3.875em !important;
129 @include vendor('animation', 'reveal-header 0.35s ease');
133 @include vendor('transition', 'opacity #{_duration(banner)} ease');
134 @include vendor('transition-delay', '0.75s');
135 @include vendor('animation', 'none');
136 background-color: transparent;
140 &.style1 { .logo { strong { color: _palette(accent1); } } }
141 &.style2 { .logo { strong { color: _palette(accent2); } } }
142 &.style3 { .logo { strong { color: _palette(accent3); } } }
143 &.style4 { .logo { strong { color: _palette(accent4); } } }
144 &.style5 { .logo { strong { color: _palette(accent5); } } }
145 &.style6 { .logo { strong { color: _palette(accent6); } } }
154 @include breakpoint('<=xlarge') {
158 padding-right: 3.75em !important;
161 padding-right: 4.25em !important;
168 @include breakpoint('<=large') {
172 padding-right: 4em !important;
175 padding-right: 4.5em !important;
182 @include breakpoint('<=small') {
199 padding-right: 3.25em !important;
206 padding-right: 4em !important;
217 @include breakpoint('<=xsmall') {
228 padding-right: 0 !important;