Commit c7366735 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Highlighting selected pages

parent 644ad763
......@@ -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>
......@@ -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;
......
......@@ -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"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment