diff --git a/src/header.go b/src/header.go index 564788d..c15d943 100644 --- a/src/header.go +++ b/src/header.go @@ -22,23 +22,23 @@ const headerTemplate = ` body { font-family: Roboto,Helvetica,sans-serif; background: #ddd; - margin-left: auto; - margin-right: auto; - margin-top: 20px; + margin: 1em auto; max-width: 1000px; } li { - margin-top: 1em; - margin-bottom: 1em; - margin-right: 1em; + border-radius: 10px; + margin: 0.5em; + padding: 0.5em; } h1 { - font-size: 25px; + font-size: 2em; color: #efefef; width: 80%; float: left; } ul { + padding: 0.5em; + list-style-type: none; /* Disable bullet points */ border-radius: 10px; border:1px solid #c0c0c0; background: #f5f5f5; @@ -58,6 +58,9 @@ const headerTemplate = ` p { margin: 0px; } + #container { + margin: 1em; + } .author { color: #666; } @@ -96,7 +99,7 @@ const headerTemplate = ` font-size: 12px; } :target { - background-color: #f6ba81; + background-color: #ffb772; } #left-header { flex: 4; @@ -132,6 +135,8 @@ const headerTemplate = ` background: #333 url('assets/open-access.svg') right/25% no-repeat; } #censorbib-description { + font-size: 1.15em; + text-align: justify; padding: 1em; flex: 5; } @@ -168,15 +173,9 @@ const headerTemplate = `