sindresorhus / Plash

💦 Make any website your Mac desktop wallpaper
https://sindresorhus.com/plash
MIT License
3.46k stars 128 forks source link

Issues with Change webpage size (CSS) #162

Open KMWAZ opened 4 months ago

KMWAZ commented 4 months ago

I wanted to place the "Schedule" view of my Google Calendar on my desktop but only wanted the size to be big enough that other widgets and wallpaper would come through. I thought I had it (slightly modified) with the CSS recommended in the original discussion below:

:root { width: 25% !important; height: 90% !important; transform: scale(0.9) !important; zoom: 1.1 !important; background: transparent !important; }

In this case, as you can see, it's still blocking everything to the right of the border and the background. Suggestions?

SCR-20240509-lcei-1

Discussed in https://github.com/sindresorhus/Plash/discussions/129

Originally posted by **fazoleJH** May 3, 2023 Hey. I have set up my second monitor to display a web page. When I hide all windows via F11, the macOS interface makes a kind of semi-transparent border. But it interferes with the web page. I'd like to shrink that web page view by about 10% to make it easier to navigate and read. I tried to do this via CSS code ":root {margin: 10% !important;}", but it doesn't work. Can you please advise me where I am going wrong? I have macOS 12.6.5 (Monterey). Thank you.