Skip to content

Commit cf20c94

Browse files
Consolatisjohanmalm
authored andcommitted
Fix menu font in man section
1 parent e981fd6 commit cf20c94

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build-site

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build_man_pages () {
2626
printf 'warn: %b\n' "Need labwc next to labwc.github.io with man pages built" >&2
2727
return
2828
fi
29-
template="$(sed -e 's/sans-serif/monospace/' src/template.html)"
29+
template="$(sed -e 's/sans-serif;/monospace;/' src/template.html)"
3030
for scd in "$LABWC_DOC_DIR"/*; do
3131
filename=${scd##*/}
3232
html=$(basename ${scd}).html

src/template.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
background-color: var(--color-bg);
2626
}
2727

28+
#menu {
29+
font-family: sans-serif !important;
30+
}
31+
2832
pre {
2933
padding: 20px;
3034
white-space: pre-wrap;
@@ -114,7 +118,7 @@
114118
</head>
115119
<body>
116120
<main>
117-
<center>
121+
<center id="menu">
118122
<img src="img/labwc2-with-text.png" alt="labwc" height="61px" /><br />
119123
[<a href="index.html">home</a>]
120124
[<a href="https://github.com/labwc/labwc#readme">readme</a>]

0 commit comments

Comments
 (0)