boost.css 24 KB

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