MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→Bocholt kleuren: :root { --hb-blue: #2E78B7; --hb-darkblue: #235E8F; --hb-green: #A9CF38; --hb-light: #f5f7f9; --hb-soft: #EAF3F8; } →Hero: .hb-hero { text-align:center; background:var(--hb-light); border-radius:32px; padding:3rem; margin-bottom:3rem; } .hb-hero h1 { font-size:3rem; color:var(--hb-blue); margin-bottom:0.5rem; } .hb-subtitle { font-size:1.2rem; max-width:800px; margin:auto; } /..." |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
:root { | :root { | ||
--hb-blue: #2E78B7 | --hb-blue:#2E78B7; | ||
--hb-green:#A9CF38; | |||
--hb-green: #A9CF38; | --hb-light:#F6F9FC; | ||
--hb-light: # | |||
} | } | ||
/* | /* HERO */ | ||
.hb-hero { | .hb-hero { | ||
min-height:420px; | |||
background-image: | |||
linear-gradient( | |||
rgba(0,0,0,.45), | |||
rgba(0,0,0,.45) | |||
), | |||
url("/images/0/0b/Bocholt-banner.jpg"); | |||
background-size:cover; | |||
background-position:center; | |||
border-radius:60px 15px 60px 15px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
margin-bottom:40px; | |||
} | |||
.hb-hero-content{ | |||
text-align:center; | text-align:center; | ||
color:white; | |||
padding:2rem; | |||
padding: | |||
} | } | ||
.hb-hero h1 { | .hb-hero-content h1{ | ||
color:white; | |||
font-size:4rem; | |||
margin-bottom: | margin-bottom:15px; | ||
} | } | ||
.hb- | .hb-hero-content p{ | ||
font-size:1. | color:white; | ||
max-width: | font-size:1.4rem; | ||
max-width:900px; | |||
margin:auto; | margin:auto; | ||
} | } | ||
/* | /* THEMA'S */ | ||
.hb-grid{ | |||
display:grid; | display:grid; | ||
grid-template-columns:repeat(auto-fit,minmax( | |||
gap: | grid-template-columns: | ||
margin-top: | repeat(auto-fit,minmax(320px,1fr)); | ||
gap:25px; | |||
margin-top:30px; | |||
} | } | ||
.hb-card { | .hb-card{ | ||
background:white; | background:white; | ||
border-radius:24px; | border-radius:24px; | ||
padding: | |||
padding:30px; | |||
border-top:5px solid var(--hb-blue); | border-top:5px solid var(--hb-blue); | ||
transition: | |||
box-shadow: | |||
0 4px 12px rgba(0,0,0,.08); | |||
transition:.2s; | |||
} | |||
.hb-card:hover{ | |||
transform:translateY(-5px); | |||
} | |||
.hb-icon{ | |||
font-size:50px; | |||
margin-bottom:15px; | |||
} | } | ||
.hb-card | .hb-card h3{ | ||
margin-top:0; | |||
margin-bottom:15px; | |||
} | } | ||
.hb-card h3 { | .hb-card h3 a{ | ||
color:var(--hb-blue); | color:var(--hb-blue); | ||
text-decoration:none; | |||
} | } | ||
/* | /* ONTDEK BOCHOLT */ | ||
.hb- | .hb-discover{ | ||
display:grid; | |||
margin-top: | grid-template-columns: | ||
repeat(auto-fit,minmax(220px,1fr)); | |||
gap:15px; | |||
margin-top:25px; | |||
} | } | ||
.hb-discover div{ | |||
background:#EAF3F8; | |||
padding:20px; | |||
border-radius:18px; | |||
text-align:center; | |||
font-weight:600; | |||
} | } | ||
@media (max-width: | /* MOBIEL */ | ||
.hb- | |||
@media screen and (max-width:768px){ | |||
.hb-hero-content h1{ | |||
font-size:2.5rem; | |||
} | } | ||
.hb-hero-content p{ | |||
font-size:1rem; | |||
} | |||
} | } | ||
Latest revision as of 18:50, 26 September 2026
:root {
--hb-blue:#2E78B7;
--hb-green:#A9CF38;
--hb-light:#F6F9FC;
}
/* HERO */
.hb-hero {
min-height:420px;
background-image:
linear-gradient(
rgba(0,0,0,.45),
rgba(0,0,0,.45)
),
url("/images/0/0b/Bocholt-banner.jpg");
background-size:cover;
background-position:center;
border-radius:60px 15px 60px 15px;
display:flex;
align-items:center;
justify-content:center;
margin-bottom:40px;
}
.hb-hero-content{
text-align:center;
color:white;
padding:2rem;
}
.hb-hero-content h1{
color:white;
font-size:4rem;
margin-bottom:15px;
}
.hb-hero-content p{
color:white;
font-size:1.4rem;
max-width:900px;
margin:auto;
}
/* THEMA'S */
.hb-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:25px;
margin-top:30px;
}
.hb-card{
background:white;
border-radius:24px;
padding:30px;
border-top:5px solid var(--hb-blue);
box-shadow:
0 4px 12px rgba(0,0,0,.08);
transition:.2s;
}
.hb-card:hover{
transform:translateY(-5px);
}
.hb-icon{
font-size:50px;
margin-bottom:15px;
}
.hb-card h3{
margin-top:0;
margin-bottom:15px;
}
.hb-card h3 a{
color:var(--hb-blue);
text-decoration:none;
}
/* ONTDEK BOCHOLT */
.hb-discover{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:25px;
}
.hb-discover div{
background:#EAF3F8;
padding:20px;
border-radius:18px;
text-align:center;
font-weight:600;
}
/* MOBIEL */
@media screen and (max-width:768px){
.hb-hero-content h1{
font-size:2.5rem;
}
.hb-hero-content p{
font-size:1rem;
}
}