mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
(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:
parent
3a0a543859
commit
7cb8aac36e
3 changed files with 8 additions and 6 deletions
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue