Skip to content

Commit

Permalink
fix swcarpentry/site#844 reposition button on small displays
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Michonneau committed Feb 23, 2015
1 parent 64d5f75 commit 5ea8320
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css/swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,16 @@ div.chapter h2 {
}
}

@media (max-width: 600px) {
.navbar-toggle {
margin-right: 20px;
}
.navbar-brand img {
width: 180px;
height: 36px;
margin-top: 10px
}
}
/* GitHub ribbon breaking point */
@media screen and (min-width: 600px) {
#github-ribbon {
Expand Down

0 comments on commit 5ea8320

Please sign in to comment.