Skip to content

Commit

Permalink
added first media query
Browse files Browse the repository at this point in the history
  • Loading branch information
clarklab committed May 23, 2012
1 parent 3b5a7d2 commit daeefc9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions layouts/sidebar-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,20 @@ Layout: Sidebar-Content
#secondary-footer {
margin: 0 auto;
max-width:840px;
}

@media all and (max-width: 1024px) {

.site-content {
padding:0 30px 0 230px;
}

#masthead{
width: 200px;
}

.site-footer {
padding-left:200px;
}

}
4 changes: 3 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ textarea:focus {
}
input[type=text] {
padding: 3px;
max-width:100%;
}
textarea {
overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
Expand Down Expand Up @@ -557,4 +558,5 @@ object {

#masthead{border-right:1px solid #ccc;}

#nav-above{display:none} /* for now */
#nav-above{display:none} /* for now */

0 comments on commit daeefc9

Please sign in to comment.