diff --git a/src/scss/components/_cards.scss b/src/scss/components/_cards.scss index cce6c0b..490b1e2 100644 --- a/src/scss/components/_cards.scss +++ b/src/scss/components/_cards.scss @@ -37,7 +37,6 @@ $header-margin: $lineheight; @mixin card-header($size) { font-size:1.1em; font-weight: $fontweight_big; - border-radius: 0; padding: $size/2; padding-left:0; padding-right:0; @@ -46,7 +45,6 @@ $header-margin: $lineheight; margin-top:$lineheight_half; line-height:$lineheight; white-space: nowrap; - @include border-radius(); position:relative; left: -$size*1.25; @@ -54,6 +52,15 @@ $header-margin: $lineheight; width:85%; @include button-style($size); + border-radius:0; + &:first-child { + border-top-left-radius: $border-radius; + border-top-right-radius: $border-radius; + } + &:last-child { + border-bottom-left-radius: $border-radius; + border-bottom-right-radius: $border-radius; + } h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 { font-family:$basefont;