Skip to content

Commit de2156e

Browse files
committed
refactor: move link styles to global
1 parent 45ee4ca commit de2156e

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

website/src/styles/global.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,23 @@ body {
2323
flex-direction: column;
2424
}
2525

26-
/* h1,
26+
h1,
2727
h2,
2828
h3,
2929
h4 {
3030
text-wrap: balance;
31-
} */
31+
}
3232

33-
/* p {
33+
p {
3434
text-wrap: pretty;
35-
} */
35+
}
36+
37+
/* Default link style */
38+
a:not([class]) {
39+
color: var(--sapphire);
40+
}
3641

42+
/* Links with a class (typically customised) */
3743
a {
3844
color: currentColor;
3945
}

website/src/styles/reset.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ p {
5454
a:not([class]) {
5555
text-decoration-skip-ink: auto;
5656
color: currentColor;
57-
color: var(--sapphire);
5857
}
5958
/* Make images easier to work with */
6059
img,

0 commit comments

Comments
 (0)