(Update) Nav: Link the Dash logo to the homepage (#6)

* (Update) Nav: Link the Dash logo to the homepage

* (Update) Header: Reduce dropshadow
This commit is contained in:
0xfff 2016-09-09 18:45:29 +02:00 committed by Perry Woodin
parent 3a0a543859
commit 7cb8aac36e
3 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
<!--
<!--
Include this file in your templates so you can reference assets with relative urls
include base.html
example: href="{{ base }}/assets/css/style.css"

View file

@ -1,7 +1,7 @@
{% include base.html %}
<!--
To change the logo color, pass the parameter in the include.
<!--
To change the logo color, pass the parameter in the include.
include nav-desktop.html logo-color="blue"
-->
{% assign logo-color = 'white' %}
@ -10,7 +10,9 @@
{% endif %}
<header id="top" class="content">
<a href="#" class="logo"><img src="{{ base }}/assets/img/logo-{{ logo-color }}.png" alt="Dash"></a>
<a href="{{ basenav }}/" class="logo"><img src="{{ base }}/assets/img/logo-{{ logo-color }}.png" alt="Dash"></a>
<nav>
<ul>

View file

@ -13,10 +13,10 @@
}
}
}
> .content {
> h1, > p {
text-shadow: 2px 2px 2px rgba(black, 0.4);
text-shadow: 2px 2px 5px rgba(black, 0.2);
}
> h1 {
margin-top: 2.5em;