diff --git a/themes/lix/assets/scss/shared/_type.scss b/themes/lix/assets/scss/shared/_type.scss new file mode 100644 index 00000000..21665765 --- /dev/null +++ b/themes/lix/assets/scss/shared/_type.scss @@ -0,0 +1,10 @@ +html { + /* The default body text size of 16px is slightly too small. Make it 18px + * (relatively, of course, so that people can change their browser settings). + * + * Doing it this way ensures that the entire type scale aligns with the body + * text size rather than being detached from it (and possibly having + * too-small headers and similar problems). + */ + font-size: 112.5%; +} diff --git a/themes/lix/assets/scss/shared/shared.scss b/themes/lix/assets/scss/shared/shared.scss index 6b5dcf48..b19cd47f 100644 --- a/themes/lix/assets/scss/shared/shared.scss +++ b/themes/lix/assets/scss/shared/shared.scss @@ -3,6 +3,7 @@ @import "fonts"; @import "utilities"; +@import "type"; @import "blockquote"; @import "code"; @import "header"; diff --git a/themes/lix/layouts/_default/single.html b/themes/lix/layouts/_default/single.html index 2099b8ce..17194d79 100644 --- a/themes/lix/layouts/_default/single.html +++ b/themes/lix/layouts/_default/single.html @@ -4,7 +4,7 @@
{{ with .Title | safeHTML }} -

{{ . }}

+

{{ . }}

{{ end }} {{ with .Params.description }}

{{ . }}

@@ -13,7 +13,7 @@
-
+
{{ .Content }}
diff --git a/themes/lix/layouts/partials/shared/header.html b/themes/lix/layouts/partials/shared/header.html index 224bfafc..432953a5 100644 --- a/themes/lix/layouts/partials/shared/header.html +++ b/themes/lix/layouts/partials/shared/header.html @@ -6,21 +6,21 @@ - +