aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-06-01 13:56:41 +0700
committerShulhan <ms@kilabit.info>2023-06-01 13:56:48 +0700
commit585019e19029b40a859dcc49231b91ad084e5878 (patch)
tree3c80479424fe94f0bead7f969c06cbc6165deb81
parentf4d40b40e49425e0eeba1de8903035d7b054ba1d (diff)
downloadciigo-585019e19029b40a859dcc49231b91ad084e5878.tar.xz
all: set default fonts to Go family
For user that installed Go fonts [1] in their local or remote, using ciigo will feels like home. [1] https://go.dev/blog/go-fonts
-rw-r--r--embedded_css.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/embedded_css.go b/embedded_css.go
index 3ffddf9..c2ec078 100644
--- a/embedded_css.go
+++ b/embedded_css.go
@@ -15,7 +15,7 @@ func embeddedCSS() *template.CSS {
var css template.CSS = template.CSS(`
body {
margin: 0;
- font-family: Arial, sans-serif;
+ font-family: 'Go', Arial, sans-serif;
background-color: #fff;
line-height: 1.3;
text-align: center;
@@ -23,7 +23,7 @@ body {
}
pre,
code {
- font-family: Menlo, monospace;
+ font-family: 'Go Mono', Menlo, monospace;
font-size: 0.875rem;
}
pre {
@@ -136,7 +136,7 @@ dd {
}
.admonitionblock > table td.icon .title {
font-weight: bold;
- font-family: "Open Sans","DejaVu Sans",sans-serif;
+ font-family: "Go","Open Sans","DejaVu Sans",sans-serif;
text-transform: uppercase;
}
.admonitionblock > table td.content {