(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 this file in your templates so you can reference assets with relative urls
include base.html include base.html
example: href="{{ base }}/assets/css/style.css" example: href="{{ base }}/assets/css/style.css"

View file

@ -1,7 +1,7 @@
{% include base.html %} {% 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" include nav-desktop.html logo-color="blue"
--> -->
{% assign logo-color = 'white' %} {% assign logo-color = 'white' %}
@ -10,7 +10,9 @@
{% endif %} {% endif %}
<header id="top" class="content"> <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> <nav>
<ul> <ul>

View file

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