Homepage section spacing (space between sections/widgets) could be customizable via an option in the config file.
For example, this would enable a more compact appearance for users who prefer that.
Proposed param: design.spacing.padding
To use, update to the latest master version and add the following to a widget frontmatter:
[design.spacing]
# Customize the section spacing. Order is top, right, bottom, left.
padding = ["20px", "0", "20px", "0"]
Yes, spacing and font size would be nice to have in config!
Currently, I have this in my custom.css to reduce the spacing:
.home-section {
padding: 30px 0 30px 0;
}
And for font, I have a local copy of font files in data/fonts folder:
# Font size
font_size = "16"
font_size_small = "12"
BUT did not like the resulting smaller font in nav bar: so another tweak in custom.css:
nav#navbar-main li {
font-size: 16px;
}
Being able to customize spacing would be a very nice feature!
Most helpful comment
Yes, spacing and font size would be nice to have in config!
Currently, I have this in my custom.css to reduce the spacing:
And for font, I have a local copy of font files in data/fonts folder:
BUT did not like the resulting smaller font in nav bar: so another tweak in custom.css: