pages/board/style.css
2025-04-15 18:28:50 -04:00

77 lines
1.4 KiB
CSS

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, black, #1e3a8a); /* Black to Blue gradient */
color: white; /* Set text color to white */
}
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
h1 {
text-align: center;
color: white;
}
#user-info {
text-align: right;
color: white;
}
#post-form {
margin-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
#post-content {
width: 80%;
height: 100px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
margin-bottom: 10px;
background-color: #333;
color: white;
}
button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#posts-section {
margin-top: 20px;
}
.post {
padding: 10px;
border-bottom: 1px solid #444;
margin-bottom: 10px;
background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background for posts */
border-radius: 5px;
}
.post .username {
font-weight: bold;
}
.post .content {
margin-top: 10px;
}