feat: converted css files to scss files

This commit is contained in:
Laureηt 2021-10-07 18:55:48 +02:00
parent 9b71b9fbad
commit 7392694b4f
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
5 changed files with 9 additions and 1 deletions

View file

@ -5,6 +5,8 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(pluginNavigation); eleventyConfig.addPlugin(pluginNavigation);
eleventyConfig.addWatchTarget("./src/scss/");
eleventyConfig.addPassthroughCopy({ eleventyConfig.addPassthroughCopy({
"node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js", "node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js",
"assets/": "./", "assets/": "./",

View file

@ -5,7 +5,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"watch:sass": "sass --no-source-map --watch src/scss:_site/css", "watch:sass": "sass --no-source-map --watch src/scss:_site/css",
"watch:eleventy": "ELEVENTY_ENV=dev eleventy --serve", "watch:eleventy": "eleventy --serve",
"build:sass": "sass --no-source-map src/scss:_site/css", "build:sass": "sass --no-source-map src/scss:_site/css",
"build:eleventy": "ELEVENTY_ENV=prod eleventy", "build:eleventy": "ELEVENTY_ENV=prod eleventy",
"start": "npm-run-all build:sass --parallel watch:*", "start": "npm-run-all build:sass --parallel watch:*",

View file

@ -97,6 +97,7 @@ h2 {
size: auto; size: auto;
margin: 0; margin: 0;
} }
body, body,
html { html {
background-color: white !important; background-color: white !important;
@ -105,20 +106,25 @@ h2 {
color-adjust: exact !important; color-adjust: exact !important;
-webkit-print-color-adjust: exact !important; -webkit-print-color-adjust: exact !important;
} }
body { body {
margin: 2em; margin: 2em;
font-size: 13px; font-size: 13px;
} }
li.event { li.event {
border-left: 2px black solid; border-left: 2px black solid;
} }
.tag { .tag {
font-size: 10px; font-size: 10px;
} }
a { a {
color: black; color: black;
text-decoration: none; text-decoration: none;
} }
header, header,
footer, footer,
.btn-back, .btn-back,