From 543d2fc010dc0e9db5e0503014b86cec73a1eeb4 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 4 Feb 2019 18:45:36 -0800 Subject: [PATCH] tweak index visual header style --- archivebox/templates/index.html | 75 ++++++++++------------ archivebox/templates/link_index_fancy.html | 2 +- 2 files changed, 35 insertions(+), 42 deletions(-) diff --git a/archivebox/templates/index.html b/archivebox/templates/index.html index 273b69dd..50440514 100644 --- a/archivebox/templates/index.html +++ b/archivebox/templates/index.html @@ -15,49 +15,46 @@ } header { background-color: #aa1e55; - color: white; + color: #1a1a1a; padding: 10px; padding-top: 0px; padding-bottom: 15px; - height: 100px; + /*height: 40px;*/ } header h1 { - font-size: 38px; + margin: 7px 0px; + font-size: 35px; font-weight: 300; - color: black; - padding-top: 14px; - line-height: 1.4; - width: 100%; + color: #1a1a1a; } - header h1 small { - color: white; - font-size:0.45em; - margin-left: 10px; - display: block; + header h1 img { + height: 44px; + vertical-align: bottom; } - header h1 small a { - text-decoration: none; - color: orange; - opacity: 0.6; - font-weight: 300; - } - header h1 small a:hover { - opacity: 1; - } - header + div { - margin-top: 10px; + header a { + text-decoration: none !important; + color: #1a1a1a; } .header-center { - width: 100%; + margin: auto; + float: none; text-align: center; + padding-top: 6px; + } + .header-center small { + color: #eaeaea; + opacity: 0.7; } .header-left { float: left; - width: 50px; - height: 60px; - text-align: center; - padding: 20px; - margin-right: -70px; + } + .header-right { + float: right; + padding-top: 17px; + padding-right: 10px; + } + header + div { + margin-top: 10px; } #table-bookmarks_length, #table-bookmarks_filter { padding: 0px 15px; @@ -105,23 +102,19 @@
+
+ Documentation   |   + Source   |   + Website +
-

-  Archived Sites -
- - Last updated $time_updated
-
-

+ Archived Sites
+ Last updated $time_updated
diff --git a/archivebox/templates/link_index_fancy.html b/archivebox/templates/link_index_fancy.html index c74c0144..9ebc3e28 100644 --- a/archivebox/templates/link_index_fancy.html +++ b/archivebox/templates/link_index_fancy.html @@ -41,7 +41,7 @@ margin-right: 13px; color: black; height: 53px; - margin-top: 7px; + margin-top: 12px; margin-left: 10px; } .nav-icon img:hover {