Skip to content

Commit

Permalink
change sizes for smaller screen
Browse files Browse the repository at this point in the history
updated the media query to take 640px
changed some margins and font sizes for smaller screen
to make them even smaller:
  • Loading branch information
hdra committed Apr 21, 2013
1 parent 84d52d4 commit 2cafeef
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
16 changes: 13 additions & 3 deletions static/css/blog.css
Expand Up @@ -158,6 +158,16 @@ body {

.post-entry {
padding: 0 12px; } }
@media only screen and (max-width: 480px) {
#nav-links li {
display: block; } }
@media only screen and (max-width: 640px) {
#nav-links {
font-size: 1.1em; }

#site-desc {
font-size: 1em; }

#site-title h1 {
font-size: 1.3em;
margin: 0.1em 0px; }

#site-info {
font-size: 0.6em; } }
16 changes: 12 additions & 4 deletions static/css/sass/blog.scss
Expand Up @@ -199,10 +199,18 @@ body{
}
}

@media only screen and (max-width: 480px) {
@media only screen and (max-width: 640px) {
#nav-links{
li{
display: block;
}
font-size: 1.1em;
}
#site-desc{
font-size: 1em;
}
#site-title h1{
font-size: 1.3em;
margin: 0.1em 0px;
}
#site-info{
font-size: 0.6em;
}
}

0 comments on commit 2cafeef

Please sign in to comment.