forked from yncoder/yncoder.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
243 lines (225 loc) · 4.67 KB
/
Copy pathcommon.css
File metadata and controls
243 lines (225 loc) · 4.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
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
*{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-text-size-adjust: none;
}
html,body{
margin: 0;
padding: 0;
border: none;
line-height: 1;
min-height:100%;
height: 100%;
}
body{
color: #333;
font-size: 14px;
font-family: "Microsoft YaHei","微软雅黑",Arial,Helvetica,sans-serif;
}
ul,ol,figure,form,dl,dt,dd{
margin: 0;
padding: 0;
}
img{
border: 0;
vertical-align: middle;
}
a{
color: #0395d0;
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
.container{
position: relative;
width: 80%;
max-width: 980px;
margin: auto;
}
.container:after{
content: "";
display: block;
clear: both;
}
nav{
height: 60px;
border-bottom: 1px solid #eee;
background-color: rgba(63, 147, 192, 1);
background: linear-gradient( 160deg, rgba(63, 147, 192, 1), rgba(63, 147, 192, 0.7));
}
nav .logo{
display: block;
float: left;
height: 60px;
text-decoration: none;
font: normal 2em/60px Consolas;
color: #fff;
}
nav ul{
position: absolute;
top: 0;
right: 0;
padding: 20px 0;
}
nav li{
list-style: none;
display: inline-block;
height: 20px;
line-height: 20px;
vertical-align: middle;
margin-left: 20px;
}
nav li a{
color: #fff;
}
footer{
padding: 20px 0;
}
footer .copyright{
line-height: 20px;
text-align: center;
color: #999;
font-size: 80%;
}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6,
article p{margin:1em 0;}
article h1{font-size: 2.2em; line-height: 1.2em;}
article h2{font-size: 2em; line-height: 1.2em;}
article h3{font-size: 1.8em; line-height: 1.2em;}
article h4{font-size: 1.6em; line-height: 1.2em;}
article h5{font-size: 1.4em; line-height: 1.2em;}
article h6{font-size: 1.2em; line-height: 1.2em;}
article figure{margin: 1em 0;}
article p img,
article figure img{max-width: 100%; margin-bottom: .5em;}
article figure.half img{max-width: 50%;}
article figure.half img.margin{max-width: 46%; margin: 2%; box-shadow: 0 5px 15px rgba(0,0,0,.5);}
article ul,
article ol{padding-left:2em;}
article dl{margin:.5em .8em;}
article dl dd{margin-left:2em;}
article dl dd>ul,
article dl dd>ol{padding-left:1em;}
article pre{width:100%; overflow-x:auto; line-height:1.2em; border-radius: 4px; background:#333;}
article code{border-radius: 4px; font:normal 85%/1.2em "Inconsolata", "Monaco", "Consolas", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;}
article :not(pre)>code{margin:auto 1px; padding:1px 2px; border: 1px solid #d7d7d7; background: #eee;}
article table{border-collapse:collapse;}
article th,article td{padding:0 10px; border:1px solid #ccc; font-size:85%;}
article th{background:#eee; text-align:left;}
article td{background:#fff;}
article table a{margin:0;}
article blockquote{line-height:1.6em; margin:1em 0 1em 1.5em; border-left:2px solid #eee; padding-left:1em; font-size:90%;}
@media (max-width: 640px) {
.container{
width: 90%;
max-width: 90%;
}
}
.page-single .container:not(nav){
max-width: 640px;
font-size: 1.2em;
line-height: 1.8em;
}
.page-single article h1:first-child,
.page-single article p.meta{
text-align: center;
}
.page-single article p.meta{
margin-bottom: 2em;
font-size: 90%;
}
.page-list #issue-list li{
list-style: none;
position: relative;
height: 70px;
padding: 11px;
border-top: 1px solid #f3f3f3;
}
.page-list #issue-list li.label-活动 {
border-left: 3px solid #CE2C7C
}
.page-list #issue-list li.label-招聘 {
border-left: 3px solid #FCCB00
}
.page-list #issue-list li.label-技术 {
border-left: 3px solid #82B5ED
}
.page-list #issue-list li.label-求职 {
border-left: 3px solid #BEE6BE
}
.page-list #issue-list li.label-组织发展 {
border-left: 3px solid #000;
}
.page-list #issue-list figure{
width: 48px;
height: 48px;
display: inline-block;
border-radius: 50%;
position: absolute;
top: 11px;
left: 11px;
overflow: hidden;
}
.page-list #issue-list figure img{
max-width: 100%;
}
.page-list #issue-list .title {
padding-left: 70px;
}
.page-list #issue-list h4 {
margin: 0;
line-height: 24px;
font-size: 18px;
font-weight: bolder;
}
.page-list #issue-list p{
margin: 0;
line-height: 24px;
}
.page-list #issue-list p > * {
height: 16px;
background-color: #eee;
color: #999;
margin-right: .5em;
padding: 0 1em;
border-radius: 8px;
font-size: 13px;
}
aside {
height: 70px;
padding: 11px;
vertical-align: middle;
}
aside * {
color: #999;
}
aside span {
display: inline-block;
height: 48px;
width: 48px;
margin-right: 22px;
background-color: #eee;
font-size: 48px;
text-align: center;
vertical-align: middle;
border-radius: 50%;
}
@media (max-width: 640px) {
nav .logo *:not(img){
display: none;
}
nav iframe{
display: none;
}
.page-single article.container{
width: 90%;
max-width: 90%;
}
}