123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- @import url('../../../../doc/src/boostbook.css');
- /* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
- /*=============================================================================
- Copyright (c) 2004 Joel de Guzman http://spirit.sourceforge.net/
- Copyright (c) 2014 John Maddock
- Copyright 2013 Niall Douglas additions for colors and alignment.
- Copyright 2013 Paul A. Bristow additions for more colors and alignments.
- Copyright 2019 Paul A. Bristow additions for more control of serif-italic font etc.
- Distributed under the Boost Software License, Version 1.0. (See accompany-
- ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- This Cascading Style Sheet is used to override and add to the standard Boost
- CSS BoostBook for a particular library, for example Boost.Math and Boost.Multiprecision.
- Visual Studio is recommended for editing this file
- because it checks syntax, does layout and provides help on options.
- IMPORTANT: there are two versions of this file -
- one in libs/math/doc and one in libs/math/doc/html
- ONLY EVER EDIT THE FIRST OF THESE !!!!
- =============================================================================*/
- /*=============================================================================
- Program listings
- =============================================================================*/
- /* Code on paragraphs */
- p tt.computeroutput
- {
- font-size: 10pt;
- }
- pre.synopsis
- {
- font-size: 10pt;
- margin: 1pc 4% 0pc 4%;
- padding: 0.5pc 0.5pc 0.5pc 0.5pc;
- }
- .programlisting,
- .screen
- {
- font-size: 10pt;
- display: block;
- /* was margin: 1pc 4% 0pc 4%; */
- margin: 1pc 2% 0pc 2%;
- padding: 0.5pc 0.5pc 0.5pc 0.5pc;
- }
- @media screen
- {
- /* Syntax Highlighting */
- .comment { color: green; }
- /* .comment { color: #008000; } */
- }
- /* Program listings in tables don't get borders */
- td .programlisting,
- td .screen
- {
- margin: 0pc 0pc 0pc 0pc;
- padding: 0pc 0pc 0pc 0pc;
- }
- /*=============================================================================
- Table of contents
- =============================================================================*/
- div.toc
- {
- margin: 1pc 4% 0pc 4%;
- padding: 0.1pc 1pc 0.1pc 1pc;
- font-size: 100%;
- line-height: 1.15;
- }
- .boost-toc
- {
- float: right;
- padding: 0.5pc;
- }
- /* Code on toc */
- .toc .computeroutput { font-size: 120% }
- /* No margin on nested menus */
- .toc dl dl { margin: 0; }
- /*==============================================================================
- Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
- Added from Niall Douglas for role color and alignment.
- http://article.gmane.org/gmane.comp.lib.boost.devel/243318
- */
- /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
- span.aligncenter
- {
- display: inline-block; width: 100%; text-align: center;
- }
- span.alignright
- {
- display: inline-block; width: 100%; text-align: right;
- }
- /* alignleft is the default. */
- span.alignleft
- {
- display: inline-block; width: 100%; text-align: left;
- }
- /* alignjustify stretches the word spacing so that each line has equal width
- within a chosen fraction of page width (here arbitrarily 20%).
- *Not* useful inside table items as the column width remains the total string width.
- Nor very useful, except to temporarily restrict the width.
- */
- span.alignjustify
- {
- display: inline-block; width: 20%; text-align: justify;
- }
- /* Text colors.
- Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
- Quickbook Usage: [role red Some red text]
- */
- span.red { inline-block; color: red; }
- span.green { color: green; }
- span.lime { color: #00FF00; }
- span.blue { color: blue; }
- span.navy { color: navy; }
- span.yellow { color: yellow; }
- span.magenta { color: magenta; }
- span.indigo { color: #4B0082; }
- span.cyan { color: cyan; }
- span.purple { color: purple; }
- span.gold { color: gold; }
- span.silver { color: silver; } /* lighter gray */
- span.gray { color: #808080; } /* light gray */
- /* role for inline Unicode mathematical equations,
- making font an italic (as is conventional for equations)
- and a serif version of font (to match those generated using .mml to SVG or PNG)
- and a little bigger (* 125%) because the serif font appears smaller than the default sans serif fonts.
- Used, for example: [role serif_italic This is in serif font and italic].
- Used in turn by template for inline expressions to match equations as SVG or PNG images.
- */
- span.serif_italic {
- font-family: serif;
- font-style: italic;
- font-size: 125%;
- font-stretch: expanded;
- }
- /* Custom indent of paragraphs to make equations look nicer.
- https://www.w3schools.com/tags/tag_blockquote.asp says
- "Most browsers will display the <blockquote> element with left and right margin 40px values: "
- */
- blockquote {
- display: block;
- margin-top: 1em;
- margin-bottom: 1em;
- margin-left: 2%;
- margin-right: 2%;
- }
|