Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blockquote styling #174

Merged
merged 3 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/static/blockquote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions docs/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,27 @@ have a `<p>` tag and `<a>` tags.

---

## Blockquote

Add a styled blockquote.

**Examples**

<div style="text-align: center;">
<img src="./static/blockquote.png" width="750">
</div>

**Availability**

The blockquote styling should only be used on `<blockquote>` tags.

**Usage**
```html
<blockquote class="os-raise-blockquote">Andre bought a new bag of cat food. The next day, he opened it to feed his cat. The graph shows how many ounces were left in the bag on the days after it was bought.</blockquote>
```

---

# Flex

## Initializing Flexbox (os-raise-d-flex-nowrap / os-raise-d-flex)
Expand Down
7 changes: 7 additions & 0 deletions src/styles/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,13 @@ table.os-raise-horizontaltable {
color: #000;
}

.os-raise-blockquote {
color: #000;
margin: 0 .5rem 1rem;
padding: 1rem 1.5rem;
border-left: .188rem solid #F47641;
}

// Extra Support Box Styles
.os-raise-extrasupport {
border: .0625rem solid #757575;
Expand Down