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

37 lines
848 B

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