diff options
Diffstat (limited to 'assets/stylesheets/bootstrap/_card.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_card.scss | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/assets/stylesheets/bootstrap/_card.scss b/assets/stylesheets/bootstrap/_card.scss index aff6036..f6a4fd8 100644 --- a/assets/stylesheets/bootstrap/_card.scss +++ b/assets/stylesheets/bootstrap/_card.scss @@ -4,6 +4,7 @@ .card { position: relative; + display: block; margin-bottom: $card-spacer-y; background-color: $card-bg; border: $card-border-width solid $card-border-color; @@ -135,7 +136,7 @@ } .card-link { @include hover-focus { - color: #fff; + color: $card-link-hover-color; } } } @@ -169,10 +170,10 @@ // Card image caps .card-img-top { - @include border-radius(.25rem .25rem 0 0); + @include border-radius($card-border-radius-inner $card-border-radius-inner 0 0); } .card-img-bottom { - @include border-radius(0 0 .25rem .25rem); + @include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner); } @@ -246,6 +247,8 @@ // Handle rounded corners @if $enable-rounded { &:first-child { + @include border-right-radius(0); + .card-img-top { border-top-right-radius: 0; } @@ -254,6 +257,8 @@ } } &:last-child { + @include border-left-radius(0); + .card-img-top { border-top-left-radius: 0; } |