Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPatrice Chalin <chalin@users.noreply.github.com>2022-08-15 10:13:52 +0300
committerGitHub <noreply@github.com>2022-08-15 10:13:52 +0300
commitd4da7517de6705175289da3464c40be979ee3c72 (patch)
tree340eaa296c96277f50201cd2ad16a8deafdb09c5 /assets
parentf8e4409b497a6a5caef969c770c354917adcfd9d (diff)
Card-related shortcode style fixes (#1157)
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/shortcodes/cards-pane.scss42
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