diff --git a/website/static/styles/WebhookInbox.css b/website/static/styles/WebhookInbox.css index 049df11..3ee67f4 100644 --- a/website/static/styles/WebhookInbox.css +++ b/website/static/styles/WebhookInbox.css @@ -60,7 +60,29 @@ a img { text-align: right; } -.header .links > a { +.header .links ul { list-style: none;} +.header .links ul li { + display: inline-block; + position: relative; +} + +.header .links ul li > .arrow{ + position: absolute; + width: 0px; + height: 0px; + top: -35px; + display: none; + margin-left: 5px; + left: 50%; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid black; +} + +.header .links ul li.active > .arrow{ + display: inline-block; +} +.header .links ul li > a { color: #9599a1; text-shadow: 1px 1px 2px #000; margin-left: 35px; diff --git a/website/static/styles/WebhookInboxViewer.css b/website/static/styles/WebhookInboxViewer.css index 3381bb8..e460158 100644 --- a/website/static/styles/WebhookInboxViewer.css +++ b/website/static/styles/WebhookInboxViewer.css @@ -54,7 +54,29 @@ a img { text-align: right; } -.header .links > a { +.header .links ul { list-style: none;} +.header .links ul li { + display: inline-block; + position: relative; +} + +.header .links ul li > .arrow{ + position: absolute; + width: 0px; + height: 0px; + top: -35px; + display: none; + margin-left: 5px; + left: 50%; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid black; +} + +.header .links ul li.active > .arrow{ + display: inline-block; +} +.header .links ul li > a { color: #9599a1; text-shadow: 1px 1px 2px #000; margin-left: 35px; diff --git a/website/templates/website/about.html b/website/templates/website/about.html index 0d15b6c..332d6cc 100644 --- a/website/templates/website/about.html +++ b/website/templates/website/about.html @@ -1,5 +1,5 @@ {% extends "website/l2_base.html" %} - +{% block nav_about %}active{% endblock %} {% block title_suffix %} - About{% endblock %} {% block content %} diff --git a/website/templates/website/contact.html b/website/templates/website/contact.html index fd8eda7..2643c68 100644 --- a/website/templates/website/contact.html +++ b/website/templates/website/contact.html @@ -1,5 +1,5 @@ {% extends "website/l2_base.html" %} - +{% block nav_contact %}active{% endblock %} {% block title_suffix %} - Contact Us{% endblock %} {% block content %} diff --git a/website/templates/website/home.html b/website/templates/website/home.html index b6e0da3..60eaff1 100644 --- a/website/templates/website/home.html +++ b/website/templates/website/home.html @@ -14,17 +14,8 @@ {% endblock %} -{% block header %} -
-
- -
-
-{% endblock %} +{% block header_class %}{% endblock %} +{% block header_log %}{% endblock %} {% block content_home %}
diff --git a/website/templates/website/l2_base.html b/website/templates/website/l2_base.html index d51a345..a3980d0 100644 --- a/website/templates/website/l2_base.html +++ b/website/templates/website/l2_base.html @@ -21,13 +21,17 @@ {% block header %}
+ {% block header_log %} + {% endblock %}
diff --git a/website/templates/website/nav.html b/website/templates/website/nav.html new file mode 100644 index 0000000..de12a57 --- /dev/null +++ b/website/templates/website/nav.html @@ -0,0 +1,7 @@ + \ No newline at end of file