forked from Raysmond/SpringBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme-light.css
More file actions
277 lines (226 loc) · 4.22 KB
/
Copy paththeme-light.css
File metadata and controls
277 lines (226 loc) · 4.22 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
html {
font-size: 100%;
}
body {
background: #fff;
/*font: 300 1em/1.8 "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans;*/
font: 300 1em/1.8 -apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;;
-webkit-font-smoothing: antialiased;
color: #515862;
}
a {
-webkit-transition-property: opacity;
-moz-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
/* override typo css */
h1, h2, h3, h4, h5, h6 {
color: #47596D;
-webkit-font-smoothing: normal;
}
.typo a {
color: #337ab7;
}
.typo a:hover {
color: #666;
}
hr {
border-color: #eee;
}
/* end */
pre {
background: #F9F9F9;
border-radius: 3px;
border-color: #eee;
font-size: 0.8em;
line-height: 1.55;
overflow: auto;
word-break: keep-all;
word-wrap: normal;
}
a.btn-default {
color: #888;
}
a.btn-default:hover {
background: #fff;
color: #333;
border-color: #333;
}
.navbar {
z-index: 100;
}
.navbar a.navbar-brand {
color: #9caab0;
font-weight: bold;
}
.navbar .container {
border-bottom: 1px #eee solid;
padding-top: 10px;
}
.navbar li a {
color: #9caab0;
text-transform: uppercase;
font-weight: bold;
font-size: 0.9em;
}
.nav > li > a:focus, .nav > li > a:hover {
background: none;
color: #888;
}
@media screen and (max-width: 480px) {
#navbar {
text-align: center;
}
.nav > li {
display: inline-block;
}
}
.container {
padding-top: 20px;
max-width: 840px;
}
.main-container {
padding-top: 0;
}
form input, form button {
margin-top: 10px;
}
.header-title {
padding: 0 100px;
width: 100%;
position: relative;
}
.header-title h1 {
margin-top: 20px;
}
.header-title p {
font-size: 0.9em;
}
.header-title p.meta {
color: #999;
font-size: 0.9em;
}
.header-title .avatar img {
margin-top: 20px;
border-radius: 50%;
box-shadow: 0 0 0 3px #fff, 0 0 0 4px #ccc;
width: 80px;
height: 80px;
}
.header-title-wrapper {
display: table-cell;
vertical-align: middle;
margin: 0 auto;
text-align: center;
width: 100%;
display: block;
}
.post {
padding: 50px 80px;
margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
.post {
padding: 30px 10px;
}
.post h2.title, .post .meta {
text-align: center;
}
}
.post .meta, .typo .post .meta {
color: rgba(187, 187, 187, 0.8);
font-size: 0.9em;
}
.post h1 > a, .post h2 > a, .post h3 > a, .post h4 > a {
color: #75889E;
text-decoration: none;
}
.post h2.title {
margin-bottom: 20px;
margin-top: 15px;
}
.post h2.title a:hover, .post h2.title a:focus {
color: #888;
}
.post .info {
margin-top: 30px;
text-align: center;
color: #888;
font-size: 0.9em;
}
.post .comments {
margin-top: 30px;
padding-top: 30px;
border-top: 1px #eee solid;
}
.post ul.tags {
margin-left: 0;
padding-left: 0;
}
.post ul.tags li {
display: inline-block;
list-style: none;
margin-left: 10px;
}
.latest-posts {
width: 80%;
margin: 0 auto;
margin-top: 30px;
margin-bottom: 50px;
}
.loadmore {
text-align: center;
margin-top: 40px;
}
.post-item {
text-align: center;
width: 80%;
margin: 10px auto;
padding: 10px 20px;
}
.post-item:hover {
background: #F2F8FB;
}
.post-item a > h2 {
font-size: 1.1em;
margin-top: 0;
color: #515862;
font-weight: 400;
}
.post-item .meta {
text-align: center;
color: #888;
font-size: 0.9em;
}
ul.archive-list li span.month {
width: 60px;
display: inline-block;
}
ul.tags li {
margin: 5px 10px;
}
.footer {
text-align: center;
margin-bottom: 50px;
font-size: 0.9em;
color: #888;
}
.footer a {
color: #888;
}
.footer p, .typo .footer p {
margin-bottom: 0.4em;
}
.footer-wrapper {
display: block;
max-width: 500px;
margin: 0 auto;
}
.footer-wrapper hr {
border-color: #ddd;
}