diff options
author | Alan Pearce | 2014-07-12 12:08:54 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-12 12:08:54 +0100 |
commit | 26aaf8603f69889ed24408cf82aaf8499b56e91b (patch) | |
tree | c5d5d44b0a2a34152ce334b54e180330213e8ec8 | |
parent | d33683c9d2e739877f8f76d94d0e4cd929eeb038 (diff) | |
download | hyde-26aaf8603f69889ed24408cf82aaf8499b56e91b.tar.lz hyde-26aaf8603f69889ed24408cf82aaf8499b56e91b.tar.zst hyde-26aaf8603f69889ed24408cf82aaf8499b56e91b.zip |
Add contact info to sidebar
-rw-r--r-- | layouts/partials/sidebar.html | 8 | ||||
-rw-r--r-- | static/css/hyde.css | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index d8acf04..8f2da27 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -21,6 +21,14 @@ </ul> </nav> + <aside class="contact"> + <h3 class="contact-head">Contact me</h3> + <ul class="contact-list"> + <li><a href="mailto:alan@alanpearce.uk">Email</a></li> + <li><a href="https://twitter.com/alanpearceuk">Twitter</a></li> + </ul> + </aside> + <footer> Licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. </footer> diff --git a/static/css/hyde.css b/static/css/hyde.css index 5ef814c..493ff42 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -83,8 +83,13 @@ html { font-size: 3.25rem; } +.contact-head { + color: #fff; + margin-bottom: 0; +} + /* Sidebar nav */ -.sidebar-nav { +.sidebar-nav, .contact-list { padding-left: 0; list-style: none; } |