Feat: implémentation front page Blog
- blog.json.php : réécriture — intro (writer), featured (pages field), articles triés par date desc (featured exclu de la liste) - layout.css : .page-scrollable + .page-container (styles génériques pour pages scrollables type blog/article) - Blog.svelte : page scrollable avec header intro, article featured (image large + excerpt), liste articles avec dividers, responsive mobile/tablet via @custom-media Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2352b621e5
commit
3ab4b21e8c
3 changed files with 258 additions and 28 deletions
|
|
@ -13,6 +13,18 @@
|
|||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
/* Pages scrollables (blog, article, etc.) */
|
||||
.page-scrollable {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 50px;
|
||||
}
|
||||
|
||||
/* Vertical Lines */
|
||||
.vertical-line {
|
||||
z-index: var(--z-base);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue