diff --git a/elements/rh-card/docs/10-style.md b/elements/rh-card/docs/10-style.md index 867455b61e..36529d3c06 100644 --- a/elements/rh-card/docs/10-style.md +++ b/elements/rh-card/docs/10-style.md @@ -23,7 +23,7 @@ Cards can be used in light and dark themes. They act as a blank canvas where elements and styles can be placed inside. - A breakdown of the parts of a card + A breakdown of the parts of a card ## Theme @@ -32,18 +32,21 @@ All card variants are available in light and dark theme. ### Light theme - Card in light theme + Card in light theme ### Dark theme - Card in dark theme + Card in dark theme ### Color -Cards are secondary layouts that shouldn’t command too much attention and blend in with whatever background they’re placed on. The card container is the only required element and it consists of a background color, rounded corners, and a thin border. +Cards are secondary layouts that shouldn’t command too much attention and blend +in with whatever background they’re placed on. The card container is the only +required element and it consists of a background color, rounded corners, and a +thin border.
@@ -100,11 +103,11 @@ tall.
- Example of a card layout + Example of a card layout - Anatomy of a card layout + Anatomy of a card layout
@@ -125,7 +128,6 @@ The footer section can include normal links or a call to action. It can be hidden if necessary if there’s content included where a user can take an action. - ## Responsive design ### Breakpoints @@ -135,13 +137,13 @@ Cards will get thinner or move below each other on smaller screens. ### Large screens - Card layout on desktop + Card layout on desktop ### Small screens - Card layout on mobile + Card layout on mobile ## Spacing @@ -158,18 +160,17 @@ Cards will get thinner or move below each other on smaller screens. Container padding defines how far away content is from the edges of the component. When cards become wider, the container padding increases. When they -become thinner, the container padding decreases. See more examples. +become thinner, the container padding decreases. ### Desktop - Card spacing on desktop + Card spacing on desktop ### Mobile - Card spacing on mobile + Card spacing on mobile