You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/stylesheets/pages/_sphinx.scss

45 lines
1.1 KiB

%sphinx {
h2 { @extend %block-heading; }
h3 { @extend %block-label; }
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, .topic { @extend %note; }
.important { @extend %note-orange; }
.warning, .deprecated-removed, .deprecated { @extend %note-red; }
.versionmodified, span.title, .topic-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, dt[id] > a.internal { 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;
}