From 966d6b5aafb0f3b11d30ed52f82b40fed29d8580 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 20 May 2024 17:56:30 +0100 Subject: [PATCH] Improve code block sizing --- slides.md | 8 +------- style.css | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/slides.md b/slides.md index ab2bb6d..41209a1 100644 --- a/slides.md +++ b/slides.md @@ -213,7 +213,7 @@ background: https://images.unsplash.com/photo-1522096823084-2d1aa8411c13?q=80&w= # Email --- -layout: none +layout: center --- ```python {all|18|19|10|11-16|all|18-19|all} @@ -238,12 +238,6 @@ for user in page.subscribers.iterator(): django_rq.enqueue(send_email_to_user, user) ``` - - --- layout: center --- diff --git a/style.css b/style.css index 704641c..45a286b 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,11 @@ +:root { + --slidev-code-padding: 1rem; + + /* 3px larger than defaults */ + --slidev-code-font-size: 15px; + --slidev-code-line-height: 21px; +} + .slidev-layout { background: #0c4b33 }