Add nav.css for nav-only users

This commit is contained in:
Florine W. Dekker 2021-04-18 19:09:23 +02:00
parent 2e73257db6
commit 5476627d41
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
5 changed files with 11 additions and 12 deletions

View File

@ -10,6 +10,7 @@ module.exports = grunt => {
target: {
files: {
"dist/bundle.css": "src/main/css/main.css",
"dist/nav.css": ["src/main/css/colors.css", "src/main/css/nav.css"],
},
},
},

View File

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "1.0.4",
"version": "1.1.0",
"description": "The base template for pages on fwdekker.com.",
"author": "Felix W. Dekker",
"license": "MIT",
@ -32,7 +32,6 @@
"grunt-cli": "^1.4.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-cssmin": "^4.0.0",
"grunt-contrib-sass": "^2.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-focus": "^1.0.0",
"grunt-webpack": "^4.0.2",

8
src/main/css/colors.css Normal file
View File

@ -0,0 +1,8 @@
/* Variables */
:root {
--fwdekker-theme-color: #0033cc;
--fwdekker-theme-color-dark: #0029a3;
--fwdekker-theme-color-very-dark: #001f7a;
--fwdekker-theme-color-light: #003df5;
--fwdekker-theme-color-very-light: #1f57ff;
}

View File

@ -1,13 +1,3 @@
/* Variables */
:root {
--fwdekker-theme-color: #0033cc;
--fwdekker-theme-color-dark: #0029a3;
--fwdekker-theme-color-very-dark: #001f7a;
--fwdekker-theme-color-light: #003df5;
--fwdekker-theme-color-very-light: #1f57ff;
}
/* Base elements */
html, body {
height: 100%;

View File

@ -1,5 +1,6 @@
@import "../../../node_modules/normalize.css/normalize.css";
@import "../../../node_modules/milligram/dist/milligram.css";
@import "colors.css";
@import "common.css";
@import "nav.css";
@import "overrides.css";