From f1cec8e8bda9ea4bf7bdca0741af979c1e62d4ee Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 19 Jan 2023 20:55:37 +0100 Subject: [PATCH] Add common style-sheet --- .../Zusammenfassung.md | 23 ------------------- ZHAWNotes.code-workspace | 3 +++ assets/styles/summary.css | 22 ++++++++++++++++++ 3 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 assets/styles/summary.css diff --git a/Notes/Semester 3/HM1 - Höhere Mathematik/Zusammenfassung.md b/Notes/Semester 3/HM1 - Höhere Mathematik/Zusammenfassung.md index ee35ced..8c97a9f 100644 --- a/Notes/Semester 3/HM1 - Höhere Mathematik/Zusammenfassung.md +++ b/Notes/Semester 3/HM1 - Höhere Mathematik/Zusammenfassung.md @@ -1,26 +1,3 @@ - - # Höhere Mathematik ## Inhalt - [Höhere Mathematik](#höhere-mathematik) diff --git a/ZHAWNotes.code-workspace b/ZHAWNotes.code-workspace index d2bbed5..c45e908 100644 --- a/ZHAWNotes.code-workspace +++ b/ZHAWNotes.code-workspace @@ -6,6 +6,9 @@ } ], "settings": { + "markdownConverter.Assets.StyleSheets": { + "./assets/styles/summary.css": "Default" + } }, "tasks": { "version": "2.0.0", diff --git a/assets/styles/summary.css b/assets/styles/summary.css new file mode 100644 index 0000000..74caab3 --- /dev/null +++ b/assets/styles/summary.css @@ -0,0 +1,22 @@ +.formula, +.letters { + margin-top: 2px; + margin-bottom: 2px; + color: black; + padding: 0.5rem; + padding-bottom: 1px; + margin-bottom: 0.5rem; +} + +.formula p:last-child, +.letters p:last-child { + padding-bottom: 0; +} + +.formula { + background: lightblue; +} + +.letters { + background: lightyellow; +}