Fix page background color styling.

It was previously gray so that negative rubber band scrolling in Safari would
show gray, but that's not actually interesting/worth it.
This commit is contained in:
Mihai Parparita 2014-10-26 22:05:02 -07:00
parent 9693a1a5b2
commit 816ea1d94a
2 changed files with 4 additions and 10 deletions

View file

@ -3,7 +3,6 @@ body {
font-size: 10pt; font-size: 10pt;
margin: 0; margin: 0;
padding: 0; padding: 0;
background: #eee;
} }
a { a {
@ -15,6 +14,7 @@ a {
position: relative; position: relative;
height: 164px; height: 164px;
overflow: hidden; overflow: hidden;
background: #eee;
} }
@media (max-width: 600px) { @media (max-width: 600px) {
@ -42,10 +42,6 @@ a {
margin-left: -555px; margin-left: -555px;
} }
.body-background {
background: #fff;
}
.body { .body {
padding: 10px; padding: 10px;
max-width: 1104px; max-width: 1104px;

View file

@ -12,12 +12,10 @@
<img src="/static/images/header.png" srcset="/static/images/header.png 1x, /static/images/header@2x.png 2x" width="1111" height="153" alt="GitHop"> <img src="/static/images/header.png" srcset="/static/images/header.png 1x, /static/images/header@2x.png 2x" width="1111" height="153" alt="GitHop">
</div> </div>
<div class="body-background">
<div class="body"> <div class="body">
<h1>{{template "title" .}}</h1> <h1>{{template "title" .}}</h1>
{{template "body" .}} {{template "body" .}}
</div> </div>
</div>
</body> </body>
</html> </html>