%sphinx { h2, h3 { @extend %block-heading; } h4 { font-size: 1em; } > dl:not(.docutils) > dt { @extend %block-label, %label-blue; } dd > dl:not(.docutils) > dt { @extend %block-label; } dt + dt { margin-top: -.5em; } .note, .admonition, div.versionadded, div.versionchanged, .deprecated-removed, .deprecated { @extend %note; } .important { @extend %note-orange; } .warning, .deprecated-removed, .deprecated { @extend %note-red; } .versionmodified, span.title { display: block; font-weight: bold; } p > code, li > code, dd > code, .docutils > dt > code { @extend %label; } ul.simple { margin: 1em 0; } h2 > a, h3 > a, dt[id] > a.external { float: right; } .admonition-title { float: left; margin: 0 .5em 0 0; font-weight: bold; &:after { content: ':'; } } .admonition > dl, .admonition > ul { clear: left; margin: 0; } .admonition-title + dl { padding-top: .5em; } td > div { margin: 0 !important; } } ._sphinx { @extend %sphinx; }