
Note: Nunjucks will still process the templates, but this way they can be plain HTML files and will be formatted properly.
15 lines
374 B
CSS
15 lines
374 B
CSS
/**
|
|
* WRAPPER
|
|
* Sets a max width, adds a consistent gutter and horizontally
|
|
* centers the contents
|
|
* https://piccalil.li/quick-tip/use-css-clamp-to-create-a-more-flexible-wrapper-utility/
|
|
*/
|
|
.wrapper {
|
|
width: 90vw;
|
|
width: clamp(16rem, 90vw, 70rem);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-left: 1.5rem;
|
|
padding-right: 1.5rem;
|
|
position: relative;
|
|
}
|