summaryrefslogtreecommitdiffstats
path: root/htdocs/docs.css
blob: 90a3e404560c25d8a3d3f55cc48aed2c1c0c8eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*!
   Documentation Style Sheet for the W3C Markup Validation Service.
 
   Copyright 2003 W3C (MIT, INRIA, Keio). All Rights Reserved.
   See <http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright>
*/

/*
   Please Note:
   Every selector in this stylesheet should require a parent element with the
   class ".doc" to avoid namespace clashes. Currently the class is set on a
   "div" element, but there is no reason to limit it to that. i.e. use the
   ".doc" selector as parent, not "div.doc".
*/


/* Margins common (relative) to multiple block elements. */
.doc h4, .doc h5, .doc p, .doc pre, .doc ul, .doc table
{
 margin-left: 1em;
 /* margin-right: 20%; */
margin-right: 1em;
}

/* Set line height to 1.4x (from 1.3x on general site) to allow for various inline decoration. */
.doc {
  line-height: 140%; 
}

/* documentation - table of contents */
#toc { /* making the toc a bit more compact and standing out */
    font-size: .85em;
    font-weight: bold;
    margin-bottom: 40px;
}

.doc div#toc ol {
   list-style-type: decimal;
}
.doc div#toc ol li ol {
   list-style-type: lower-alpha;
}
.doc div#toc ol li ol li ol{
   list-style-type: lower-roman;
}


/* documentation - error explanations */
dl#expl dt code { /* headings for an error */
  white-space: normal;
  font-weight: bold;
}

dl#expl dt {
  border-top: 1px dashed black;
  margin-top: 2em;
  margin-bottom: 1em;
}

.doc dd {
  margin-right: 0; /* no need for the extra margin if we nicely put the text of the dd in a paragraph */
}
.doc var { /* headings for an error */
  color: #006;
}

/* A snippet of code used inline. */
.doc code {
  white-space: normal;
  font-weight: bold;
  display: inline;
  padding-left: .2em;
  padding-right: .2em;
  background: #eef;
  color:      #337;
  font-family: "Bitstream Vera Sans Mono", monospace;
  border: 1px dotted #ccf;
}

.doc code.block {
  display: block;
  padding: 1em;
  white-space: pre;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-right:  3em;
}

.doc code samp {
  font-weight: normal;
  color: black;
  font-style: italic;
}

/* reference tables */

.doc table {
	border-collapse: collapse;
	border-right: 1px solid #ccc;
}
.doc table td, .doc table th{
	border-top: 0px solid #ddd;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #eee;
	padding: 6px;
	border-collapse: collapse;
}
.doc table th {
	background-color: #eee;
	color: #11111A;
	border-right: 1px solid #ccc;
}