@@ -130,7 +130,7 @@ ul.search li a {
130130 font-weight : bold;
131131}
132132
133- ul .search li div .context {
133+ ul .search li p .context {
134134 color : # 888 ;
135135 margin : 2px 0 0 30px ;
136136 text-align : left;
@@ -277,25 +277,25 @@ p.rubric {
277277 font-weight : bold;
278278}
279279
280- img .align-left , .figure .align-left , object .align-left {
280+ img .align-left , figure . align-left , .figure .align-left , object .align-left {
281281 clear : left;
282282 float : left;
283283 margin-right : 1em ;
284284}
285285
286- img .align-right , .figure .align-right , object .align-right {
286+ img .align-right , figure . align-right , .figure .align-right , object .align-right {
287287 clear : right;
288288 float : right;
289289 margin-left : 1em ;
290290}
291291
292- img .align-center , .figure .align-center , object .align-center {
292+ img .align-center , figure . align-center , .figure .align-center , object .align-center {
293293 display : block;
294294 margin-left : auto;
295295 margin-right : auto;
296296}
297297
298- img .align-default , .figure .align-default {
298+ img .align-default , figure . align-default , .figure .align-default {
299299 display : block;
300300 margin-left : auto;
301301 margin-right : auto;
@@ -319,7 +319,8 @@ img.align-default, .figure.align-default {
319319
320320/* -- sidebars -------------------------------------------------------------- */
321321
322- div .sidebar {
322+ div .sidebar ,
323+ aside .sidebar {
323324 margin : 0 0 0.5em 1em ;
324325 border : 1px solid # ddb ;
325326 padding : 7px ;
@@ -377,12 +378,14 @@ div.body p.centered {
377378/* -- content of sidebars/topics/admonitions -------------------------------- */
378379
379380div .sidebar > : last-child ,
381+ aside .sidebar > : last-child ,
380382div .topic > : last-child ,
381383div .admonition > : last-child {
382384 margin-bottom : 0 ;
383385}
384386
385387div .sidebar ::after ,
388+ aside .sidebar ::after ,
386389div .topic ::after ,
387390div .admonition ::after ,
388391blockquote ::after {
@@ -455,20 +458,22 @@ td > :last-child {
455458
456459/* -- figures --------------------------------------------------------------- */
457460
458- div .figure {
461+ div .figure , figure {
459462 margin : 0.5em ;
460463 padding : 0.5em ;
461464}
462465
463- div .figure p .caption {
466+ div .figure p .caption , figcaption {
464467 padding : 0.3em ;
465468}
466469
467- div .figure p .caption span .caption-number {
470+ div .figure p .caption span .caption-number ,
471+ figcaption span .caption-number {
468472 font-style : italic;
469473}
470474
471- div .figure p .caption span .caption-text {
475+ div .figure p .caption span .caption-text ,
476+ figcaption span .caption-text {
472477}
473478
474479/* -- field list styles ----------------------------------------------------- */
@@ -503,6 +508,63 @@ table.hlist td {
503508 vertical-align : top;
504509}
505510
511+ /* -- object description styles --------------------------------------------- */
512+
513+ .sig {
514+ font-family : 'Consolas' , 'Menlo' , 'DejaVu Sans Mono' , 'Bitstream Vera Sans Mono' , monospace;
515+ }
516+
517+ .sig-name , code .descname {
518+ background-color : transparent;
519+ font-weight : bold;
520+ }
521+
522+ .sig-name {
523+ font-size : 1.1em ;
524+ }
525+
526+ code .descname {
527+ font-size : 1.2em ;
528+ }
529+
530+ .sig-prename , code .descclassname {
531+ background-color : transparent;
532+ }
533+
534+ .optional {
535+ font-size : 1.3em ;
536+ }
537+
538+ .sig-paren {
539+ font-size : larger;
540+ }
541+
542+ .sig-param .n {
543+ font-style : italic;
544+ }
545+
546+ /* C++ specific styling */
547+
548+ .sig-inline .c-texpr ,
549+ .sig-inline .cpp-texpr {
550+ font-family : unset;
551+ }
552+
553+ .sig .c .k , .sig .c .kt ,
554+ .sig .cpp .k , .sig .cpp .kt {
555+ color : # 0033B3 ;
556+ }
557+
558+ .sig .c .m ,
559+ .sig .cpp .m {
560+ color : # 1750EB ;
561+ }
562+
563+ .sig .c .s , .sig .c .sc ,
564+ .sig .cpp .s , .sig .cpp .sc {
565+ color : # 067D17 ;
566+ }
567+
506568
507569/* -- other body styles ----------------------------------------------------- */
508570
@@ -629,14 +691,6 @@ dl.glossary dt {
629691 font-size : 1.1em ;
630692}
631693
632- .optional {
633- font-size : 1.3em ;
634- }
635-
636- .sig-paren {
637- font-size : larger;
638- }
639-
640694.versionmodified {
641695 font-style : italic;
642696}
@@ -765,8 +819,12 @@ div.code-block-caption code {
765819
766820table .highlighttable td .linenos ,
767821span .linenos ,
768- div .doctest > div .highlight span .gp { /* gp: Generic.Prompt */
769- user-select : none;
822+ div .highlight span .gp { /* gp: Generic.Prompt */
823+ user-select : none;
824+ -webkit-user-select : text; /* Safari fallback only */
825+ -webkit-user-select : none; /* Chrome/Safari */
826+ -moz-user-select : none; /* Firefox */
827+ -ms-user-select : none; /* IE10+ */
770828}
771829
772830div .code-block-caption span .caption-number {
@@ -781,16 +839,6 @@ div.literal-block-wrapper {
781839 margin : 1em 0 ;
782840}
783841
784- code .descname {
785- background-color : transparent;
786- font-weight : bold;
787- font-size : 1.2em ;
788- }
789-
790- code .descclassname {
791- background-color : transparent;
792- }
793-
794842code .xref , a code {
795843 background-color : transparent;
796844 font-weight : bold;
0 commit comments