From 610fd371315067cd5e903956a5eb6b3804997eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20B=C3=BChler?= Date: Mon, 19 Feb 2024 15:44:57 +0000 Subject: [PATCH] chore: tune layout --- example.md | 10 +++++++++- styles/layout.css | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/example.md b/example.md index 907ca86..5c24bf0 100644 --- a/example.md +++ b/example.md @@ -59,7 +59,9 @@ layout: two-cols-header ::right:: -Lorem Lorem Lorem +```javascript +console.log("With some code"); +``` --- @@ -70,6 +72,12 @@ Bliblablub --- +# Math + +$\sqrt{3x-1}+(1+x)^2$ + +--- + # Navigation Hover on the bottom-left corner to see the navigation's controls panel diff --git a/styles/layout.css b/styles/layout.css index 203f017..d21b762 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -158,6 +158,10 @@ h6 { margin: 0; } +.col-right pre:first-of-type, .col-left pre:first-of-type { + margin-top: 1rem; +} + #slideshow > div { background-image: url(./images/brand-aslant-light.svg), url(./images/divider-bottom.svg); background-repeat: no-repeat;