From 95b124e209c785bdf4a6c2ac8c7c0401ec5a17f0 Mon Sep 17 00:00:00 2001 From: matthias Date: Wed, 20 Sep 2023 18:01:36 +0200 Subject: [PATCH] Update info-page ui; Minimize header (#1154) --- web/assets/css/home.css | 23 +++++++++++++++++++++++ web/template/info-page.gohtml | 17 ++++++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/web/assets/css/home.css b/web/assets/css/home.css index 90480057b..6803a68cd 100644 --- a/web/assets/css/home.css +++ b/web/assets/css/home.css @@ -392,3 +392,26 @@ label:has(~ .tum-live-input) { .tum-live-footer a { @apply text-sm font-light text-5 md:py-0 py-1 } + +.tum-live-markdown h1, .tum-live-markdown h2, .tum-live-markdown h3, .tum-live-markdown h4, .tum-live-markdown h5, .tum-live-markdown h6 { + font-weight: bold; +} + +.tum-live-markdown h1 { + margin-bottom: 16px; +} + +.tum-live-markdown h2, .tum-live-markdown h3, .tum-live-markdown h4, .tum-live-markdown h5, .tum-live-markdown h6 { + margin-top: 16px; +} + +.tum-live-markdown ul { + list-style-type: disc; + padding-left: 16px; + padding-bottom: 8px; + padding-top: 8px; +} + +.tum-live-markdown a { + border-bottom: 1px solid black; +} diff --git a/web/template/info-page.gohtml b/web/template/info-page.gohtml index ee6cc15a6..5fb82b2b4 100644 --- a/web/template/info-page.gohtml +++ b/web/template/info-page.gohtml @@ -4,11 +4,22 @@ {{.Branding.Title}} - {{template "headImports" .VersionTag}} + + + - {{- /*gotype: github.com/TUM-Dev/gocast/web.IndexData*/ -}} -{{template "header" .TUMLiveContext}} + +
+
+ +
+
{{.Text}}