-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ NEW: Add
card-carousel
directive (#11)
- Loading branch information
1 parent
10d21dc
commit db15bff
Showing
11 changed files
with
250 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
::::{card-carousel} 2 | ||
|
||
:::{card} card 1 | ||
content | ||
::: | ||
:::{card} card 2 | ||
Longer | ||
|
||
content | ||
::: | ||
:::{card} card 3 | ||
::: | ||
:::{card} card 4 | ||
::: | ||
:::{card} card 5 | ||
::: | ||
:::{card} card 6 | ||
::: | ||
:::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. card-carousel:: 2 | ||
|
||
.. card:: card 1 | ||
|
||
content | ||
|
||
.. card:: card 2 | ||
|
||
Longer | ||
|
||
content | ||
|
||
.. card:: card 3 | ||
|
||
.. card:: card 4 | ||
|
||
.. card:: card 5 | ||
|
||
.. card:: card 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<document source="index"> | ||
<section ids="heading" names="heading"> | ||
<title> | ||
Heading | ||
<container classes="sd-sphinx-override sd-cards-carousel sd-card-cols-2" design_component="card-carousel" is_div="True"> | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 1 | ||
<paragraph classes="sd-card-text"> | ||
content | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 2 | ||
<paragraph classes="sd-card-text"> | ||
Longer | ||
<paragraph classes="sd-card-text"> | ||
content | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 3 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 4 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 5 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<document source="index"> | ||
<section ids="heading" names="heading"> | ||
<title> | ||
Heading | ||
<container classes="sd-sphinx-override sd-cards-carousel sd-card-cols-2" design_component="card-carousel" is_div="True"> | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 1 | ||
<paragraph classes="sd-card-text"> | ||
content | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 2 | ||
<paragraph classes="sd-card-text"> | ||
Longer | ||
<paragraph classes="sd-card-text"> | ||
content | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 3 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 4 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 5 | ||
<container classes="sd-card sd-sphinx-override sd-mb-3 sd-shadow-sm" design_component="card" is_div="True"> | ||
<container classes="sd-card-body" design_component="card-body" is_div="True"> | ||
<container classes="sd-card-title sd-font-weight-bold" design_component="card-title" is_div="True"> | ||
card 6 |