From 04c001dba1bd78d8c83912766a28473d45138a5f Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Fri, 17 Jan 2020 08:14:10 +0100 Subject: [PATCH] navigation, navigation theme --- package-lock.json | 5 ++ package.json | 1 + src/components/Footer.svelte | 13 ++-- src/components/Nav.svelte | 121 +++++++++++++++++++---------------- static/global.css | 13 ++++ 5 files changed, 89 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index b021b40..c515337 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1354,6 +1354,11 @@ "supports-color": "^5.3.0" } }, + "classnames": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + }, "clean-css": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", diff --git a/package.json b/package.json index b826782..acb8ea1 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "test": "run-p --race dev cy:run" }, "dependencies": { + "classnames": "^2.2.6", "compression": "^1.7.4", "date-fns": "^2.8.1", "front-matter": "^3.0.2", diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 28e4bc4..993bec4 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -20,8 +20,6 @@ } .site-footer { - background: #2d3935; - color: #eae9be; font-size: 0.8em; padding: 0.4em; box-shadow: 1px 3px #959595; @@ -42,11 +40,6 @@ white-space: nowrap; } - a { - /* color: #f2ee12; */ - color: #eae9be; - } - .lists ul { list-style: none; padding: 0; @@ -113,6 +106,10 @@ font-size: 0.7em; } + .latest-posts li a:visited:not(:hover) { + color: #a7a574; + } + @media only screen and (min-width: 900px) { .lists { flex-direction: row; @@ -132,7 +129,7 @@ } -