Files
librodrome/app/layouts/reading.vue
Yvv ac4aff4985 Refonte UI complète : palettes saisonnières, typo moderne, paroles nettoyées, Shadoks
- Nettoyage paroles : suppression instructions Suno AI, corrections prononciation (11 fichiers)
- 4 palettes saisonnières (Automne/Hiver dark, Printemps/Été light) avec sélecteur
- Typographie modernisée : Outfit (display) + Inter (sans) remplacent Syne + Space Grotesk
- Styles adaptatifs : CSS vars pour couleurs, overrides light mode complets
- Mini-player : bouton Next ajouté, flèche expand plus visible
- BookPlayer : fix scroll mode paginé, croix de fermeture visible
- Illustrations Shadoks inline SVG dans 11 composants/pages
- Suppression soulignés navigation, reset boutons, bordures propres

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:05:43 +01:00

54 lines
984 B
Vue

<template>
<div class="app-layout grid grid-cols-1 min-h-dvh">
<LayoutTheHeader />
<div class="reading-layout">
<aside class="chapter-sidebar hidden lg:block">
<BookChapterNav />
</aside>
<main class="reading-main">
<slot />
</main>
</div>
<LayoutTheFooter />
</div>
</template>
<style scoped>
.app-layout {
grid-template-rows: auto 1fr auto;
}
.reading-layout {
display: grid;
grid-template-columns: 1fr;
max-width: 100%;
}
@media (min-width: 1024px) {
.reading-layout {
grid-template-columns: var(--sidebar-width) 1fr;
}
}
.chapter-sidebar {
position: sticky;
top: var(--header-height);
height: calc(100dvh - var(--header-height));
overflow-y: auto;
border-right: 1px solid hsl(var(--color-text) / 0.08);
padding: 1.5rem;
}
.reading-main {
padding: 2rem 1.5rem;
max-width: 65ch;
margin: 0 auto;
}
@media (min-width: 768px) {
.reading-main {
padding: 3rem 2rem;
}
}
</style>