blob: fd25ab02150079079008eaf813f92e903d9bb78b (
plain)
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
|
////
/// Breakpoints
////
// Medium breakpoint
@media screen and (min-width: 40em) {
h1 { font-size: $fontSize * 3; }
h2 { font-size: $fontSize * 2.5; }
h3 { font-size: $fontSize * 2; }
h4 { font-size: $fontSize * 1.75; }
h5 { font-size: $fontSize * 1.25; }
h6 { font-size: $fontSize * 1; }
}
// Desktop breakpoint
@media screen and (min-width: 60em) {
h1 { font-size: $fontSize * 4.5; }
h2 { font-size: $fontSize * 3; }
h3 { font-size: $fontSize * 2.5; }
h4 { font-size: $fontSize * 2; }
h5 { font-size: $fontSize * 1.5; }
h6 { font-size: $fontSize * 1; }
// header
.header-wrapper {
background-color: $neutral;
display: table;
padding: .5em 1.5em;
width: 100%;
.headline {
padding: 0;
}
.headline,
.menu {
display: table-cell;
vertical-align: middle;
}
.headline {
text-align: left;
}
.menu {
text-align: right;
}
}
// Menu
.menu__items {
list-style-type: none;
margin: 0;
padding: 0;
li {
display: inline-block;
}
li + li {
margin-left: .5em;
}
li + li::before {
@include _separator-before($white, "|");
}
a {
background-color: transparent;
color: $contrast;
display: inline;
padding: 0;
text-decoration: none;
}
a:hover {
background-color: transparent;
color: $shadow;
}
}
}
|