feat: add initial base pages and mobile-first framework
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
/* ==========================================================================
|
||||
Page: Aktivitäts-Auswahl (activity.html)
|
||||
========================================================================== */
|
||||
|
||||
.page-activity .intro {
|
||||
text-align: center;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.page-activity .intro p {
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.activity-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.activity-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.activity-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
min-height: 140px;
|
||||
padding: 16px 10px;
|
||||
background: var(--color-white);
|
||||
border: 2px solid transparent;
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-soft);
|
||||
cursor: pointer;
|
||||
touch-action: manipulation;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.activity-card:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.activity-card .icon {
|
||||
font-size: 2.6rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.activity-card .label {
|
||||
font-family: var(--font-heading);
|
||||
font-weight: 700;
|
||||
font-size: 0.95rem;
|
||||
text-align: center;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.activity-card.selected {
|
||||
border-color: var(--color-rose);
|
||||
background: linear-gradient(135deg, var(--color-rose-light) 0%, var(--color-white) 100%);
|
||||
box-shadow: var(--shadow-strong);
|
||||
}
|
||||
|
||||
.activity-card.selected::after {
|
||||
content: "✓";
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 10px;
|
||||
color: var(--color-rose-dark);
|
||||
font-weight: 700;
|
||||
}
|
||||
Reference in New Issue
Block a user