2020-09-11 12:05:41 +03:00
div . sphinxsidebar {
height : calc ( 100 % - 20px ) ;
overflow : auto ;
}
h1 . logo-name {
font-size : 24px ;
}
2020-09-11 12:10:07 +03:00
div . body img {
width : 250px ;
}
2020-09-11 12:05:41 +03:00
pre {
padding : 5px 10px ;
}
2020-09-24 20:43:57 +03:00
2021-03-08 12:19:19 +03:00
div . topic {
background-color : # FAFAFA ;
}
2020-09-24 20:43:57 +03:00
li a . current {
font-weight : bold ;
border-bottom : 1px solid # 000 ;
}
ul li . toctree-l1 {
margin-top : 0 . 5em ;
}
ul li . toctree-l1 > a {
color : # 000 ;
}
2021-02-26 19:58:26 +03:00
div . sphinxsidebar ul {
color : # 444 ;
}
div . sphinxsidebar ul ul {
list-style : circle ;
}
div . sphinxsidebar ul ul ul {
list-style : square ;
}
div . sphinxsidebar ul a code {
font-weight : normal ;
}
div . sphinxsidebar ul ul a {
border-bottom : 1px dotted # CCC ;
}
2020-09-24 20:43:57 +03:00
div . sphinxsidebar form . search {
margin-bottom : 5px ;
}
div . sphinxsidebar h3 {
width : 100 % ;
}
2020-09-24 20:59:28 +03:00
div . sphinxsidebar h1 . logo-name {
display : none ;
}
2021-03-24 20:24:39 +03:00
div . document , div . footer {
width : min ( 100 % , 1320px ) ;
}
2020-09-24 20:56:27 +03:00
@ media screen and ( max-width : 875px ) {
2020-09-24 20:59:28 +03:00
div . sphinxsidebar p . logo {
display : initial ;
}
div . sphinxsidebar h1 . logo-name {
display : block ;
}
2020-09-24 20:56:27 +03:00
div . sphinxsidebar span {
2021-03-24 20:24:20 +03:00
color : # EEE ;
2020-09-24 20:56:27 +03:00
}
2021-03-24 20:24:20 +03:00
. sphinxsidebar ul li . toctree-l1 > a , div . sphinxsidebar a {
2020-09-24 20:56:27 +03:00
color : # FFF ;
}
2021-03-24 20:24:20 +03:00
div . sphinxsidebar {
background-color : # 555 ;
}
2021-03-24 20:24:39 +03:00
div . body {
min-width : 300px ;
}
div . footer {
display : block ;
margin : 15px auto 0px auto ;
}
2020-09-24 20:56:27 +03:00
}
2023-03-24 18:53:21 +03:00
@ media screen and ( prefers-color-scheme : dark ) {
: root {
color-scheme : dark ;
--pdt-grey-850 : hsl ( 0deg , 0 % , 85 % ) ;
--pdt-grey-500 : hsl ( 0deg , 0 % , 50 % ) ;
--pdt-grey-250 : hsl ( 0deg , 0 % , 25 % ) ;
--pdt-grey-200 : hsl ( 0deg , 0 % , 20 % ) ;
--pdt-grey-150 : hsl ( 0deg , 0 % , 15 % ) ;
--pdt-grey-100 : hsl ( 0deg , 0 % , 10 % ) ;
--pdt-primary-800 : hsl ( 205deg , 100 % , 80 % ) ;
--pdt-primary-700 : hsl ( 205deg , 100 % , 70 % ) ;
2023-04-05 11:12:07 +03:00
--pdt-red-200 : hsl ( 360deg , 30 % , 20 % ) ;
2023-04-05 11:12:08 +03:00
--pdt-red-350 : hsl ( 360deg , 30 % , 35 % ) ;
2023-04-05 11:12:07 +03:00
--pdt-yellow-250 : hsl ( 40deg , 100 % , 25 % ) ;
2023-03-24 18:53:21 +03:00
--pdt-body-background : var ( --pdt-grey-150 ) ;
--pdt-text : var ( --pdt-grey-850 ) ;
2023-04-05 11:12:07 +03:00
--pdt-border : var ( --pdt-grey-500 ) ;
--pdt-shadow : var ( --pdt-grey-100 ) ;
2023-03-24 18:53:21 +03:00
--pdt-headline : var ( --pdt-primary-800 ) ;
--pdt-link : var ( --pdt-primary-700 ) ;
2023-04-05 11:12:07 +03:00
--pdt-admonition-background : var ( --pdt-grey-250 ) ;
--pdt-topic-background : var ( --pdt-grey-200 ) ;
--pdt-warn : var ( --pdt-yellow-250 ) ;
--pdt-crit : var ( --pdt-red-200 ) ;
2023-04-05 11:12:08 +03:00
--pdt-crit-border : var ( --pdt-red-350 ) ;
2023-03-24 18:53:21 +03:00
}
/* body and links */
body , div . body {
color : var ( --pdt-text ) ;
background-color : var ( --pdt-body-background ) ;
}
a ,
a : hover ,
a . reference : hover {
color : var ( --pdt-link ) ;
border-bottom-color : var ( --pdt-link ) ;
}
2023-04-05 11:12:08 +03:00
a . reference {
border-color : var ( --pdt-border ) ;
}
2023-03-24 18:53:21 +03:00
a . headerlink : hover {
color : var ( --pdt-text ) ;
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-admonition-background )
2023-03-24 18:53:21 +03:00
}
div . sphinxsidebar ul ul a {
color : var ( --pdt-text ) ;
2023-04-05 11:12:07 +03:00
border-bottom-color : var ( --pdt-border ) ;
2023-03-24 18:53:21 +03:00
}
2023-04-05 11:12:08 +03:00
div . sphinxsidebar a ,
2023-03-24 18:53:21 +03:00
ul li . toctree-l1 > a ,
div . sphinxsidebar ul ,
div . sphinxsidebar a : hover {
color : var ( --pdt-text ) ;
2023-04-05 11:12:07 +03:00
border-bottom-color : var ( --pdt-border ) ;
2023-03-24 18:53:21 +03:00
}
/* highlighting backgrounds */
div . admonition ,
div . highlight ,
a : hover code ,
pre {
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-admonition-background ) ;
2023-03-24 18:53:21 +03:00
}
div . caution , div . warning {
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-crit ) ;
2023-04-05 11:12:08 +03:00
border-color : var ( --pdt-crit-border ) ;
2023-03-24 18:53:21 +03:00
}
div . topic {
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-topic-background ) ;
2023-04-05 11:12:08 +03:00
border-color : var ( --pdt-border ) ;
}
div . tip ,
div . note ,
div . important {
border-color : var ( --pdt-border ) ;
2023-03-24 18:53:21 +03:00
}
img . logo {
filter : invert ( 100 % ) hue-rotate ( 180deg ) brightness ( 90 % ) ;
}
table . docutils {
2023-04-05 11:12:07 +03:00
box-shadow : 2px 2px 4px var ( --pdt-shadow ) ;
2023-03-24 18:53:21 +03:00
}
2023-04-05 11:12:08 +03:00
hr . docutils {
border-color : var ( --pdt-border ) ;
}
2023-03-24 18:53:21 +03:00
/* style headlines, titles etc. */
h1 ,
h2 ,
h3 ,
h4 ,
h5 ,
h6 ,
span . caption-text ,
div . sphinxsidebar h3 ,
div . sphinxsidebar h4 {
color : var ( --pdt-headline ) ;
}
/* code */
code {
color : var ( --pdt-text ) ;
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-admonition-background ) ;
2023-03-24 18:53:21 +03:00
}
. highlight span {
filter : brightness ( 1 . 5 ) ;
}
. highlight . gh ,
. highlight . nt {
color : var ( --pdt-headline ) ;
filter : none ;
}
. highlight . go {
color : var ( --pdt-text ) ;
filter : none ;
}
span . highlighted {
2023-04-05 11:12:07 +03:00
background-color : var ( --pdt-warn ) ;
2023-03-24 18:53:21 +03:00
}
2023-04-05 11:12:08 +03:00
. related . bottom {
border-color : var ( --pdt-border ) ;
}
/* sidebar */
div . sphinxsidebar hr {
border-color : var ( --pdt-border ) ;
}
div . sphinxsidebar input {
border-color : var ( --pdt-border ) ;
}
2023-03-24 18:53:21 +03:00
}
2023-03-30 09:49:25 +03:00
@ media screen and ( max-width : 875px ) and ( prefers-color-scheme : dark ) {
div . documentwrapper {
background : initial ;
}
}