summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/website.css9
-rw-r--r--templates/page.html.twig1
-rw-r--r--templates/partials/header.html.twig11
3 files changed, 10 insertions, 11 deletions
diff --git a/css/website.css b/css/website.css
index 1912fb3..6388c3a 100644
--- a/css/website.css
+++ b/css/website.css
@@ -44,6 +44,14 @@ a:hover {
text-decoration: none;
}
+a.white {
+ color: white;
+}
+
+a.white:hover {
+ color:rgba(255, 255, 255, 0.50);
+}
+
li {
padding: 2px 0px;
}
@@ -184,7 +192,6 @@ and (max-device-width: 900px)
}
/* animation */
-
@keyframes reveal2 {
from { opacity: 0.1; }
to { opacity: 1; }
diff --git a/templates/page.html.twig b/templates/page.html.twig
index dc2c9ed..1291aaf 100644
--- a/templates/page.html.twig
+++ b/templates/page.html.twig
@@ -14,6 +14,7 @@
<div class="center">
<div class="content">
{{ page.content|raw }}
+ {% include 'partials/navigation.html.twig' %}
</div>
</div>
<div class=footer>
diff --git a/templates/partials/header.html.twig b/templates/partials/header.html.twig
index 027d723..7da672d 100644
--- a/templates/partials/header.html.twig
+++ b/templates/partials/header.html.twig
@@ -10,20 +10,11 @@
{% else %}
<span class="icon" style="color: white;">home</span>
{% endif %}
-
- {% if page.parent.url != "/" %}
- <a class="anim4" href="/">
- <div class="roundedButton">
- <span class="icon">home</span>
- <span>Home</span>
- </div>
- </a>
- {% endif %}
</div>
<div id="center">
{% if page.url != "/" %}
- <a href="/" style="color:white;">{{site.title|e}}</a>
+ <a href="/" class="white">{{site.title|e}}</a>
{% endif %}
</div>