File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
// Custom classes we use to extend Tachyons
2
2
3
+ // Note that for *new* definitions we need to apply only at the smallest sizes,
4
+ // we have to specify as much (rather than having them be the default), because
5
+ // media queries do not increase specificity, and as such our classes will
6
+ // *always* trump Tachyon's classes by way of being defined *after* them.
7
+ @media screen and (max-width : 30em ) {
8
+ .flex-20-s {
9
+ flex : 0 0 20% ;
10
+ }
11
+ }
12
+
3
13
@media screen and (min-width : 30em ) and (max-width : 60em ) {
4
14
.max-width-half-m {
5
15
max-width : 50% ;
Original file line number Diff line number Diff line change 7
7
<span class =" pl4 db dn-l" >{{!-- spacer --}} </span >
8
8
</a >
9
9
10
- <ul class =" nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph4-ns" >
11
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /tools/install" >Install</a ></li >
12
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /learn" >Learn</a ></li >
13
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /tools" >Tools</a ></li >
14
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /governance" >Governance</a ></li >
15
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" /community" >Community</a ></li >
16
- <li class =" flex-inline pv2 ph2 ph4-ns" ><a href =" https://blog.rust-lang.org/" target =" _blank" rel =" noopener" >Blog</a ></li >
10
+ <ul class =" nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph0 ph4-ns" >
11
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" /tools/install" >Install</a ></li >
12
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" /learn" >Learn</a ></li >
13
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" /tools" >Tools</a ></li >
14
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" /governance" >Governance</a ></li >
15
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" /community" >Community</a ></li >
16
+ <li class =" tc pv2 ph2 ph4-ns flex-20-s " ><a href =" https://blog.rust-lang.org/" target =" _blank" rel =" noopener" >Blog</a ></li >
17
17
</ul >
18
18
19
19
<div class =" w-100 w-auto-l flex-none flex justify-center pv4 pv-0-l languages" >
You can’t perform that action at this time.
0 commit comments