File tree Expand file tree Collapse file tree 2 files changed +31
-12
lines changed Expand file tree Collapse file tree 2 files changed +31
-12
lines changed Original file line number Diff line number Diff line change 34
34
padding : 0.6em 1em ;
35
35
36
36
@include break {
37
+ padding :0 1.5em ;
38
+ }
39
+
40
+ @include break (' large' ) {
37
41
padding :0 0 0 1.5em ;
38
42
}
39
43
}
69
73
align-items : center ;
70
74
justify-content : flex-end ;
71
75
}
76
+
77
+ @include break (' large' ) {
78
+ padding-right :0 ;
79
+ }
72
80
}
73
81
74
82
.navigation__link {
75
- font-size : getFontSize (-1 );
76
- padding :1.5em ;
77
- text-transform : uppercase ;
78
- color : map-get ($colors , dusty-grey );
79
- transition :all 250ms ;
83
+ @include break {
84
+ font-size : getFontSize (-1 );
85
+ text-transform : uppercase ;
86
+ color : map-get ($colors , dusty-grey );
87
+ transition :all 250ms ;
88
+ padding :1.75em 0 ;
89
+ margin-left :1.5em ;
90
+ }
80
91
81
- & :hover ,
82
- & --active {
83
- color : map-get ($colors , white );
92
+ @include break (' large' ) {
93
+ padding :1.5em ;
94
+ margin-left :0 ;
95
+
96
+ & --active {
97
+ background : map-get ($colors , emperor );
98
+ }
84
99
}
85
100
101
+ & :hover ,
86
102
& --active {
87
- background : map-get ($colors , emperor );
103
+ color : map-get ($colors , white );
88
104
}
89
105
}
Original file line number Diff line number Diff line change 10
10
11
11
// XXX: Temporary hack to fix sidebar width
12
12
.page div :first-of-type {
13
- flex :0 0 auto ;
14
- overflow :auto ;
13
+ flex : 0 0 auto ;
14
+ overflow : auto ;
15
15
16
16
@include break {
17
+ flex :0 0 30% ;
18
+ }
19
+
20
+ @include break (' large' ) {
17
21
flex :0 0 25% ;
18
- overflow :hidden ;
19
22
}
20
23
}
21
24
You can’t perform that action at this time.
0 commit comments