diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 4d047c91e..50aaa6c92 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -211,7 +211,7 @@ mixin grid-col(width) (see /docs/usage/_data.json) mixin card(title, details) - +grid-col("half").u-border.u-padding-medium.u-text&attributes(attributes) + +grid-col("half").o-card.u-text&attributes(attributes) if details.image +a(details.url).o-block-small img(src=details.image alt=title width="300" role="presentation") diff --git a/website/assets/css/_base/_objects.sass b/website/assets/css/_base/_objects.sass index 6193801e8..a5a766d8d 100644 --- a/website/assets/css/_base/_objects.sass +++ b/website/assets/css/_base/_objects.sass @@ -59,7 +59,8 @@ .o-card background: $color-back border-radius: 2px - + border: 1px solid $color-subtle + padding: 3.5% //- Icons diff --git a/website/index.jade b/website/index.jade index 8b79b8393..0f25e0d91 100644 --- a/website/index.jade +++ b/website/index.jade @@ -12,7 +12,7 @@ include _includes/_mixins | in Python +grid.o-content - +grid-col("third").o-card.u-padding-medium + +grid-col("third").o-card +h(2) Fastest in the world p | spaCy excells at large-scale information extraction tasks. @@ -25,7 +25,7 @@ include _includes/_mixins +button("/docs/api", true, "primary")(target="_self") | Facts & figures - +grid-col("third").o-card.u-padding-medium + +grid-col("third").o-card +h(2) Get things done p | spaCy is designed to help you do real work — to build real @@ -38,7 +38,7 @@ include _includes/_mixins +button("/docs/usage", true, "primary")(target="_self") | Get started - +grid-col("third").o-card.u-padding-medium + +grid-col("third").o-card +h(2) Deep learning p | spaCy is the best way to prepare text for deep learning.