Skip to content

Commit 321b2ac

Browse files
authored
Update documents (#28)
1 parent d501816 commit 321b2ac

24 files changed

+259
-298
lines changed

constants.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
}
2525

2626
/*
27-
* Deliberately similar styling to the .sig h3
28-
*/
27+
* Deliberately similar styling to the .sig h3
28+
*/
2929
h3.const {
3030
background-color: #c0c0c0;
3131
color: #000;
@@ -34,9 +34,9 @@
3434
}
3535

3636
/*
37-
* Modify .simple_table for the QuantumRange/QuantumDepth table.
38-
* The major differences are the centered text and the auto width.
39-
*/
37+
* Modify .simple_table for the QuantumRange/QuantumDepth table.
38+
* The major differences are the centered text and the auto width.
39+
*/
4040
#maxrgb {
4141
border-collapse: collapse;
4242
border: thin solid black;

css/doc.css

Lines changed: 48 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
21
/* Global styles. */
32

43
a:link {
54
text-decoration: none;
65
}
76

87
a:visited {
9-
color: #7F7FFF;
8+
color: #7f7fff;
109
text-decoration: none;
1110
}
1211

@@ -21,9 +20,9 @@ a:active {
2120
}
2221

2322
body {
24-
background-color: white;
25-
color: black;
26-
font-size: 100.01%;
23+
background-color: white;
24+
color: black;
25+
font-size: 100.01%;
2726
}
2827

2928
img {
@@ -36,18 +35,18 @@ h1 {
3635
font-size: x-large;
3736
font-weight: bold;
3837
color: #ebebeb;
39-
padding: .3em 5px .5em 5px;
38+
padding: 0.3em 5px 0.5em 5px;
4039
margin: 0 0;
4140
}
4241

4342
h6#header {
44-
padding-top: 0.5em;
45-
font-size: small;
46-
font-weight: bold;
47-
color: #545454;
48-
letter-spacing: .5em;
49-
text-align: center;
50-
margin: 0 0;
43+
padding-top: 0.5em;
44+
font-size: small;
45+
font-weight: bold;
46+
color: #545454;
47+
letter-spacing: 0.5em;
48+
text-align: center;
49+
margin: 0 0;
5150
}
5251

5352
/*
@@ -56,7 +55,7 @@ h6#header {
5655
#toc h2 {
5756
background-color: #545454;
5857
color: white;
59-
padding: 5px .3em .3em .3em;
58+
padding: 5px 0.3em 0.3em 0.3em;
6059
margin: 0 0;
6160
}
6261

@@ -87,8 +86,8 @@ div.nav {
8786
font-family: sans-serif;
8887
font-weight: bold;
8988
margin-bottom: 0;
90-
margin-top: 1em; /* Separate from header at the top and */
91-
/* from the last element at the bottom */
89+
margin-top: 1em; /* Separate from header at the top and */
90+
/* from the last element at the bottom */
9291
padding: 2px;
9392
padding-left: 8px;
9493
padding-right: 8px;
@@ -123,16 +122,17 @@ span.superclass {
123122
span.mixin {
124123
font-size: smaller;
125124
padding-left: 1em;
126-
}
125+
}
127126

128127
/*
129128
* Method signatures, descriptions
130129
*/
131130

132-
h2.methods { /* "class methods" */
131+
h2.methods {
132+
/* "class methods" */
133133
margin-top: 2em;
134134
margin-bottom: 0;
135-
padding: .5em 5px .5em 5px;
135+
padding: 0.5em 5px 0.5em 5px;
136136
background-color: #663;
137137
color: white;
138138
clear: both;
@@ -143,10 +143,11 @@ h2.methods { /* "class methods" */
143143
*/
144144

145145
div.sig {
146-
margin-bottom: .5em;
146+
margin-bottom: 0.5em;
147147
}
148148

149-
.sig h3 { /* method name: total width 210px */
149+
.sig h3 {
150+
/* method name: total width 210px */
150151
background-color: #c0c0c0;
151152
color: #000;
152153
width: 225px;
@@ -187,13 +188,17 @@ div.sig {
187188
margin-top: 0;
188189
}
189190

190-
.desc dl,p,pre,img,ul {
191+
.desc dl,
192+
p,
193+
pre,
194+
img,
195+
ul {
191196
margin-top: 0;
192197
}
193198

194199
.desc dt {
195200
font-style: italic;
196-
/* display: compact; */
201+
/* display: compact; */
197202
}
198203

199204
.arg {
@@ -203,27 +208,28 @@ div.sig {
203208
/*
204209
* The next 2 styles are for example scripts.
205210
*/
206-
.example, .desc pre {
207-
padding: 0 .5em 1em .5em; /* Tell Konq to not pad at the top. */
208-
padd\ing-top: 1em; /* Tell everybody else to use 1em padding at the top. */
211+
.example,
212+
.desc pre {
213+
padding: 0 0.5em 1em 0.5em; /* Tell Konq to not pad at the top. */
214+
padding-top: 1em; /* Tell everybody else to use 1em padding at the top. */
209215
background-color: #f8f8f8;
210216
border-left: thin dotted black;
211217
border-top: thin dotted black;
212218
border-bottom: 4px solid #c0c0c0;
213-
border-right: 4px solid #c0c0c0
219+
border-right: 4px solid #c0c0c0;
214220
}
215221

216222
.example {
217-
margin-left: 100px;
218-
margin-right: 100px;
219-
margin-bottom: 1em;
220-
}
223+
margin-left: 100px;
224+
margin-right: 100px;
225+
margin-bottom: 1em;
226+
}
221227

222-
.example_cutline {
223-
margin-left: 100px;
224-
margin-right: 100px;
225-
font-style: italic;
226-
}
228+
.example_cutline {
229+
margin-left: 100px;
230+
margin-right: 100px;
231+
font-style: italic;
232+
}
227233

228234
/*
229235
* The following three styles govern the display of example
@@ -290,10 +296,9 @@ p.spacer {
290296
.imquote {
291297
color: #545454;
292298
}
293-
.imquote p, .imquote ul {
294-
margin-left: 100px;
295-
margin-right: 100px;
296-
padding-bottom: 1em;
297-
}
298-
299-
299+
.imquote p,
300+
.imquote ul {
301+
margin-left: 100px;
302+
margin-right: 100px;
303+
padding-bottom: 1em;
304+
}

css/popup.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Styles for the example script popup */
22

33
body {
4-
background:#fffff0;
5-
margin:10px;
6-
}
4+
background: #fffff0;
5+
margin: 10px;
6+
}
77

88
h1 {
99
color: #663;
@@ -12,15 +12,15 @@ h1 {
1212
}
1313

1414
.bodybox {
15-
background-color:white;
16-
border:1px solid black;
17-
text-align:left;
15+
background-color: white;
16+
border: 1px solid black;
17+
text-align: left;
1818
}
1919

20-
.bodyfloat {
21-
padding:10px;
22-
color:black;
23-
text-align:left;
20+
.bodyfloat {
21+
padding: 10px;
22+
color: black;
23+
text-align: left;
2424
}
2525

2626
#close {
@@ -29,6 +29,6 @@ h1 {
2929
}
3030

3131
a:link {
32-
color:#663;
33-
font-weight:bold;
32+
color: #663;
33+
font-weight: bold;
3434
}

css/ref.css

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,43 @@
11
/* Styles for struct.html and rvgref.html */
22

3-
.subhd h2 { /* Same as h2.methods but different background-color */
4-
margin-top: 2em;
5-
margin-bottom: .5em;
6-
padding: .5em 5px .5em 5px;
7-
background-color: #545454;
8-
color: white;
9-
clear: both;
10-
}
11-
.subhd h3 { /* Same as h2.methods */
12-
margin-top: 0;
13-
margin-bottom: 0;
14-
padding: .5em 5px .5em 5px;
15-
background-color: #663;
16-
color: white;
17-
}
18-
.sig h4, .sig p {
19-
background-color: #c0c0c0;
20-
color: #000;
21-
margin-top: 0;
22-
}
3+
.subhd h2 {
4+
/* Same as h2.methods but different background-color */
5+
margin-top: 2em;
6+
margin-bottom: 0.5em;
7+
padding: 0.5em 5px 0.5em 5px;
8+
background-color: #545454;
9+
color: white;
10+
clear: both;
11+
}
12+
.subhd h3 {
13+
/* Same as h2.methods */
14+
margin-top: 0;
15+
margin-bottom: 0;
16+
padding: 0.5em 5px 0.5em 5px;
17+
background-color: #663;
18+
color: white;
19+
}
20+
.sig h4,
21+
.sig p {
22+
background-color: #c0c0c0;
23+
color: #000;
24+
margin-top: 0;
25+
}
2326

24-
.sig h4 { /* method name: total width 210px */
25-
width: 205px;
26-
float: left;
27-
padding-left: 5px;
28-
font-size: 110%;
29-
}
27+
.sig h4 {
28+
/* method name: total width 210px */
29+
width: 205px;
30+
float: left;
31+
padding-left: 5px;
32+
font-size: 110%;
33+
}
3034

31-
.sig p {
32-
padding-right: 5px;
33-
padding-bottom: 1em;
34-
}
35+
.sig p {
36+
padding-right: 5px;
37+
padding-bottom: 1em;
38+
}
3539

36-
.desc h5 {
40+
.desc h5 {
3741
position: relative;
3842
left: -235px;
3943
padding-left: 5px;
@@ -45,23 +49,21 @@
4549
padding-bottom: 0;
4650
margin-bottom: 0;
4751
margin-top: 0;
48-
}
52+
}
4953

54+
.intro p {
55+
padding-bottom: 1em;
56+
margin-left: 215px;
57+
}
5058

51-
.intro p {
52-
padding-bottom: 1em;
53-
margin-left: 215px;
54-
}
55-
56-
.intro h3 {
57-
padding-left: 5px;
58-
background-color: white;
59-
background-image: url(../ex/images/graydient230x6.gif);
60-
background-repeat: repeat-y;
61-
color: black;
62-
font-weight: normal;
63-
font-size: small;
64-
padding-bottom: 0;
65-
margin: 0 0;
66-
}
67-
59+
.intro h3 {
60+
padding-left: 5px;
61+
background-color: white;
62+
background-image: url(../ex/images/graydient230x6.gif);
63+
background-repeat: repeat-y;
64+
color: black;
65+
font-weight: normal;
66+
font-size: small;
67+
padding-bottom: 0;
68+
margin: 0 0;
69+
}

0 commit comments

Comments
 (0)