css: add normalize.css

This commit is contained in:
He4eT 2025-02-18 00:59:30 +01:00
commit e0d362e818
4 changed files with 16 additions and 2 deletions

9
package-lock.json generated
View file

@ -7,7 +7,8 @@
"": { "": {
"name": "xecut", "name": "xecut",
"dependencies": { "dependencies": {
"@11ty/eleventy": "^3.0.0" "@11ty/eleventy": "^3.0.0",
"normalize.css": "^8.0.1"
} }
}, },
"node_modules/@11ty/dependency-tree": { "node_modules/@11ty/dependency-tree": {
@ -1503,6 +1504,12 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/normalize.css": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz",
"integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==",
"license": "MIT"
},
"node_modules/nunjucks": { "node_modules/nunjucks": {
"version": "3.2.4", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.4.tgz", "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.4.tgz",

View file

@ -7,6 +7,7 @@
}, },
"description": "A website for the Xecut hackspace.", "description": "A website for the Xecut hackspace.",
"dependencies": { "dependencies": {
"@11ty/eleventy": "^3.0.0" "@11ty/eleventy": "^3.0.0",
"normalize.css": "^8.0.1"
} }
} }

View file

@ -0,0 +1,4 @@
---
permalink: _assets/css/vendor.css
---
{% include "../../node_modules/normalize.css/normalize.css" %}

View file

@ -18,6 +18,8 @@
title="{{ translations[page.lang]['title'] }}" title="{{ translations[page.lang]['title'] }}"
type="application/atom+xml"> type="application/atom+xml">
<link rel="stylesheet" href="/_assets/css/vendor.css">
<link rel="stylesheet" href="/_assets/css/base.css"> <link rel="stylesheet" href="/_assets/css/base.css">
<link rel="stylesheet" href="/_assets/css/menu.css"> <link rel="stylesheet" href="/_assets/css/menu.css">
</head> </head>