1 2/*============================================================================= 3Copyright (c) 2004 Joel de Guzman 4http://spirit.sourceforge.net/ 5 6Copyright 2013 Niall Douglas additions for colors and alignment. 7Copyright 2013 Paul A. Bristow additions for more colors and alignments. 8Copyright 2017 Tom Westerhout font fixes to support Sphinx 9 10Distributed under the Boost Software License, Version 1.0. (See accompany- 11ing file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) 12=============================================================================*/ 13 14/*============================================================================= 15Body defaults 16=============================================================================*/ 17 18 body 19 { 20 margin: 1em; 21 font-size: 16px; 22 font-family: sans-serif; 23 } 24 25/*============================================================================= 26Paragraphs 27=============================================================================*/ 28 29 p, div.document, div.footer 30 { 31 text-align: left; 32 font-size: 10pt; 33 line-height: 1.15; 34 } 35 36/*============================================================================= 37Program listings 38=============================================================================*/ 39 40 /* Code on paragraphs */ 41 p tt.computeroutput 42 { 43 font-size: 9pt; 44 } 45 46 pre.synopsis 47 { 48 font-size: 9pt; 49 margin: 1pc 4% 0pc 4%; 50 padding: 0.5pc 0.5pc 0.5pc 0.5pc; 51 } 52 53 div.highlight, 54 .programlisting, 55 .screen 56 { 57 font-size: 9pt; 58 display: block; 59 margin: 1pc 4% 0pc 4%; 60 padding: 0.5pc 0.5pc 0.5pc 0.5pc; 61 } 62 63 /* Program listings in tables don't get borders */ 64 td .programlisting, 65 td .screen 66 { 67 margin: 0pc 0pc 0pc 0pc; 68 padding: 0pc 0pc 0pc 0pc; 69 } 70 71/*============================================================================= 72Headings 73=============================================================================*/ 74 75 h1, h2, h3, h4, h5, h6 76 { 77 text-align: left; 78 margin: 1em 0em 0.5em 0em; 79 font-weight: bold; 80 } 81 82 h1 { font-size: 140%; } 83 h2 { font-weight: bold; font-size: 140%; } 84 h3 { font-weight: bold; font-size: 130%; } 85 h4 { font-weight: bold; font-size: 120%; } 86 h5 { font-weight: normal; font-style: italic; font-size: 110%; } 87 h6 { font-weight: normal; font-style: italic; font-size: 100%; } 88 89 /* Top page titles */ 90 title, 91 h1.title, 92 h2.title 93 h3.title, 94 h4.title, 95 h5.title, 96 h6.title, 97 .refentrytitle 98 { 99 font-weight: bold; 100 margin-bottom: 1pc; 101 } 102 103 h1.title { font-size: 140% } 104 h2.title { font-size: 140% } 105 h3.title { font-size: 130% } 106 h4.title { font-size: 120% } 107 h5.title { font-size: 110% } 108 h6.title { font-size: 100% } 109 110 .section h1 111 { 112 margin: 0em 0em 0.5em 0em; 113 font-size: 140%; 114 } 115 116 .section h2 { font-size: 140% } 117 .section h3 { font-size: 130% } 118 .section h4 { font-size: 120% } 119 .section h5 { font-size: 110% } 120 .section h6 { font-size: 100% } 121 122 /* Code on titles */ 123 h1 tt.computeroutput { font-size: 140% } 124 h2 tt.computeroutput { font-size: 140% } 125 h3 tt.computeroutput { font-size: 130% } 126 h4 tt.computeroutput { font-size: 130% } 127 h5 tt.computeroutput { font-size: 130% } 128 h6 tt.computeroutput { font-size: 130% } 129 130 131/*============================================================================= 132Author 133=============================================================================*/ 134 135 h3.author 136 { 137 font-size: 100% 138 } 139 140/*============================================================================= 141Lists 142=============================================================================*/ 143 144 li 145 { 146 font-size: 10pt; 147 line-height: 1.3; 148 } 149 150 /* Unordered lists */ 151 ul 152 { 153 text-align: left; 154 } 155 156 /* Ordered lists */ 157 ol 158 { 159 text-align: left; 160 } 161 162/*============================================================================= 163Links 164=============================================================================*/ 165 166 a 167 { 168 text-decoration: none; /* no underline */ 169 } 170 171 a:hover 172 { 173 text-decoration: underline; 174 } 175 176/*============================================================================= 177Spirit style navigation 178=============================================================================*/ 179 180 .spirit-nav 181 { 182 text-align: right; 183 } 184 185 .spirit-nav a 186 { 187 color: white; 188 padding-left: 0.5em; 189 } 190 191 .spirit-nav img 192 { 193 border-width: 0px; 194 } 195 196/*============================================================================= 197Copyright footer 198=============================================================================*/ 199 .copyright-footer 200 { 201 text-align: right; 202 font-size: 70%; 203 } 204 205 .copyright-footer p 206 { 207 text-align: right; 208 font-size: 80%; 209 } 210 211/*============================================================================= 212Table of contents 213=============================================================================*/ 214 215 div.toc 216 { 217 margin: 1pc 4% 0pc 4%; 218 padding: 0.1pc 1pc 0.1pc 1pc; 219 font-size: 80%; 220 line-height: 1.15; 221 } 222 223 .boost-toc 224 { 225 float: right; 226 padding: 0.5pc; 227 } 228 229 /* Code on toc */ 230 .toc .computeroutput { font-size: 120% } 231 232 /* No margin on nested menus */ 233 234 .toc dl dl { margin: 0; } 235 236/*============================================================================= 237Tables 238=============================================================================*/ 239 240 .table-title, 241 div.table p.title 242 { 243 margin-left: 4%; 244 padding-right: 0.5em; 245 padding-left: 0.5em; 246 } 247 248 .informaltable table, 249 .table table 250 { 251 width: 92%; 252 margin-left: 4%; 253 margin-right: 4%; 254 } 255 256 div.informaltable table, 257 div.table table 258 { 259 padding: 4px; 260 } 261 262 /* Table Cells */ 263 div.informaltable table tr td, 264 div.table table tr td 265 { 266 padding: 0.5em; 267 text-align: left; 268 font-size: 9pt; 269 } 270 271 div.informaltable table tr th, 272 div.table table tr th 273 { 274 padding: 0.5em 0.5em 0.5em 0.5em; 275 border: 1pt solid white; 276 font-size: 80%; 277 } 278 279 table.simplelist 280 { 281 width: auto !important; 282 margin: 0em !important; 283 padding: 0em !important; 284 border: none !important; 285 } 286 table.simplelist td 287 { 288 margin: 0em !important; 289 padding: 0em !important; 290 text-align: left !important; 291 font-size: 9pt !important; 292 border: none !important; 293 } 294 295/*============================================================================= 296Suppress margins in tables 297=============================================================================*/ 298 299 table th > *:first-child, 300 table td > *:first-child 301 { 302 margin-top: 0; 303 } 304 305 table th > *:last-child, 306 table td > *:last-child 307 { 308 margin-bottom: 0; 309 } 310 311/*============================================================================= 312Blurbs 313=============================================================================*/ 314 315 div.note, 316 div.tip, 317 div.important, 318 div.caution, 319 div.warning, 320 div.blurb, 321 p.blurb 322 { 323 font-size: 9pt; /* A little bit smaller than the main text */ 324 line-height: 1.2; 325 display: block; 326 margin: 1pc 4% 0pc 4%; 327 padding: 0.5pc 0.5pc 0.5pc 0.5pc; 328 } 329 330 div.blurb img, 331 p.blurb img 332 { 333 padding: 1pt; 334 } 335 336/*============================================================================= 337Variable Lists 338=============================================================================*/ 339 340 div.variablelist 341 { 342 margin: 1em 0; 343 } 344 345 /* Make the terms in definition lists bold */ 346 div.variablelist dl dt, 347 span.term 348 { 349 font-weight: bold; 350 font-size: 10pt; 351 } 352 353 div.variablelist table tbody tr td 354 { 355 text-align: left; 356 vertical-align: top; 357 padding: 0em 2em 0em 0em; 358 font-size: 10pt; 359 margin: 0em 0em 0.5em 0em; 360 line-height: 1; 361 } 362 363 div.variablelist dl dt 364 { 365 margin-bottom: 0.2em; 366 } 367 368 div.variablelist dl dd 369 { 370 margin: 0em 0em 0.5em 2em; 371 font-size: 10pt; 372 } 373 374 div.variablelist table tbody tr td p, 375 div.variablelist dl dd p 376 { 377 margin: 0em 0em 0.5em 0em; 378 line-height: 1; 379 } 380 381/*============================================================================= 382Misc 383=============================================================================*/ 384 385 /* Title of books and articles in bibliographies */ 386 span.title 387 { 388 font-style: italic; 389 } 390 391 span.underline 392 { 393 text-decoration: underline; 394 } 395 396 span.strikethrough 397 { 398 text-decoration: line-through; 399 } 400 401 /* Copyright, Legal Notice */ 402 div div.legalnotice p 403 { 404 text-align: left 405 } 406 407/*============================================================================= 408Colors 409=============================================================================*/ 410 411 @media screen 412 { 413 body { 414 background-color: #FFFFFF; 415 color: #000000; 416 } 417 418 /* Syntax Highlighting */ 419 .property, 420 .highlight .k, 421 .highlight .kc, 422 .highlight .kd, 423 .highlight .kn, 424 .highlight .kp, 425 .highlight .kr, 426 .highlight .kt, 427 .keyword { color: #0000AA; } 428 429 .highlight .n, 430 .highlight .na, 431 .highlight .nb, 432 .highlight .bp, 433 .highlight .nc, 434 .highlight .no, 435 .highlight .nd, 436 .highlight .ni, 437 .highlight .ne, 438 .highlight .nf, 439 .highlight .py, 440 .highlight .nl, 441 .highlight .nn, 442 .highlight .nx, 443 .highlight .nt, 444 .highlight .nv, 445 .highlight .vc, 446 .highlight .vg, 447 .highlight .vi, 448 .identifier { color: #000000; } 449 450 .special { color: #707070; } 451 452 .highlight .cp, 453 .preprocessor { color: #402080; } 454 455 .highlight .sc 456 .char { color: teal; } 457 458 .highlight .c, 459 .highlight .ch, 460 .highlight .cm, 461 .highlight .cp, 462 .highlight .cpf, 463 .highlight .c1, 464 .highlight .cs, 465 .highlight .sd, 466 .highlight .sh, 467 .comment { color: #800000; } 468 469 .highlight .s, 470 .highlight .sa, 471 .highlight .sb, 472 .highlight .dl, 473 .highlight .s2, 474 .highlight .se, 475 .highlight .si, 476 .highlight .sx, 477 .highlight .sr, 478 .highlight .s1, 479 .highlight .ss, 480 .string { color: teal; } 481 482 .highlight .m, 483 .highlight .mf, 484 .highlight .mh, 485 .highlight .mi, 486 .highlight .mo, 487 .number { color: teal; } 488 489 .highlight, 490 .white_bkd { background-color: #FFFFFF; } 491 492 .highlight .hll, 493 .dk_grey_bkd { background-color: #999999; } 494 495 /* Links */ 496 a, a .keyword, a .identifier, a .special, a .preprocessor 497 a .char, a .comment, a .string, a .number 498 { 499 color: #005a9c; 500 } 501 502 a:visited, a:visited .keyword, a:visited .identifier, 503 a:visited .special, a:visited .preprocessor a:visited .char, 504 a:visited .comment, a:visited .string, a:visited .number 505 { 506 color: #9c5a9c; 507 } 508 509 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, 510 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, 511 h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited 512 { 513 text-decoration: none; /* no underline */ 514 color: #000000; 515 } 516 517 /* Copyright, Legal Notice */ 518 .copyright 519 { 520 color: #666666; 521 font-size: small; 522 } 523 524 div div.legalnotice p 525 { 526 color: #666666; 527 } 528 529 /* Program listing */ 530 pre.synopsis 531 { 532 border: 1px solid #DCDCDC; 533 } 534 535 div.highlight, 536 .programlisting, 537 .screen 538 { 539 border: 1px solid #DCDCDC; 540 } 541 542 td .programlisting, 543 td .screen 544 { 545 border: 0px solid #DCDCDC; 546 } 547 548 /* Blurbs */ 549 div.note, 550 div.tip, 551 div.important, 552 div.caution, 553 div.warning, 554 div.blurb, 555 p.blurb 556 { 557 border: 1px solid #DCDCDC; 558 } 559 560 /* Table of contents */ 561 div.toc 562 { 563 border: 1px solid #DCDCDC; 564 } 565 566 /* Tables */ 567 div.informaltable table tr td, 568 div.table table tr td 569 { 570 border: 1px solid #DCDCDC; 571 } 572 573 div.informaltable table tr th, 574 div.table table tr th 575 { 576 background-color: #F0F0F0; 577 border: 1px solid #DCDCDC; 578 } 579 580 .copyright-footer 581 { 582 color: #8F8F8F; 583 } 584 585 /* Misc */ 586 span.highlight 587 { 588 color: #00A000; 589 } 590 } 591 592 @media print 593 { 594 /* Links */ 595 a 596 { 597 color: black; 598 } 599 600 a:visited 601 { 602 color: black; 603 } 604 605 .spirit-nav 606 { 607 display: none; 608 } 609 610 /* Program listing */ 611 pre.synopsis 612 { 613 border: 1px solid gray; 614 } 615 616 div.highlight, 617 .programlisting, 618 .screen 619 { 620 border: 1px solid gray; 621 } 622 623 td .programlisting, 624 td .screen 625 { 626 border: 0px solid #DCDCDC; 627 } 628 629 /* Table of contents */ 630 div.toc 631 { 632 border: 1px solid gray; 633 } 634 635 .informaltable table, 636 .table table 637 { 638 border: 1px solid gray; 639 border-collapse: collapse; 640 } 641 642 /* Tables */ 643 div.informaltable table tr td, 644 div.table table tr td 645 { 646 border: 1px solid gray; 647 } 648 649 div.informaltable table tr th, 650 div.table table tr th 651 { 652 border: 1px solid gray; 653 } 654 655 table.simplelist tr td 656 { 657 border: none !important; 658 } 659 660 /* Misc */ 661 span.highlight 662 { 663 font-weight: bold; 664 } 665 } 666 667/*============================================================================= 668Images 669=============================================================================*/ 670 671 span.inlinemediaobject img 672 { 673 vertical-align: middle; 674 } 675 676/*============================================================================== 677Super and Subscript: style so that line spacing isn't effected, see 678http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341 679==============================================================================*/ 680 681sup, 682sub { 683height: 0; 684line-height: 1; 685vertical-align: baseline; 686position: relative; 687 688} 689 690/* For internet explorer: */ 691 692* html sup, 693* html sub { 694vertical-align: bottom; 695} 696 697sup { 698bottom: 1ex; 699} 700 701sub { 702top: .5ex; 703} 704 705/*============================================================================== 706Indexes: pretty much the same as the TOC. 707==============================================================================*/ 708 709 .index 710 { 711 font-size: 80%; 712 padding-top: 0px; 713 padding-bottom: 0px; 714 margin-top: 0px; 715 margin-bottom: 0px; 716 margin-left: 0px; 717 } 718 719 .index ul 720 { 721 padding-left: 3em; 722 } 723 724 .index p 725 { 726 padding: 2px; 727 margin: 2px; 728 } 729 730 .index-entry-level-0 731 { 732 font-weight: bold; 733 } 734 735 .index em 736 { 737 font-weight: bold; 738 } 739 740 741/*============================================================================== 742Alignment and coloring use 'role' feature, available from Quickbook 1.6 up. 743Added from Niall Douglas for role color and alignment. 744http://article.gmane.org/gmane.comp.lib.boost.devel/243318 745*/ 746 747/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */ 748span.aligncenter 749{ 750 display: inline-block; width: 100%; text-align: center; 751} 752span.alignright 753{ 754 display: inline-block; width: 100%; text-align: right; 755} 756/* alignleft is the default. */ 757span.alignleft 758{ 759 display: inline-block; width: 100%; text-align: left; 760} 761 762/* alignjustify stretches the word spacing so that each line has equal width 763within a chosen fraction of page width (here arbitrarily 20%). 764*Not* useful inside table items as the column width remains the total string width. 765Nor very useful, except to temporarily restrict the width. 766*/ 767span.alignjustify 768{ 769 display: inline-block; width: 20%; text-align: justify; 770} 771 772/* Text colors. 773Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords. 774Quickbook Usage: [role red Some red text] 775 776*/ 777span.red { inline-block; color: red; } 778span.green { color: green; } 779span.lime { color: #00FF00; } 780span.blue { color: blue; } 781span.navy { color: navy; } 782span.yellow { color: yellow; } 783span.magenta { color: magenta; } 784span.indigo { color: #4B0082; } 785span.cyan { color: cyan; } 786span.purple { color: purple; } 787span.gold { color: gold; } 788span.silver { color: silver; } /* lighter gray */ 789span.gray { color: #808080; } /* light gray */ 790 791 792 793 794 795 796/* section-basic.css */ 797/* 798 Copyright 2005-2008 Redshift Software, Inc. 799 Distributed under the Boost Software License, Version 1.0. 800 (See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt) 801*/ 802/*@import url(css_0/header.css);*/ 803/* 804 Copyright 2005-2008 Redshift Software, Inc. 805 Distributed under the Boost Software License, Version 1.0. 806 (See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt) 807*/ 808/* Heading, title and logo. */ 809 810/* Position the common heading. This appears on pages which have their own 811 * markup. Since the body might have a margin this has to be absolutely 812 * positioned. The spacer then pushes the page content down so that it 813 * doesn't fall underneath the heading. */ 814#boost-common-heading-doc { 815 position: absolute; 816 left: 0; 817 top: 0; 818} 819body.boost-asciidoctor #boost-common-heading-doc { 820 position: static; 821} 822 823#boost-common-heading-doc-spacer { 824 height: 100px; 825} 826body.boost-asciidoctor #boost-common-heading-doc-spacer { 827 display: none; 828} 829 830#boost-common-heading-doc, 831#heading { 832 margin: 0em; 833 border-bottom: #000000 solid 1px; 834 width: 100%; 835 font-family: sans-serif; 836 font-size: 9.5pt; 837} 838#boost-common-heading-doc .heading-inner, 839#heading .heading-inner { 840 height: 100px; 841 overflow: hidden; 842} 843 844#boost-common-heading-doc *, 845#heading * { 846 font-size: 100%; 847 font-weight: normal; 848 margin: 0; 849 padding: 0; 850 text-decoration: none; 851} 852#boost-common-heading-doc .heading-placard, 853#heading .heading-placard { 854 display: none; 855} 856#boost-common-heading-doc .heading-title .heading-boost, 857#boost-common-heading-doc .heading-title .heading-cpplibraries, 858#heading .heading-title .heading-boost, 859#heading .heading-title .heading-cpplibraries { 860 display: none; 861} 862#boost-common-heading-doc .heading-title, 863#heading .heading-title { 864 float: left; 865} 866#boost-common-heading-doc .heading-title a, 867#heading .heading-title a { 868} 869#boost-common-heading-doc .heading-logo, 870#heading .heading-logo { 871 width: 270px; 872 height: 90px; 873 border: none; 874 vertical-align: bottom; 875 margin: 0px 0px 0px 1.5em; 876} 877#boost-common-heading-doc .heading-quote, 878#heading .heading-quote { 879 text-align: right; 880 padding: 25px 1.5em 10px 0em; 881} 882#boost-common-heading-doc .heading-quote q, 883#heading .heading-quote q { 884 font-size: 90%; 885 display: block; 886} 887#boost-common-heading-doc .heading-quote .heading-attribution, 888#heading .heading-quote .heading-attribution { 889 font-size: 85%; 890 display: block; 891} 892@media (max-device-width: 480px) { 893 .heading-quote { 894 display: none; 895 } 896} 897#boost-common-heading-doc .heading-sections, 898#heading .heading-sections { 899 display: none; 900} 901#boost-common-heading-doc .heading-search, 902#heading .heading-search { 903 display: none; 904 text-align: right; 905 padding: 0em 1.5em 0em 0em; 906} 907#boost-common-heading-doc .heading-search #search-text .q, 908#heading .heading-search #search-text .q { 909 background: transparent; 910 border: none; 911 border-bottom: 1px #BBBBBB solid; 912 margin-right: 0.25em; 913 font-size: 90%; 914} 915#boost-common-heading-doc .heading-search #search-text #q:hover, 916#heading .heading-search #search-text #q:hover { 917 border-bottom: 1px #FFFFFF solid; 918} 919 920.boost-common-header-notice { 921 font-family: sans-serif; 922 font-size: 13px; 923 border: 1px solid #aa5; 924 background: #ffc; 925 color: #000; 926} 927 928a.boost-common-header-inner, 929span.boost-common-header-inner, 930div.boost-common-header-inner { 931 display: block; 932 padding: 10px 13px; 933 text-decoration: none; 934 color: #000; 935} 936 937a.boost-common-header-inner:hover { 938 text-decoration: underline; 939} 940 941@media all and (min-width: 550px) { 942 .boost-common-header-notice { 943 position: absolute; 944 top: 10px; 945 max-width: 400px; 946 max-height: 80px; 947 overflow: hidden; 948 box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); 949 margin-left: 300px; 950 } 951} 952 953 954/*@import url(css_0/theme_grape/header.css);*/ 955/* 956 Copyright 2005-2006 Redshift Software, Inc. 957 Distributed under the Boost Software License, Version 1.0. 958 (See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt) 959*/ 960 961/* Heading, title and logo. */ 962#heading, 963#boost-common-heading-doc { 964 /*background: #574D74 url(/images/header-bg.png) repeat-x top left;*/ 965} 966#heading *, 967#boost-common-heading-doc * { 968 color: #FFFFFF; 969} 970#heading .heading-inner, 971#boost-common-heading-doc .heading-inner { 972 /*background: url(/images/header-fg.png) no-repeat top left;*/ 973 border: none; 974 border-bottom: #000000 solid 1px; 975} 976#boost-common-heading-doc .heading-logo, 977#heading .heading-logo { 978 width: 236px; 979 height: 55px; 980 margin: 18px 0px 0px 24px; 981} 982 983/* Links in the header. */ 984#boost-common-heading-doc .heading-quote a, 985#heading .heading-quote a { 986 border-bottom: 1px solid #BBBBBB; 987} 988#boost-common-heading-doc .heading-quote a:hover, 989#heading .heading-quote a:hover { 990 border-bottom: 1px solid #FFFFFF; 991} 992#boost-common-heading-doc .heading-quote a:visited, 993#heading .heading-quote a:visited { 994 border-bottom: 1px dotted #BBBBBB; 995} 996#boost-common-heading-doc .heading-quote a:visited:hover, 997#heading .heading-quote a:visited:hover { 998 border-bottom: 1px dotted #FFFFFF; 999} 1000 1001 1002pre, div.toc 1003{ 1004 overflow: auto; 1005} 1006 1007div.note table, 1008div.tip table, 1009div.important table, 1010div.caution table, 1011div.warning table, 1012div.blurb table 1013{ 1014 table-layout: fixed; 1015 width: 100%; 1016 overflow-wrap: break-word; 1017} 1018 1019span.inlinemediaobject img 1020{ 1021 max-width: 100%; 1022} 1023 1024 1025 1026 1027 1028 1029/* Overrides to handle differences between BoostBook output and Hugo's. 1030*/ 1031h1 { font-size: 150%; } 1032/* Fix that Hugo always puts a <p> into each <li> */ 1033li p:first-child { 1034 display: inline; 1035 text-align: inherit; 1036 font-size: inherit; 1037 line-height: inherit; 1038} 1039/* Fix that raw dl is not styled */ 1040dl { 1041 text-align: left; 1042 font-size: 10pt; 1043 line-height: 1.15; 1044} 1045/* Fix that preformatted outside div.highlight is not styled */ 1046pre { 1047 font-size: 10pt; 1048 margin: 1pc 4% 0pc 4%; 1049 padding: 0.5pc 0.5pc 0.5pc 0.5pc; 1050} 1051div.highlight pre { 1052 font-size: inherit; 1053 margin: initial; 1054 padding: initial; 1055} 1056 1057/* We don't use tables for notes like BoostBook */ 1058div.note, 1059div.tip, 1060div.important, 1061div.caution, 1062div.warning, 1063div.blurb { 1064 position: relative; 1065} 1066div.notices div.heading { 1067 margin-left: 40px; 1068 text-transform: capitalize; 1069 font-weight: bold; 1070 font-size: larger; 1071} 1072div.notices div.message { 1073 margin-left: 40px; 1074} 1075 1076/* Bits ported over from local.css for the DocDock theme. 1077This renders the "View on Github" link. 1078*/ 1079div.code-snippet { 1080 position: relative; 1081} 1082div.code-snippet a.code-snippet-url { 1083 font-size: 7pt; 1084 position: absolute; 1085 right: 4%; 1086 top: 0.7em; 1087 padding-right: 1em; 1088} 1089/* This renders the tutorial TOC */ 1090.children p { 1091 margin-top: 0px; 1092 margin-bottom: 0px; 1093 padding-top: 0px; 1094 padding-bottom: 0px; 1095} 1096.children-li p { 1097 font-size: small; 1098 font-style: italic; 1099} 1100ol.children li { 1101 margin-top: 0.75em; 1102} 1103ol.children ol { 1104 list-style-type: lower-alpha; 1105} 1106ol.children ol li { 1107 margin-top: 0; 1108} 1109/* This styles captioned figures */ 1110figure { 1111 margin: 1em 40px; 1112} 1113figure img { 1114 border: 0; 1115 max-width: 80%; 1116 margin: 3rem auto; 1117 display: block; 1118 text-align: center; 1119} 1120figure figcaption { 1121 margin-top: -2em; 1122} 1123figure figcaption h4 { 1124 text-align: center; 1125 font-size: small; 1126} 1127