Skip to content

Commit 7cb54dc

Browse files
committed
Cleanup
1 parent 0e4a0fe commit 7cb54dc

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/assets/sass/modules/_layout.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ main .layout-4col-3span {
521521

522522
img {
523523
border-color: var(--clr-focus);
524-
box-shadow: 0 0.2em 0.5em hsla(216, 100%, 50%, 0.5);
525524
}
526525
}
527526

@@ -555,17 +554,18 @@ main .layout-4col-3span {
555554
}
556555

557556
@include setup.dark-mode {
558-
.showcases img {
559-
border-color: var(--clr-brdr-x-dark);
560-
box-shadow: 0 0.2em 0.5em hsla(0, 0%, 0%, 0.5);
561-
}
562-
563-
a:hover,
564-
a:active,
565-
a:focus {
557+
.showcases {
566558
img {
567-
border-color: var(--clr-focus);
568-
box-shadow: 0 0.2em 0.5em hsla(312, 100%, 50%, 0.4);
559+
border-color: var(--clr-brdr-x-dark);
560+
box-shadow: 0 0.2em 0.5em hsla(0, 0%, 0%, 0.5);
561+
}
562+
563+
a:hover,
564+
a:active,
565+
a:focus {
566+
img {
567+
border-color: var(--clr-focus);
568+
}
569569
}
570570
}
571571

src/assets/sass/modules/_links.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ h6 {
8787
}
8888

8989
&:focus {
90-
outline: 0;
90+
outline: 2px solid transparent; // Allows for repainting in high contrast modes.
9191

9292
img {
9393
border-color: var(--clr-focus);

0 commit comments

Comments
 (0)