diff --git a/public/download/index.jade b/public/download/index.jade index 55f09f6bdc..bb867449fa 100644 --- a/public/download/index.jade +++ b/public/download/index.jade @@ -1,6 +1,6 @@ .grid-fluid.l-space-bottom-8 for versions, framework in downloads - div.c9.card + div.c9.l-space-bottom-4 frameworkName = framework.replace(/\_/gm, ' ') header h2.text-headline #{frameworkName} @@ -11,9 +11,7 @@ p #{version} else - .card-content - - ul.hover-card-container + ul.l-pad-left-0 if version.file li != partial("../_includes/_hover-card", {name: "Version " + name, url: version.file }) diff --git a/public/resources/css/layout/_layout.scss b/public/resources/css/layout/_layout.scss index 02aaa4c104..8387871a1a 100644 --- a/public/resources/css/layout/_layout.scss +++ b/public/resources/css/layout/_layout.scss @@ -142,7 +142,7 @@ * */ -@for $i from 1 through 10 { +@for $i from 0 through 10 { .l-space-#{$i} { margin: $i * 8px; } diff --git a/public/resources/css/module/_card.scss b/public/resources/css/module/_card.scss index cbd7c859fb..05844f4138 100644 --- a/public/resources/css/module/_card.scss +++ b/public/resources/css/module/_card.scss @@ -26,8 +26,6 @@ border-bottom: none; } - - h3 { margin: 0px; } @@ -36,25 +34,18 @@ padding: 0px; margin: 0px 0px 0px ($unit * 4); - &:not(.hover-card-container) { - a { - font-size: 14px; - display: block; - line-height: 24px; - text-decoration: none; - padding: 0px 4px; + a { + font-size: 14px; + display: block; + line-height: 24px; + text-decoration: none; + padding: 0px 4px; - &:hover { - text-decoration: underline; - background: $mist; - } + &:hover { + text-decoration: underline; + background: $mist; } } - - &.hover-card-container { - margin-left: 0; - margin-top: $unit * 2; - } } }