Skip to content

Commit f597637

Browse files
committed
docs: Tweak CSS for Github Pages (see #4085)
1 parent e14a7f6 commit f597637

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/assets/css/style.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ header h1 {
1919
font-size: 1.5em;
2020
}
2121

22+
/* Fix footer text wrapping */
23+
header p.view,
24+
header p:last-child {
25+
word-wrap: break-word;
26+
overflow-wrap: break-word;
27+
font-size: 0.8em;
28+
}
29+
30+
/* Prevent link hover from adding bold (causes layout shift) */
31+
a:hover {
32+
font-weight: inherit;
33+
}
34+
2235
/* Mobile: hide sidebar, full width content */
2336
@media print, screen and (max-width: 720px) {
2437
header {

0 commit comments

Comments
 (0)