From be9e6f36419006256d92441aad5c6fd4c324b7ca Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 13 Apr 2023 14:38:44 +0200 Subject: [PATCH] Add events section --- config.toml | 1 + content/akce/_index.md | 3 +++ sass/style.scss | 6 +++++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 content/akce/_index.md diff --git a/config.toml b/config.toml index e8c0f08..36eca38 100644 --- a/config.toml +++ b/config.toml @@ -17,5 +17,6 @@ highlight_code = true nav_items = [ {name="Úvod", path="/"}, {name="Projekty", path="/projekty/"}, + {name="Akce", path="/akce/"}, {name="Kontakty", path="/kontakty/"}, ] diff --git a/content/akce/_index.md b/content/akce/_index.md new file mode 100644 index 0000000..89acfd2 --- /dev/null +++ b/content/akce/_index.md @@ -0,0 +1,3 @@ ++++ +title = "Akce" ++++ diff --git a/sass/style.scss b/sass/style.scss index 7ec3888..5120606 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -55,7 +55,7 @@ body>nav { a { display: flex; align-items: center; - padding: 0 1.5em; + padding: 0 1em; height: 100%; color: #fc0; @@ -64,6 +64,10 @@ body>nav { &:hover, &.active { background: #131516; } + + @media only screen and (min-width: $width-narrow) { + padding: 0 1.5em; + } } }