feat: add guestbook with rate limiting (#6)

* Re-add guestbook w/ rate limiting
* Add guestbook to navbar
This commit is contained in:
Frankie B 2023-07-16 01:49:09 +01:00 committed by GitHub
commit 8482a98ca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 329 additions and 91 deletions

View file

@ -115,6 +115,10 @@ div.preview pre.small, div.project pre.small {
div.preview pre, div.project pre {
background-color: #222;
color: #ccc;
display: inline-block;
text-align: left;
padding: 0.2em;
max-width: 90%
}
div.project pre {
@ -283,13 +287,6 @@ .header {
color: #FFFFFF;
}
div.preview pre, div.project pre {
display: inline-block;
text-align: left;
padding: 0.2em;
max-width: 90%
}
h1 { font-size: 150% }
h2 { font-size: 130% }
h3 { font-size: 115% }
@ -324,3 +321,32 @@ a {
color: #99f;
text-decoration: none
}
table.gb_entryform tr td {
border: none;
}
table.gb_entryform tr td label {
padding-right: 5px;
}
table.gb_entryform tr td span.text-danger {
padding-left: 5px;
color: rgb(255, 114, 114);
}
table.gb_entryform tr td textarea,
table.gb_entryform tr td input {
margin-bottom: 5px;
}
table.gb_entry tr td {
border: solid #FFFFFF;
width: 500px;
vertical-align: top;
padding: 5px;
}
table.gb_entry {
margin-bottom: 5px;
}

11
public/css/minimal.css Normal file
View file

@ -0,0 +1,11 @@
html {
color-scheme: dark;
}
body {
font-family: sans-serif;
margin: 0px;
margin-left: 10px;
color: #ddd;
background-color: #333;
}