Actual text elements (h1, h2, p, li, whatever), if you size them at all, are sized in em, and thus become relative to the module. ![]() But then each module on the page has a font-size set in rem. So here’s my idea: you still keep px size adjustments at the document level so you can make easy/efficient sweeping size changes. This compliments the method that Chris described a couple of years ago: Therefore the paragraph spacing is directly related to the paragraph text size and therefore be considered local sizing within a component. In Typora, is there a way to change the point size (and ideally the font) of the text in the left sidebar (outline and file explorer) I was able to set the font and point size of the editing window to my preference, but I’d like the text in the sidebar to be smaller. Should you decide during your design process that the pull quote should be set a bit larger, then the spacing between the paragraphs must also be increased. The spacing between the paragraphs will depend on the size of the paragraph text, so you could feasibly set that spacing in either rems or ems. ![]() ![]() Take the example of a pull quote containing two short paragraphs. I try to change it in theme css file, but nothing changed. Richard Rutter’s guide for setting the font-size of an element is interesting: he argues that we should use both em and rem units depending on the relationship it might have with other elements on the page: When I export a PNG file, it always 650px width, and i don't find a way to change the size of the font.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |