Skip to content

Commit d96b5b5

Browse files
committed
Add styling for blockquote
Fixes #12
1 parent 03c2731 commit d96b5b5

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

_sass/base/_blockquote.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
blockquote {
2+
@include themer(border-bottom-color, (
3+
'dark': $site-ui-border-color-dark,
4+
'light': $site-ui-border-color-light,
5+
));
6+
7+
@include themer(color, (
8+
'dark': rgba($color-dark, 60%),
9+
'light': rgba($color-light, 60%),
10+
));
11+
12+
border-left-style: solid;
13+
border-left-width: 4px;
14+
padding: 0.5rem 1.25rem;
15+
16+
*:last-child {
17+
margin-bottom: 0;
18+
}
19+
}

assets/css/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ $site-ui-masthead-color-light: {{ site.ui.masthead.color.light | default: '#fff'
2525
// Base Styles
2626
@import 'base/anchor';
2727
@import 'base/body';
28+
@import 'base/blockquote';
2829
@import 'base/scope-markdown';
2930

3031
// Components

index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ description: If mediocrity had a Jekyll theme...
77

88
A Jekyll theme inspired by Bootstrap's official documentation theme from a few years back. This theme started off by stealing all of Bootstrap Docs' CSS and being used in [mistic100's theme](https://github.com/mistic100/jekyll-bootstrap-doc). This theme has since be rewritten from scratch and remains solely inspired by the original design.
99

10+
> I've never seen a more mediocre theme it actually hurts my insides.
11+
>
12+
> ~ _Anonymous_, 2020
13+
1014
This theme is designed for writing documentation websites instead of having large unmaintainable README files or several markdown files inside of a folder in a repository.
1115

1216
<div class="row">

0 commit comments

Comments
 (0)