/** * Set `margin-bottom` to maintain vertical rhythm */ h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, %vertical-rhythm { margin-bottom: $spacing-unit / 2; } /** * Blockquotes */ blockquote { color: $grey-600; border-left: 4px solid $grey-200; padding-left: $spacing-unit / 2; font-size: 18px; letter-spacing: -1px; font-style: italic; > :last-child { margin-bottom: 0; } } .admonition { margin: 16px -16px; padding: 16px 16px 1px 16px; background: $grey-color-light; } /** * Code formatting */ code { border: 1px solid $grey-200; } pre { background: $grey-200; } pre.highlight { background: $grey-color-light; } code { padding: 1px 5px; } pre { //@extend .admonition; > code { border: 0; padding-right: 0; padding-left: 0; } } /** * Clearfix */ %clearfix { &:after { content: ""; display: table; clear: both; } } .icon { > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; path { fill: $grey-color; } } } td, th { &.halign-left {text-align:left} &.halign-right {text-align:right} &.halign-center {text-align:center} &.valign-top {vertical-align:top} &.valign-bottom {vertical-align:bottom} &.valign-middle {vertical-align:middle} }