Skip to content

Commit 7b57892

Browse files
Change style from full background color to underline
1 parent a604762 commit 7b57892

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/css/style.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ h3 {
185185
.gp-bar a:focus,
186186
.gp-bar a.current:hover,
187187
.gp-bar a.current:focus {
188-
background-color: var( --gp-color-primary-200 );
188+
box-shadow: inset 0 -5px 0 var( --gp-color-primary-200 );
189189
}
190190

191191
.gp-bar #home-navigation a {
@@ -207,7 +207,7 @@ h3 {
207207
}
208208

209209
.gp-bar a.current {
210-
background-color: var( --gp-color-primary );
210+
box-shadow: inset 0 -5px 0 var( --gp-color-primary );
211211
}
212212

213213
/*

0 commit comments

Comments
 (0)