diff --git a/_includes/header.html b/_includes/header.html index 4fae10d0c6c4ef35971f0cd99248261c8bbbef18..df9c72129faa928d1b74da42f03a4129f67afe1f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -2,12 +2,12 @@ <div id="site-header-wrapper"> <ul> <li><img src="https://elixir-europe.org/system/files/white-orange-logo.png" /></li> - <li><a href="{{ site.baseurl }}/about-node">About</a></li> - <li><a href="{{ site.baseurl }}/services">Services</a></li> - <li><a href="{{ site.baseurl }}/training">Training</a></li> - <li><a href="{{ site.baseurl }}/events">Events</a></li> - <li><a href="{{ site.baseurl }}/news">News</a></li> - <li><a href="{{ site.baseurl }}/contact">Contact</a></li> + <li><a {% if site.section == 'About '%}class="active"{% endif %} href="{{ site.baseurl }}/about-node">About</a></li> + <li><a {% if site.section == 'Services '%}class="active"{% endif %} href="{{ site.baseurl }}/services">Services</a></li> + <li><a {% if site.section == 'Training '%}class="active"{% endif %} href="{{ site.baseurl }}/training">Training</a></li> + <li><a {% if site.section == 'Events '%}class="active"{% endif %} href="{{ site.baseurl }}/events">Events</a></li> + <li><a {% if site.section == 'News '%}class="active"{% endif %} href="{{ site.baseurl }}/news">News</a></li> + <li><a {% if site.section == 'Contact '%}class="active"{% endif %} href="{{ site.baseurl }}/contact">Contact</a></li> </ul> </div> </header> diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index 5532a3cde0674135ef2511715ed68de0ec8f14a5..754e510d2c95c379fa4f6164c1f4bae13de7b31a 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -11,6 +11,12 @@ position: relative; top: 66px; + li.active { + border-radius: 5px 5px 0 0; + color: #fefefe; + background: #f47d21; + } + li { list-style: none; float: left; diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index e61d2f7272844df42f58fa6b2479befa570d31e2..62d4a77cd1e062dde2bef08c578a516c7cf997b0 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.4" + spec.version = "0.1.5" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"]