File tree 3 files changed +43
-10
lines changed
3 files changed +43
-10
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,12 @@ $siam: #565D50; // siam
97
97
border-radius : toRem (2 );
98
98
}
99
99
100
+ @mixin focusOutlineSmall {
101
+ outline : 3px solid rgba (255 , 197 , 130 , 0.7 );
102
+ outline-offset : 4px ;
103
+ border-radius : toRem (2 );
104
+ }
105
+
100
106
@mixin focusBoxShadowLink {
101
107
box-shadow : 0 0 0 5px rgba (255 , 197 , 130 , 0.5 );
102
108
border-radius : 0.125rem ;
Original file line number Diff line number Diff line change 26
26
27
27
</div >
28
28
</ZeroButton >
29
+ <div class =" year" v-html =" item.year" />
29
30
</div >
30
31
</div >
31
32
@@ -106,52 +107,74 @@ const cta = computed(() => {
106
107
107
108
.heading-wrapper {
108
109
display : flex ;
109
- align-items : center ;
110
+ flex-direction : column ;
110
111
margin-top : toRem (25 );
112
+ @include mini {
113
+ position : relative ;
114
+ z-index : 5 ;
115
+ flex-direction : row ;
116
+ justify-content : space-between ;
117
+ align-items : center ;
118
+ margin-bottom : 0.5rem ;
119
+ }
120
+ .year {
121
+ @include h5 ;
122
+ letter-spacing : 0.48px ;
123
+ margin-top : toRem (15 );
124
+ margin-left : toRem (37 );
125
+ @include mini {
126
+ margin : 0 ;
127
+ }
128
+ }
111
129
}
112
130
113
131
.heading-button {
114
132
cursor : pointer ;
133
+ width : fit-content ;
115
134
@include transitionDefault ;
116
135
@include mini {
117
136
margin-top : 0 ;
118
- margin-bottom : 0.5rem ;
119
137
}
120
138
& :hover ,
121
139
& :focus-visible {
122
- transform : scale (1.15 );
140
+ transform : scale (1.15 ) translate ( toRem ( 5 ), toRem ( -1 )) ;
123
141
.icon {
124
142
:deep (path ) {
125
143
fill : $chardonnay ;
126
144
}
127
145
}
128
- .h2 {
129
- color : $chardonnay ;
130
- }
131
146
}
132
147
& :focus-visible {
133
- @include focusOutline ;
148
+ @include focusOutlineSmall ;
149
+ transform : scale (1.15 ) translate (toRem (5 ), toRem (-7 ));
134
150
}
135
151
.heading {
136
152
display : flex ;
137
- align-items : center ;
138
153
}
139
154
.icon {
140
- width : toRem (41 );
141
- height : toRem (41 );
155
+ width : toRem (23 );
156
+ height : toRem (23 );
142
157
margin-right : toRem (14 );
143
158
transition : 300ms cubic-bezier (0.33 , 0.2 , 0.41 , 0.99 );
144
159
@include mini {
145
160
width : toRem (18 );
146
161
height : toRem (18 );
147
162
margin-right : toRem (7 );
163
+ transform : translateY (toRem (-1.5 ));
148
164
}
149
165
:deep (path ) {
150
166
transition : inherit ;
151
167
}
152
168
}
153
169
.h2 {
170
+ line-height : 1 ;
154
171
@include transitionDefault ;
172
+ @include medium {
173
+ line-height : 1.4 ;
174
+ }
175
+ @include tiny {
176
+ line-height : 1 ;
177
+ }
155
178
}
156
179
}
157
180
Original file line number Diff line number Diff line change 420
420
"items" : [
421
421
{
422
422
"heading" : " September" ,
423
+ "year" : " 2023" ,
423
424
"milestones" : [
424
425
{
425
426
"title" : " Milestone 1" ,
433
434
},
434
435
{
435
436
"heading" : " October" ,
437
+ "year" : " 2023" ,
436
438
"milestones" : [
437
439
{
438
440
"title" : " Milestone 3" ,
442
444
},
443
445
{
444
446
"heading" : " November" ,
447
+ "year" : " 2023" ,
445
448
"milestones" : [
446
449
{
447
450
"title" : " Milestone 4" ,
451
454
},
452
455
{
453
456
"heading" : " December" ,
457
+ "year" : " 2023" ,
454
458
"milestones" : [
455
459
{
456
460
"title" : " Milestone 5" ,
You can’t perform that action at this time.
0 commit comments