Fix blockquotes in documentation; stylize only in docinfo or immediately after an h1

This commit is contained in:
Nick Greenfield 2014-12-21 18:22:20 -05:00
commit e6abd673b8
2 changed files with 13 additions and 5 deletions

View file

@ -130,7 +130,7 @@ html {
-ms-text-size-adjust: 100%; } -ms-text-size-adjust: 100%; }
/* Where we want fancier font if available */ /* Where we want fancier font if available */
h1, h2, h3, h4, h5, h6, p.module-desc, blockquote p { h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; } font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
h1.title { h1.title {
@ -523,9 +523,13 @@ abbr.initialism {
blockquote { blockquote {
padding: 0 0 0 15px; padding: 0 0 0 15px;
margin: 0 0 20px; margin: 0 0 20px;
border-left: 5px solid #c9c9c9; } border-left: 5px solid #EFEBE0; }
blockquote p { table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
border-left: 5px solid #c9c9c9;
}
table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
margin-bottom: 0; margin-bottom: 0;
font-size: 15px; font-size: 15px;
font-weight: 200; font-weight: 200;

View file

@ -5,8 +5,12 @@ Nim's Garbage Collector
:Author: Andreas Rumpf :Author: Andreas Rumpf
:Version: |nimversion| :Version: |nimversion|
.. contents::
"The road to hell is paved with good intentions." "The road to hell is paved with good intentions."
Introduction Introduction
============ ============