File tree Expand file tree Collapse file tree 8 files changed +45
-33
lines changed Expand file tree Collapse file tree 8 files changed +45
-33
lines changed Original file line number Diff line number Diff line change 10
10
@include breakpoint ($large ) {
11
11
@include suffix (3 of 12 );
12
12
}
13
+ @include breakpoint ($x-large ) {
14
+ @include prefix (0.5 of 12 );
15
+ }
13
16
}
14
17
15
18
.archive__subtitle {
Original file line number Diff line number Diff line change 11
11
padding-left : 1em ;
12
12
padding-right : 1em ;
13
13
}
14
+ @include breakpoint ($x-large ) {
15
+ max-width : $x-large ;
16
+ }
14
17
a {
15
18
text-decoration : none ;
16
19
& :hover {
21
24
22
25
.page__footer-copyright {
23
26
@include breakpoint ($medium ) {
24
- @include span (10 of 12 );
25
- @include pre (2 );
27
+ @include prefix (2 of 12 );
28
+ }
29
+ @include breakpoint ($x-large ) {
30
+ @include prefix (2.5 of 12 );
26
31
}
27
32
font-size : 14px ;
28
33
}
29
34
30
35
.page__footer-follow {
31
36
@include breakpoint ($medium ) {
32
- @include span (10 of 12 );
33
- @include pre (2 );
37
+ @include prefix (2 of 12 );
38
+ }
39
+ @include breakpoint ($x-large ) {
40
+ @include prefix (2.5 of 12 );
34
41
}
35
42
ul {
36
43
margin : 0 ;
Original file line number Diff line number Diff line change 13
13
padding-left : 1em ;
14
14
padding-right : 1em ;
15
15
}
16
+ @include breakpoint ($x-large ) {
17
+ max-width : $x-large ;
18
+ }
16
19
a {
17
20
text-decoration : none ;
18
21
}
21
24
/* Site name */
22
25
.site-name {
23
26
@include breakpoint ($medium ) {
24
- @include span (10 of 12 );
25
- @include pre (2 );
27
+ @include prefix (2 of 12 );
28
+ }
29
+ @include breakpoint ($x-large ) {
30
+ @include prefix (2.5 of 12 );
26
31
}
27
32
font-size : 24px ;
28
33
}
29
34
30
35
.masthead__menu {
31
36
@include breakpoint ($medium ) {
32
- @include span (10 of 12 );
33
- @include pre (2 );
37
+ @include prefix (2 of 12 );
38
+ }
39
+ @include breakpoint ($x-large ) {
40
+ @include prefix (2.5 of 12 );
34
41
}
35
42
margin-bottom : 1em ;
36
43
ul {
Original file line number Diff line number Diff line change 13
13
padding-left : 1em ;
14
14
padding-right : 1em ;
15
15
}
16
+ @include breakpoint ($x-large ) {
17
+ max-width : $x-large ;
18
+ }
16
19
}
17
20
18
21
.page {
22
25
@include breakpoint ($large ) {
23
26
padding-right : $right-sidebar-width ;
24
27
}
28
+ @include breakpoint ($x-large ) {
29
+ @include prefix (0.5 of 12 );
30
+ }
25
31
}
26
32
27
33
.page__title {
39
45
position : relative ;
40
46
margin-bottom : 2em ;
41
47
@include clearfix ;
42
- & :after {
43
- content : " " ;
44
- display : block ;
45
- position : absolute ;
46
- bottom : 0 ;
47
- left : 8% ;
48
- width : 0 ;
49
- height : 0 ;
50
- border : 10px solid transparent ;
51
- border-bottom-color : $body-color ;
52
- @include breakpoint ($small ) {
53
- left : 25% ;
54
- }
55
- @include breakpoint ($large ) {
56
- border-width : 20px ;
57
- }
58
- @include breakpoint ($x-large ) {
59
- left : 33.333333333% ;
60
- }
61
- }
62
48
}
63
49
64
50
.page__hero-image {
156
142
padding-top : 1em ;
157
143
border-top : 1px solid $border-color ;
158
144
@include breakpoint ($medium ) {
159
- @include span (10 );
160
- @include pre (2 );
145
+ @include span (10 of 12 );
146
+ @include pre (2 of 12 );
147
+ }
148
+ @include breakpoint ($x-large ) {
149
+ @include pre (2.5 of 12 );
161
150
}
162
151
li {
163
152
margin-bottom : 0 ;
Original file line number Diff line number Diff line change 9
9
@include span (2 of 12 );
10
10
@include suffix (0.25 of 12 );
11
11
}
12
+ @include breakpoint ($x-large ) {
13
+ padding-right : 0 ;
14
+ }
12
15
h2 , h3 , h4 , h5 , h6 {
13
16
font-family : $sans-serif-narrow ;
14
17
}
Original file line number Diff line number Diff line change 12
12
@include breakpoint ($large ) {
13
13
position : absolute ;
14
14
top : 0 ;
15
- right : calc (50% - 512 px + 1em ); // 50% - 1/2 of wrapper's max-width + wrapper padding
15
+ right : calc (50% - ( 0.5 * #{ $large } ) + 1em ); // 50% - 1/2 of wrapper's max-width + wrapper padding
16
16
width : $right-sidebar-width ;
17
17
padding-left : 2em ;
18
18
}
19
+ @include breakpoint ($x-large ) {
20
+ right : calc (50% - (0.5 * #{$x-large } ) + 1em ); // 50% - 1/2 of wrapper's max-width + wrapper padding
21
+ }
19
22
}
20
23
21
24
.toc__title {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ $small : 600px;
74
74
$medium : 768px ;
75
75
$medium-wide : 900px ;
76
76
$large : 1024px ;
77
- $x-large : 1440 px ;
77
+ $x-large : 1280 px ;
78
78
79
79
80
80
/*
You can’t perform that action at this time.
0 commit comments