From 1f82aef4ad4ad247cd238de4a00ff55fcf2bc8d0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 16 Jul 2021 16:53:33 +0200 Subject: [PATCH] some header styling in messages --- src/platform/web/ui/css/themes/element/timeline.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/platform/web/ui/css/themes/element/timeline.css b/src/platform/web/ui/css/themes/element/timeline.css index 07384aec..55aa54db 100644 --- a/src/platform/web/ui/css/themes/element/timeline.css +++ b/src/platform/web/ui/css/themes/element/timeline.css @@ -137,6 +137,18 @@ limitations under the License. .hydrogen .Timeline_messageSender.usercolor7 { color: var(--usercolor7); } .hydrogen .Timeline_messageSender.usercolor8 { color: var(--usercolor8); } +.Timeline_messageBody h1, h2, h3, h4, h5, h6 { + font-weight: bold; + margin: 0.7em 0; +} + +.Timeline_messageBody h1 { font-size: 1.6em; } +.Timeline_messageBody h2 { font-size: 1.5em; } +.Timeline_messageBody h3 { font-size: 1.4em; } +.Timeline_messageBody h4 { font-size: 1.3em; } +.Timeline_messageBody h5 { font-size: 1.2em; } +.Timeline_messageBody h6 { font-size: 1.1em; } + .Timeline_messageBody a { word-break: break-all; }