Skip to content

Commit 8671704

Browse files
committed
ems not rems
1 parent 7baeede commit 8671704

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

public/css/hyde.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
html {
3535
font-family: "PT Sans", Helvetica, Arial, sans-serif;
3636
}
37-
@media (min-width: 48rem) {
37+
@media (min-width: 48em) {
3838
html {
3939
font-size: 16px;
4040
}
4141
}
42-
@media (min-width: 58rem) {
42+
@media (min-width: 58em) {
4343
html {
4444
font-size: 20px;
4545
}
@@ -59,7 +59,7 @@ html {
5959
color: rgba(255,255,255,.5);
6060
background-color: #202020;
6161
}
62-
@media (min-width: 48rem) {
62+
@media (min-width: 48em) {
6363
.sidebar {
6464
position: fixed;
6565
top: 0;
@@ -105,7 +105,7 @@ a.sidebar-nav-item:focus {
105105
* contents to the bottom of the sidebar in tablets and up.
106106
*/
107107

108-
@media (min-width: 48rem) {
108+
@media (min-width: 48em) {
109109
.sidebar-sticky {
110110
position: absolute;
111111
right: 1rem;
@@ -126,15 +126,15 @@ a.sidebar-nav-item:focus {
126126
padding-bottom: 4rem;
127127
}
128128

129-
@media (min-width: 48rem) {
129+
@media (min-width: 48em) {
130130
.content {
131131
max-width: 38rem;
132132
margin-left: 20rem;
133133
margin-right: 2rem;
134134
}
135135
}
136136

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

151-
@media (min-width: 48rem) {
151+
@media (min-width: 48em) {
152152
.layout-reverse .sidebar {
153153
left: auto;
154154
right: 0;
@@ -159,7 +159,7 @@ a.sidebar-nav-item:focus {
159159
}
160160
}
161161

162-
@media (min-width: 64rem) {
162+
@media (min-width: 64em) {
163163
.layout-reverse .content {
164164
margin-left: 4rem;
165165
margin-right: 22rem;

0 commit comments

Comments
 (0)