Skip to content

Commit 9baa398

Browse files
author
fat
committed
cleanup demo for mobile safari
1 parent 711ce18 commit 9baa398

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

index.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
46
<style>
57
/* SIMPLE DEMO STYLES */
68
body {
7-
font-family: helvetica;
9+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
10+
font-size: 12px;
11+
line-height: 1.6;
812
}
913
.container {
10-
margin: 100px auto;
14+
margin: 50px;
1115
max-width: 700px;
1216
}
1317
.container img {
@@ -18,6 +22,15 @@
1822
float: left;
1923
margin: 20px 20px 20px -80px;
2024
}
25+
@media (min-width: 750px) {
26+
body {
27+
font-size: 16px;
28+
line-height: 1.6;
29+
}
30+
.container {
31+
margin: 100px auto;
32+
}
33+
}
2134
</style>
2235
<link rel="stylesheet" type="text/css" href="css/zoom.css">
2336
</head>

0 commit comments

Comments
 (0)