Skip to content

Commit c0c901d

Browse files
authored
Update main.scss
1 parent 49873da commit c0c901d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css/main.scss

+9-1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,12 @@ firstp {
189189
// hover color for the custom button for Front Page, etc.
190190
.btn-primary:hover {
191191
background-color: #292929c7 !important; /* Custom Button hover color */
192-
}
192+
}
193+
194+
/* fix in-page anchors to not be behind fixed header */
195+
:target:before {
196+
content: "";
197+
display: block;
198+
height: 50px; /* navbar height */
199+
margin: -50px 0 0;
200+
}

0 commit comments

Comments
 (0)