Skip to content

Commit 8bd5135

Browse files
committed
Responsive
1 parent 6568a36 commit 8bd5135

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="zh">
33
<head>
44
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
56
<title>{{ page.title }} — {{ site.name }}</title>
67
<link rel="alternate" type="application/atom+xml" title="Subscribe Feed" href="/feed.xml">
78
<link rel="stylesheet" href="/static/vendor.css">

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<html lang="zh">
66
<head>
77
<meta charset="UTF-8">
8+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
89
<title>{{ site.name }}</title>
910
<link rel="stylesheet" href="/static/vendor.css">
1011
<link rel="stylesheet" href="/static/site.css">

static/site.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ html, body {
66
box-sizing: border-box;
77
max-width: 860px;
88
margin: 0 auto;
9-
padding: 20px 0;
9+
padding: 20px 10px;
1010
zoom: 1;
1111
}
1212
.container:after {
@@ -148,7 +148,7 @@ html, body {
148148

149149
/* Homepage */
150150
.homepage {
151-
padding: 40px 0;
151+
padding: 40px 10px;
152152
}
153153
.homepage a {
154154
display: inline-block;

0 commit comments

Comments
 (0)