Skip to content

Commit

Permalink
Fix blockquote rendering (#923)
Browse files Browse the repository at this point in the history
Fixes problem with blockquotes which we utilize often throughout docs.

Fixes #918

Signed-off-by: John Schnake <[email protected]>
  • Loading branch information
johnSchnake authored Oct 1, 2019
1 parent 4ba8b74 commit c799770
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion site/README-JEKYLL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are running a build on Ubuntu you will need the following packages:
1. Install Jekyll and plug-ins in one fell swoop. `gem install github-pages`
This mirrors the plug-ins used by GitHub Pages on your local machine including Jekyll, Sass, etc.
2. Clone down your own fork, or clone the main repo `git clone https://github.com/vmware-tanzu/sonobuoy` and add your own remote.
3. `cd velero/site`
3. `cd sonobuoy/site`
4. `rbenv local 2.6.3`
5. `bundle install`
6. Serve the site and watch for markup/sass changes `jekyll serve --livereload`. You may need to run `bundle exec jekyll serve --livereload`.
Expand Down
1 change: 1 addition & 0 deletions site/_includes/head-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/css/styles.css?{{site.time | date: '%s%N'}}">
<link rel="stylesheet" type="text/css" href="/css/custom-sonobuoy.css">
{% seo title=false %}
</head>
11 changes: 11 additions & 0 deletions site/css/custom-sonobuoy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blockquote {
color: grey;
padding: .25em;
border-left: .25em solid lightgrey;
page-break-inside: avoid;
margin: 2rem;
}

blockquote p {
margin: 0;
}

0 comments on commit c799770

Please sign in to comment.