joeroe / risotto

A minimalist, responsive hugo theme inspired by terminal ricing aesthetics.
https://risotto.joeroe.io
MIT License
421 stars 111 forks source link

How can i make the text box wider, like how can i shorten the sides so the lines of text are wider #30

Closed theloganlab closed 2 years ago

theloganlab commented 2 years ago

i need some help i don't know what config file does this

joeroe commented 2 years ago

@theloganlab You can override the theme's styles by adding your own CSS rules to static/css/custom.css. For example, to widen the whole page:

.page {
    max-width: 80rem; /* Default: 64rem. 1rem = 16px */
}

Or to narrow the sidebar (the main content area always fills the rest of the available space):

.page {
    grid-template-columns: minmax(0, 1fr) 10rem; /* Default: minmax(0, 1fr) 15rem */
}