mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-13 21:15:54 +00:00
homepage CLS is now reduced by reserving layout space up front and treating the particle background as a pre-sized enhancement layer.
I made three targeted changes: 1. themes/openfreebooks/templates/base.html: added a body_class block so templates can declare first-render shell behavior. 2. themes/openfreebooks/templates/index.html: set homepage body classes to page-home has-particle-background, so the background layering mode is present from first paint (not added later during hydration). 3. themes/openfreebooks/sass/_layout.scss: reserved in-flow space before hydration with a fixed header shell (#site-header min-height, including mobile override), reserved marquee slot height on home (#marquee min-height), and stabilized page shell sizing (body/home main min-height behavior).
This commit is contained in:
parent
c00f82aeb3
commit
057f2bebf2
5 changed files with 38 additions and 10 deletions
|
|
@ -14,7 +14,7 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://openfreebooks.org/contributing/</loc>
|
||||
<lastmod>2026-05-19T12:34:25.000Z</lastmod>
|
||||
<lastmod>2026-05-21T18:40:42.000Z</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://openfreebooks.org/credits/</loc>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue