forked from Raysmond/SpringBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.css
More file actions
187 lines (152 loc) · 2.55 KB
/
theme.css
File metadata and controls
187 lines (152 loc) · 2.55 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
html{
font-size: 100%;
}
body {
background: #efefef;
font: 300 1em/1.8 "Helvetica Neue",Helvetica, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans;
/*-webkit-font-smoothing: antialiased; */
}
/* override typo css */
.typo a{
color: #337ab7;
}
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;
}
.navbar{
z-index: 100;
}
.navbar li a{
color: #eee;
font-size: 0.8em;
}
.nav>li>a:focus, .nav>li>a:hover{
background: none;
color: #fff;
}
@media screen and (max-width: 480px) {
#navbar{
text-align: center;
}
.nav>li{
display: inline-block;
}
}
.main-container{
margin-top: 330px;
padding-top: 60px;
max-width: 840px;
}
form input, form button{
margin-top: 10px;
}
.header-title{
position: absolute;
left: 0;
top: 0;
height: 400px;
width: 100%;
display: table;
background-color: #159957;
background-image: linear-gradient(120deg, #155799, #159957);
}
.header-title h1 {
color: #fff;
}
.header-title p{
font-size: 0.9em;
color: #eee;
}
.header-title-wrapper{
display: table-cell;
vertical-align: middle;
margin: 0 auto;
text-align: center;
color: #fff;
}
.post{
padding: 50px 80px;
margin-bottom: 30px;
background-color: #fff;
box-shadow: 0 0 0 0,0 6px 12px rgba(34,34,34,0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
@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: #333;
text-decoration: none;
}
.post h2.title{
margin-bottom: 20px;
margin-top: 15px;
}
.post h2.title a:hover, .post h2.title a:focus{
color: #555;
}
.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;
}
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;
}
.footer p, .typo .footer p {
margin-bottom: 0.4em;
}
.footer-wrapper{
display: block;
max-width: 500px;
margin: 0 auto;
}
.footer-wrapper hr{
border-color: #C7C7C7;
}