pages/forum/style.css
2025-04-15 15:13:45 -04:00

91 lines
1.4 KiB
CSS

/* Solid black background */
body, html {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
background: black;
color: white;
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
}
/* Header logo */
header {
text-align: center;
margin: 30px 0;
}
header h1 {
font-size: 2.5em;
margin: 0;
color: white;
}
/* Containers */
#new-thread, .thread, .reply, .auth-container {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 15px;
margin-bottom: 20px;
border-radius: 10px;
width: 90%;
max-width: 700px;
}
/* Text inputs */
textarea, input[type="text"], input[type="password"] {
width: 100%;
background: #222;
color: white;
padding: 10px;
margin-top: 10px;
border: none;
border-radius: 5px;
}
/* Buttons */
button {
margin-top: 10px;
padding: 10px 16px;
border: none;
background: #444;
color: white;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background: #666;
}
/* Images */
img {
max-width: 100%;
margin-top: 10px;
border-radius: 5px;
}
/* Emoji picker area */
.emoji-wrap {
position: relative;
}
.emoji-button {
position: absolute;
right: 10px;
bottom: 10px;
background: transparent;
border: none;
font-size: 1.2em;
cursor: pointer;
color: white;
}
/* Auth container for login/register */
.auth-container {
margin-top: 50px;
text-align: center;
}