/sup/ - Gochan Support board
Board for helping out gochan users/admins
(for post/file deletion)
Mon, April 05, 2021 02:30 AM
plz don't use box-shadow for topbar, or for anything else for that matter, it's not a hardware-accelerated css property, replace it with a drop-shadow
ex. change box-shadow: 3px 3px 5px 6px #555; to filter: drop-shadow(0 0 10px #555);
actually i don't think you should have any shadow at all, it looks distracting to me.
also plz make the top bar unpinned by default, it's wasting valuable vertical screen estate, it should be an opt-in thing in the settings. i can't even opt out, your settings option unchecking pinned top bar doesn't work
Tue, April 06, 2021 17:47 PM
I'm not very well versed in CSS filters, but I can replace it. I figured all (or at least most) CSS properties are hardware accelerated. I just put in a shadow because I thought it looks nice and provides some nice visually appealing contrast between the top bar and the background, but I guess I can add a border or something if you think it looks that bad. Or I can maybe make it smaller or something.
I have the top bar pinned by default because it's convenient so you don't have to scroll all the way to the top to go to a different board. I know I do need to work on the frontend though. I've been mostly focusing on the backend stuff. There's a major release coming soon that has a bunch of improvements, and it should have that fixed as well.