Skip to content

Commit

Permalink
Style simplify for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Farrell committed Jul 20, 2012
1 parent 23f1dc0 commit 45c409b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions static/css/base.css
Expand Up @@ -30,10 +30,6 @@ article {
width: 85%;
}

h1 {
margin-bottom: 15px;
}

header {
margin: 0 auto;
width: 100%;
Expand All @@ -44,13 +40,13 @@ header h1 {
}

header h1 a {
display: block;
margin-bottom: 30px;
/*
* TODO make logo manageable by settings
background: url('../img/sheltr-logo-desktop.png') no-repeat 0 0;
display: block;
width: 315px;
height: 110px;
margin-bottom: 30px;
margin: 0 auto;
text-indent: -5000px;
*/
Expand Down Expand Up @@ -337,20 +333,22 @@ textarea {
}

h1 a {
/* allow for varying logo sizes
width: 200px;
height: 70px;
max-width: 100%;
background-size: contain;
overflow: hidden;
margin-bottom: 0;
background-size: contain;
*/
line-height: normal;
max-width: 100%;
}

footer {
width: 100%;
}

form {
margin-top: -20px; /*because we can't seem to change the h1 margin-bottom for mobile*/
margin-bottom: 5%;
width: 95%;
}
Expand Down

0 comments on commit 45c409b

Please sign in to comment.