Skip to content

Commit 61011d4

Browse files
committedMar 24, 2016
API docs website custom CSS
No idea where this should live in the repo - just putting it here for now
1 parent 4397818 commit 61011d4

File tree

1 file changed

+292
-0
lines changed

1 file changed

+292
-0
lines changed
 

‎doc/api_custom.css

Lines changed: 292 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,292 @@
1+
body {
2+
background-color: #fff;
3+
}
4+
.title {
5+
font: 400 18px/28px Roboto,sans-serif;
6+
font-size: 250%;
7+
font-weight: normal;
8+
line-height: 1.25em;
9+
}
10+
11+
h2.groupheader {
12+
color: #0d7200;
13+
}
14+
a {
15+
color: #0d7200;
16+
}
17+
a.el {
18+
font-weight: normal;
19+
}
20+
.contents a:visited {
21+
color: #0d7200;
22+
}
23+
24+
td.memItemRight a.el:first-of-type {
25+
font-weight: bold;
26+
}
27+
28+
div.contents {
29+
width: 80%;
30+
margin-left: auto;
31+
margin-right: auto;
32+
}
33+
34+
.contents > p {
35+
padding-left: 0.5em;
36+
font-size: 120%;
37+
}
38+
39+
address.footer {
40+
width: 80%;
41+
margin-left: auto;
42+
margin-right: auto;
43+
}
44+
45+
/*
46+
.search {
47+
color: #003399;
48+
font-weight: bold;
49+
}
50+
51+
form.search {
52+
margin-bottom: 0px;
53+
margin-top: 0px;
54+
}
55+
56+
input.search {
57+
font-size: 75%;
58+
color: #000080;
59+
font-weight: normal;
60+
background-color: #e8eef2;
61+
}
62+
*/
63+
64+
hr {
65+
border-top: 1px solid #129300;
66+
}
67+
68+
hr.footer {
69+
width: 80%;
70+
margin-left: auto;
71+
margin-right: auto;
72+
margin-top: 1em;
73+
}
74+
75+
/* @group Member Descriptions */
76+
77+
table.memberdecls {
78+
width: 100%;
79+
}
80+
81+
.mdescLeft, .mdescRight,
82+
.memItemLeft, .memItemRight,
83+
.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
84+
background-color: inherit;
85+
padding: 10px 0 10px 8px;
86+
}
87+
88+
.memItemLeft a {
89+
font-weight: normal;
90+
}
91+
92+
.memname {
93+
font-weight: normal;
94+
}
95+
.memname tr:first-of-type {
96+
font-size: 150%;
97+
}
98+
.memproto, dl.reflist dt {
99+
color: #0d7200;
100+
background-color: #e3f2e1;
101+
border-left: 1px solid #add9a7;
102+
border-top: inherit;
103+
border-right: inherit;
104+
font-weight: inherit;
105+
text-shadow: inherit;
106+
background-image:inherit;
107+
background-repeat:inherit;
108+
/* opera specific markup */
109+
box-shadow: inherit;
110+
border-top-right-radius: inherit;
111+
border-top-left-radius: inherit;
112+
/* firefox specific markup */
113+
-moz-box-shadow: inherit;
114+
-moz-border-radius-topright: inherit;
115+
-moz-border-radius-topleft: inherit;
116+
/* webkit specific markup */
117+
-webkit-box-shadow: inherit;
118+
-webkit-border-top-right-radius: inherit;
119+
-webkit-border-top-left-radius: inherit;
120+
}
121+
122+
.memdoc, dl.reflist dd {
123+
margin-bottom: 1em;
124+
background-color: #FFFFFF;
125+
border-left: 1px solid #add9a7;
126+
border-bottom: inherit;
127+
border-right: inherit;
128+
background-color: inherit;
129+
border-top-width: inherit;
130+
background-image:inherit;
131+
background-repeat:inherit;
132+
background-color: inherit;
133+
/* opera specific markup */
134+
border-bottom-left-radius: inherit;
135+
border-bottom-right-radius: inherit;
136+
box-shadow: inherit;
137+
/* firefox specific markup */
138+
-moz-border-radius-bottomleft: inherit;
139+
-moz-border-radius-bottomright: inherit;
140+
-moz-box-shadow: inherit;
141+
/* webkit specific markup */
142+
-webkit-border-bottom-left-radius: inherit;
143+
-webkit-border-bottom-right-radius: inherit;
144+
-webkit-box-shadow: inherit;
145+
}
146+
147+
span.mlabel {
148+
background-color: #7cc272;
149+
border-top:1px solid #5fb553;
150+
border-left:1px solid #5fb553;
151+
border-right:1px solid #c9e5c5;
152+
border-bottom:1px solid #c9e5c5;
153+
}
154+
155+
table.fieldtable {
156+
-moz-box-shadow: inherit;
157+
-webkit-box-shadow: inherit;
158+
box-shadow: inherit;
159+
}
160+
address {
161+
color: #0d7200;
162+
}
163+
164+
.fieldtable th {
165+
color: #0d7200;
166+
background-image:inherit;
167+
background-repeat:inherit;
168+
background-color: inherit;
169+
-moz-border-radius-topleft: inherit;
170+
-moz-border-radius-topright: inherit;
171+
-webkit-border-top-left-radius: inherit;
172+
-webkit-border-top-right-radius: inherit;
173+
border-top-left-radius: inherit;
174+
border-top-right-radius: inherit;
175+
}
176+
.navpath ul
177+
{
178+
font-size: inherit;
179+
background-image:inherit;
180+
background-repeat:inherit;
181+
background-position: inherit;
182+
height:inherit;
183+
line-height:inherit;
184+
color:inherit;
185+
border:inherit;
186+
overflow:inherit;
187+
margin:inherit;
188+
padding:inherit;
189+
}
190+
191+
.navpath li
192+
{
193+
list-style-type:inherit;
194+
float:inherit;
195+
padding-left:inherit;
196+
padding-right:inherit;
197+
background-image:inherit;
198+
background-repeat:inherit;
199+
background-position:inherit;
200+
color:inherit;
201+
}
202+
203+
.navpath li.navelem a
204+
{
205+
color: #0d7200;
206+
}
207+
208+
.navpath li.footer
209+
{
210+
list-style-type:inherit;
211+
float:inherit;
212+
padding-left:inherit;
213+
padding-right:inherit;
214+
background-image:inherit;
215+
background-repeat:inherit;
216+
background-position:inherit;
217+
color:inherit;
218+
font-size: inherit;
219+
}
220+
221+
div.header
222+
{
223+
background-color: #fcfcfa;
224+
margin: 0px;
225+
border-bottom: 1px solid #C4CFE5;
226+
width: 80%;
227+
margin-left: auto;
228+
margin-right: auto;
229+
background-image:inherit;
230+
background-repeat:inherit;
231+
}
232+
233+
dl.note
234+
{
235+
border-color: #ccd957;
236+
}
237+
238+
#titlearea
239+
{
240+
margin-left: auto;
241+
margin-right: auto;
242+
padding-top: 0.5em;
243+
padding-bottom: 0.5em;
244+
width: 80%;
245+
246+
border-bottom: 1px solid #0d7200;
247+
}
248+
249+
/* To overwrite tabs.css */
250+
.tabs, .tabs2, .tabs3 {
251+
background-image: inherit;
252+
width: 80%;
253+
background-color: #e3f2e1;
254+
margin-left: auto;
255+
margin-right: auto;
256+
}
257+
258+
.tabs2 {
259+
background-color: #f3f7f2;
260+
}
261+
262+
.tablist li {
263+
background-image: inherit;
264+
}
265+
266+
.tablist a {
267+
268+
background-image: inherit;
269+
color: #0d7200;
270+
border-right: 1px solid #129300;
271+
}
272+
273+
.tablist a:hover {
274+
background-image: inherit;
275+
background-color: #129300;
276+
}
277+
278+
.tablist li.current a {
279+
background-image: inherit;
280+
background-color: #0d7200;
281+
}
282+
/* /tabs.css */
283+
284+
/* To verride search/search.css */
285+
#MSearchBox {
286+
right: 8%;
287+
}
288+
289+
#MSearchField {
290+
position: inherit;
291+
}
292+
/* /search.css */

0 commit comments

Comments
 (0)
Please sign in to comment.