govmail-simulator / style.css
large000's picture
i need you to create a website for secondary school
6f707ff verified
Raw History Blame Contribute Delete
1.34 kB
/* Base Styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #2d3748;
background-color: #f7fafc;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Typography */
h1, h2, h3, h4 {
font-weight: 700;
color: #1a365d;
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-weight: 600;
text-align: center;
transition: all 0.2s;
}
.btn-primary {
background-color: #4299e1;
color: white;
}
.btn-primary:hover {
background-color: #3182ce;
}
/* Cards */
.card {
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-2px);
}
/* Hero Section */
.hero {
background-image: linear-gradient(to right, #2b6cb0, #4299e1);
border-radius: 0.5rem;
}
/* Responsive Images */
.img-responsive {
max-width: 100%;
height: auto;
}
/* Utility Classes */
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}