- Renommage classes/IDs (BEM cohérent, anglais, noms sémantiques) - Correction HTML : h3→h2 FAQ, button>a→a[role=button] CTA mobile - Conversion index.html → index.php (FR/EN) avec cache JSON depuis API Kirby - Pages merci/thanks converties en PHP dynamique - Ajout includes/cache.php + includes/config.php (cache TTL 5min) - Ajout CI Forgejo (deploy FTP via lftp) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
63 lines
No EOL
1.1 KiB
SCSS
63 lines
No EOL
1.1 KiB
SCSS
#section__donation{
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
|
|
|
|
.donation-grid{
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-gap: calc(var(--padding-body)*0.75);
|
|
|
|
@media #{$medium-up}{
|
|
width: 420px;
|
|
}
|
|
|
|
@media #{$medium}{
|
|
width: 100%;
|
|
max-width: 420px;
|
|
}
|
|
|
|
.donation-btn--full{
|
|
grid-column: span 2;
|
|
}
|
|
|
|
display: none;
|
|
&.is-selected{
|
|
display: grid;
|
|
}
|
|
}
|
|
|
|
|
|
.donation-btn{
|
|
background-color: var(--color-txt);
|
|
color: var(--color-bg);
|
|
border-radius: var(--radius-small);
|
|
height: calc(var(--h-block)*2);
|
|
|
|
.bold{
|
|
font-family: var(--title);
|
|
font-size: var(--fs-medium);
|
|
font-weight: var(--fw-bold);
|
|
margin-bottom: 0.25em;
|
|
}
|
|
|
|
.small{
|
|
font-family: var(--font);
|
|
font-weight: var(--fw-medium);
|
|
font-size: var(--fs-small);
|
|
}
|
|
|
|
&:hover{
|
|
outline: 4px solid var(--color-accent);
|
|
cursor: pointer;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} |