From c8b89938f46cdbe518b0c98bd46bb26a1c995e3b Mon Sep 17 00:00:00 2001 From: "jacek.lebioda" <jacek.lebioda@uni.lu> Date: Wed, 26 Jun 2019 13:01:00 +0200 Subject: [PATCH] Tabs in header --- _sass/elixir/_layout.scss | 17 +++++++++++------ elixir-theme.gemspec | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index 754e510..1dbcdc9 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -11,12 +11,6 @@ position: relative; top: 66px; - li.active { - border-radius: 5px 5px 0 0; - color: #fefefe; - background: #f47d21; - } - li { list-style: none; float: left; @@ -42,6 +36,17 @@ text-decoration: none; } + a.active { + border-radius: 5px 5px 0 0; + color: #fefefe; + background: #f47d21; + } + + a.active:hover { + color: #222; + background: #d46d11; + } + a:hover { color: $COLOR_LINK_ELIXIR; border-color: $COLOR_LINK_ELIXIR; diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index 15b3b5b..9cbdffe 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "elixir-theme" - spec.version = "0.1.8" + spec.version = "0.1.9" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"] -- GitLab