feat: convert templates from njk to html
Note: Nunjucks will still process the templates, but this way they can be plain HTML files and will be formatted properly.
This commit is contained in:
parent
d666ef0731
commit
a5526174ba
11 changed files with 107 additions and 10 deletions
|
@ -1,3 +1,5 @@
|
|||
@import "global/reset.css";
|
||||
|
||||
@import "global/global-styles.css";
|
||||
|
||||
@import-glob "utils/*.css";
|
||||
|
|
5
src/assets/css/global/variables.css
Normal file
5
src/assets/css/global/variables.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
/* Global variables */
|
||||
:root {
|
||||
--transition-duration: 250ms;
|
||||
--transition-timing: ease;
|
||||
}
|
15
src/assets/css/utils/wrapper.css
Normal file
15
src/assets/css/utils/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, 70rem);
|
||||
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