aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-16 01:49:09 +0100
committerGitHub <noreply@github.com>2023-07-16 01:49:09 +0100
commit8482a98ca6a767062917747a0b016a9ab4d35f01 (patch)
tree0ab0e8d3baf5b421ab909bc731334e2deff82fe0 /public
parent1b267f61029e7d4b824979709434ffb437c347b8 (diff)
feat: add guestbook with rate limiting (#6)
* Re-add guestbook w/ rate limiting * Add guestbook to navbar
Diffstat (limited to 'public')
-rw-r--r--public/css/master.css40
-rw-r--r--public/css/minimal.css11
2 files changed, 44 insertions, 7 deletions
diff --git a/public/css/master.css b/public/css/master.css
index 323c2ec..7cadfe2 100644
--- a/public/css/master.css
+++ b/public/css/master.css
@@ -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 @@ table.skami {
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;
+}
diff --git a/public/css/minimal.css b/public/css/minimal.css
new file mode 100644
index 0000000..3362057
--- /dev/null
+++ b/public/css/minimal.css
@@ -0,0 +1,11 @@
+html {
+ color-scheme: dark;
+}
+
+body {
+ font-family: sans-serif;
+ margin: 0px;
+ margin-left: 10px;
+ color: #ddd;
+ background-color: #333;
+}