forked from adafruit/circuitpython-org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_header.scss
More file actions
129 lines (108 loc) · 1.93 KB
/
Copy path_header.scss
File metadata and controls
129 lines (108 loc) · 1.93 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@use "sass:color";
@use "../base/mixins";
@use "../base/variables";
#site-header {
display: grid;
grid-template-rows: 40px 1fr;
grid-column: full;
.wrapper {
@include mixins.readable-content;
}
.content {
display: grid;
background-color: #fff;
height: 100px;
border-radius: 25px;
padding: 0 25px;
margin: 20px 0;
}
}
.top-navigation {
background-color: variables.$dark-gray;
@include mixins.readable-content;
.navigation {
margin-left: 15px;
padding: 10px;
a {
font-size: 16px;
color: #aaa;
margin-right: 40px;
&.active {
color: #fff;
}
&:hover {
color: #fff;
}
}
a.skip-link {
margin-left: 0;
position: absolute;
left: 10px;
top: 10px;
transform: translateY(-200%);
transition: transform 0.6s;
&:focus {
transform: translateY(0%);
}
}
}
}
.site-brand {
position: relative;
display: flex;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
.get-started {
flex: 1;
display: flex;
justify-content: flex-end;
a {
@include mixins.rounded-button;
}
}
}
.site-logo {
flex-basis: 1;
display: flex;
justify-content: center;
}
.site-banner {
font-size: 20px;
padding-left: 120px;
a {
color: #fff;
}
}
.site-navigation {
flex: 1;
display: flex;
justify-content: flex-start;
padding: 0;
font-size: 20px;
font-weight: 500;
a {
margin-right: 30px;
color: variables.$purple;
white-space: nowrap;
&.active {
color: variables.$dark-gray;
}
&:hover {
color: variables.$dark-gray;
}
}
}
@media (max-width: variables.$screen-md-max) {
.site-navigation {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
}
}
@media (max-width: variables.$screen-xs-max) {
#site-header {
display: none !important;
}
}