Commit 9283f8e7 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Styling for blockquotes

includes one js command to add the "blockquote" class to blockquote
elements since that's how bootstrap wants them.
parent 93089d7c
......@@ -35,6 +35,16 @@ body {
text-align: center;
/* Bootstrap tweaks */
blockquote.blockquote {
border-left: 6px solid #3131e0;
border-radius: 6px;
padding-left: 16px;
background-color: #c0c0f0;
* The CSS below has been taken from the following page:
......@@ -80,5 +80,8 @@ let render_unsafe ~lang ~title ~content =
<script src="/assets/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/prism.js"></script>
(function() {document.querySelectorAll("blockquote").forEach(function(b) { b.classList.length || b.classList.add("blockquote"); });})()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment