Skip to content

Commit

Permalink
Added support for devices with low resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
blixt committed Jul 23, 2010
1 parent 374781a commit 92a05c2
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/static/style.css
Expand Up @@ -232,3 +232,48 @@ textarea:focus {
#story p.empty { #story p.empty {
opacity: .5; opacity: .5;
} }

@media screen and (max-width: 680px) {
body {
font-size: 13px;
}

h1 {
font-size: 23px;
}

h2 {
font-size: 19px;
}

ol, p, pre, ul {
left: 1px;
width: auto;
}

textarea {
width: 96%;
}

.paragraph, #story p {
font-size: 17px;
}

#content {
width: auto;
}

#content_outside {
border: 0;
border-radius: 0;
-khtml-border-radius: 0;
-moz-border-radius: 0;
margin-top: 0;
width: auto;
}

#footer {
margin-bottom: 0;
width: auto;
}
}

0 comments on commit 92a05c2

Please sign in to comment.