From 155f2a102f6641b78ac8b38e264bb8028eeab41d Mon Sep 17 00:00:00 2001 From: Christoph Kahl Date: Fri, 3 May 2024 13:27:00 +0200 Subject: [PATCH] added styles for headlines --- src/styles.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/styles.css b/src/styles.css index ffa0b9b..acc3d05 100644 --- a/src/styles.css +++ b/src/styles.css @@ -8,6 +8,29 @@ div.reactMarkDown ul, div.reactMarkDown ol { padding: revert; } +div.reactMarkDown h1, div.reactMarkDown h2 ,div.reactMarkDown h3, div.reactMarkDown h4, div.reactMarkDown h5 { + margin-top: 0.3em; + margin-bottom: 0.2em; + font-weight: bold; +} + +div.reactMarkDown h1 { + font-size: 1.5em; +} + +div.reactMarkDown h2 { + font-size: 1.3em; +} + +div.reactMarkDown h3, div.reactMarkDown h4, div.reactMarkDown h5 { + font-size: 1.1em; +} + +div.reactMarkDown blockquote { + font-style: oblique; + margin-left: 1em; +} + .hermine-chat-container { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; margin: 0;