File tree Expand file tree Collapse file tree 11 files changed +222
-158
lines changed Expand file tree Collapse file tree 11 files changed +222
-158
lines changed Original file line number Diff line number Diff line change @@ -284,8 +284,22 @@ ol.list-links {
284
284
color : $colorBlue ;
285
285
}
286
286
287
- & img +p {
288
- padding-top : 13px ;
287
+ & img {
288
+ @include small-only {
289
+ width : 50% ;
290
+ float : left ;
291
+ }
292
+ }
293
+
294
+ & img + p {
295
+ @include small-only {
296
+ margin-left : 50% ;
297
+ padding-left : $lineHeight / 2 ;
298
+ }
299
+
300
+ @include medium {
301
+ padding-top : 13px ;
302
+ }
289
303
}
290
304
291
305
& .tag {
@@ -296,6 +310,7 @@ ol.list-links {
296
310
padding-top : $lineHeight ;
297
311
padding-bottom : $lineHeight - 1 ;
298
312
border-bottom : 1px solid $colorGrayKeyline ;
313
+ overflow : hidden ;
299
314
300
315
& :last-child {
301
316
border-color : transparent ;
Original file line number Diff line number Diff line change 12
12
13
13
.latest-spotlights {
14
14
background : $colorYellowSecondary ;
15
- padding-bottom : $lineHeight * 3 + 3 ;
15
+ padding-bottom : $lineHeight * 2 + 3 ;
16
16
padding-top : $lineHeight * 1 ;
17
17
18
18
@include medium {
30
30
}
31
31
32
32
.latest-spotlights__item {
33
- @include medium {
34
- width : 50% ;
35
- float : left ;
36
- }
37
- margin-top : 2px ;
33
+ margin-top : $lineHeight / 2 ;
38
34
39
35
& :first-of-type {
40
36
margin-top : 0 ;
41
37
}
42
38
43
39
@include medium {
40
+ width : 50% ;
41
+ float : left ;
42
+ margin-top : 2px ;
43
+
44
44
& :nth-of-type (2 ) {
45
45
margin-top : 0 ;
46
46
}
47
- }
48
47
49
- & :nth-child (even ) {
50
- .latest-spotlights__link {
51
- @include medium {
48
+ & :nth-child (even ) {
49
+ .latest-spotlights__link {
52
50
margin-left : 1px ;
53
51
}
54
52
}
55
- }
56
53
57
- & :nth-child (odd ) {
58
- .latest-spotlights__link {
59
- @include medium {
54
+ & :nth-child (odd ) {
55
+ .latest-spotlights__link {
60
56
margin-right : 1px ;
61
57
}
62
58
}
63
59
}
60
+
64
61
}
65
62
66
63
.latest-spotlights__link {
Original file line number Diff line number Diff line change 31
31
32
32
.js & .nav-is-opened {
33
33
display : block ;
34
- -webkit- animation: showNav 400ms both ;
34
+ @include prefixr ( animation , showNav 400ms both )
35
35
}
36
36
}
37
37
86
86
87
87
.main-nav__item--current {
88
88
color : $colorYellowSecondary ;
89
- cursor : default ;
90
89
}
91
90
92
91
.main-nav__link {
120
119
padding-left : 0 ;
121
120
}
122
121
122
+ .main-nav__item--current & {
123
+ cursor : default ;
124
+ }
125
+
123
126
& :hover {
124
127
color : $colorYellowSecondary ;
125
128
// box-shadow: 0 0 1px 0 $colorGray;
337
340
}
338
341
339
342
/* ========== CSS ANIMATION ==========*/
340
- @-webkit-keyframes showNav {
343
+ @include keyframes ( showNav) {
341
344
0% {
342
345
opacity : 0 ;
343
346
}
344
347
100% {
345
348
opacity : 1 ;
346
349
}
347
350
}
348
-
Original file line number Diff line number Diff line change 47
47
content : $icon-star ;
48
48
font-family : $fontIcon ;
49
49
display : block ;
50
- font-size : 450 px ;
50
+ font-size : 380 px ;
51
51
line-height : 1 ;
52
52
color : $colorGrayBackground ;
53
53
position : absolute ;
54
- right : $lineHeight * 2 ;
55
- top : - $lineHeight * 2 ;
54
+ right : 16 % ;
55
+ top : -96 px ;
56
56
z-index : -1 ;
57
57
}
58
58
}
59
59
}
60
60
}
61
61
62
62
.spotlight-header--detail {
63
-
64
63
& .spotlight-header__container {
65
-
66
64
& :after {
67
65
display : none ;
68
66
}
69
-
70
67
}
71
-
72
68
}
73
69
74
70
.spotlight-header__copy {
You can’t perform that action at this time.
0 commit comments