-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (94 loc) · 1.67 KB
/
style.css
File metadata and controls
94 lines (94 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
* {
margin: 0 auto;
padding: 0;
}
body {
font: 14px -apple-system, "Hiragino Sans GB", "PingFang SC", "Source Han Sans SC", "Source Han Sans", Monaco, "Helvetica Neue", Helvetica, STHeiTi, "Microsoft YaHei", sans-serif;
background-color: #f5f5f5;
color: #1e1e1e;
}
a {
text-decoration: none;
}
li {
list-style: none;
}
.container {
width: 960px;
margin: 0 auto;
padding: 20px 0;
overflow: hidden;
}
.header {
background-color: #fff;
box-shadow: 0 0 1px #e4e4e4;
}
.header .container .blog-title {
float: left;
padding-left: 20px;
font-size: 20px;
font-weight: bold;
}
.header .container .blog-title a {
color: #000;
}
.header .container .navbar {
width: 720px;
float: right;
padding-left: 20px;
}
.header .container .navbar .menu .menu-item {
margin: 0 30px 0 0;
float: left;
}
.header .container .navbar .menu .menu-item a {
color: #000;
line-height: 30px;
}
.posts {
width: 960px;
margin: 0 auto;
}
.posts .post {
background-color: #fff;
margin: 10px 0;
box-shadow: 0 0 2px #ddd;
padding: 15px 16px 25px 16px;
}
.posts .post .post-title {
font-size: 20px;
font-weight: bold;
}
.posts .post .post-title a {
color: #000;
}
.posts .post .post-title:hover a {
color: #368ccb;
}
.posts .post .post-content {
padding: 10px 0;
}
.posts .post .post-meta {
font-size: 12px;
color: #5a5a5a;
}
.posts .post .post-meta .post-time {
padding: 0 5px;
border: 1px solid #e8e8e8;
border-radius: 5px;
}
.page-nav {
padding: 6px 16px;
float: right;
}
.page-nav a {
margin: 0 6px;
}
.page-nav .current {
color: #fff;
background-color: #368ccb;
display: inline-block;
width: 22px;
border-radius: 10px;
text-align: center;
}