diff --git a/app/config/styles.json b/app/config/styles.json index 01ef9ea..d327544 100644 --- a/app/config/styles.json +++ b/app/config/styles.json @@ -3,7 +3,7 @@ "font-family": "Helvetica, Arial, sans-serif", "font-size": "10pt", "color": "#000", - "max-width": "800px", + "max-width": "1104px", "margin": "0" }, "link": { @@ -35,7 +35,6 @@ "commit": { "background": "#fafafa", "border": "solid 1px #ccc", - "border-radius": "3px", "margin": "1em 0", "title": { "padding": "8px", @@ -49,7 +48,6 @@ "footer": { "background": "#fff", "border-top": "solid 1px #ddd", - "border-radius": "0 0 3px 3px", "padding": "8px", "date": { "color": "#666" diff --git a/app/static/images/body-shadow@2x.png b/app/static/images/body-shadow@2x.png new file mode 100644 index 0000000..be5af06 Binary files /dev/null and b/app/static/images/body-shadow@2x.png differ diff --git a/app/static/images/header.png b/app/static/images/header.png new file mode 100644 index 0000000..5c5a314 Binary files /dev/null and b/app/static/images/header.png differ diff --git a/app/static/images/header@2x.png b/app/static/images/header@2x.png new file mode 100644 index 0000000..53b1db4 Binary files /dev/null and b/app/static/images/header@2x.png differ diff --git a/app/static/main.css b/app/static/main.css index 3c3313d..4a7c783 100644 --- a/app/static/main.css +++ b/app/static/main.css @@ -1,6 +1,8 @@ body { font-family: Helvetica, Arial, sans-serif; font-size: 10pt; + margin: 0; + padding: 0; } a { @@ -8,6 +10,43 @@ a { text-decoration: none; } +.header { + background: #eee; + position: relative; + height: 154px; + padding-top; 10px; + overflow: hidden; +} + +.header:after { + content: ""; + position: absolute; + left: 0; + right: 0; + height: 4px; + bottom: 0; + background: url("images/body-shadow@2x.png"); + background-size: 4px 4px; +} + +.header img { + display: block; + position: absolute; + top: 10px; + left: 50%; + margin-left: -557px; +} + +.body { + padding: 10px; + max-width: 1104px; + margin: 0 auto; +} + +.body h1 { + margin-top: 0; +} + #sign-in-form { margin: 0 auto; } diff --git a/app/templates/base/page.html b/app/templates/base/page.html index 2297fcc..81bdea0 100644 --- a/app/templates/base/page.html +++ b/app/templates/base/page.html @@ -7,8 +7,14 @@ -

{{template "title" .}}

+
+ GitHop +
- {{template "body" .}} +
+

{{template "title" .}}

+ + {{template "body" .}} +
diff --git a/assets/punch card.psd b/assets/punch card.psd new file mode 100644 index 0000000..b260deb Binary files /dev/null and b/assets/punch card.psd differ