This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
_header.scss
95 lines (85 loc) · 1.62 KB
/
_header.scss
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
93
94
95
header[role='banner'] {
.page-header {
padding-top: 0;
}
.page-header--beta-banner__wrapper {
background-color: #313131;
color: #5bcbe3;
padding: 0.8em 0;
p {
margin: 0;
}
a {
color: #5bcbe3;
border: none;
text-decoration: underline;
&:hover {
text-decoration: none;
background-color: transparent;
}
&:focus {
background-color: transparent;
outline: 3px solid $light-aqua;
}
}
}
.page-header__logo {
width: 523px;
height: 130px;
display: block;
margin: 0 auto $base-spacing auto;
img.hidden {
display: none;
}
@include media($mobile-only) {
margin-bottom: 0;
width: 100%;
max-width: 400px;
}
@include media($tablet) {
max-width: 45%;
float: left;
}
@include media($desktop) {
max-width: 500px;
height: 150px;
}
a {
border-bottom: none;
display: block;
&:focus {
background-color: $light-aqua;
}
&:hover {
background-color: transparent;
border-bottom: solid 5px $light-aqua;
transition: none;
}
}
img {
padding: 0;
}
}
.site-search {
@include media($mobile) {
width: 100%;
float: none;
margin-top: 0;
}
@include media($tablet) {
float: right;
max-width: 40%;
margin-top: $base-spacing;
}
@include media($desktop) {
max-width: 450px;
margin-top: $base-spacing * 2;
}
}
.site-nav {
clear: left;
@include ie-lte(9) {
@include ie-clearfix;
}
}
}