File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 20
20
@media (min-width : 1800px )
21
21
@content
22
22
23
- @mixin system- dark-mode
23
+ @mixin dark-mode-only
24
24
@media (prefers-color-scheme : dark )
25
25
@content
26
+ @at-root #{selector-nest(':root .dark-mode ', & )}
27
+ @content
26
28
27
29
// == Border radius
28
30
$border-radius : 6px !default
Original file line number Diff line number Diff line change @@ -400,19 +400,30 @@ export default class ScholarProfile extends Vue {
400
400
margin-top : 20px
401
401
402
402
.social-icon
403
- margin-right : 12px
403
+ margin-right : 4px
404
+ width : 36px
405
+ height : 36px
406
+ padding : 4px
407
+ border-radius : $border-radius
404
408
color : $sch-purple
405
- width : 28px
406
- height : 28px
409
+ background-color : $background-grouped-secondary-elevated
410
+ transition : background- color 100ms linear , box- shadow 100ms linear
411
+
412
+ & :hover
413
+ background-color : $background-grouped-tertiary-elevated
407
414
408
415
.social-discord
409
416
padding-left : 12px
417
+ margin-left : 8px
410
418
color : $label-secondary
411
419
border-left : 1px solid $separator-transparent
412
420
413
421
.social-icon
414
422
margin-right : 5px
415
423
424
+ & :hover
425
+ background-color : $background-grouped-secondary-elevated
426
+
416
427
& :first-of-type
417
428
border-left : 0
418
429
You can’t perform that action at this time.
0 commit comments