|
|
@@ -1,186 +1,343 @@
|
|
|
-th
|
|
|
+/*=============================================================================
|
|
|
+ Copyright (c) 2002 2004 Joel de Guzman, Eric Niebler, Rene Rivera
|
|
|
+ http://spirit.sourceforge.net/
|
|
|
+
|
|
|
+ Use, modification and distribution is subject to the Boost Software
|
|
|
+ License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
|
+ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
+=============================================================================*/
|
|
|
+
|
|
|
+/* CSS based on w3c documentation which I like a lot, and the classic Spirit
|
|
|
+documentation. */
|
|
|
+
|
|
|
+/* Body defaults */
|
|
|
+body
|
|
|
{
|
|
|
- font-weight: bold;
|
|
|
- text-align: center;
|
|
|
+ padding: 2em 1em 2em 1em;
|
|
|
+ margin: 1em 1em 1em 1em;
|
|
|
+ font-family: sans-serif;
|
|
|
}
|
|
|
|
|
|
-a img{ border: 0.1em solid black; }
|
|
|
+/* Paragraphs */
|
|
|
+p
|
|
|
+{
|
|
|
+ text-align: justify;
|
|
|
+}
|
|
|
|
|
|
-.title, .refnamediv h2, .standalone-title
|
|
|
+pre.synopsis
|
|
|
{
|
|
|
- font-weight: bold;
|
|
|
- font-size: 2pc;
|
|
|
- font-family: Times New Roman;
|
|
|
- margin-bottom: 1pc;
|
|
|
+ margin: 1pc 4% 0pc 4%;
|
|
|
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
|
|
|
}
|
|
|
|
|
|
-.toc
|
|
|
+/* Headings */
|
|
|
+h1, h2, h3, h4, h5, h6 { text-align: left; margin-top: 2pc; }
|
|
|
+h1 { font: 170% sans-serif }
|
|
|
+h2 { font: bold 140% sans-serif }
|
|
|
+h3 { font: 120% sans-serif }
|
|
|
+h4 { font: bold 100% sans-serif }
|
|
|
+h5 { font: italic 100% sans-serif }
|
|
|
+h6 { font: italic 100% sans-serif }
|
|
|
+
|
|
|
+/* Unordered lists */
|
|
|
+ul
|
|
|
{
|
|
|
- margin-left: 15%;
|
|
|
- margin-right: 15%;
|
|
|
- margin-top: 1pc;
|
|
|
- margin-bottom: 0pc;
|
|
|
- padding: 0.5pc;
|
|
|
+ text-align: justify;
|
|
|
}
|
|
|
|
|
|
-.boost-toc
|
|
|
+/* Links */
|
|
|
+a
|
|
|
{
|
|
|
- float: right;
|
|
|
- padding: 0.5pc;
|
|
|
+ text-decoration: none; /* no underline */
|
|
|
+}
|
|
|
+
|
|
|
+a:hover
|
|
|
+{
|
|
|
+ text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
+/* Top page title */
|
|
|
+title, h1.title, h2.title, h3.title,
|
|
|
+ h4.title, h5.title, h6.title,
|
|
|
+ .refentrytitle
|
|
|
+{
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 2pc;
|
|
|
+ margin-bottom: 1pc;
|
|
|
+}
|
|
|
+
|
|
|
+/* Spirit style navigation */
|
|
|
.spirit-nav
|
|
|
{
|
|
|
- text-align: right;
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
|
|
|
.spirit-nav a
|
|
|
{
|
|
|
- padding-left: 0.5em;
|
|
|
+ color: white;
|
|
|
+ padding-left: 0.5em;
|
|
|
+}
|
|
|
+
|
|
|
+.spirit-nav img
|
|
|
+{
|
|
|
+ border-width: 0px;
|
|
|
+}
|
|
|
+
|
|
|
+/* Program listing box */
|
|
|
+.programlisting, .screen
|
|
|
+{
|
|
|
+ display: block;
|
|
|
+ margin-left: 4%;
|
|
|
+ margin-right: 4%;
|
|
|
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
|
|
|
}
|
|
|
|
|
|
-div pre.programlisting, .refsynopsisdiv
|
|
|
+/* Table of contents */
|
|
|
+.toc
|
|
|
{
|
|
|
- margin-left: 3pc;
|
|
|
- margin-right: 3pc;
|
|
|
+ margin: 1pc 4% 0pc 4%;
|
|
|
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
|
|
|
}
|
|
|
|
|
|
-.computeroutput, .command
|
|
|
+.boost-toc
|
|
|
{
|
|
|
- font-family: Lucida Console;
|
|
|
- font-size: 80%;
|
|
|
+ float: right;
|
|
|
+ padding: 0.5pc;
|
|
|
}
|
|
|
|
|
|
-.title, .refnamediv h2
|
|
|
+/* Tables */
|
|
|
+.table-title, div.table p.title
|
|
|
{
|
|
|
- text-align: center;
|
|
|
+ margin-left: 4%;
|
|
|
+ padding-right: 0.5em;
|
|
|
+ padding-left: 0.5em;
|
|
|
+ font-size: 120%;
|
|
|
}
|
|
|
|
|
|
-.section .section .title, .chapter .section .title, .table .title
|
|
|
+.informaltable table, .table table
|
|
|
{
|
|
|
- text-align: left;
|
|
|
+ width: 92%;
|
|
|
+ margin-left: 4%;
|
|
|
+ margin-right: 4%;
|
|
|
}
|
|
|
|
|
|
-.informaltable table
|
|
|
+div.informaltable table, div.table table
|
|
|
{
|
|
|
- width: 100%;
|
|
|
+ padding: 4px 4px 4px 4px;
|
|
|
}
|
|
|
|
|
|
-i.firstterm
|
|
|
+div.informaltable table tr td, div.table table tr td
|
|
|
{
|
|
|
- font-style: normal;
|
|
|
- font-weight: bold;
|
|
|
+ padding: 0.5em 0.5em 0.5em 0.5em;
|
|
|
+ text-align: justify;
|
|
|
+}
|
|
|
+
|
|
|
+div.informaltable table tr th, div.table table tr th
|
|
|
+{
|
|
|
+ padding: 0.5em 0.5em 0.5em 0.5em;
|
|
|
+ border: 1pt solid white;
|
|
|
+}
|
|
|
+
|
|
|
+/* inlined images */
|
|
|
+.inlinemediaobject
|
|
|
+{
|
|
|
+ padding: 0.5em 0.5em 0.5em 0.5em;
|
|
|
}
|
|
|
|
|
|
/* tone down the title of Parameter lists */
|
|
|
div.variablelist p.title
|
|
|
{
|
|
|
- font-weight: bold;
|
|
|
- font-size: 100%;
|
|
|
- text-align: left;
|
|
|
- background-color: white;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 100%;
|
|
|
+ text-align: left;
|
|
|
}
|
|
|
|
|
|
/* tabularize parameter lists */
|
|
|
div.variablelist dl dt
|
|
|
{
|
|
|
- float: left;
|
|
|
- clear: left;
|
|
|
- font-style: italic;
|
|
|
+ float: left;
|
|
|
+ clear: left;
|
|
|
+ display: block;
|
|
|
+ font-style: italic;
|
|
|
}
|
|
|
|
|
|
div.variablelist dl dd
|
|
|
{
|
|
|
- padding-left: 8pc;
|
|
|
+ display: block;
|
|
|
+ clear: right;
|
|
|
+ padding-left: 8pc;
|
|
|
}
|
|
|
|
|
|
-@media screen
|
|
|
+/* title of books and articles in bibliographies */
|
|
|
+span.title
|
|
|
{
|
|
|
- a{ color: blue; }
|
|
|
-
|
|
|
- th, .title, .refnamediv h2
|
|
|
- {
|
|
|
- background-color: lightskyblue;
|
|
|
- }
|
|
|
-
|
|
|
- span.title
|
|
|
- {
|
|
|
- background-color: white;
|
|
|
- font-size: 100%;
|
|
|
- font-weight: normal;
|
|
|
- }
|
|
|
-
|
|
|
- .section .section .title, .chapter .section .title, .table .title
|
|
|
- {
|
|
|
- background-color: white;
|
|
|
- }
|
|
|
-
|
|
|
- .table table, div.informaltable table, .section-title
|
|
|
- {
|
|
|
- background-color: #EEE;
|
|
|
- }
|
|
|
-
|
|
|
- .table table tr td, div.informaltable table tr td
|
|
|
- {
|
|
|
- background-color: #CCC;
|
|
|
- }
|
|
|
-
|
|
|
- .programlisting, .table-programlisting
|
|
|
- {
|
|
|
- background-color: #EED;
|
|
|
- border: 0.2em ridge #EED;
|
|
|
- padding: 1pc;
|
|
|
- }
|
|
|
-
|
|
|
- .refsynopsisdiv
|
|
|
- {
|
|
|
- background-color: lightskyblue;
|
|
|
- border: 0.2em ridge cyan;
|
|
|
- padding: 1pc;
|
|
|
- font-family: Courier, Lucida Console;
|
|
|
- }
|
|
|
-
|
|
|
- .boost-head
|
|
|
- {
|
|
|
- background-color: #007F7F;
|
|
|
- border: 0.1em outset #007F7F;
|
|
|
- }
|
|
|
-
|
|
|
- .toc, .boost-toc
|
|
|
- {
|
|
|
- background-color: #DDD;
|
|
|
- border: 0.2em ridge lightcoral;
|
|
|
- }
|
|
|
-
|
|
|
- table.boost-head tr td
|
|
|
- {
|
|
|
- border: 0.1em inset #007F7F;
|
|
|
- }
|
|
|
-
|
|
|
- .boost-headelem
|
|
|
- {
|
|
|
- color: white;
|
|
|
- font-family: Arial;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+ font-style: italic;
|
|
|
}
|
|
|
|
|
|
-@media print
|
|
|
+/* tips, notes and warnings done in Spirit style */
|
|
|
+div.tip, div.note, div.warning
|
|
|
+{
|
|
|
+ position: relative;
|
|
|
+ padding: 0.5em;
|
|
|
+ border: 0.5pt solid white;
|
|
|
+}
|
|
|
+
|
|
|
+div.tip .title, div.note .title, div.warning .title
|
|
|
+{
|
|
|
+ display: block;
|
|
|
+ font: bold xx-small sans-serif;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ position: absolute;
|
|
|
+ left: -4em;
|
|
|
+ top: 0em;
|
|
|
+ height: 25px;
|
|
|
+ width: 24px;
|
|
|
+ text-indent: 32px;
|
|
|
+ overflow: hidden;
|
|
|
+ z-index: 2;
|
|
|
+}
|
|
|
+
|
|
|
+div.tip .title
|
|
|
{
|
|
|
- body{ text-align: justify; }
|
|
|
- a{ color: black; }
|
|
|
- table{ border: 0pc; }
|
|
|
+ background: url(images/tip.png);
|
|
|
+}
|
|
|
|
|
|
- .boost-head, table.boost-head tr td
|
|
|
- {
|
|
|
- border: 0em;
|
|
|
- }
|
|
|
+div.note .title
|
|
|
+{
|
|
|
+ background: url(images/note.png);
|
|
|
+}
|
|
|
|
|
|
- .toc{ border: 0.2em solid black; }
|
|
|
+div.warning .title
|
|
|
+{
|
|
|
+ background: url(images/caution.png);
|
|
|
+}
|
|
|
|
|
|
- .table tr td, .table tr th
|
|
|
- {
|
|
|
- border: 0.1em solid black;
|
|
|
- }
|
|
|
+@media screen
|
|
|
+{
|
|
|
+ a
|
|
|
+ {
|
|
|
+ color: #005a9c;
|
|
|
+ }
|
|
|
+
|
|
|
+ a:visited
|
|
|
+ {
|
|
|
+ color: #9c5a9c;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Syntax Highlighting */
|
|
|
+ .keyword { color: #0000AA; font-weight: bold; }
|
|
|
+ .identifier {}
|
|
|
+ .special { color: #707070; }
|
|
|
+ .preprocessor { color: #402080; font-weight: bold; }
|
|
|
+ .char { color: teal; }
|
|
|
+ .comment { color: #800000; }
|
|
|
+ .string { color: teal; }
|
|
|
+ .number { color: teal; }
|
|
|
+ .copyright { color: #666666; font-size: small; }
|
|
|
+ .white_bkd { background-color: #FFFFFF; }
|
|
|
+ .dk_grey_bkd { background-color: #999999; }
|
|
|
+
|
|
|
+ pre.synopsis
|
|
|
+ {
|
|
|
+ background-color: #f3f3f3;
|
|
|
+ }
|
|
|
+
|
|
|
+ .programlisting, .screen
|
|
|
+ {
|
|
|
+ background-color: #f3f3f3;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Table of contents */
|
|
|
+ .toc
|
|
|
+ {
|
|
|
+ background-color: #f3f3f3;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.informaltable table tr td, div.table table tr td
|
|
|
+ {
|
|
|
+ background-color: #F3F3F3;
|
|
|
+ border: 1pt solid white;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.informaltable table tr th, div.table table tr th
|
|
|
+ {
|
|
|
+ background-color: #e4e4e4;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.tip, div.note, div.warning
|
|
|
+ {
|
|
|
+ background-color: #F3F3F3;
|
|
|
+ }
|
|
|
+
|
|
|
+ span.highlight
|
|
|
+ {
|
|
|
+ color: #00A000;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+@media print
|
|
|
+{
|
|
|
+ a
|
|
|
+ {
|
|
|
+ color: black;
|
|
|
+ }
|
|
|
+
|
|
|
+ a:visited
|
|
|
+ {
|
|
|
+ color: black;
|
|
|
+ }
|
|
|
+
|
|
|
+ .spirit-nav
|
|
|
+ {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Syntax Highlighting */
|
|
|
+ .keyword
|
|
|
+ {
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ pre.synopsis
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ .programlisting, .screen
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Table of contents */
|
|
|
+ .toc
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ .informaltable table, .table table
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ border-collapse: collapse;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.informaltable table tr td, div.table table tr td
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.informaltable table tr th, div.table table tr th
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ div.tip, div.note, div.warning
|
|
|
+ {
|
|
|
+ border: 1px solid gray;
|
|
|
+ }
|
|
|
+
|
|
|
+ span.highlight
|
|
|
+ {
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+}
|