Skip to content

Commit 4c873bf

Browse files
committed
consistently use background instead of background-color
1 parent 9246a87 commit 4c873bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/css/header.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ body {
8080
line-height: 1.5;
8181
padding: 0.25rem;
8282
width: 10ex;
83-
height: -webkit-fit-content;
83+
height: -webkit-fit-content; /* fix for Safari */
8484
flex: auto;
8585
}
8686

@@ -273,7 +273,7 @@ body {
273273

274274
.navbar-menu a.navbar-item:hover,
275275
.navbar-menu .navbar-link:hover {
276-
background-color: var(--navbar-menu_hover-background);
276+
background: var(--navbar-menu_hover-background);
277277
}
278278
}
279279

@@ -333,7 +333,7 @@ body {
333333
}
334334

335335
.navbar-dropdown {
336-
background-color: var(--navbar-menu-background);
336+
background: var(--navbar-menu-background);
337337
border: 1px solid var(--navbar-menu-border-color);
338338
border-top: 2px solid var(--color-brand-primary);
339339
border-radius: 0 0 0.25rem 0.25rem;
@@ -360,7 +360,7 @@ body {
360360
}
361361

362362
.navbar-dropdown a.navbar-item:hover {
363-
background-color: var(--navbar-menu_hover-background);
363+
background: var(--navbar-menu_hover-background);
364364
}
365365
}
366366

0 commit comments

Comments
 (0)