File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 377377 letter-spacing : 2px ;
378378 }
379379
380+ .themes a .author , .themes a : hover .author {
381+ margin : -1em 0 ;
382+ display : block;
383+ font-size : .5rem ;
384+ color : # 888 ;
385+ }
386+
387+ .themes a : hover .author {
388+ color : # 444 ;
389+ }
390+
391+ .themes a .author : before {
392+ content : "by: " ;
393+ color : # ccc ;
394+ }
395+
380396 a .button {
381397 padding : 0.5rem 1rem ;
382398 color : # fff ;
@@ -436,43 +452,55 @@ <h2>Themes</h2>
436452
437453 var themes = [ {
438454 name : 'minimal' ,
439- title : 'Minimal'
455+ title : 'Minimal' ,
456+ author : 'adamschwartz'
440457 } , {
441458 name : 'flash' ,
442- title : 'Flash'
459+ title : 'Flash' ,
460+ author : 'adamschwartz'
443461 } , {
444462 name : 'barber-shop' ,
445- title : 'Barber Shop'
463+ title : 'Barber Shop' ,
464+ author : 'adamschwartz'
446465 } , {
447466 name : 'mac-osx' ,
448- title : 'Mac OSX'
467+ title : 'Mac OSX' ,
468+ author : 'adamschwartz'
449469 } , {
450470 name : 'fill-left' ,
451- title : 'Fill Left'
471+ title : 'Fill Left' ,
472+ author : 'adamschwartz'
452473 } , {
453474 name : 'flat-top' ,
454- title : 'Flat Top'
475+ title : 'Flat Top' ,
476+ author : 'adamschwartz'
455477 } , {
456478 name : 'big-counter' ,
457- title : 'Big Counter'
479+ title : 'Big Counter' ,
480+ author : 'adamschwartz'
458481 } , {
459482 name : 'corner-indicator' ,
460- title : 'Corner Indicator'
483+ title : 'Corner Indicator' ,
484+ author : 'adamschwartz'
461485 } , {
462486 name : 'bounce' ,
463- title : 'Bounce'
487+ title : 'Bounce' ,
488+ author : 'adamschwartz'
464489 } , {
465490 name : 'center-circle' ,
466- title : 'Center Circle'
491+ title : 'Center Circle' ,
492+ author : 'adamschwartz'
467493 } , {
468494 name : 'loading-bar' ,
469- title : 'Loading Bar'
495+ title : 'Loading Bar' ,
496+ author : 'gavJackson'
470497 } ] ;
471498
472499 var init = function ( ) {
473500 $ . each ( themes , function ( i , theme ) {
474501 $ ( '.themes' ) . append ( '<div class="theme ' + ( i % 2 === 0 ? 'even' : 'odd' ) + '">' +
475502 '<h3>' + theme . title + '</h3>' +
503+ ( theme . author ? '<br/><a class="author" href="https://github.com/' + theme . author + '" target="_blank" rel="nofollow">@' + theme . author + '</a></h4>' : '' ) +
476504 '<p><a href="#" class="download-link" data-theme="' + theme . name + '">download</a></p>' +
477505 '<div class="browser"><iframe data-theme="' + theme . name + '"></iframe></div>' +
478506 '</div>' ) ;
You can’t perform that action at this time.
0 commit comments