Add CSS needed for FreeStar because of Google's stupid CLS metrics

This commit is contained in:
Kovid Goyal 2025-08-29 11:49:33 +05:30
parent 60e6772254
commit 22f1b7ab7c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -345,6 +345,10 @@
!function(a,b){var c=b.getElementsByTagName("script")[0],d=b.createElement("script"),e="https://a.pub.network/manual-calibre-ebook-com";e+=freestar.debug?"/qa/pubfig.min.js":"/pubfig.min.js",d.async=!0,d.src=e,c.parentNode.insertBefore(d,c)}(window,document);
freestar.initCallback = function () { (freestar.config.enabled_slots.length === 0) ? freestar.initCallbackCalled = false : freestar.newAdSlots(freestar.config.enabled_slots) }
</script>
<!-- Below is a link to a CSS file that accounts for Cumulative Layout Shift, a new Core Web Vitals subset that Google uses to help rank your site in search -->
<!-- The file is intended to eliminate the layout shifts that are seen when ads load into the page. If you don't want to use this, simply remove this file -->
<!-- To find out more about CLS, visit https://web.dev/vitals/ -->
<link rel="stylesheet" href="https://a.pub.network/calibre-ebook-com/cls.css">
<style type="text/css">
@media screen and (max-width: 875px) {