commit 99fab9c6b62a58e5d93e9b7cbcd17215a93139a1 parent f3b44426f4bdc18ef14f68bb8381646fdc2ef241 Author: f0x52 <f0x@cthu.lu> Date: Wed, 8 Jun 2022 02:22:52 +0200 [frontend] linkify header mascot+title (#633) Diffstat:
M | web/assets/base.css | | | 1 | + |
M | web/gotosocial-styling/templates/base.css | | | 1 | + |
M | web/template/header.tmpl | | | 22 | ++++++++++++---------- |
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/web/assets/base.css b/web/assets/base.css @@ -65,6 +65,7 @@ header div { header div h1 { align-self: center; + color: #fafaff; } h1 { diff --git a/web/gotosocial-styling/templates/base.css b/web/gotosocial-styling/templates/base.css @@ -63,6 +63,7 @@ header { h1 { align-self: center; + color: $fg; } } } diff --git a/web/template/header.tmpl b/web/template/header.tmpl @@ -16,12 +16,14 @@ <title>{{.instance.Title}} - GoToSocial</title> </head> <body> - <header> - <img src="/assets/logo.png" alt="Instance Logo"/> - <div> - <h1> - {{.instance.Title}} - </h1> - </div> - <div></div> - </header> -\ No newline at end of file + <a href="/" class="nounderline"> + <header> + <img src="/assets/logo.png" alt="Instance Logo"/> + <div> + <h1> + {{.instance.Title}} + </h1> + </div> + <div></div> + </header> + </a> +\ No newline at end of file