Skip to content

Commit 889243e

Browse files
committed
style(Skip Links): update background color and link styles; enhance layout with flex properties
1 parent 61ea8fe commit 889243e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎src/scss/05-components/_skip-links.scss‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@use "../01-abstract/constants" as *;
22
@use "../01-abstract/variables" as *;
3+
@use "../01-abstract/theme-json" as *;
34

45
.skip-links {
56
position: fixed;
@@ -8,19 +9,23 @@
89
z-index: 11; // Under header
910
width: 100%;
1011
padding: 8px 10px 10px;
11-
background-color: $color-primary;
12+
background-color: $settings-color-black;
1213
opacity: 0;
1314
transition: transform .3s $ease-out-expo, opacity .3s;
1415
transform: translate3d(0, -100%, 0);
1516

1617
ul {
1718
display: flex;
19+
flex-wrap: wrap;
20+
row-gap: 8px;
21+
padding: 0;
22+
margin: 0;
1823
list-style: none;
1924
}
2025

2126
a {
2227
font-size: 13px;
23-
color: $color-text;
28+
color: $settings-color-white;
2429
text-decoration: none;
2530
}
2631

0 commit comments

Comments
 (0)