File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 217
217
position : relative;
218
218
transition : unset;
219
219
opacity : 1 ;
220
+ border-bottom-width : 0.08rem ;
220
221
}
221
222
223
+ .notion-link : focus ,
222
224
.notion-link : hover {
223
- border-width : 0 ;
224
- border-bottom-width : 3px ;
225
- border-image : linear-gradient (90.68deg , # b439df 0.26% , # e5337e 102.37% );
226
- border-image-slice : 1 ;
225
+ border-bottom-style : none;
226
+ }
227
+
228
+ .notion-link : focus ::after ,
229
+ .notion-link : hover ::after {
230
+ visibility : visible;
231
+ width : 100% ;
232
+ left : 0 ;
233
+ }
234
+
235
+ .notion-link ::after {
236
+ content : '' ;
237
+ position : absolute;
238
+ bottom : -0.1rem ;
239
+ left : 50% ;
240
+ width : 0 ;
241
+ height : 0.1rem ;
242
+ transform : scaleX (1 );
243
+ transition-property : width, left;
244
+ transition-duration : 300ms ;
245
+ visibility : hidden;
246
+ background : linear-gradient (90.68deg , # b439df 0.26% , # e5337e 102.37% );
227
247
}
228
248
229
249
.notion-red_background ,
You can’t perform that action at this time.
0 commit comments