Commit 0a1209f1 authored by Milan's avatar Milan
Browse files

drop navbar spacers, add a bit padding, add icons to links

parent e278fe39
...@@ -202,6 +202,7 @@ DEPENDENCIES ...@@ -202,6 +202,7 @@ DEPENDENCIES
byebug byebug
coffee-rails (~> 4.2) coffee-rails (~> 4.2)
devise devise
font-awesome-rails
http_accept_language (~> 2.0.5) http_accept_language (~> 2.0.5)
jbuilder (~> 2.5) jbuilder (~> 2.5)
jquery-rails jquery-rails
......
...@@ -23,11 +23,13 @@ header { ...@@ -23,11 +23,13 @@ header {
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover { .navbar-default .navbar-nav>.active>a:hover {
color: #6083C1 color: #6083C1;
} }
.navbar-default .navbar-nav>li>a { .navbar-default .navbar-nav>li>a {
color: #91B0E6 color: #91B0E6;
padding-left: 20px;
padding-right: 20px;
} }
.navbar-default { .navbar-default {
......
...@@ -31,21 +31,16 @@ ...@@ -31,21 +31,16 @@
</button> </button>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="navbar-brand"><%= link_to image_tag('branding/logos/header_logo.png'), "/" %></li> <li class="navbar-brand"><%= link_to image_tag('branding/logos/header_logo.png'), "/" %></li>
<li><a id="nohover"><b>·</b></a></li> <li><a href="//community.illuna-minetest.tk"><i class="fa fa-users" aria-hidden="true"></i> Community</a></li>
<li><a href="//community.illuna-minetest.tk">Community </a></li> <li class="<%=is_active('rules')%>"><%= link_to t('nav.rules_html'), "/rules" %></li>
<li><a id="nohover"><b>·</b></a></li> <li class="<%=is_active('map')%>"><%= link_to t('nav.map_html'), "/map" %></li>
<li class="<%=is_active('rules')%>"><%= link_to t('nav.rules'), "/rules" %></li> <li class="<%=is_active('stats')%>"><%= link_to t('nav.stats_html'), "/stats" %></li>
<li><a id="nohover"><b>·</b></a></li> <li class="<%=is_active('donate')%>"><%= link_to t('nav.donate_html'), "/donate", :id => "donate" %></li>
<li class="<%=is_active('map')%>"><%= link_to "Map", "/map" %></li>
<li><a id="nohover"><b>·</b></a></li>
<li class="<%=is_active('stats')%>"><%= link_to t('nav.stats'), "/stats" %></li>
<li><a id="nohover"><b>·</b></a></li>
<li class="<%=is_active('donate')%>"><%= link_to t('nav.donate'), "/donate", :id => "donate" %></li>
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="<%=is_active('contact')%>"><%= link_to "Get in touch!", "/meet" %></li> <li class="<%=is_active('meet')%>"><a href="/meet"><i class="fa fa-commenting" aria-hidden="true"></i> Get in touch!</a></li>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -4,9 +4,11 @@ de: ...@@ -4,9 +4,11 @@ de:
blog_headline: "%d.%m.%Y" blog_headline: "%d.%m.%Y"
nav: nav:
home: "Home" home: "Home"
rules: "Regeln" rules_html: "<i class='fa fa-shield' aria-hidden='true'></i> Regeln"
stats: "Statistiken" map_html: "<i class='fa fa-compass' aria-hidden='true'></i> Karte"
donate: "Unterstützen" stats_html: "<i class='fa fa-heartbeat' aria-hidden='true'></i> Statistiken"
donate_html: "<i class='fa fa-heart' aria-hidden='true'></i> Unterstützen"
home: home:
index: index:
title: "Home" title: "Home"
......
...@@ -4,9 +4,10 @@ en: ...@@ -4,9 +4,10 @@ en:
blog_headline: "%d.%m.%Y" blog_headline: "%d.%m.%Y"
nav: nav:
home: "Home" home: "Home"
rules: "Rules" rules_html: "<i class='fa fa-shield' aria-hidden='true'></i> Rules"
stats: "Statistics" map_html: "<i class='fa fa-compass' aria-hidden='true'></i> Map"
donate: "Donate" stats_html: "<i class='fa fa-heartbeat' aria-hidden='true'></i> Statistics"
donate_html: "<i class='fa fa-heart' aria-hidden='true'></i> Donate"
home: home:
index: index:
title: "Home" title: "Home"
......
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