mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-13 13:05:51 +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
|
|
@ -4,7 +4,14 @@
|
|||
<title>Open Free Books</title>
|
||||
<link>https://openfreebooks.org/</link>
|
||||
<description>Recent updates to Open Free Books pages and live chapters.</description>
|
||||
<lastBuildDate>Thu, 21 May 2026 17:54:08 GMT</lastBuildDate>
|
||||
<lastBuildDate>Thu, 21 May 2026 18:40:42 GMT</lastBuildDate>
|
||||
<item>
|
||||
<title>Contribute</title>
|
||||
<link>https://openfreebooks.org/contributing/</link>
|
||||
<guid isPermaLink="true">https://openfreebooks.org/contributing/</guid>
|
||||
<pubDate>Thu, 21 May 2026 18:40:42 GMT</pubDate>
|
||||
<description>Contribute</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Integer arithmetic</title>
|
||||
<link>https://openfreebooks.org/math/integer-arithmetic/</link>
|
||||
|
|
@ -306,13 +313,6 @@
|
|||
<pubDate>Tue, 19 May 2026 19:29:49 GMT</pubDate>
|
||||
<description>Search</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Contribute</title>
|
||||
<link>https://openfreebooks.org/contributing/</link>
|
||||
<guid isPermaLink="true">https://openfreebooks.org/contributing/</guid>
|
||||
<pubDate>Tue, 19 May 2026 12:34:25 GMT</pubDate>
|
||||
<description>Contribute</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Mathematics</title>
|
||||
<link>https://openfreebooks.org/math/</link>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue