Skip to content

Commit

Permalink
Theme: Add blockquote styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Mar 5, 2024
1 parent 25f773a commit de98cdd
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _data/sitenav.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Guides
sub:
- name: Getting Started
- name: Content styles
href: /intro/
- name: Documentation
sub:
Expand Down
13 changes: 13 additions & 0 deletions _sass/amethyst.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,19 @@ pre.highlight {
background: transparent;
}

blockquote {
border-left: 4px solid $color-off-white;
background: $color-light;
color: $color-darkgrey;
margin: 0 0 $size-spacing 0;
padding: $box-spacing;
font-style: normal;

p:last-child {
margin-bottom: 0;
}
}

hr {
margin: $size-5 0;
border: none;
Expand Down
31 changes: 28 additions & 3 deletions intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: Getting Started
title: Content styles
amethyst:
toc: true
---
Expand Down Expand Up @@ -35,9 +35,34 @@ Check out the [API documentation](https://api.qunitjs.com) or run `qunit --help`

---

## List

* Lorem Ipsum
* **Cupcake Ipsum**
* Bacon Ipsum
* Samuel L. Ipsum
* Hipster Ipsum
* DeLorean Ipsum
* Office Ipsum
* Sagan Ipsum

## Blockquote

From cupcake ipsum:

> Cupcake ipsum dolor sit amet dragée jelly beans topping **cake**. Gingerbread oat **cake** I _love_ marshmallow topping.
>
> * jelly
> * **cake**
> * _love_
>
> The _last_ paragraph of the quote.
Text after the quote.

## Table

| Sequence | 1 | 2 | 3 | 4
|--|--
| Foobar | Foo | Bar | Baz | Quux
|--|--
| Sequence | 1 | 2 | 3 | 4
| Lorem ipsum | Lorem | Ipsum | Dolor | Sit

0 comments on commit de98cdd

Please sign in to comment.