From 4939cab0aa47419f43c58a5bbc074435d1c9757b Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 5 Feb 2022 23:16:53 +0000 Subject: [PATCH] added watch dirs to eleventy setup, plus added margin to top and bottom of page, and removed padding from tech_used --- .eleventy.js | 11 ++++++++++- src/css/style.css | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 640c1de..f184d44 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -5,11 +5,20 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy("./src/svgs"); eleventyConfig.addPassthroughCopy("./src/js"); eleventyConfig.addPassthroughCopy("./src/screenshots"); - eleventyConfig.addPassthroughCopy("./projects"); + eleventyConfig.addPassthroughCopy({ + "./projects/freeCodeCamp": "freeCodeCamp", + }); + eleventyConfig.addPassthroughCopy({ + "./projects/FrontendMentor": "FrontendMentor", + }); //eleventyConfig.addPassthroughCopy({ // "./src/assets/images": "img", //}); + // WATCH Targets + eleventyConfig.addWatchTarget("./src/css/"); + eleventyConfig.addWatchTarget("./src/js/"); + // Return your Object options: return { dir: { diff --git a/src/css/style.css b/src/css/style.css index aa3a562..069c9d5 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -27,6 +27,7 @@ body { /* background-color: whitesmoke; */ background-color: #f2f2f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ac2e2e' fill-opacity='0.24'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V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 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); + margin: 1rem 0; } .header, @@ -182,7 +183,7 @@ footer > a { /* align-content: space-evenly; */ justify-content: space-evenly; align-items: center; - + padding: 0; /* font-size: 0.625rem; */ }