1/*
2Original author: Peter Parente
3Date: 2008/01/22
4Version: 1.0 (modified)
5Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
6
7--
8
9Heavily modified for use in nanopb documentation.
102011-2020 Petteri Aimonen
11*/
12
13body {
14  font: 100% sans-serif;
15  background: #ffffff;
16  color: black;
17  margin: 2em;
18  padding: 0em 2em;
19  max-width: 1200px;
20}
21
22p.topic-title {
23  font-weight: bold;
24}
25
26table.docinfo {
27  text-align: left;
28  margin: 2em 0em;
29}
30
31a[href] {
32  color: #436976;
33  background-color: transparent;
34}
35
36a.toc-backref {
37  text-decoration: none;
38}
39
40h1 a[href] {
41  color: #003a6b;
42  text-decoration: none;
43  background-color: transparent;
44}
45
46a.strong {
47  font-weight: bold;
48}
49
50img {
51  margin: 0;
52  border: 0;
53}
54
55blockquote {
56  border-left: 3px solid black;
57  background-color: #f6f6f6;
58  padding: 0.5em 1em 0.2em 1em;
59}
60
61li {
62  margin-bottom: 0.5em;
63}
64
65p {
66  margin: 0.5em 0 1em 0;
67  line-height: 1.5em;
68}
69
70p a:visited {
71  color: purple;
72  background-color: transparent;
73}
74
75p a:active {
76  color: red;
77  background-color: transparent;
78}
79
80a:hover {
81  text-decoration: none;
82}
83
84p img {
85  border: 0;
86  margin: 0;
87}
88
89p.rubric {
90  font-weight: bold;
91  font-style: italic;
92}
93
94em, cite {
95  font-style: normal;
96  font-family: monospace;
97  font-weight: bold;
98}
99
100pre {
101  border-left: 3px double #aaa;
102  padding: 5px 10px;
103  background-color: #f6f6f6;
104}
105
106code {
107  border: 1px solid rgba(128, 128, 128, 0.1);
108  padding: 1px 5px;
109  border-radius: 5px;
110  background-color: rgba(128, 128, 128, 0.05);
111  white-space: nowrap;
112}
113
114pre code {
115  border: none;
116  background-color: transparent;
117  padding: 0px;
118}
119
120h1, h2, h3, h4, h5, h6 {
121  color: #000;
122  background-color: transparent;
123  margin: 0em;
124  padding-top: 0.5em;
125}
126
127h1 {
128  color: #003a6b;
129  font-size: 180%;
130  margin-bottom: 0.5em;
131  border-bottom: 2px solid #aaa;
132}
133
134h2 {
135  color: #003a6b;
136  font-size: 130%;
137  margin-bottom: 0.5em;
138  border-bottom: 1px solid #aaa;
139  margin-top: 1.5em;
140}
141
142h3 {
143  font-size: 120%;
144  margin-bottom: 0.5em;
145  margin-top: 1.0em;
146}
147
148h4 {
149  font-size: 110%;
150  font-weight: bold;
151  margin-bottom: 0.5em;
152  margin-top: 0.5em;
153}
154
155h5 {
156  font-size: 105%;
157  font-weight: bold;
158  margin-bottom: 0.5em;
159}
160
161h6 {
162  font-size: 100%;
163  font-weight: bold;
164  margin-bottom: 0.5em;
165}
166
167dt {
168  font-style: italic;
169}
170
171dd {
172  margin-bottom: 1.5em;
173}
174
175
176
177table {
178  text-align: left;
179  border-collapse: collapse;
180  margin: 1.5em 0em;
181}
182
183table td, table th {
184  padding: 0.25em 1em;
185  border-top: 1px solid gray;
186  border-bottom: 1px solid gray;
187}
188
189#index {
190  margin: 2em 2em 2em 0em;
191  padding: 0em 1em;
192  border-top: 1px solid #aaa;
193  border-left: 1px solid #aaa;
194  border-bottom: 2px solid #555;
195  border-right: 2px solid #555;
196  max-width: 20em;
197}
198
199#index h2 {
200  margin-bottom: 0em;
201  margin-top: 0em;
202  color: #003a6b;
203  font-size: 100%;
204  border-bottom: 1px solid #aaa;
205  font-weight: bold;
206}
207
208#feedback_link {
209  float: right;
210}
211
212#feedback {
213  visibility: hidden;
214  padding: 1em;
215  border-radius: 5px;
216  position: fixed;
217  top: 10em;
218  right: 10em;
219  background: white;
220  border-top: 1px solid #aaa;
221  border-left: 1px solid #aaa;
222  border-bottom: 2px solid #555;
223  border-right: 2px solid #555;
224}
225
226#feedback:target {
227  visibility: visible;
228}
229
230#feedback .cancel {
231  color: #666;
232  padding-left: 2em;
233}