From 37df5f05b71536dde4c36ca07122cf1e2192e754 Mon Sep 17 00:00:00 2001 From: Matthias Reumann Date: Sun, 10 Sep 2023 19:09:44 +0200 Subject: [PATCH] Update info-page ui; Minimize header --- 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 fe3b3fb61..ca4ad0d56 100644 --- a/web/assets/css/home.css +++ b/web/assets/css/home.css @@ -380,3 +380,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}}