22 /* Add Font Awesome 5 icon and color for todo */
33 --pst-icon-clipboard-list : '\f46d' ;
44 --pst-icon-admonition-todo : var (--pst-icon-clipboard-list );
5- --pst-color-admonition-todo : 161 , 46 , 233 ;
5+ --pst-color-admonition-todo : 161 , 46 , 233 ;
66 --target-color : # b9ee9e ;
77 --codeblock-color : # aad993 ;
88}
99
1010.visuallyhidden {
1111 display : none;
1212}
13+
1314pre {
1415 border-radius : 0 ;
1516 background-color : white;
1617 box-shadow : none;
1718}
19+
1820a ,
1921a : visited ,
2022main .bd-content # main-content a ,
2123main .bd-content # main-content a : visited {
2224 color : # 2980b9 ;
2325}
26+
2427a : hover ,
2528main .bd-content # main-content a : hover {
2629 color : # 1a567e ;
2730 text-decoration : none;
2831}
32+
2933ul {
3034 list-style-type : square;
3135}
32- ul li > p {
36+
37+ ul li > p {
3338 margin-bottom : 0.3rem ;
3439}
35- ol li > p {
40+
41+ ol li > p {
3642 margin-bottom : 0.3rem ;
3743}
38- img {
44+
45+ img {
3946 margin : 1rem 0 ;
4047}
48+
4149figure img ,
4250.figure img {
43- box-shadow : 0 6px 24px 0 rgba (153 , 153 , 153 , 0.3 );
51+ box-shadow : 0 6px 24px 0 rgba (153 , 153 , 153 , 0.3 );
4452}
53+
4554.sidebar img .logo {
4655 box-shadow : none;
4756 width : 200px ;
4857 margin-bottom : 1rem ;
4958}
59+
5060span .linenos {
5161 padding-right : 1em ;
5262}
63+
5364p .ploneorglink img {
5465 vertical-align : bottom;
5566}
67+
5668dt : target ,
5769span .highlighted ,
5870ul .search li span .highlighted {
@@ -62,10 +74,12 @@ ul.search li span.highlighted {
6274.bd-sidebar .nav ul {
6375 padding : 0 0 0 1rem ;
6476}
65- .bd-sidebar .nav .toctree-checkbox ~ label i {
77+
78+ .bd-sidebar .nav .toctree-checkbox ~ label i {
6679 transform : rotate (90deg );
6780}
68- .bd-sidebar .nav .toctree-checkbox : checked ~ label i {
81+
82+ .bd-sidebar .nav .toctree-checkbox : checked ~ label i {
6983 transform : rotate (0deg );
7084}
7185
@@ -74,15 +88,17 @@ ul.search li span.highlighted {
7488 font-size : 1.2em ;
7589 margin-top : 3rem ;
7690}
91+
7792.toctree-wrapper ul {
7893 list-style : none;
7994}
8095
81- section : not (# glossary ) h1 ~ dl {
96+ section : not (# glossary ) h1 ~ dl {
8297 display : grid;
8398 grid-template-columns : max-content auto;
8499}
85- section : not (# glossary ) h1 ~ dl dd {
100+
101+ section : not (# glossary ) h1 ~ dl dd {
86102 margin-bottom : unset !important ;
87103}
88104
@@ -95,38 +111,46 @@ div.section {
95111 border-radius : 0 ;
96112 border : none;
97113 border-left : .2rem solid;
98- border-left-color : rgba (var (--pst-color-admonition-default ), 1 );
114+ border-left-color : rgba (var (--pst-color-admonition-default ), 1 );
99115}
116+
100117.admonition .admonition-title {
101118 margin-bottom : 1.5rem !important ;
102119}
120+
103121.admonition .toggle .admonition-title {
104122 cursor : pointer;
105123 display : flex;
106124}
125+
107126.admonition .toggle .admonition-title ::after {
108127 content : "\f105" ;
109128 font-weight : 900 ;
110129 font-family : "Font Awesome 5 Free" ;
111130 margin-left : auto;
112131}
132+
113133.admonition .toggle .admonition-title .open ::after {
114134 content : "\f107" ;
115135}
136+
116137/* admonition todo */
117138.admonition .admonition-todo ,
118139div .admonition .admonition-todo {
119- border-color : rgba (var (--pst-color-admonition-todo ), 1 );
140+ border-color : rgba (var (--pst-color-admonition-todo ), 1 );
120141}
121- .admonition .admonition-todo > .admonition-title ,
122- div .admonition .admonition-todo > .admonition-title {
123- background-color : rgba (var (--pst-color-admonition-todo ), .1 );
142+
143+ .admonition .admonition-todo > .admonition-title ,
144+ div .admonition .admonition-todo > .admonition-title {
145+ background-color : rgba (var (--pst-color-admonition-todo ), .1 );
124146}
125- .admonition .admonition-todo > .admonition-title ::before ,
126- div .admonition .admonition-todo > .admonition-title ::before {
127- color : rgba (var (--pst-color-admonition-todo ), 1 );
147+
148+ .admonition .admonition-todo > .admonition-title ::before ,
149+ div .admonition .admonition-todo > .admonition-title ::before {
150+ color : rgba (var (--pst-color-admonition-todo ), 1 );
128151 content : var (--pst-icon-admonition-todo );
129152}
153+
130154.admonition-github-only .admonition {
131155 display : none;
132156}
@@ -135,6 +159,7 @@ div.admonition.admonition-todo > .admonition-title::before {
135159.topic {
136160 padding : 1.5em 1em .5em 1em ;
137161}
162+
138163.topic-title {
139164 font-weight : bold;
140165}
@@ -146,6 +171,7 @@ div.admonition.admonition-todo > .admonition-title::before {
146171 background-color : # 2980b9 ;
147172 border-color : # 2980b9 ;
148173}
174+
149175.btn-primary {
150176 background-color : # 1f86ca ;
151177 border-color : # 2980b9 ;
@@ -157,70 +183,90 @@ div.admonition.admonition-todo > .admonition-title::before {
157183# search-documentation ,
158184# search-documentation ~ form ,
159185# search-documentation ~ p {
160- display : block;
186+ display : block;
161187}
188+
162189ul .search {
163190 margin-left : 0 ;
164191}
192+
165193p .search-summary {
166194 margin : 1em 0 2rem 0 ;
167195}
196+
168197# search-results ul {
169198 list-style-type : none;
170199 padding-left : 0 ;
171200}
201+
172202# search-results ul li ,
173203ul .search li {
174204 margin-bottom : 2rem ;
175205 padding : 0 ;
176206 background-image : none;
177207 border-bottom : none;
178208}
209+
179210# search-results ul li h3 {
180211 margin : 0.4rem 0 .5rem ;
181212 font-size : 1.5rem ;
182213}
214+
183215# search-results ul li .breadcrumbs {
184216 display : flex;
185217 flex-direction : row;
186218 flex-wrap : wrap;
187219}
220+
188221# search-results ul li .breadcrumbs a {
189222 font-weight : normal;
190223}
224+
191225# search-results ul li .breadcrumbs .lastbreadcrumb {
192226 white-space : nowrap;
193227 display : inline-block;
194228 max-width : 12rem ;
195- overflow : hidden; /* "overflow"-Wert darf nicht "visible" sein */
229+ overflow : hidden;
230+ /* "overflow"-Wert darf nicht "visible" sein */
196231
197232 text-overflow : ellipsis;
198233}
234+
199235ul .search li p .context {
200236 margin-left : 0 ;
201237}
238+
202239.pathseparator {
203240 padding : 0 0.7rem ;
204241}
205242
243+ /* header-article */
244+ div .header-article__label {
245+ display : flex;
246+ align-items : center;
247+ margin : 0 auto 0 1em ;
248+ font-size : 80% ;
249+ overflow : hidden;
250+ white-space : nowrap;
251+ }
206252
207253/* submenu */
208254.bd-toc {
209- box-shadow : 0 .2rem .5rem rgba (0 , 0 , 0 , .05 ), 0 0 .0625rem rgba (0 , 0 , 0 , .1 );
255+ box-shadow : 0 .2rem .5rem rgba (0 , 0 , 0 , .05 ), 0 0 .0625rem rgba (0 , 0 , 0 , .1 );
210256}
211257
212258/* extra sidebar */
213- div .sidebar : not (.margin ){
259+ div .sidebar : not (.margin ) {
214260 width : 40% ;
215261 float : right;
216262 clear : right;
217263 margin : .3rem 0 .3rem 0.5em ;
218264 padding : 2rem 0 1.5rem 1rem !important ;
219- background-color : rgba (var (--pst-color-admonition-note ), .1 );
265+ background-color : rgba (var (--pst-color-admonition-note ), .1 );
220266 border : none;
221- border-left : 8px rgba (var (--pst-color-admonition-default ), 1 ) solid;
267+ border-left : 8px rgba (var (--pst-color-admonition-default ), 1 ) solid;
222268 border-radius : .2rem ;
223- box-shadow : 0 .2rem .5rem rgba (0 , 0 , 0 , .05 ), 0 0 .0625rem rgba (0 , 0 , 0 , .1 );
269+ box-shadow : 0 .2rem .5rem rgba (0 , 0 , 0 , .05 ), 0 0 .0625rem rgba (0 , 0 , 0 , .1 );
224270}
225271
226272div .sidebar : not (.margin ) .figure {
@@ -229,31 +275,39 @@ div.sidebar:not(.margin) .figure {
229275 margin-left : 0 ;
230276 padding-left : 0 ;
231277}
278+
232279div .sidebar : not (.margin ) img .logo {
233280 margin-top : 0 ;
234281 margin-bottom : .3rem ;
235282}
283+
236284div .sidebar : not (.margin ) p {
237285 margin-bottom : 0 ;
238286}
287+
239288div .sidebar : not (.margin ) p .sidebar-title {
240289 display : none;
241290}
291+
242292div .sidebar : not (.margin ) div .topic {
243293 padding : .5em 0 ;
244294 background-color : transparent;
245295 border : none;
246296}
297+
247298div .sidebar : not (.margin ) pre {
248299 margin : .5em 0 1.5em 0 ;
249300}
301+
250302div .sidebar : not (.margin ) div [class *= "highlight-" ] {
251303 margin-right : .5em ;
252304}
305+
253306div .sidebar : not (.margin ) .admonition {
254307 margin-right : .5em ;
255308 background-color : # ffffff ;
256309}
310+
257311@media (min-width : 768px ) {
258312 div .sidebar : not (.margin ) {
259313 width : 50% ;
@@ -266,25 +320,30 @@ div.sidebar:not(.margin) .admonition {
266320main .bd-content # main-content dl .simple dt {
267321 margin-top : .8em ;
268322}
323+
269324main .bd-content # main-content dl .simple dt : nth-of-type (1 ) {
270325 margin-top : 0 ;
271326}
327+
272328main .bd-content # main-content dl .simple dd {
273329 margin-top : .8em ;
274330}
275- main .bd-content # main-content dl .simple dt + dd {
331+
332+ main .bd-content # main-content dl .simple dt + dd {
276333 margin-top : 0 ;
277334}
278335
279336.prev-next-bottom {
280337 margin : 20px 0 30px 0 ;
281338}
282- .prev-next-bottom a .left-prev , .prev-next-bottom a .right-next {
339+
340+ .prev-next-bottom a .left-prev ,
341+ .prev-next-bottom a .right-next {
283342 padding : 5px 10px ;
284- border : 1px solid rgba (0 , 0 , 0 , .2 );
343+ border : 1px solid rgba (0 , 0 , 0 , .2 );
285344 max-width : 45% ;
286345 overflow-x : hidden;
287- color : rgba (0 , 0 , 0 , .65 );
346+ color : rgba (0 , 0 , 0 , .65 );
288347 border-radius : 10px ;
289348}
290349
@@ -294,7 +353,8 @@ li.nav-item.toc-entry {
294353 margin-bottom : 0.25em ;
295354}
296355
297- span .guilabel , span .menuselection {
356+ span .guilabel ,
357+ span .menuselection {
298358 border : none;
299359 background : # e7f2fa ;
300360 border-radius : 4px ;
@@ -314,14 +374,17 @@ span.guilabel, span.menuselection {
314374dl .py .function {
315375 margin-bottom : 5rem ;
316376}
317- dl .py .function > dt {
377+
378+ dl .py .function > dt {
318379 background-color : var (--codeblock-color );
319380 padding : 4px 5px ;
320381}
321- dl .py .function > dt : target {
322- background-color : var (--target-color );
382+
383+ dl .py .function > dt : target {
384+ background-color : var (--target-color );
323385}
324- dl .field-list > dt {
386+
387+ dl .field-list > dt {
325388 padding-left : 0 ;
326389}
327390
0 commit comments