aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/theme.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/theme.go')
-rw-r--r--internal/web/theme.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/web/theme.go b/internal/web/theme.go
index d686c4e..53e48c5 100644
--- a/internal/web/theme.go
+++ b/internal/web/theme.go
@@ -443,11 +443,11 @@ func (t Theme) HeadingFontSet() bool { return t.HeadingFont != "same" || t.Custo
func (t Theme) FontSizePx() string {
switch t.FontSize {
case "small":
- return "15px"
+ return "14px"
case "large":
- return "19px"
+ return "18px"
}
- return "17px"
+ return "16px"
}
// ContentPaddingCSS returns desktop and phone paddings; "normal" is left to blog.css.
@@ -522,7 +522,7 @@ var themeCSS = template.Must(template.New("theme").Funcs(template.FuncMap{"sub":
{{- if .CustomHeadingFont}}
@font-face { font-family:"BlogHeadingFont"; src:url(/media/{{.CustomHeadingFont}}); font-display:swap; }
{{- end}}
-body { margin:0; background-color:{{.BgColor}}; color:{{.TextColor}}; font-family:{{.FontFamily}}; font-size:{{.FontSizePx}}; line-height:1.55;
+body { margin:0; background-color:{{.BgColor}}; color:{{.TextColor}}; font-family:{{.FontFamily}}; font-size:{{.FontSizePx}}; line-height:1.5;
{{- if .BgImage}} background-image:url(/media/{{.BgImage}});
{{- if eq .BgMode "cover"}} background-size:cover; background-position:center top; background-repeat:no-repeat;
{{- else if eq .BgMode "fixed"}} background-size:cover; background-position:center; background-attachment:fixed; background-repeat:no-repeat;