From fc0efe21c8ed1ed24185de84070c44e99e6165b0 Mon Sep 17 00:00:00 2001 From: Voxel Date: Tue, 15 Apr 2025 14:51:23 -0400 Subject: [PATCH] Create style.css --- forum/style.css | 78 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 forum/style.css diff --git a/forum/style.css b/forum/style.css new file mode 100644 index 0000000..d52150a --- /dev/null +++ b/forum/style.css @@ -0,0 +1,78 @@ +body { + font-family: sans-serif; + background: linear-gradient(to bottom right, #1e3c72, #a9a9a9); + color: white; + padding: 20px; + max-width: 800px; + margin: auto; +} + +header { + text-align: center; + margin-bottom: 30px; +} + +header h1 { + font-size: 2.5em; + margin: 0; + color: white; +} + +h2, h3 { + color: white; +} + +#new-thread, .thread, .reply { + background: rgba(255, 255, 255, 0.1); + border: 1px solid #ccc; + padding: 15px; + margin-bottom: 20px; + border-radius: 8px; +} + +textarea, input[type="text"] { + width: 100%; + background: #eee; + color: black; + padding: 8px; + border: none; + border-radius: 4px; +} + +button { + margin-top: 10px; + padding: 8px 16px; + border: none; + background: #0077cc; + color: white; + border-radius: 4px; + cursor: pointer; +} + +button:hover { + background: #005fa3; +} + +img { + max-width: 100%; + margin-top: 10px; + border-radius: 5px; +} + +input, button { + margin-top: 10px; +} + +.emoji-wrap { + position: relative; +} + +.emoji-button { + position: absolute; + right: 10px; + bottom: 10px; + background: transparent; + border: none; + font-size: 1.2em; + cursor: pointer; +}