Files
2025-10-30 09:35:58 -05:00

110 lines
2.0 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: flex-start; /* Changed to flex-start to allow content to go higher */
min-height: 100vh;
margin: 20px; /* Added margin for better spacing */
box-sizing: border-box;
}
.container {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 500px;
box-sizing: border-box;
}
h1, h2, h3 {
color: #333;
text-align: center;
margin-bottom: 20px;
}
form {
margin-bottom: 25px;
padding: 20px;
border: 1px solid #eee;
border-radius: 5px;
background-color: #fafafa;
}
input[type="text"],
input[type="email"],
input[type="password"] {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
button {
background-color: #007bff;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
font-size: 16px;
margin-top: 10px;
}
button:hover {
background-color: #0056b3;
}
/* Specific styling for profile and main page logout buttons */
.logout-button, #logout-button-main-page {
background-color: #dc3545;
margin-top: 20px;
}
.logout-button:hover, #logout-button-main-page:hover {
background-color: #c82333;
}
.message {
margin-top: 15px;
padding: 10px;
border-radius: 4px;
text-align: center;
}
.message.success {
background-color: #d4edda;
color: #155724;
border-color: #c3e6cb;
}
.message.error {
background-color: #f8d7da;
color: #721c24;
border-color: #f5c6cb;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.profile-info p { /* Added styling for profile.html info display */
margin-bottom: 10px;
padding: 5px 0;
}
#logged-in-actions button { /* Style for buttons appearing after login on main page */
margin-top: 10px;
}