From 31f9a431b68cf8a38724b66b5389b297d81eea48 Mon Sep 17 00:00:00 2001 From: Christian Kremitzl Date: Mon, 6 May 2019 17:57:34 +0200 Subject: [PATCH] Minor CSS changes. --- css/theme/latex.css | 2 ++ css/theme/source/latex.scss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/css/theme/latex.css b/css/theme/latex.css index d6e30f8..0685de0 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -14,6 +14,7 @@ section { --primary-dark: #928c1b; --secondary: #bbd6ec; --secondary-dark: #3f5d75; + --secondary-light: #eaf2f9; --margin: 0.1; } /* basic layout */ @@ -326,6 +327,7 @@ h1 { h2 { line-height: 1.2; } +p[data-category]::before, 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 a10d4f6..38f81d0 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -14,6 +14,7 @@ section { --primary-dark: #928c1b; --secondary: #bbd6ec; --secondary-dark: #3f5d75; + --secondary-light: #eaf2f9; --margin: 0.1; } @@ -410,6 +411,7 @@ h2 { line-height: 1.2; } +p[data-category]::before, h2[data-category]::before { content: attr(data-category); font-size: .7em;