diff options
author | Camil Staps | 2021-06-23 09:25:36 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-23 09:25:36 +0200 |
commit | 9b8045e9ff6fc02dde1f0e14ecb419d852352633 (patch) | |
tree | fd0a206697ca520079f7737f9f669c80787ffc35 /resources/sass | |
parent | Replace menuItem mixin in sidebar layout with single menu mixin (diff) |
Setup infrastructure for articles written in markdown
Diffstat (limited to 'resources/sass')
-rw-r--r-- | resources/sass/style.scss | 9 |
1 files changed, 9 insertions, 0 deletions
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; } |