JSDocs: Clean up css styles, to reflect recent changes in Paperjs.org and Scriptographer.org (reference.css is shared).

This commit is contained in:
Jürg Lehni 2011-06-07 10:15:26 +01:00
parent 8046087c51
commit 9a1879fbd4
2 changed files with 22 additions and 19 deletions
build/jsdoc-toolkit/templates/jsdoc/static/resources/css

View file

@ -1,10 +1,12 @@
/* These styles are shared with the server version of docs */
.reference h1, .reference h2, .reference h3 { .reference h1, .reference h2, .reference h3 {
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
display: block; display: block;
height: 17px;
margin: 0 0 16px 0; margin: 0 0 16px 0;
height: 17px; /* -1 for border */ border-bottom: 1px solid;
border-bottom: 1px solid black;
} }
.reference h3 { .reference h3 {
@ -12,12 +14,13 @@
border-bottom-style: dotted; border-bottom-style: dotted;
} }
.reference a tt, .reference a tt b { .reference a tt,
.reference a tt b {
padding-bottom: 1px; padding-bottom: 1px;
} }
.reference pre { .reference pre {
margin: 0 0 18px 0; margin: 0 0 20px 0;
} }
.reference ul { .reference ul {
@ -32,7 +35,7 @@
.reference hr { .reference hr {
border: none; border: none;
border-bottom: 1px dotted #000; border-bottom: 1px dotted;
} }
.reference-packages { .reference-packages {
@ -119,7 +122,6 @@ ul.package-classes {
margin-left: -10px; margin-left: -10px;
} }
.reference-members h2 a { .reference h2 a {
border-bottom: none;
font-weight: bold; font-weight: bold;
} }

View file

@ -1,30 +1,31 @@
body, select, input, textarea {
font-family: "Lucida Grande", Geneva, Verdana, Arial, sans-serif;
}
body { body {
background: #fff; background: #fff;
margin: 16px; margin: 16px;
font-family: "Lucida Grande", Geneva, Verdana, Arial, sans-serif; font-size: 13px;
font-size: 12px; line-height: 20px;
line-height: 19px;
color: #000; color: #000;
max-width: 540px; max-width: 540px;
} }
select, input, textarea { select, input, textarea {
font-family: "Lucida Grande", Geneva, Verdana, Arial, sans-serif; font-size: 12px;
font-size: 11px;
margin: 0; margin: 0;
color: #000; color: #000;
} }
tt, pre { tt, pre {
font-family: Menlo, Consolas, "Vera Mono", monospace; font-family: Menlo, Consolas, "Vera Mono", monospace;
font-size: 11px; font-size: 12px;
line-height: 19px; line-height: 20px;
} }
a { a {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
padding-bottom: 1px;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
} }
@ -37,18 +38,18 @@ a:hover {
} }
p { p {
margin: 0 0 19px 0; margin: 0 0 20px 0;
} }
ul { ul {
padding: 0; padding: 0;
margin: 0 0 19px 16px; margin: 0 0 20px 16px;
list-style: disc outside url(../assets/bullet.gif); list-style: disc outside url(../assets/bullet.gif);
} }
ol { ol {
padding: 0; padding: 0;
margin: 0 0 19px 0; margin: 0 0 20px 0;
} }
.clear { .clear {
@ -64,7 +65,7 @@ ol {
border-bottom: 0px; border-bottom: 0px;
} }
/* border-bottom color for headers and ruler */ /* Border-bottom color for headers and ruler */
.reference-packages h2, .reference-packages h3, .reference-packages hr { .reference-packages h2, .reference-packages h3, .reference-packages hr {
border-color: #009dec; border-color: #009dec;
} }