aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/main.html')
-rw-r--r--static/main.html20
1 files changed, 13 insertions, 7 deletions
diff --git a/static/main.html b/static/main.html
index 5c39a40..91d8344 100644
--- a/static/main.html
+++ b/static/main.html
@@ -1,10 +1,13 @@
{{ define "layout" }}
<!DOCTYPE html>
<html>
- <meta name="viewport" content="width=device-width, initial-scale=1">
<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="keywords" content="Federated Imageboard based on Activtypub">
+ <meta property="og:locale" content="en_US" />
+ <meta property="og:type" content="website" />
<link rel="icon" type="image/png" href="/static/favicon.png">
- <title>{{ .Title }}</title>
<style>
a, a:link, a:visited, a:hover, a:active {
text-decoration: none
@@ -19,7 +22,7 @@
}
body {
- {{ if .Board.Post.Actor.Restricted }}
+ {{ if .Board.Restricted }}
background-color: #eef2fe;
color: black;
{{ else }}
@@ -29,7 +32,7 @@
}
.popup-box {
- {{ if .Board.Post.Actor.Restricted }}
+ {{ if .Board.Restricted }}
border: 4px solid #d3caf0;
background-color: #eff5ff;
{{ else }}
@@ -43,7 +46,7 @@
}
.reply {
- {{ if .Board.Post.Actor.Restricted }}
+ {{ if .Board.Restricted }}
color:#af0a0f;
{{ else }}
color:#000080;
@@ -51,7 +54,7 @@
}
.post {
- {{ if .Board.Post.Actor.Restricted }}
+ {{ if .Board.Restricted }}
background-color: #d5daf0;
{{ else }}
background-color: #f0e0d6;
@@ -59,12 +62,15 @@
}
:target > div > .post {
- {{ if .Board.Post.Actor.Restricted }}
+ {{ if .Board.Restricted }}
background-color: #d6bad0;
{{ else }}
background-color: #f0c0b0;
{{ end }}
}
+ .tripcode {
+ color: #117743;
+ }
</style>
{{ template "header" . }}
</head>