When building sites, I prefer to use all relative units for fonts, margins, etc. Looking at the default stylesheet for divhunt, it appears to use absolute units in px.
What’s the recommended way to switch over to using relative units?
I use font-size: 62.5% or 100% set at :root. I don’t see an existing :root being configured, is there a recommended place to add this?
What would be the easiest way to modify all the existing stylesheet definitions (H1, H2, H3, etc) to use relative units (rems/ems) instead of their current px values? The best I could see was click one by one, choose their global selector and edit each by hand. Is there a way to see the entire global stylesheet somewhere as a whole?
Currently default values are in pixels. But we have all units available. Best way to edit global settings, is not to edit :root, its better to edit body tag.
Best way is to edit global h1, h2, etc on your project. If you click on green part on image below, you will get a popup to edit globals of selected element, in this case heading 2.
That same thing you would do in question 1 for body tag.
Just throwing my hat in here too – I love using relative units but understand why Divhunt chooses to use pixels primarily, for ease of visual manipulation.