combine CSS
This commit is contained in:
parent
165efe1d03
commit
6f46726e92
5 changed files with 11 additions and 7 deletions
|
@ -6,6 +6,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npx @11ty/eleventy --serve",
|
"dev": "npx @11ty/eleventy --serve",
|
||||||
|
"build": "npx @11ty/eleventy",
|
||||||
"upload": "npx @11ty/eleventy && rsync -aP --delete dist/ joshua@seigler.net:/srv/www/joshua.seigler.net/public_html/"
|
"upload": "npx @11ty/eleventy && rsync -aP --delete dist/ joshua@seigler.net:/srv/www/joshua.seigler.net/public_html/"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-display: block;
|
font-display: block;
|
||||||
src: url("ftaurebesh-medium.woff2") format("woff2");
|
src: url("/fonts/ftaurebesh/ftaurebesh-medium.woff2") format("woff2");
|
||||||
size-adjust: 125%;
|
size-adjust: 125%;
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -11,6 +11,6 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-display: block;
|
font-display: block;
|
||||||
src: url("ftaurebesh-bold.woff2") format("woff2");
|
src: url("/fonts/ftaurebesh/ftaurebesh-bold.woff2") format("woff2");
|
||||||
size-adjust: 125%;
|
size-adjust: 125%;
|
||||||
}
|
}
|
|
@ -3,12 +3,12 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 100 900;
|
font-weight: 100 900;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url("InterVariable.woff2") format("woff2");
|
src: url("/fonts/inter/InterVariable.woff2") format("woff2");
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Inter;
|
font-family: Inter;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 100 900;
|
font-weight: 100 900;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url("InterVariable-Italic.woff2") format("woff2");
|
src: url("/fonts/inter/InterVariable-Italic.woff2") format("woff2");
|
||||||
}
|
}
|
|
@ -1,6 +1,3 @@
|
||||||
@import url(fonts/inter/inter.css);
|
|
||||||
@import url(fonts/ftaurebesh/ftaurebesh.css);
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-size: clamp(16px, 8px + 1.5vw, 24px);
|
font-size: clamp(16px, 8px + 1.5vw, 24px);
|
6
site/css.njk
Normal file
6
site/css.njk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
permalink: /site.css
|
||||||
|
---
|
||||||
|
{%include "css/inter.css"%}
|
||||||
|
{%include "css/ftaurebesh.css"%}
|
||||||
|
{%include "css/site.css"%}
|
Loading…
Add table
Add a link
Reference in a new issue