mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
Add CSS needed for FreeStar because of Google's stupid CLS metrics
This commit is contained in:
parent
60e6772254
commit
22f1b7ab7c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user