From 8482a98ca6a767062917747a0b016a9ab4d35f01 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 01:49:09 +0100 Subject: feat: add guestbook with rate limiting (#6) * Re-add guestbook w/ rate limiting * Add guestbook to navbar --- public/css/master.css | 40 +++++++++++++++++++++++++++++++++------- public/css/minimal.css | 11 +++++++++++ 2 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 public/css/minimal.css (limited to 'public') 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; +} -- cgit v1.2.3-54-g00ecf