Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit 49c186b

Browse files
unify footer icon sizes
1 parent 16b68d1 commit 49c186b

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

custom.scss

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,47 @@ $footer-fg: #ffffff;
1515
pointer-events: none;
1616
cursor: default;
1717
}
18+
19+
// Remove default underline from h2 headers
1820
h2, .h2 {
1921
border-bottom: none;
2022
}
2123

24+
/* =============================
25+
Footer icon sizing
26+
============================= */
27+
28+
// Built-in Quarto/Bootstrap icons (GitHub, envelope)
29+
.nav-footer .bi {
30+
font-size: 22px;
31+
vertical-align: middle;
32+
}
33+
34+
// Custom image icons
2235
.footer-icon-img {
2336
height: 22px;
2437
vertical-align: middle;
25-
filter: brightness(0) invert(1); // makes icon white
38+
filter: brightness(0) invert(1); // make icon white for dark footer
2639
}
2740

41+
// Link spacing (same for all icons)
42+
.nav-footer a,
2843
.footer-icon-link {
2944
padding: 0 8px;
45+
display: inline-block;
46+
}
47+
48+
49+
/* =============================
50+
Hover styles
51+
============================= */
52+
53+
/* Hover color for built-in icons */
54+
.nav-footer .bi:hover {
55+
color: #5abff2;
3056
}
3157

58+
/* Hover image color for custom SVG */
3259
.footer-icon-link:hover .footer-icon-img {
33-
filter: none; // restore original color on hover or adjust as desired
60+
filter: none;
3461
}

0 commit comments

Comments
 (0)