From 9b8045e9ff6fc02dde1f0e14ecb419d852352633 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 23 Jun 2021 09:25:36 +0200 Subject: Setup infrastructure for articles written in markdown --- resources/sass/style.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources/sass') diff --git a/resources/sass/style.scss b/resources/sass/style.scss index 7afe3b4..e401645 100644 --- a/resources/sass/style.scss +++ b/resources/sass/style.scss @@ -92,6 +92,15 @@ span.tt { font-family: monospace; } +/* markdown is used for page content, but h1 - h3 are already used for the page + * title and subtitle. So we adapt the font size of the headings in the + * markdown content so that they are not larger than the page title. */ +.markdown { + h1 { font-size: 18px; } /* size of h4 */ + h2 { font-size: 14px; } /* size of h5 */ + h3 { font-size: 12px; } /* size of h5 */ +} + footer { padding: 1em 0; } -- cgit v1.2.3