This repository was archived by the owner on Dec 24, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_header.scss
More file actions
92 lines (76 loc) · 1.55 KB
/
_header.scss
File metadata and controls
92 lines (76 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Header */
#header {
@include vendor('display', 'flex');
background-color: _palette(accent1);
cursor: default;
padding: 1.75em 2em;
> .title {
border: 0;
color: _palette(fg-bold);
display: block;
font-size: 1.25em;
font-weight: _font(weight-bold);
}
> nav {
@include vendor('flex', '1');
text-align: right;
> ul {
margin: 0;
padding: 0;
> li {
display: inline-block;
margin-left: 1.75em;
padding: 0;
vertical-align: middle;
&:first-child {
margin-left: 0;
}
a {
border: 0;
color: _palette(fg-light);
display: inline-block;
font-size: 0.6em;
font-weight: _font(weight-bold);
letter-spacing: _font(kerning-alt);
text-transform: uppercase;
&:hover {
color: _palette(fg);
}
&.active {
color: _palette(fg-bold);
}
}
}
}
}
@include breakpoint(small) {
padding: 1em 2em;
}
@include breakpoint(xsmall) {
display: block;
padding: 0 2em;
text-align: left;
.title {
font-size: 1.25em;
padding: 1em 0;
}
> nav {
border-top: solid 1px _palette(border);
text-align: inherit;
> ul {
> li {
margin-left: 1.5em;
a {
height: 6em;
line-height: 6em;
}
}
}
}
}
}