diff --git a/src/main/css/snippets/overrides.css b/src/main/css/snippets/overrides.css index 72d25ee..c55c995 100644 --- a/src/main/css/snippets/overrides.css +++ b/src/main/css/snippets/overrides.css @@ -4,3 +4,28 @@ select { -moz-appearance: menulist; appearance: auto; } + +/* Set spacing to half that of pico.css */ +h1 { + --typography-spacing-vertical: 1.5rem; +} + +h2 { + --typography-spacing-vertical: 1.3125rem; +} + +h3 { + --typography-spacing-vertical: 1.125rem; +} + +h4 { + --typography-spacing-vertical: 0.937rem; +} + +h5 { + --typography-spacing-vertical: 0.84375rem; +} + +h6 { + --typography-spacing-vertical: 0.75rem; +} diff --git a/src/test/index.html b/src/test/index.html index 02321c3..f9bc8a9 100644 --- a/src/test/index.html +++ b/src/test/index.html @@ -48,9 +48,25 @@ +

Test

This is an external link in a sentence.

These are some more contents.

These are the page contents.

+ +

Test

+

Here is some text you may want to read.

+ +

Test

+

Here is some text you may want to read.

+ +

Test

+

Here is some text you may want to read.

+ +
Test
+

Here is some text you may want to read.

+ +
Test
+

Here is some text you may want to read.