fleet-memory/hindsight-docs/src/components/RecipeCarousel.module.css
Nicolò Boschi 9394cf92f2
fix: doc build and lint files (#34)
* fix doc build

* fix doc build
2025-12-16 13:49:09 +01:00

61 lines
1.1 KiB
CSS

.carouselSection {
margin: 2rem 0;
}
.sectionTitle {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 600;
}
.carousel {
/* Grid layout instead of horizontal scroll */
}
.carouselTrack {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
}
.card {
padding: 1rem 1.25rem;
border-radius: 8px;
border: 1px solid var(--ifm-color-emphasis-300);
background: var(--ifm-background-surface-color);
text-decoration: none;
color: inherit;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
transition: all 0.2s ease;
}
.card:hover {
text-decoration: none;
border-color: var(--ifm-color-primary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
[data-theme='dark'] .card {
background: var(--ifm-background-color);
border-color: var(--ifm-color-emphasis-400);
}
[data-theme='dark'] .card:hover {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
border-color: var(--ifm-color-primary);
}
.cardTitle {
font-size: 0.95rem;
font-weight: 500;
color: var(--ifm-font-color-base);
}
.cardLink {
color: var(--ifm-color-primary);
font-weight: 500;
flex-shrink: 0;
}