diff options
author | FChannel <> | 2021-06-28 08:18:14 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-28 08:18:14 -0700 |
commit | 34fa3d38b97ff08130e8709c4820915dfd684b19 (patch) | |
tree | 36e0f9cf2d58ab6b915b29bda515ac662dbcae55 /static/main.html | |
parent | e3eba9b6c64b1e8d884a51638deca0078f2f4760 (diff) | |
parent | ea9b7878dcbcedce3669eb2df23a14546f7188af (diff) |
Merge with master
Diffstat (limited to 'static/main.html')
-rw-r--r-- | static/main.html | 20 |
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> |