Skip to content

Commit

Permalink
port in latest poole changes, update rems to ems
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jun 22, 2014
1 parent 261340b commit 1c83287
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/css/lanyon.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ h1, h2, h3, h4, h5, h6 {
.container {
max-width: 28rem;
}
@media (min-width: 38rem) {
@media (min-width: 38em) {
.container {
max-width: 32rem;
}
}
@media (min-width: 56rem) {
@media (min-width: 56em) {
.container {
max-width: 38rem;
}
Expand Down Expand Up @@ -114,7 +114,7 @@ h1, h2, h3, h4, h5, h6 {
letter-spacing: 0;
}

@media (max-width: 48rem) {
@media (max-width: 48em) {
.masthead-title {
text-align: center;
}
Expand Down Expand Up @@ -155,7 +155,7 @@ h1, h2, h3, h4, h5, h6 {
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
@media (min-width: 30rem) {
@media (min-width: 30em) {
.sidebar {
font-size: .75rem; /* 14px */
}
Expand Down Expand Up @@ -190,7 +190,7 @@ a.sidebar-nav-item:focus {
border-color: transparent;
}

@media (min-width: 48rem) {
@media (min-width: 48em) {
.sidebar-item {
padding: 1.5rem;
}
Expand Down Expand Up @@ -238,7 +238,7 @@ a.sidebar-nav-item:focus {
background-color: #505050;
}

@media (min-width: 30.1rem) {
@media (min-width: 30.1em) {
.sidebar-toggle {
position: fixed;
width: 2.25rem;
Expand Down Expand Up @@ -377,7 +377,7 @@ a.pagination-item:hover {
background-color: #f5f5f5;
}

@media (min-width: 30rem) {
@media (min-width: 30em) {
.pagination {
margin: 3rem 0;
}
Expand Down
3 changes: 3 additions & 0 deletions public/css/poole.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ a {
color: #268bd2;
text-decoration: none;
}
a strong {
color: inherit;
}
/* `:focus` is linked to `:hover` for basic accessibility */
a:hover,
a:focus {
Expand Down

0 comments on commit 1c83287

Please sign in to comment.