summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2022-06-08 02:22:52 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-08 02:22:52 +0200
commit99fab9c6b62a58e5d93e9b7cbcd17215a93139a1 (patch)
treeb54a3ec48bf29989cbb475326ad0db81e6aca945
parent[bugfix] Update time marshalling format to provide 3 digits of ms (#630) (diff)
downloadgotosocial-99fab9c6b62a58e5d93e9b7cbcd17215a93139a1.tar.xz
[frontend] linkify header mascot+title (#633)
-rw-r--r--web/assets/base.css1
-rw-r--r--web/gotosocial-styling/templates/base.css1
-rw-r--r--web/template/header.tmpl20
3 files changed, 13 insertions, 9 deletions
diff --git a/web/assets/base.css b/web/assets/base.css
index eb49cc3ab..ba593b474 100644
--- 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
index 1afc2be6f..0e1ea23eb 100644
--- 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
index 059d353e0..72f17d2a4 100644
--- 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