@@ -215,6 +215,214 @@ h3.search-results-title {
215
215
margin : 0 ;
216
216
border-bottom : solid 1px # cccccc ;
217
217
}
218
+ .module-header {
219
+ position : relative;
220
+ float : left;
221
+ width : 90% ;
222
+ min-height : 77px ;
223
+ padding : 1em ;
224
+ background-color : # f4f4f4 ;
225
+ }
226
+ .module-header .supported {
227
+ background-image : url ("/assets/41dfc34/images/supported-tag-upper-right.png" );
228
+ background-repeat : no-repeat;
229
+ background-position : top right;
230
+ }
231
+ .module-header .approved {
232
+ background-image : url ("/assets/41dfc34/images/approved-tag-upper-right.png" );
233
+ background-repeat : no-repeat;
234
+ background-position : top right;
235
+ }
236
+ .module-header .author ,
237
+ .module-header .tag-section {
238
+ padding-top : 0.25em ;
239
+ }
240
+ .module-header .popular {
241
+ display : inline;
242
+ margin-left : 0 ;
243
+ }
244
+ .module-header .tags {
245
+ display : inline;
246
+ margin-left : 0 ;
247
+ }
248
+ .module-header .endorsement-trigger {
249
+ position : absolute;
250
+ top : 0 ;
251
+ right : 0 ;
252
+ width : 77px ;
253
+ height : 77px ;
254
+ }
255
+ .module-header .details {
256
+ font-size : 0.95em ;
257
+ }
258
+ .module-header .details table {
259
+ width : 100% ;
260
+ position : relative;
261
+ }
262
+ .module-header .details .gravatar {
263
+ float : left;
264
+ width : 77px ;
265
+ }
266
+ .module-header .details .gravatar .avatar {
267
+ margin : 0 ;
268
+ padding : 0 ;
269
+ }
270
+ .module-header .details .module-info-basic {
271
+ margin-left : 93px ;
272
+ /* width of gravatar (77) + 1em (16) */
273
+ }
274
+ .module-header .details .module-info-basic .module-info-header {
275
+ margin : 0 ;
276
+ padding-right : 45px ;
277
+ }
278
+ .module-header .details .module-info-basic .module-info-header a : hover {
279
+ text-decoration : underline;
280
+ }
281
+ .module-header .details .module-info-basic .module-info-header h2 {
282
+ display : inline-block;
283
+ margin : 0 10px 0 0 ;
284
+ line-height : 1.1rem ;
285
+ }
286
+ @media (max-width : 1150px ) {
287
+ .module-header .details .module-info-basic .module-info-header h2 .namespace {
288
+ display : none;
289
+ }
290
+ }
291
+ .module-header .details .module-info-basic .module-info-header .module-info-author {
292
+ display : inline-block;
293
+ margin-right : 15px ;
294
+ font-size : 12px ;
295
+ white-space : nowrap;
296
+ }
297
+ .module-header .details .module-info-basic .module-info-header .module-links {
298
+ display : inline-block;
299
+ font-size : 12px ;
300
+ }
301
+ .module-header .details .module-info-basic .module-info-header .module-links li {
302
+ display : inline-block;
303
+ margin-bottom : 0 ;
304
+ margin-right : 15px ;
305
+ }
306
+ .module-header .details .module-info-basic > div {
307
+ padding-bottom : 0.35em ;
308
+ }
309
+ .module-header .details .module-info-basic ul {
310
+ margin : 0 ;
311
+ list-style-type : none;
312
+ }
313
+ .module-header .details .module-info-basic ul .release-os-compat li {
314
+ display : inline;
315
+ margin-right : 5px ;
316
+ }
317
+ .module-header .details .module-info-basic ul .release-os-compat span [data-releases ] {
318
+ border-bottom : 1px dotted;
319
+ cursor : default;
320
+ }
321
+ .module-header .details .module-info-basic .module-info-summary {
322
+ margin-bottom : 1em ;
323
+ }
324
+ .module-header .details .module-info-basic .module-info-tags {
325
+ font-size : 0.85em ;
326
+ margin-top : 1.75em ;
327
+ width : 85% ;
328
+ }
329
+ .module-header .details .module-info-basic .compatibility {
330
+ background-color : # ffffff ;
331
+ padding : 0.5em ;
332
+ margin-top : 0.25em ;
333
+ }
334
+ .module-header .details .module-info-basic .compatibility ul .bullets {
335
+ list-style-type : disc;
336
+ margin-left : 1.5em ;
337
+ }
338
+ .module-header .details .module-info-basic .compatibility ul .bullets li {
339
+ margin-bottom : 0 ;
340
+ padding-bottom : 0 ;
341
+ }
342
+ .module-header .download-info {
343
+ padding-top : 1em ;
344
+ margin-top : 1em ;
345
+ border-top : 1px # ccc solid;
346
+ }
347
+ .module-header .download-info > div {
348
+ -moz-box-sizing : border-box;
349
+ box-sizing : border-box;
350
+ }
351
+ .module-header .download-info .installation {
352
+ float : left;
353
+ width : 75% ;
354
+ }
355
+ .module-header .download-info .installation small {
356
+ display : block;
357
+ float : left;
358
+ width : 50% ;
359
+ font-size : 11px ;
360
+ }
361
+ .module-header .download-info .installation small .download-link {
362
+ text-align : right;
363
+ font-weight : bold;
364
+ }
365
+ .module-header .download-info .download-counts {
366
+ float : left;
367
+ width : 25% ;
368
+ padding-top : 36px ;
369
+ padding-right : 5% ;
370
+ text-align : right;
371
+ font-size : 1.1em ;
372
+ line-height : 1em ;
373
+ font-weight : bold;
374
+ }
375
+ .module-header .download-info .download-counts small {
376
+ font-size : 11px ;
377
+ font-weight : normal;
378
+ color : # 6c6d6d ;
379
+ }
380
+ .module-header .download-info .pe-only {
381
+ padding-left : 93px ;
382
+ }
383
+ .module-header .download-info .pe-only input [type = text ] {
384
+ box-sizing : border-box;
385
+ max-width : none;
386
+ width : 100% ;
387
+ }
388
+ .module-header .download-info .pe-only p {
389
+ margin-bottom : 0.5em ;
390
+ }
391
+ .module-header-sidebar {
392
+ float : right;
393
+ width : 22% ;
394
+ }
395
+ .module-meta-info ul .release-dependencies {
396
+ margin-top : 1.25em ;
397
+ }
398
+ # module-release-header {
399
+ overflow : auto;
400
+ margin-top : 20px ;
401
+ margin-bottom : 10px ;
402
+ }
403
+ # module-release-header # module-release-title {
404
+ float : left;
405
+ font-size : 1.2em ;
406
+ }
407
+ # module-release-header # module-release-switcher {
408
+ float : right;
409
+ padding-top : 3px ;
410
+ text-align : right;
411
+ font-size : 13px ;
412
+ }
413
+ # module-release-header # module-release-switcher label {
414
+ display : inline-block;
415
+ font-weight : normal;
416
+ }
417
+ # module-release-header # module-release-switcher a {
418
+ display : inline-block;
419
+ margin-left : 6px ;
420
+ padding : 3px 9px ;
421
+ min-width : 60px ;
422
+ border-radius : 4px ;
423
+ background-color : # f4f4f4 ;
424
+ text-align : center;
425
+ }
218
426
ul , ol , dl {
219
427
margin-bottom : 1.5em ;
220
428
margin-left : 0 ;
@@ -249,6 +457,11 @@ li.private {
249
457
background-repeat : no-repeat;
250
458
background-position : right top;
251
459
}
460
+ section .private {
461
+ background-image : url ("/img/endorsement-private.png" );
462
+ background-repeat : no-repeat;
463
+ background-position : right top;
464
+ }
252
465
p {
253
466
margin : 0 ;
254
467
}
@@ -277,3 +490,25 @@ a.module-link {
277
490
color : # 0095dd ;
278
491
font-size : 0.9em ;
279
492
}
493
+ .installation input .paste-code {
494
+ display : block;
495
+ -moz-box-sizing : border-box;
496
+ box-sizing : border-box;
497
+ margin-top : 0.5em ;
498
+ margin-bottom : 3px ;
499
+ width : 100% ;
500
+ max-width : none;
501
+ padding : 0.75em ;
502
+ border : 0 ;
503
+ background : # e5e5e5 ;
504
+ color : # 5d5e59 ;
505
+ font-family : Monaco, "Liberation Mono" , Courier, monospace;
506
+ }
507
+ pre {
508
+ border-radius : .25em ;
509
+ background : # f5f2f0 ;
510
+ border : 1px solid # DDD ;
511
+ padding : .5em 1em ;
512
+ overflow : auto;
513
+ display : block;
514
+ }
0 commit comments