DIGITAL_VOTING / static /style.css
ministerchief's picture
Upload 13 files
321e008 verified
Raw
History Blame Contribute Delete
2.56 kB
/* ------------------ GLOBAL ------------------ */
body {
margin: 0;
font-family: 'Segoe UI', Arial, sans-serif;
background: #f4f6f9;
color: #222;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* ------------------ CONTAINER ------------------ */
.container {
background: white;
padding: 35px;
border-radius: 8px;
width: 360px;
text-align: center;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-top: 5px solid #0b3d91; /* Govt Blue */
}
/* ------------------ HEADINGS ------------------ */
h1, h2, h3 {
color: #0b3d91;
margin-bottom: 15px;
}
/* ------------------ INPUT FIELDS ------------------ */
input, select {
width: 100%;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 14px;
}
input:focus, select:focus {
border-color: #0b3d91;
outline: none;
}
/* ------------------ BUTTON ------------------ */
button {
margin-top: 20px;
width: 100%;
padding: 12px;
border: none;
border-radius: 5px;
background: #0b3d91;
color: white;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #072c6b;
}
/* ------------------ LINKS ------------------ */
a {
color: #0b3d91;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
/* ------------------ TABLE ------------------ */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background: white;
}
th, td {
padding: 10px;
border: 1px solid #ddd;
text-align: center;
}
th {
background: #0b3d91;
color: white;
}
/* ------------------ CARDS ------------------ */
.card {
background: white;
padding: 20px;
border-radius: 8px;
text-align: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
/* ------------------ DASHBOARD ------------------ */
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
width: 100%;
}
/* ------------------ STATUS MESSAGES ------------------ */
.success {
color: green;
font-weight: bold;
}
.error {
color: red;
font-weight: bold;
}
/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 400px) {
.container {
width: 90%;
padding: 25px;
}
}