Files
Wedding-Website/backend/static/styles.css

286 lines
4.6 KiB
CSS

:root {
--cream: #f8f2e8;
--beige: #efe3d3;
--forest: #274235;
--gold: #b8914c;
--ink: #1f1f1f;
--card: #fffdf9;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--ink);
font-family: "Source Sans 3", sans-serif;
background: radial-gradient(circle at top, #fff, var(--cream));
min-height: 100vh;
display: flex;
flex-direction: column;
}
h1,
h2,
h3 {
font-family: "Playfair Display", serif;
margin-top: 0;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
border-bottom: 1px solid rgba(39, 66, 53, 0.12);
background: rgba(255, 255, 255, 0.82);
backdrop-filter: blur(4px);
}
.brand {
color: var(--forest);
text-decoration: none;
font-size: 1.2rem;
font-weight: 700;
}
.host {
color: rgba(31, 31, 31, 0.7);
font-size: 0.82rem;
}
.toolbar {
display: flex;
gap: 0.4rem;
}
.container {
width: min(960px, 92vw);
margin: 1.5rem auto 3rem;
flex: 1;
}
.hero-banner {
min-height: 72vh;
border-radius: 24px;
margin-bottom: 1.2rem;
overflow: hidden;
position: relative;
display: flex;
align-items: flex-end;
background-image:
linear-gradient(to top, rgba(20, 30, 22, 0.72), rgba(20, 30, 22, 0.2)),
var(--hero-image);
background-size: cover;
background-position: center 28%;
box-shadow: 0 14px 38px rgba(39, 66, 53, 0.18);
}
.hero-overlay {
width: 100%;
padding: 1.1rem;
color: #fff;
}
.hero-kicker {
margin: 0 0 0.25rem;
letter-spacing: 0.06em;
text-transform: uppercase;
font-size: 0.78rem;
opacity: 0.9;
}
.hero-cta {
margin-top: 0.6rem;
}
.card {
background: var(--card);
border: 1px solid rgba(39, 66, 53, 0.1);
border-radius: 18px;
box-shadow: 0 10px 32px rgba(39, 66, 53, 0.08);
padding: 1.25rem;
margin-bottom: 1rem;
}
.hero {
background: linear-gradient(145deg, #fff, var(--beige));
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 0.8rem;
}
.link-card {
color: var(--forest);
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
min-height: 90px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.link-card:hover {
transform: translateY(-3px);
box-shadow: 0 14px 30px rgba(39, 66, 53, 0.16);
}
.form-card {
max-width: 560px;
}
.form-grid {
display: grid;
gap: 0.8rem;
}
input[type="text"],
input[type="password"],
input[type="file"] {
width: 100%;
margin-top: 0.25rem;
border: 1px solid #d9ceb9;
border-radius: 12px;
padding: 0.65rem 0.75rem;
background: #fff;
}
.radio-row {
display: flex;
align-items: center;
gap: 0.45rem;
}
.btn {
display: inline-block;
border: 0;
border-radius: 12px;
padding: 0.6rem 0.9rem;
cursor: pointer;
color: #fff;
background: var(--forest);
text-decoration: none;
transition: filter 0.2s ease;
}
.btn:hover {
filter: brightness(1.08);
}
.btn-ghost {
color: var(--forest);
background: transparent;
border: 1px solid rgba(39, 66, 53, 0.2);
}
.flash {
padding: 0.7rem 0.9rem;
border-radius: 10px;
background: #f2f7f3;
border: 1px solid rgba(39, 66, 53, 0.2);
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.8rem;
}
.gallery-item {
margin: 0;
}
.gallery-item img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: 12px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.8rem;
margin-bottom: 1rem;
}
.stat-card h2 {
margin-bottom: 0.35rem;
font-size: 1rem;
}
.stat-card p {
margin: 0;
font-size: 1.6rem;
font-weight: 700;
color: var(--forest);
}
.table-wrap {
overflow-x: auto;
}
.guest-table {
width: 100%;
border-collapse: collapse;
}
.guest-table th,
.guest-table td {
text-align: left;
padding: 0.65rem 0.55rem;
border-bottom: 1px solid rgba(39, 66, 53, 0.12);
}
.guest-table th {
font-weight: 600;
}
.map-wrap iframe {
width: 100%;
min-height: 320px;
border: 0;
border-radius: 12px;
margin: 0.8rem 0;
}
.site-footer {
border-top: 1px solid rgba(39, 66, 53, 0.12);
background: rgba(255, 255, 255, 0.78);
backdrop-filter: blur(4px);
padding: 0.9rem 1rem;
display: flex;
gap: 1rem;
justify-content: center;
}
.site-footer a {
color: var(--forest);
text-decoration: none;
font-weight: 600;
}
.site-footer a:hover {
text-decoration: underline;
}
.legal-card h2 {
margin-top: 1.2rem;
}
@media (min-width: 768px) {
.hero-overlay {
max-width: 54ch;
padding: 2rem;
}
.hero-banner {
min-height: 78vh;
background-position: center 24%;
}
}