feat: move css to own directory
This commit is contained in:
parent
598102a7ec
commit
449d650b75
21 changed files with 5 additions and 4 deletions
15
src/css/utilities/wrapper.css
Normal file
15
src/css/utilities/wrapper.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* 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, 65ch);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
position: relative;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue