From 380101896a3ff22c3190026dc07aa7fdd192c77a Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 29 Apr 2019 22:03:03 +0200 Subject: [PATCH 1/3] 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; From d01c1fded8d14737dc6fac76ba4fa6c481f62a6e Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 29 Apr 2019 22:40:16 +0200 Subject: [PATCH 2/3] Fix content --- sections/german/05/05.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sections/german/05/05.md b/sections/german/05/05.md index a3c9f23..5a02a9c 100644 --- a/sections/german/05/05.md +++ b/sections/german/05/05.md @@ -102,8 +102,9 @@

Hervorhebungen: Schriftgröße

-

Manuelle Konfiguration

-
\fontsize{}{)\selectfont
+

Manuelle Konfiguration möglich

+
\fontsize{<Schriftgröße>}{<Zeilenhöhe>}
+\selectfont

Beispiel:

Das ist Text in normaler Schriftgröße.
 

From ab4fbfc418390599ba868b39290f5bd31ec9d0a3 Mon Sep 17 00:00:00 2001
From: Florian Knoch 
Date: Mon, 29 Apr 2019 22:40:35 +0200
Subject: [PATCH 3/3] Adjust color scheme and blockquotes

---
 css/theme/latex.css         | 15 +++++++++------
 css/theme/source/latex.scss | 16 +++++++++-------
 2 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/css/theme/latex.css b/css/theme/latex.css
index f627a01..e5c87c0 100644
--- a/css/theme/latex.css
+++ b/css/theme/latex.css
@@ -10,7 +10,9 @@ section {
 
 /* config */
 :root {
-  --secondary: #c8ceda;
+  --primary: #f8f281;
+  --secondary: #bbd6ec;
+  --secondary-dark: #3f5d75;
   --margin: 0.1; }
 
 /* basic layout */
@@ -99,7 +101,7 @@ body {
         grid-template-areas: ".  title   title  ." ". column1 column2 ."; } }
     body .layout-two-columns .layout-title {
       grid-area: title;
-      background: white; }
+      background: var(--secondary); }
     body .layout-two-columns .layout-column-one {
       grid-area: column1;
       background: white; }
@@ -298,16 +300,17 @@ table {
 
 .box, blockquote {
   margin-left: calc(-1 * var(--margin) * var(--square));
-  padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square));
-  background: var(--secondary); }
+  padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square)); }
 
 .box.warning {
-  background: #ffffaa; }
+  background: var(--primary); }
 
 blockquote {
+  color: var(--secondary-dark);
   text-indent: -.55em;
   padding-bottom: .8em; }
   blockquote::before {
-    content: '»'; }
+    content: '»';
+    color: var(--secondary-dark); }
   blockquote cite::before {
     content: ' – '; }
diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss
index cf50091..90608c9 100644
--- a/css/theme/source/latex.scss
+++ b/css/theme/source/latex.scss
@@ -10,7 +10,9 @@ section {
 
 /* config */
 :root {
-  --secondary: #c8ceda;
+  --primary: #f8f281;
+  --secondary: #bbd6ec;
+  --secondary-dark: #3f5d75;
   --margin: 0.1;
 }
 
@@ -145,7 +147,7 @@ body {
 
     .layout-title {
       grid-area: title;
-      background: white;
+      background: var(--secondary);
     }
 
     .layout-column-one {
@@ -386,19 +388,19 @@ table {
 .box, blockquote {
   margin-left: calc(-1 * var(--margin) * var(--square));
   padding: .8em .1em .1em calc(var(--margin) * var(--square));
-  background: var(--secondary);
 }
+
 .box.warning {
-  background: #ffffaa;
+  background: var(--primary);
 }
+
 blockquote {
+  color: var(--secondary-dark);
   text-indent: -.55em;
   padding-bottom: .8em;
   &::before {
     content: '»';
-  }
-  &::after {
-    // content: '«';
+    color: var(--secondary-dark);
   }
   cite::before {
     content: ' – '