This repository was archived by the owner on Oct 10, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-22
lines changed Expand file tree Collapse file tree 2 files changed +17
-22
lines changed Original file line number Diff line number Diff line change 11
11
12
12
.brand img {
13
13
height :40px ;
14
- margin-right :10px ;
15
14
margin-top :-2px ;
16
15
}
17
16
27
26
28
27
a {
29
28
border :0 ;
30
- margin : 0 0.9 em ;
29
+ margin-right : 1.8 em ;
31
30
display :inline-block ;
32
31
33
32
& :hover {
Original file line number Diff line number Diff line change 1
- @media (max-width : 1000 px ) {
1
+ @media (max-width : 900 px ) {
2
2
3
3
// hide tagline
4
4
.tagline span {
82
82
}
83
83
}
84
84
85
- // hide nav (blog, product, about links)
85
+ // narrow nav spacing (blog, product, about links)
86
86
.site-nav {
87
+ nav {
88
+ padding-left : 15px ;
89
+ padding-right : 15px ;
90
+ }
91
+
87
92
#navigation {
88
93
a {
89
- display : none ;
94
+ margin-right : 1 em ;
90
95
}
91
-
92
- // don't hide brand logo
93
- .brand {
94
- display :inline-block ;
95
- }
96
96
}
97
97
}
98
98
125
125
}
126
126
}
127
127
128
+ @media (max-width : 500px ) {
129
+ // hide "learn more" button
130
+ nav .tagline {
131
+ display : none ;
132
+ }
133
+ }
134
+
135
+
128
136
@media (max-width : 400px ) {
129
137
130
138
article {
153
161
}
154
162
}
155
163
156
- // move brand logo to the left
157
- .site-nav {
158
- nav {
159
- padding-left : 10px ;
160
- }
161
- }
162
-
163
- // move product link to the right
164
- nav .tagline {
165
- padding-right : 20px ;
166
- }
167
-
168
164
// reduce margin of post blocks
169
165
.index {
170
166
margin :0 5% ;
You can’t perform that action at this time.
0 commit comments