diff options
author | Alan Pearce | 2017-08-29 21:36:42 +0200 |
---|---|---|
committer | Alan Pearce | 2017-08-29 21:36:42 +0200 |
commit | 6b3cab8be195220d7433dd795be42fe727059f2d (patch) | |
tree | d729e018ae43dea3ee674c189de9a8a4015a03b6 | |
parent | 3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73 (diff) | |
download | hyde-6b3cab8be195220d7433dd795be42fe727059f2d.tar.lz hyde-6b3cab8be195220d7433dd795be42fe727059f2d.tar.zst hyde-6b3cab8be195220d7433dd795be42fe727059f2d.zip |
Remove contact menu from sidebar
Not a good idea on mobile, or shorter screens
-rw-r--r-- | layouts/partials/sidebar.html | 15 | ||||
-rw-r--r-- | static/css/hyde.css | 7 |
2 files changed, 1 insertions, 21 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 53d41cf..a076070 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -23,21 +23,6 @@ {{end}} </ul> </nav> - - <aside class="contact"> - <h3 class="contact-head">Contact me</h3> - <ul class="contact-list"> - {{ range .Site.Menus.contact }} - <li> - {{ if hasPrefix .URL "mailto:" }} - <a href="{{ .URL }}" class="u-email email" rel="me">{{ .Name }}</a> - {{ else }} - <a href="{{ .URL }}" class="u-url url" rel="me">{{ .Name }}</a> - {{ end }} - </li> - {{ end }} - </ul> - </aside> </header> <footer> diff --git a/static/css/hyde.css b/static/css/hyde.css index cad1095..0816c69 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -98,13 +98,8 @@ code,pre { border-radius: 50%; } -.contact-head { - color: #fff; - margin-bottom: 0; -} - /* Sidebar nav */ -.sidebar-nav, .contact-list { +.sidebar-nav { padding-left: 0; list-style: none; } |