Abeshith's picture
Add web UI with forms
475d366
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f5f7fa;
color: #333;
}
nav {
background: #2c3e50;
color: white;
padding: 1rem 2rem;
display: flex;
align-items: center;
gap: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
nav h1 {
font-size: 1.5rem;
margin-right: auto;
}
nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background 0.3s;
}
nav a:hover {
background: #34495e;
}
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 0 2rem;
}
.card {
background: white;
border-radius: 8px;
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card h3 {
margin-bottom: 1rem;
color: #2c3e50;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
font-weight: 600;
margin-bottom: 0.5rem;
color: #555;
}
.form-group input {
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
}
.form-group input:focus {
outline: none;
border-color: #3498db;
}
.btn {
background: #3498db;
color: white;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: background 0.3s;
}
.btn:hover {
background: #2980b9;
}
.actions {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
h2 {
margin-bottom: 1.5rem;
color: #2c3e50;
}
p {
line-height: 1.6;
margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
.form-row {
grid-template-columns: 1fr;
}
.actions {
flex-direction: column;
}
nav {
flex-wrap: wrap;
}
}