1515 --color-error : rgb (221 , 46 , 46 );
1616 --color-success : rgb (32 , 158 , 105 );
1717 --color-warn : # ebcc00 ;
18+ --color-dim-line : # ededf060 ;
19+ --color-search-border : # ededf02d ;
1820
1921 /* Light Theme */
2022 --color-primary--light : rgba (21 , 21 , 28 , 0.8 );
6062 background-color : var (--color-background--light );
6163 scrollbar-color : var (--color-scrollbar--light )
6264 var (--color-background-dim--light );
65+ word-wrap : break-word;
6366}
6467
6568strong {
@@ -73,6 +76,15 @@ code {
7376 font-size : 0.9em ;
7477}
7578
79+ .form-control {
80+ border-left : none !important ;
81+ border-color : transparent !important ;
82+ }
83+
84+ .input-group-text .bg-white {
85+ border-color : transparent !important ;
86+ }
87+
7688dl .field-list .simple > dt {
7789 font-weight : 700 ;
7890}
@@ -88,7 +100,6 @@ dl.field-list.simple > dd > ul {
88100/* Colours Light */
89101.input-group-text .bg-white {
90102 background-color : var (--color-background-dim--light ) !important ;
91- border-color : var (--color-links--light ) !important ;
92103}
93104
94105.sidebar-container {
@@ -200,7 +211,6 @@ a > code {
200211
201212.form-control {
202213 background-color : var (--color-background-dim--light ) !important ;
203- border-color : var (--color-links--light ) !important ;
204214}
205215
206216.toc > ul : not (: last-child ) {
@@ -220,7 +230,6 @@ body.theme-dark {
220230body .theme-dark {
221231 .input-group-text .bg-white {
222232 background-color : var (--color-background-dim--dark ) !important ;
223- border-color : var (--color-links--dark ) !important ;
224233 }
225234
226235 .sidebar-container {
@@ -293,7 +302,6 @@ body.theme-dark {
293302
294303 .form-control {
295304 background-color : var (--color-background-dim--dark ) !important ;
296- border-color : var (--color-links--dark ) !important ;
297305 }
298306
299307 .toc > ul : not (: last-child ) {
@@ -302,7 +310,7 @@ body.theme-dark {
302310
303311 pre {
304312 color : var (--color-pre-primary--dark ) !important ;
305- background-color : var (--color-pre-background--dark )!important ;
313+ background-color : var (--color-pre-background--dark ) !important ;
306314 }
307315
308316 scrollbar-color : var (--color-scrollbar--dark )
@@ -319,6 +327,7 @@ body.theme-dark {
319327}
320328
321329.error-tio ::before {
330+ /* biome-ignore lint/a11y/useGenericFontNames: ... */
322331 font-family : "Font Awesome 5 Free" ;
323332 font-weight : 900 ;
324333 content : "\f06a" ;
@@ -331,6 +340,7 @@ body.theme-dark {
331340}
332341
333342.success-tio ::before {
343+ /* biome-ignore lint/a11y/useGenericFontNames: ... */
334344 font-family : "Font Awesome 5 Free" ;
335345 font-weight : 900 ;
336346 content : "\f00c" ;
@@ -343,6 +353,7 @@ body.theme-dark {
343353}
344354
345355.warn-tio ::before {
356+ /* biome-ignore lint/a11y/useGenericFontNames: ... */
346357 font-family : "Font Awesome 5 Free" ;
347358 font-weight : 900 ;
348359 content : "\f059" ;
@@ -439,6 +450,67 @@ main .py-attribute-table-column > ul {
439450 margin : 0 2em ;
440451}
441452
453+ /* Fix code block admonitions */
442454.codeB {
443- background-color : # a071bbb0 ;
455+ background-color : var (--color-dim-line );
456+ }
457+
458+ .codeW {
459+ border : 1px solid # a071bb31 ;
460+ }
461+
462+ .admonition-title .codeB {
463+ padding : 0.25rem 1rem ;
464+ font-weight : 400 ;
465+ width : 100% ;
466+ }
467+
468+ .admonition-title .codeB ::before {
469+ /* biome-ignore lint/a11y/useGenericFontNames: ... */
470+ font-family : "Font Awesome 5 Free" ;
471+ content : "\f121" !important ;
472+ }
473+
474+ .admonition {
475+ background-color : var (--color-dim-line ) !important ;
476+ }
477+
478+ .admonition .codeW {
479+ overflow-x : auto;
480+ }
481+
482+ /* Fix padding on meth/prop dd */
483+ dl .py > dd {
484+ padding : 0.5rem 0 ;
485+ }
486+
487+ /* Fix Search Box and Outline */
488+ .input-group {
489+ border : 1px solid var (--color-search-border ) !important ;
490+ border-radius : .25rem ;
491+ }
492+
493+ .input-group : focus-within {
494+ outline : 1px solid var (--color-dim-line ) !important ;
495+ border-radius : .25rem ;
496+ }
497+
498+ .form-control : focus {
499+ outline : none !important ;
500+ box-shadow : none !important ;
501+ }
502+
503+ .input-group > .input-group-prepend : hover {
504+ cursor : pointer;
505+ }
506+
507+ [type = "search" ]::-webkit-search-cancel-button {
508+ -webkit-appearance : none;
509+ appearance : none;
510+ background-image : url (data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNlZGVkZjA4MCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNxdWFyZS14Ij48cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjMiIHJ4PSIyIiByeT0iMiIvPjxwYXRoIGQ9Im0xNSA5LTYgNiIvPjxwYXRoIGQ9Im05IDkgNiA2Ii8+PC9zdmc+);
511+ color : var (--color-accent--light ) !important ;
512+ height : 20px ;
513+ width : 20px ;
514+ background-repeat : no-repeat;
515+ cursor : pointer;
444516}
0 commit comments