From 380101896a3ff22c3190026dc07aa7fdd192c77a Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 29 Apr 2019 22:03:03 +0200 Subject: [PATCH] Add line height spec to h2 --- css/theme/latex.css | 3 +++ css/theme/source/latex.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/css/theme/latex.css b/css/theme/latex.css index a80b4ff..f627a01 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -260,6 +260,9 @@ h1 { max-width: var(--square); padding: 0 calc(var(--margin) * var(--square)) 0.5em; } +h2 { + line-height: 1.2; } + h2[data-category]::before { content: attr(data-category); font-size: .7em; diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index faa3f0d..cf50091 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -338,6 +338,10 @@ h1 { padding: 0 calc(var(--margin) * var(--square)) .5em; } +h2 { + line-height: 1.2; +} + h2[data-category]::before { content: attr(data-category); font-size: .7em;