Lisää uudet kuvat: kirja-selfie Minusta-osioon ja puutalo-banneri
- Vaihda Minusta-osion kuva Kunta 2035 -kirja-selfieen - Lisää punainen puutalo -banneri Minusta- ja Yhteystiedot-osioiden väliin - Siivoa käyttämätön region-osion CSS pois - Lisää responsiivinen banneri-tyyli mobiilille Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
79
style.css
79
style.css
@@ -412,14 +412,14 @@ ul {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* ========== Region Section ========== */
|
||||
.region-section {
|
||||
background: var(--color-bg);
|
||||
/* ========== Banner Section ========== */
|
||||
.banner-section {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.region-hero {
|
||||
height: 50vh;
|
||||
min-height: 400px;
|
||||
.banner-image {
|
||||
height: 45vh;
|
||||
min-height: 300px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
@@ -428,68 +428,26 @@ ul {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.region-overlay {
|
||||
.banner-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(26, 35, 50, 0.7);
|
||||
background: rgba(30, 45, 43, 0.6);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.region-overlay h2 {
|
||||
font-size: clamp(1.5rem, 3.5vw, 2.5rem);
|
||||
.banner-text {
|
||||
font-size: clamp(1.4rem, 3vw, 2.2rem);
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
text-align: center;
|
||||
max-width: 800px;
|
||||
max-width: 700px;
|
||||
line-height: 1.3;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.region-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 3rem;
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.region-card h3 {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 800;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 1.2rem;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.region-card p {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.7;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.region-card ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.region-card ul li {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--color-text);
|
||||
padding: 0.5rem 0;
|
||||
padding-left: 1.2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.region-card ul li::before {
|
||||
content: '—';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: var(--color-accent);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ========== Contact Section ========== */
|
||||
.contact-section {
|
||||
padding: 6rem 0;
|
||||
@@ -610,11 +568,6 @@ ul {
|
||||
padding: 3rem 2rem;
|
||||
}
|
||||
|
||||
.region-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.contact-content {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
@@ -665,13 +618,9 @@ ul {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.region-hero {
|
||||
height: 35vh;
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
.region-overlay h2 {
|
||||
font-size: 1.2rem;
|
||||
.banner-image {
|
||||
height: 30vh;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.contact-name {
|
||||
|
||||
Reference in New Issue
Block a user