Skip to content

Commit 49edcc8

Browse files
committed
scss: highlight tr target and add some scroll-margin-top
Signed-off-by: Luca Zeuch <[email protected]>
1 parent cacf622 commit 49edcc8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/scss/common/_custom.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ a.broken {
99
text-decoration: underline;
1010
}
1111

12+
:target {
13+
scroll-margin-top: 10rem;
14+
* {
15+
// slightly transparent yellow
16+
background: rgba(255, 255, 0, 0.3);
17+
}
18+
}
19+
1220
// Reduce spacing between cards on the homepage.
1321
.home .card {
1422
margin-top: 2rem;

0 commit comments

Comments
 (0)