2020-05-16 14:27:03 +02:00
|
|
|
.content .section {
|
|
|
|
margin-bottom: 0;
|
|
|
|
&:hover {
|
|
|
|
.headerlink {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
// FIXME: sphinx should provide a citation-reference?
|
|
|
|
& a:focus {
|
|
|
|
// remove outline because padding mess it up
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Use # as symbol for anchor headerlinks */
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
&:hover a.headerlink, &:hover a:visited.headerlink {
|
|
|
|
&::after {
|
|
|
|
visibility: visible;
|
|
|
|
content: "#";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.headerlink, a:visited.headerlink {
|
|
|
|
font-size: 0.85em;
|
|
|
|
visibility: hidden;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.page-nav {
|
|
|
|
list-style: none;
|
|
|
|
& li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-header {
|
|
|
|
display: flex;
|
|
|
|
& ul.page-nav {
|
|
|
|
flex-grow: 1;
|
|
|
|
list-style: none;
|
|
|
|
list-style-position: inside;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 2em;
|
|
|
|
& li + li:before {
|
|
|
|
content: "|";
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.breadcrumbs {
|
|
|
|
list-style: none;
|
|
|
|
& li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** index page **/
|
|
|
|
.toctree-wrapper .caption {
|
|
|
|
// same as h2
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.25em;
|
|
|
|
font-size: 1.65rem;
|
|
|
|
padding-bottom: .3rem;
|
2020-06-19 23:39:59 +02:00
|
|
|
border-bottom: 0.1em solid @BClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** footer **/
|
|
|
|
.footer {
|
|
|
|
clear: both;
|
|
|
|
min-height: 2rem;
|
|
|
|
padding-top: 1rem;
|
2020-07-04 14:07:08 +02:00
|
|
|
color: @FoTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
font-size: small;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** pygments style **/
|
|
|
|
.content .highlight {
|
|
|
|
border-radius: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// force background color from pygments
|
|
|
|
.content .highlight pre {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content .highlighted {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AClr; //#fbe54e;
|
2020-05-16 14:27:03 +02:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** admonitions based on custom-blocks.styl */
|
|
|
|
.admonition {
|
|
|
|
padding: .1rem 1.5rem;
|
|
|
|
border-left-width: .5rem;
|
|
|
|
border-left-style: solid;
|
2020-07-04 14:07:08 +02:00
|
|
|
box-decoration-break: clone;
|
|
|
|
-webkit-box-decoration-break: clone;
|
|
|
|
height: min-content;
|
2020-05-16 14:27:03 +02:00
|
|
|
margin: 1rem 0;
|
|
|
|
// default color
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AaBgClr;
|
|
|
|
border-color: @AaBClr;
|
|
|
|
color: @AaTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AaLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AaLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admonition-title {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: -0.4rem;
|
|
|
|
}
|
|
|
|
&.success {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AsBgClr;
|
|
|
|
border-color: @AsBClr;
|
|
|
|
color: @AsTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AsLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AsLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.hint {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AhBgClr;
|
|
|
|
border-color: @AhBClr;
|
|
|
|
color: @AhTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AhLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AhLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.tip {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AtBgClr;
|
|
|
|
border-color: @AtBClr;
|
|
|
|
color: @AtTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AtLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AtLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.important {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AiBgClr;
|
|
|
|
border-color: @AiBClr;
|
|
|
|
color: @AiTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AiLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AiLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.note {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AnBgClr;
|
|
|
|
border-color: @AnBClr;
|
|
|
|
color: @AnTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AnLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AnLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.warning {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AwBgClr;
|
|
|
|
border-color: @AwBClr;
|
|
|
|
color: @AwTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AwLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AwLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.danger {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AdBgClr;
|
|
|
|
border-color: @AdBClr;
|
|
|
|
color: @AdTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AdLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AdLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.caution {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AcBgClr;
|
|
|
|
border-color: @AcBClr;
|
|
|
|
color: @AcTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AcLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AcLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.danger {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @AdBgClr;
|
|
|
|
border-color: @AdBClr;
|
|
|
|
color: @AdTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AdLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @AdLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2020-06-19 23:39:59 +02:00
|
|
|
background-color: @BqBgClr;
|
|
|
|
border-color: @BqBClr;
|
2020-07-04 14:07:08 +02:00
|
|
|
box-decoration-break: clone;
|
|
|
|
-webkit-box-decoration-break: clone;
|
2020-05-16 14:27:03 +02:00
|
|
|
margin-left: -0.4rem;
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @BqTClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
a, a:visited {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @BqLClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
&:hover {
|
2020-06-19 23:39:59 +02:00
|
|
|
color: @BqLHClr;
|
2020-05-16 14:27:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|