summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-25 17:01:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-25 17:01:35 +0100
commit384dc5729147566e887a97ece0718d9e3d5d4a5d (patch)
tree4512c168769e5f9beb7103247bb8276f4c088eb2
parent3e9807b393d8e1acc6b6f839aacc720c8908322b (diff)
Surely a little bit of colour won't hurt.
-rw-r--r--public/static/css/local.css14
-rw-r--r--templates/layouts/default.html.ep2
2 files changed, 15 insertions, 1 deletions
diff --git a/public/static/css/local.css b/public/static/css/local.css
index 2eb14f0..e058a76 100644
--- a/public/static/css/local.css
+++ b/public/static/css/local.css
@@ -7,6 +7,20 @@
cursor: pointer;
}
+.brand-logo span {
+ transition: color 1s;
+}
+
+.brand-logo:hover .ca,
+.brand-logo:hover .ce {
+ color: #a8e3fa;
+}
+
+.brand-logo:hover .cb,
+.brand-logo:hover .cd {
+ color: #f5c4ce;
+}
+
td.cancelled {
text-decoration: line-through;
}
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index bd9bf8d..73c3440 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -73,7 +73,7 @@
<div class="navbar-fixed">
<nav class="deep-purple">
<div class="nav-wrapper container">
- <a href="/" class="brand-logo left">travelynx</a>
+ <a href="/" class="brand-logo left"><span class="ca">tr</span><span class="cb">av</span><span class="cc">e</span><span class="cd">ly</span><span class="ce">nx</span></a>
<ul id="nav-mobile" class="right">
<li class="loading">
<div class="preloader-wrapper small" style="margin-top: 0.5em; margin-bottom: -1em;">