CBStudentCommunity / Homepage

CB Student Community on the web— invites, reccomended tools, and changelogs
https://www.cbstudents.ca
3 stars 5 forks source link

Page dedicated to cb's clubs #5

Open phynxinferno opened 1 year ago

mdwmage commented 1 year ago

For this, @AL-thecow, do you think you would be able to incorporate the desktop and mobile css sheets along with the club css? it would reduce the size of the club css sheet and allow better mobile responsiveness on the clubs page

AL-thecow commented 1 year ago

I'm confused, how would this add to the mobile responsiveness?

mdwmage commented 1 year ago

Currently we have 2 stylesheets that are selected based on the device that a quick JavaScript query detects. It is more functional & accurate than getting the CSS to switch based on pixel width, since phones have more pixels than they used to. By using an entirely separate stylesheet for the club page, it is not as responsive as the rest of the website.

Keeping the CSS for the club boxes in a separate stylesheet is a good idea, but I think it should only contain whats needed for the boxes, with everything else left to the already existing stylesheets.