diff --git a/app/config/styles.json b/app/config/styles.json index 2899df1..01ef9ea 100644 --- a/app/config/styles.json +++ b/app/config/styles.json @@ -1,7 +1,7 @@ { "digest": { "font-family": "Helvetica, Arial, sans-serif", - "font-size": "14pt", + "font-size": "10pt", "color": "#000", "max-width": "800px", "margin": "0" @@ -11,6 +11,7 @@ "color": "#4183c4" }, "intro-paragraph": { + "font-size": "12pt", "user-link": { "font-weight": "bold", "color": "#000" @@ -24,7 +25,7 @@ "font-size": "24pt", "font-weight": "bold", "margin": ".75em 0 .5em 0", - "border-bottom": "dashed 2px #666" + "border-bottom": "solid 1px #ddd" }, "repository-header": { "font-size": "18pt", @@ -32,21 +33,24 @@ "margin": ".5em 0" }, "commit": { - "border-bottom": "dashed 1px #666", - "margin": "20px 0", - "font-size": "12pt", + "background": "#fafafa", + "border": "solid 1px #ccc", + "border-radius": "3px", + "margin": "1em 0", "title": { - "padding": "8px 0", + "padding": "8px", "margin": "0" }, "message": { "margin": "0", - "padding-botom": "8px", + "padding": "0 8px 8px", "white-space": "pre-wrap" }, "footer": { - "padding": "8px 0", - "margin-bottom": "20px", + "background": "#fff", + "border-top": "solid 1px #ddd", + "border-radius": "0 0 3px 3px", + "padding": "8px", "date": { "color": "#666" }, diff --git a/app/static/images/logo.png b/app/static/images/logo.png deleted file mode 100644 index be1d513..0000000 Binary files a/app/static/images/logo.png and /dev/null differ diff --git a/app/static/images/paper-background.png b/app/static/images/paper-background.png deleted file mode 100644 index 844ad37..0000000 Binary files a/app/static/images/paper-background.png and /dev/null differ diff --git a/app/static/images/perforated-edge-left.png b/app/static/images/perforated-edge-left.png deleted file mode 100644 index bc5d64a..0000000 Binary files a/app/static/images/perforated-edge-left.png and /dev/null differ diff --git a/app/static/images/perforated-edge-right.png b/app/static/images/perforated-edge-right.png deleted file mode 100644 index 4bd50dd..0000000 Binary files a/app/static/images/perforated-edge-right.png and /dev/null differ diff --git a/app/static/main.css b/app/static/main.css index e4b3373..3c3313d 100644 --- a/app/static/main.css +++ b/app/static/main.css @@ -1,48 +1,6 @@ -html { - position: relative; - height: 100%; -} - body { font-family: Helvetica, Arial, sans-serif; - font-size: 14pt; - line-height: 24pt; - background: url("images/paper-background.png"); - position: relative; - min-height: 100%; - margin: 0; - padding: 10px 66px; -} - -.perforated-edge { - position: absolute; - width: 46px; - height: 100%; - top: 0; -} - -.perforated-edge.right { - right: 0; - background-image: url("images/perforated-edge-right.png"); -} - -.perforated-edge.left { - left: 0; - background-image: url("images/perforated-edge-left.png"); -} - -.logo { - width: 497px; - height: 77px; - background-image: url("images/logo.png"); - margin: 31px auto 10px; -} - -.page-body { - max-width: 800px; - margin: 0 auto; - padding: 0 20px; - background: rgba(255, 255, 255, 0.5); + font-size: 10pt; } a { diff --git a/app/templates/base/page.html b/app/templates/base/page.html index 3b58ab4..2297fcc 100644 --- a/app/templates/base/page.html +++ b/app/templates/base/page.html @@ -7,12 +7,8 @@ -
-
- +

{{template "title" .}}

-
- {{template "body" .}} -
+ {{template "body" .}} diff --git a/app/templates/digest-page.html b/app/templates/digest-page.html index 79bf3c7..1e35c74 100644 --- a/app/templates/digest-page.html +++ b/app/templates/digest-page.html @@ -2,8 +2,6 @@ {{define "body"}} -
- {{template "digest" .Digest}} -
+{{template "digest" .Digest}} {{end}}