Create style.css

This commit is contained in:
Voxel 2025-04-15 14:51:23 -04:00 committed by GitHub
parent f0211ce034
commit fc0efe21c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

78
forum/style.css Normal file
View file

@ -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;
}