From 312a644244d0ce9e299183a4985adf356598785e Mon Sep 17 00:00:00 2001 From: boasting-squirrel Date: Fri, 15 Mar 2019 17:50:30 +0100 Subject: Improved design --- src/renderer.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/renderer.rs') diff --git a/src/renderer.rs b/src/renderer.rs index b83a67c..38a3802 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -19,7 +19,7 @@ pub fn page( (page_header(page_title)) body { span #top { } - h1 { (page_title) } + h1.title { (page_title) } div.download { (archive_button(archive::CompressionMethod::TarGz)) } @@ -182,6 +182,9 @@ fn css() -> Markup { margin: 0; padding: 0; } + h1 { + font-size: 1.5rem; + } table { margin-top: 2rem; width: 100%; @@ -277,8 +280,8 @@ fn css() -> Markup { } .download { display: flex; - justify-content: flex-end; - padding: 0.125rem; + flex-wrap: wrap; + margin-top: .5rem; } .download a, .download a:visited { color: #3498db; @@ -287,6 +290,7 @@ fn css() -> Markup { background: #efefef; padding: 0.5rem; border-radius: 0.2rem; + margin-top: 1rem; } .download a:hover { background: #deeef7a6; -- cgit v1.2.3