diff --git a/.gitignore b/.gitignore index ea8c4bf..afd4ccc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +.history \ No newline at end of file diff --git a/output/style.css b/output/style.css index 6a8a0a8..63a7c05 100644 --- a/output/style.css +++ b/output/style.css @@ -1,3 +1,50 @@ -h2,h3,h4,h5,h6 { - display: inline; +h2, +h3, +h4, +h5, +h6 { + --pico-font-weight: 400; + + display: inline; +} + +h2 { + --pico-font-size: 1.3rem; + --pico-font-weight: 200; +} + +h3 { + --pico-font-size: 1.2rem; + --pico-font-weight: 200; +} + +h4 { + --pico-font-size: 1.1rem; + --pico-font-weight: 200; +} + +details summary { + line-height: unset; +} + +.par { + margin-bottom: calc(var(--pico-spacing) * 2); +} + +.symb { + --pico-font-weight: 700; + + display: inline-block; + margin-right: calc(var(--pico-spacing) / 3); + font-weight: var(--pico-font-weight) +} + +.header { + --pico-font-weight: 300; + + font-weight: var(--pico-font-weight); +} + +details[open] summary { + position: sticky; } diff --git a/templates/style.css b/templates/style.css index 6a8a0a8..63a7c05 100644 --- a/templates/style.css +++ b/templates/style.css @@ -1,3 +1,50 @@ -h2,h3,h4,h5,h6 { - display: inline; +h2, +h3, +h4, +h5, +h6 { + --pico-font-weight: 400; + + display: inline; +} + +h2 { + --pico-font-size: 1.3rem; + --pico-font-weight: 200; +} + +h3 { + --pico-font-size: 1.2rem; + --pico-font-weight: 200; +} + +h4 { + --pico-font-size: 1.1rem; + --pico-font-weight: 200; +} + +details summary { + line-height: unset; +} + +.par { + margin-bottom: calc(var(--pico-spacing) * 2); +} + +.symb { + --pico-font-weight: 700; + + display: inline-block; + margin-right: calc(var(--pico-spacing) / 3); + font-weight: var(--pico-font-weight) +} + +.header { + --pico-font-weight: 300; + + font-weight: var(--pico-font-weight); +} + +details[open] summary { + position: sticky; }