From 1d8513eb6d2734fe705bf7e324f63cf253442d1b Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 21 Mar 2020 00:39:10 +0100 Subject: [PATCH] =?UTF-8?q?Z=C3=A1kladn=C3=AD=20styly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 sass/style.scss diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..f9a087d --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,52 @@ +$primary: #17a; + +body { + margin: 0; + padding: 0; + font-family: sans-serif; +} + +#header a, #menu a, #nav a { + text-decoration: none; +} + +#header { + padding: .5em; + font-size: 1.5em; + + a { + color: $primary; + } +} + +#menu { + background-color: $primary; + + ul { + margin: 0; + padding: 0; + list-style-type: none; + overflow: hidden; + + li { + float: left; + padding: .5em; + + &.active a { font-weight: bold; } + + &:hover { + background-color: darken($primary,6); + } + + a { + color: #fff; + + } + } + } + +} + +#nav { + float: left; +}