Skip to content

Commit

Permalink
Update documents (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 authored May 17, 2024
1 parent d501816 commit 321b2ac
Show file tree
Hide file tree
Showing 24 changed files with 259 additions and 298 deletions.
10 changes: 5 additions & 5 deletions constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}

/*
* Deliberately similar styling to the .sig h3
*/
* Deliberately similar styling to the .sig h3
*/
h3.const {
background-color: #c0c0c0;
color: #000;
Expand All @@ -34,9 +34,9 @@
}

/*
* Modify .simple_table for the QuantumRange/QuantumDepth table.
* The major differences are the centered text and the auto width.
*/
* Modify .simple_table for the QuantumRange/QuantumDepth table.
* The major differences are the centered text and the auto width.
*/
#maxrgb {
border-collapse: collapse;
border: thin solid black;
Expand Down
91 changes: 48 additions & 43 deletions css/doc.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

/* Global styles. */

a:link {
text-decoration: none;
}

a:visited {
color: #7F7FFF;
color: #7f7fff;
text-decoration: none;
}

Expand All @@ -21,9 +20,9 @@ a:active {
}

body {
background-color: white;
color: black;
font-size: 100.01%;
background-color: white;
color: black;
font-size: 100.01%;
}

img {
Expand All @@ -36,18 +35,18 @@ h1 {
font-size: x-large;
font-weight: bold;
color: #ebebeb;
padding: .3em 5px .5em 5px;
padding: 0.3em 5px 0.5em 5px;
margin: 0 0;
}

h6#header {
padding-top: 0.5em;
font-size: small;
font-weight: bold;
color: #545454;
letter-spacing: .5em;
text-align: center;
margin: 0 0;
padding-top: 0.5em;
font-size: small;
font-weight: bold;
color: #545454;
letter-spacing: 0.5em;
text-align: center;
margin: 0 0;
}

/*
Expand All @@ -56,7 +55,7 @@ h6#header {
#toc h2 {
background-color: #545454;
color: white;
padding: 5px .3em .3em .3em;
padding: 5px 0.3em 0.3em 0.3em;
margin: 0 0;
}

Expand Down Expand Up @@ -87,8 +86,8 @@ div.nav {
font-family: sans-serif;
font-weight: bold;
margin-bottom: 0;
margin-top: 1em; /* Separate from header at the top and */
/* from the last element at the bottom */
margin-top: 1em; /* Separate from header at the top and */
/* from the last element at the bottom */
padding: 2px;
padding-left: 8px;
padding-right: 8px;
Expand Down Expand Up @@ -123,16 +122,17 @@ span.superclass {
span.mixin {
font-size: smaller;
padding-left: 1em;
}
}

/*
* Method signatures, descriptions
*/

h2.methods { /* "class methods" */
h2.methods {
/* "class methods" */
margin-top: 2em;
margin-bottom: 0;
padding: .5em 5px .5em 5px;
padding: 0.5em 5px 0.5em 5px;
background-color: #663;
color: white;
clear: both;
Expand All @@ -143,10 +143,11 @@ h2.methods { /* "class methods" */
*/

div.sig {
margin-bottom: .5em;
margin-bottom: 0.5em;
}

.sig h3 { /* method name: total width 210px */
.sig h3 {
/* method name: total width 210px */
background-color: #c0c0c0;
color: #000;
width: 225px;
Expand Down Expand Up @@ -187,13 +188,17 @@ div.sig {
margin-top: 0;
}

.desc dl,p,pre,img,ul {
.desc dl,
p,
pre,
img,
ul {
margin-top: 0;
}

.desc dt {
font-style: italic;
/* display: compact; */
/* display: compact; */
}

.arg {
Expand All @@ -203,27 +208,28 @@ div.sig {
/*
* The next 2 styles are for example scripts.
*/
.example, .desc pre {
padding: 0 .5em 1em .5em; /* Tell Konq to not pad at the top. */
padd\ing-top: 1em; /* Tell everybody else to use 1em padding at the top. */
.example,
.desc pre {
padding: 0 0.5em 1em 0.5em; /* Tell Konq to not pad at the top. */
padding-top: 1em; /* Tell everybody else to use 1em padding at the top. */
background-color: #f8f8f8;
border-left: thin dotted black;
border-top: thin dotted black;
border-bottom: 4px solid #c0c0c0;
border-right: 4px solid #c0c0c0
border-right: 4px solid #c0c0c0;
}

.example {
margin-left: 100px;
margin-right: 100px;
margin-bottom: 1em;
}
margin-left: 100px;
margin-right: 100px;
margin-bottom: 1em;
}

.example_cutline {
margin-left: 100px;
margin-right: 100px;
font-style: italic;
}
.example_cutline {
margin-left: 100px;
margin-right: 100px;
font-style: italic;
}

/*
* The following three styles govern the display of example
Expand Down Expand Up @@ -290,10 +296,9 @@ p.spacer {
.imquote {
color: #545454;
}
.imquote p, .imquote ul {
margin-left: 100px;
margin-right: 100px;
padding-bottom: 1em;
}


.imquote p,
.imquote ul {
margin-left: 100px;
margin-right: 100px;
padding-bottom: 1em;
}
24 changes: 12 additions & 12 deletions css/popup.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* Styles for the example script popup */

body {
background:#fffff0;
margin:10px;
}
background: #fffff0;
margin: 10px;
}

h1 {
color: #663;
Expand All @@ -12,15 +12,15 @@ h1 {
}

.bodybox {
background-color:white;
border:1px solid black;
text-align:left;
background-color: white;
border: 1px solid black;
text-align: left;
}

.bodyfloat {
padding:10px;
color:black;
text-align:left;
.bodyfloat {
padding: 10px;
color: black;
text-align: left;
}

#close {
Expand All @@ -29,6 +29,6 @@ h1 {
}

a:link {
color:#663;
font-weight:bold;
color: #663;
font-weight: bold;
}
100 changes: 51 additions & 49 deletions css/ref.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
/* Styles for struct.html and rvgref.html */

.subhd h2 { /* Same as h2.methods but different background-color */
margin-top: 2em;
margin-bottom: .5em;
padding: .5em 5px .5em 5px;
background-color: #545454;
color: white;
clear: both;
}
.subhd h3 { /* Same as h2.methods */
margin-top: 0;
margin-bottom: 0;
padding: .5em 5px .5em 5px;
background-color: #663;
color: white;
}
.sig h4, .sig p {
background-color: #c0c0c0;
color: #000;
margin-top: 0;
}
.subhd h2 {
/* Same as h2.methods but different background-color */
margin-top: 2em;
margin-bottom: 0.5em;
padding: 0.5em 5px 0.5em 5px;
background-color: #545454;
color: white;
clear: both;
}
.subhd h3 {
/* Same as h2.methods */
margin-top: 0;
margin-bottom: 0;
padding: 0.5em 5px 0.5em 5px;
background-color: #663;
color: white;
}
.sig h4,
.sig p {
background-color: #c0c0c0;
color: #000;
margin-top: 0;
}

.sig h4 { /* method name: total width 210px */
width: 205px;
float: left;
padding-left: 5px;
font-size: 110%;
}
.sig h4 {
/* method name: total width 210px */
width: 205px;
float: left;
padding-left: 5px;
font-size: 110%;
}

.sig p {
padding-right: 5px;
padding-bottom: 1em;
}
.sig p {
padding-right: 5px;
padding-bottom: 1em;
}

.desc h5 {
.desc h5 {
position: relative;
left: -235px;
padding-left: 5px;
Expand All @@ -45,23 +49,21 @@
padding-bottom: 0;
margin-bottom: 0;
margin-top: 0;
}
}

.intro p {
padding-bottom: 1em;
margin-left: 215px;
}

.intro p {
padding-bottom: 1em;
margin-left: 215px;
}

.intro h3 {
padding-left: 5px;
background-color: white;
background-image: url(../ex/images/graydient230x6.gif);
background-repeat: repeat-y;
color: black;
font-weight: normal;
font-size: small;
padding-bottom: 0;
margin: 0 0;
}

.intro h3 {
padding-left: 5px;
background-color: white;
background-image: url(../ex/images/graydient230x6.gif);
background-repeat: repeat-y;
color: black;
font-weight: normal;
font-size: small;
padding-bottom: 0;
margin: 0 0;
}
Loading

0 comments on commit 321b2ac

Please sign in to comment.