code for bearblog book theme 0 ▲ ReedyBear's Blog 21 minutes ago · 6 min read1123 words · Tech · hide · 0 comments CSS Code (dashboard -> theme):root { --book_width: clamp(100px, 134.38vh , min(100vw, 1000px)); --max_book_height: min( 100vh, calc( var(--book_width) / 1.3438)); --book_height: clamp(100px, 100vh, var(--max_book_height)); --header_height: 200px; --left-arrow-space: calc( var(--book_width) * 0.035) ; --right-arrow-space: calc( var(--book_width) * 0.045) ; --right-pad: calc(var(--left-arrow-space) + 3.5vh); --left-pad: calc(var(--left-arrow-space) + 2.5vh); /** distance from the edge of the page? */ --arrow-margin: calc((100vw - var(--book_width))/2); --arrow-margin: 0px; --arrow_font_size: var(--right-arrow-space); --color_cream: rgba(240, 224, 200, 1); --color_brown: rgba(54,30,23, 1); /* --url_scroll_bg: url("/scroll.jpeg"); --url_background_leather: url('/background-leather.jpeg'); --url_header_bg: url('/shelf.jpeg'); --url_book: url("/book1.jpeg"); */ --url_header_bg: url('https://bear-images.sfo2.cdn.digitaloceanspaces.com/reedybear/shelf.webp'); --url_scroll_bg:… No comments yet. Log in to reply on the Fediverse. Comments will appear here.