mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-07-21 13:23:49 +00:00
Update CSS file with corrected color items, matching Boost.math version
This commit is contained in:
+37
-38
@@ -1,7 +1,5 @@
|
||||
@import url('../../../../doc/src/boostbook.css');
|
||||
/* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
|
||||
|
||||
/* Note:this import link assumes called from doc/html, not from any backup copy in /doc. */
|
||||
/* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
|
||||
|
||||
/*=============================================================================
|
||||
Copyright (c) 2004 Joel de Guzman http://spirit.sourceforge.net/
|
||||
@@ -18,10 +16,14 @@ ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
Visual Studio is recommended for editing this file
|
||||
because it checks syntax, does layout and provides help on options.
|
||||
|
||||
boost-no-inspect to avoid error message from inspect.exe
|
||||
doc\multiprecision.css: Unlinked file
|
||||
(line 1) Broken link: ../../../../doc/src/boostbook.css
|
||||
|
||||
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
|
||||
@@ -40,22 +42,15 @@ Program listings
|
||||
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
|
||||
}
|
||||
|
||||
.programlisting,
|
||||
.screen {
|
||||
font-size: 10pt;
|
||||
display: block;
|
||||
/* was margin: 1pc 4% 0pc 4%;
|
||||
but that led to overflow on some code lines, so reduced and lined up with blockquote indent (see below). */
|
||||
margin: 1pc 2% 0pc 2%;
|
||||
/* https://www.w3schools.com/Css/css_margin.asp margin-top margin-right margin-bottom margin-left.
|
||||
* auto - the browser calculates the margin
|
||||
* length - specifies a margin in px, pt, cm, etc.
|
||||
* % - specifies a margin in % of the width of the containing element
|
||||
* inherit - specifies that the margin should be inherited from the parent element
|
||||
|
||||
*/
|
||||
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 */
|
||||
@@ -131,20 +126,24 @@ span.alignjustify
|
||||
Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
|
||||
Quickbook Usage: [role red Some red text]
|
||||
|
||||
inline-block - Flows a element inline with the text, but allows width and height to be specified.
|
||||
|
||||
https://stackoverflow.com/questions/3043021/is-there-any-guide-on-when-to-use-displayblock-when-inline-and-when-inline-b#:~:text=The%20use%20cases%20for%20block,it%27s%20used%20naturally%20for%20images
|
||||
|
||||
*/
|
||||
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 */
|
||||
span.red { display:inline-block; color: red; }
|
||||
span.green { display:inline-block; color: green; }
|
||||
span.lime { display:inline-block; color: #00FF00; }
|
||||
span.blue { display:inline-block; color: blue; }
|
||||
span.navy { display:inline-block; color: navy; }
|
||||
span.yellow { display:inline-block; color: yellow; }
|
||||
span.magenta { display:inline-block; color: magenta; }
|
||||
span.indigo { display:inline-block; color: #4B0082; }
|
||||
span.cyan { display:inline-block; color: cyan; }
|
||||
span.purple { display:inline-block; color: purple; }
|
||||
span.gold { display:inline-block; color: gold; }
|
||||
span.silver { display:inline-block; color: silver; } /* lighter gray */
|
||||
span.gray { display:inline-block; color: #808080; } /* light gray */
|
||||
|
||||
/* role for inline Unicode mathematical equations,
|
||||
making font an italic (as is conventional for equations)
|
||||
@@ -152,7 +151,7 @@ span.gray { color: #808080; } /* light gray */
|
||||
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.
|
||||
|
||||
Can be combined with colors and bold.
|
||||
*/
|
||||
span.serif_italic {
|
||||
font-family: serif;
|
||||
@@ -161,7 +160,7 @@ span.serif_italic {
|
||||
font-stretch: expanded;
|
||||
}
|
||||
|
||||
/* Custom indent of paragraphs to make equations look nicer, 2% to match that indent of code block above.
|
||||
/* 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: "
|
||||
*/
|
||||
|
||||
+37
-38
@@ -1,7 +1,5 @@
|
||||
@import url('../../../../doc/src/boostbook.css');
|
||||
/* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
|
||||
|
||||
/* Note:this import link assumes called from doc/html, not from any backup copy in /doc. */
|
||||
/* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
|
||||
|
||||
/*=============================================================================
|
||||
Copyright (c) 2004 Joel de Guzman http://spirit.sourceforge.net/
|
||||
@@ -18,10 +16,14 @@ ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
Visual Studio is recommended for editing this file
|
||||
because it checks syntax, does layout and provides help on options.
|
||||
|
||||
boost-no-inspect to avoid error message from inspect.exe
|
||||
doc\multiprecision.css: Unlinked file
|
||||
(line 1) Broken link: ../../../../doc/src/boostbook.css
|
||||
|
||||
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
|
||||
@@ -40,22 +42,15 @@ Program listings
|
||||
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
|
||||
}
|
||||
|
||||
.programlisting,
|
||||
.screen {
|
||||
font-size: 10pt;
|
||||
display: block;
|
||||
/* was margin: 1pc 4% 0pc 4%;
|
||||
but that led to overflow on some code lines, so reduced and lined up with blockquote indent (see below). */
|
||||
margin: 1pc 2% 0pc 2%;
|
||||
/* https://www.w3schools.com/Css/css_margin.asp margin-top margin-right margin-bottom margin-left.
|
||||
* auto - the browser calculates the margin
|
||||
* length - specifies a margin in px, pt, cm, etc.
|
||||
* % - specifies a margin in % of the width of the containing element
|
||||
* inherit - specifies that the margin should be inherited from the parent element
|
||||
|
||||
*/
|
||||
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 */
|
||||
@@ -131,20 +126,24 @@ span.alignjustify
|
||||
Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
|
||||
Quickbook Usage: [role red Some red text]
|
||||
|
||||
inline-block - Flows a element inline with the text, but allows width and height to be specified.
|
||||
|
||||
https://stackoverflow.com/questions/3043021/is-there-any-guide-on-when-to-use-displayblock-when-inline-and-when-inline-b#:~:text=The%20use%20cases%20for%20block,it%27s%20used%20naturally%20for%20images
|
||||
|
||||
*/
|
||||
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 */
|
||||
span.red { display:inline-block; color: red; }
|
||||
span.green { display:inline-block; color: green; }
|
||||
span.lime { display:inline-block; color: #00FF00; }
|
||||
span.blue { display:inline-block; color: blue; }
|
||||
span.navy { display:inline-block; color: navy; }
|
||||
span.yellow { display:inline-block; color: yellow; }
|
||||
span.magenta { display:inline-block; color: magenta; }
|
||||
span.indigo { display:inline-block; color: #4B0082; }
|
||||
span.cyan { display:inline-block; color: cyan; }
|
||||
span.purple { display:inline-block; color: purple; }
|
||||
span.gold { display:inline-block; color: gold; }
|
||||
span.silver { display:inline-block; color: silver; } /* lighter gray */
|
||||
span.gray { display:inline-block; color: #808080; } /* light gray */
|
||||
|
||||
/* role for inline Unicode mathematical equations,
|
||||
making font an italic (as is conventional for equations)
|
||||
@@ -152,7 +151,7 @@ span.gray { color: #808080; } /* light gray */
|
||||
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.
|
||||
|
||||
Can be combined with colors and bold.
|
||||
*/
|
||||
span.serif_italic {
|
||||
font-family: serif;
|
||||
@@ -161,7 +160,7 @@ span.serif_italic {
|
||||
font-stretch: expanded;
|
||||
}
|
||||
|
||||
/* Custom indent of paragraphs to make equations look nicer, 2% to match that indent of code block above.
|
||||
/* 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: "
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user