diff --git a/Gruntfile.js b/Gruntfile.js index bc44872..d2f1b22 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,13 +7,16 @@ module.exports = grunt => { default: ["dist/"], }, copy: { + css: { + files: [{expand: true, cwd: "src/main/", src: "**/*.css", dest: "dist/", flatten: true}] + }, html: { - files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/"}] + files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/", flatten: true}] }, }, focus: { dev: { - include: ["html"], + include: ["css", "html"], }, }, replace: { @@ -39,6 +42,10 @@ module.exports = grunt => { }, }, watch: { + css: { + files: ["src/main/**/*.css"], + tasks: ["copy:css"], + }, html: { files: ["src/main/**/*.html"], tasks: ["copy:html", "replace:dev"], @@ -56,6 +63,7 @@ module.exports = grunt => { // Pre "clean", // Copy files + "copy:css", "copy:html", // Insert version number "replace:dev", @@ -65,6 +73,7 @@ module.exports = grunt => { // Pre "clean", // Copy files + "copy:css", "copy:html", // Insert version number "replace:deploy", diff --git a/package-lock.json b/package-lock.json index fe397aa..3d00796 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index 4e70a59..688165a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "about", - "version": "1.3.6", + "version": "1.3.7", "description": "All about Florine", "author": "Florine W. Dekker", "browser": "dist/bundle.js", @@ -16,9 +16,9 @@ "deploy": "grunt deploy" }, "devDependencies": { - "grunt": "^1.4.1", + "grunt": "^1.5.3", "grunt-cli": "^1.4.3", - "grunt-contrib-clean": "^2.0.0", + "grunt-contrib-clean": "^2.0.1", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-watch": "^1.1.0", "grunt-focus": "^1.0.0", diff --git a/src/main/css/main.css b/src/main/css/main.css new file mode 100644 index 0000000..0ed44c8 --- /dev/null +++ b/src/main/css/main.css @@ -0,0 +1,7 @@ +:root { + --aside-width: 215px !important; +} + +#socials-span a { + text-decoration: none !important; +} diff --git a/src/main/index.html b/src/main/index.html index 6b32840..58a47da 100644 --- a/src/main/index.html +++ b/src/main/index.html @@ -16,14 +16,15 @@ About | FWDekker - + + - + -