File tree 2 files changed +28
-7
lines changed
2 files changed +28
-7
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 @@ -108,58 +108,73 @@ const cta = computed(() => {
108
108
.heading-wrapper {
109
109
display : flex ;
110
110
flex-direction : column ;
111
- // align-items: center;
112
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
+ }
113
120
.year {
114
121
@include h5 ;
115
122
letter-spacing : 0.48px ;
116
- margin-top : toRem (6 );
123
+ margin-top : toRem (15 );
117
124
margin-left : toRem (37 );
118
125
@include mini {
119
- margin-left : toRem ( 25 ) ;
126
+ margin : 0 ;
120
127
}
121
128
}
122
129
}
123
130
124
131
.heading-button {
125
132
cursor : pointer ;
133
+ width : fit-content ;
126
134
@include transitionDefault ;
127
135
@include mini {
128
136
margin-top : 0 ;
129
- margin-bottom : 0.5rem ;
130
137
}
131
138
& :hover ,
132
139
& :focus-visible {
133
- transform : scale (1.15 ) translateX (toRem (18 ));
140
+ transform : scale (1.15 ) translate (toRem (5 ), toRem ( -1 ));
134
141
.icon {
135
142
:deep (path ) {
136
143
fill : $chardonnay ;
137
144
}
138
145
}
139
146
}
140
147
& :focus-visible {
141
- @include focusOutline ;
148
+ @include focusOutlineSmall ;
149
+ transform : scale (1.15 ) translate (toRem (5 ), toRem (-7 ));
142
150
}
143
151
.heading {
144
152
display : flex ;
145
153
}
146
154
.icon {
147
155
width : toRem (23 );
148
156
height : toRem (23 );
149
- margin-top : toRem (3 );
150
157
margin-right : toRem (14 );
151
158
transition : 300ms cubic-bezier (0.33 , 0.2 , 0.41 , 0.99 );
152
159
@include mini {
153
160
width : toRem (18 );
154
161
height : toRem (18 );
155
162
margin-right : toRem (7 );
163
+ transform : translateY (toRem (-1.5 ));
156
164
}
157
165
:deep (path ) {
158
166
transition : inherit ;
159
167
}
160
168
}
161
169
.h2 {
170
+ line-height : 1 ;
162
171
@include transitionDefault ;
172
+ @include medium {
173
+ line-height : 1.4 ;
174
+ }
175
+ @include tiny {
176
+ line-height : 1 ;
177
+ }
163
178
}
164
179
}
165
180
You can’t perform that action at this time.
0 commit comments