Skip to content

Commit

Permalink
ems not rems
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jun 23, 2014
1 parent 7baeede commit 8671704
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions public/css/hyde.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
html {
font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
@media (min-width: 48rem) {
@media (min-width: 48em) {
html {
font-size: 16px;
}
}
@media (min-width: 58rem) {
@media (min-width: 58em) {
html {
font-size: 20px;
}
Expand All @@ -59,7 +59,7 @@ html {
color: rgba(255,255,255,.5);
background-color: #202020;
}
@media (min-width: 48rem) {
@media (min-width: 48em) {
.sidebar {
position: fixed;
top: 0;
Expand Down Expand Up @@ -105,7 +105,7 @@ a.sidebar-nav-item:focus {
* contents to the bottom of the sidebar in tablets and up.
*/

@media (min-width: 48rem) {
@media (min-width: 48em) {
.sidebar-sticky {
position: absolute;
right: 1rem;
Expand All @@ -126,15 +126,15 @@ a.sidebar-nav-item:focus {
padding-bottom: 4rem;
}

@media (min-width: 48rem) {
@media (min-width: 48em) {
.content {
max-width: 38rem;
margin-left: 20rem;
margin-right: 2rem;
}
}

@media (min-width: 64rem) {
@media (min-width: 64em) {
.content {
margin-left: 22rem;
margin-right: 4rem;
Expand All @@ -148,7 +148,7 @@ a.sidebar-nav-item:focus {
* Flip the orientation of the page by placing the `.sidebar` on the right.
*/

@media (min-width: 48rem) {
@media (min-width: 48em) {
.layout-reverse .sidebar {
left: auto;
right: 0;
Expand All @@ -159,7 +159,7 @@ a.sidebar-nav-item:focus {
}
}

@media (min-width: 64rem) {
@media (min-width: 64em) {
.layout-reverse .content {
margin-left: 4rem;
margin-right: 22rem;
Expand Down

0 comments on commit 8671704

Please sign in to comment.