diff options
author | Patrice Chalin <chalin@users.noreply.github.com> | 2022-08-15 10:13:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 10:13:52 +0300 |
commit | d4da7517de6705175289da3464c40be979ee3c72 (patch) | |
tree | 340eaa296c96277f50201cd2ad16a8deafdb09c5 /assets | |
parent | f8e4409b497a6a5caef969c770c354917adcfd9d (diff) |
Card-related shortcode style fixes (#1157)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/shortcodes/cards-pane.scss | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/assets/scss/shortcodes/cards-pane.scss b/assets/scss/shortcodes/cards-pane.scss index f46cfe1..f1a66f7 100644 --- a/assets/scss/shortcodes/cards-pane.scss +++ b/assets/scss/shortcodes/cards-pane.scss @@ -1,19 +1,25 @@ -.card-deck { - @extend .td-max-width-on-larger-screens; -} -.card { - @extend .td-max-width-on-larger-screens; - .highlight { - border: none; - } -} -.card-body.code { - background-color: #f8f9fa; - padding: 0 0 0 1ex; -} -.card-body { - pre { - margin: 0; - padding: 0 1rem 1rem 1rem; - } +.td-card-deck.card-deck { + @extend .td-max-width-on-larger-screens; } + +.td-card { + &.card { + @extend .td-max-width-on-larger-screens; + + .highlight { + border: none; + } + } + + .card-body { + &.code { + background-color: #f8f9fa; + padding: 0 0 0 1ex; + } + + pre { + margin: 0; + padding: 0 1rem 1rem 1rem; + } + } +}
\ No newline at end of file |