@@ -107,65 +107,11 @@ header {
107
107
box-shadow : 0px 5px 10px # FFF ;
108
108
padding-top : 10px ;
109
109
}
110
-
111
- # download {
112
- list-style : none;
113
- height : 40px ;
114
-
115
- padding : 0 ;
116
-
117
- background : # eee ;
118
- background : -moz-linear-gradient (top, # f8f8f8 0% , # dddddd 100% );
119
- background : -webkit-gradient (linear, left top, left bottom, color-stop (0% , # f8f8f8 ), color-stop (100% , # dddddd ));
120
- background : -webkit-linear-gradient (top, # f8f8f8 0% , # dddddd 100% );
121
- background : -o-linear-gradient (top, # f8f8f8 0% , # dddddd 100% );
122
- background : -ms-linear-gradient (top, # f8f8f8 0% , # dddddd 100% );
123
- background : linear-gradient (top, # f8f8f8 0% , # dddddd 100% );
124
-
125
- border-radius : 5px ;
126
- border : 1px solid # d2d2d2 ;
127
- box-shadow : inset # fff 0 1px 0 , inset rgba (0 , 0 , 0 , 0.03 ) 0 -1px 0 ;
128
- width : 270px ;
129
- }
130
-
131
- # download li {
132
- width : 89px ;
133
- float : left;
134
- border-right : 1px solid # d2d2d2 ;
135
- height : 40px ;
136
- }
137
-
138
- # download a {
139
- line-height : 1 ;
140
- font-size : 11px ;
141
- color : # 999 ;
142
- display : block;
143
- text-align : center;
144
- padding-top : 6px ;
145
- height : 40px ;
146
- }
147
-
148
110
strong {
149
111
color : # 222 ;
150
112
font-weight : 700 ;
151
113
}
152
114
153
- # download li + li {
154
- width : 88px ;
155
- border-left : 1px solid # fff ;
156
- }
157
-
158
- # download li + li + li {
159
- border-right : none;
160
- width : 89px ;
161
- }
162
-
163
- # download a strong {
164
- font-size : 14px ;
165
- display : block;
166
- color : # 222 ;
167
- }
168
-
169
115
# sidebar {
170
116
overflow-y : scroll;
171
117
height : 400px ;
@@ -240,7 +186,11 @@ section#main h1{
240
186
}
241
187
242
188
a .ribbon img .fork {
243
- position : fixed; top : 0 ; left : 0 ; border : 0 ;
189
+ position : fixed;
190
+ top : 0 ;
191
+ right : 0 ;
192
+ border : 0 ;
193
+ z-index : 3 ;
244
194
}
245
195
246
196
small {
@@ -262,63 +212,167 @@ footer {
262
212
z-index : 1 ;
263
213
}
264
214
265
- @media print, screen and (max-width : 960px ) {
215
+ a .hidden_ribbon {
216
+ display : none;
217
+ border-top : 1px dotted # CCC ;
218
+ margin-top : 10px ;
219
+ }
266
220
221
+ @media print, screen and (max-width : 960px ) {
222
+ body {
223
+ padding : 15px ;
224
+ }
267
225
div .wrapper {
268
226
width : auto;
269
227
margin : 0 ;
270
228
}
271
-
272
229
header , section # main , footer {
273
230
float : none;
274
231
position : static;
275
232
width : auto;
276
233
}
277
-
278
234
header {
279
- padding-right : 320px ;
235
+ width : 100% ;
236
+ }
237
+ a .ribbon img .fork {
238
+ display : none;
239
+ }
240
+ a .hidden_ribbon {
241
+ display : block;
280
242
}
281
-
282
243
section # main {
283
244
border : 1px solid # e5e5e5 ;
284
245
border-width : 1px 0 ;
285
246
padding : 20px 0 ;
286
247
margin : 0 0 20px ;
248
+ width : 100% ;
249
+ }
250
+ section # main h1 {
251
+ width : 100% ;
287
252
}
288
-
289
253
header a small {
290
254
display : inline;
291
255
}
292
-
293
- # download {
294
- position : absolute;
295
- right : 50px ;
296
- top : 52px ;
256
+ # sidebar ul li {
257
+ float : left;
258
+ }
259
+ # sidebar ul li span .count {
260
+ display : none;
261
+ }
262
+ # sidebar ul li : after {
263
+ margin-right : 5px ;
264
+ content : "|" ;
265
+ }
266
+ # sidebar ul li : last-child : after {
267
+ content : "" ;
268
+ }
269
+ # sidebar ul {
270
+ * zoom : 1 ;
271
+ }
272
+ # sidebar ul : before , # sidebar ul : after {
273
+ display : table;
274
+ content : "" ;
275
+ }
276
+ # sidebar ul : after {
277
+ clear : both;
297
278
}
298
279
}
299
280
300
281
@media print, screen and (max-width : 720px ) {
301
282
body {
302
283
word-wrap : break-word;
284
+ padding : 15px ;
303
285
}
304
-
305
286
header {
306
287
padding : 0 ;
288
+ width : 100% ;
307
289
}
308
-
309
- # download , header p .view {
290
+ header p .view {
310
291
position : static;
311
292
}
293
+ section # main {
294
+ float : left;
295
+ width : 100% ;
296
+ }
297
+ section # main h1 {
298
+ width : 100% ;
299
+ }
300
+ a .ribbon img .fork {
301
+ display : none;
302
+ }
303
+ a .hidden_ribbon {
304
+ display : block;
305
+ }
306
+ # sidebar ul li {
307
+ float : left;
308
+ }
309
+ # sidebar ul li span .count {
310
+ display : none;
311
+ }
312
+ # sidebar ul li : after {
313
+ margin-right : 5px ;
314
+ content : "|" ;
315
+ }
316
+ # sidebar ul li : last-child : after {
317
+ content : "" ;
318
+ }
319
+ # sidebar ul {
320
+ * zoom : 1 ;
321
+ }
322
+ # sidebar ul : before , # sidebar ul : after {
323
+ display : table;
324
+ content : "" ;
325
+ }
326
+ # sidebar ul : after {
327
+ clear : both;
328
+ }
312
329
}
313
330
314
331
@media print, screen and (max-width : 480px ) {
315
332
body {
316
333
padding : 15px ;
317
334
}
318
-
319
- # download {
335
+ a .ribbon img .fork {
336
+ display : none;
337
+ }
338
+ a .hidden_ribbon {
339
+ display : block;
340
+ }
341
+ section # main {
342
+ float : left;
343
+ width : 100% ;
344
+ }
345
+ section # main h1 {
346
+ width : 100% ;
347
+ }
348
+ header {
349
+ padding : 0 ;
350
+ width : 100% ;
351
+ }
352
+ # sidebar ul li {
353
+ float : left;
354
+ }
355
+ # sidebar ul li span .count {
320
356
display : none;
321
357
}
358
+ # sidebar ul li : after {
359
+ margin-right : 5px ;
360
+ content : "|" ;
361
+ }
362
+ # sidebar ul li : last-child : after {
363
+ content : "" ;
364
+ }
365
+ # sidebar ul {
366
+ * zoom : 1 ;
367
+ }
368
+ # sidebar ul : before , # sidebar ul : after {
369
+ display : table;
370
+ content : "" ;
371
+ }
372
+ # sidebar ul : after {
373
+ clear : both;
374
+ }
375
+
322
376
}
323
377
324
378
@media print {
@@ -327,4 +381,13 @@ footer {
327
381
font-size : 12pt ;
328
382
color : # 444 ;
329
383
}
384
+ section # main {
385
+ border : 0px none;
386
+ }
387
+ header {
388
+ padding-top : 50px ;
389
+ }
390
+ footer {
391
+ display : none;
392
+ }
330
393
}
0 commit comments