docs: make all javadoc reference links use <code>

and remove some unused CSS
This commit is contained in:
Scott Main 2009-11-04 15:02:30 -08:00
parent 3f7d1df129
commit 9a5c840205
2 changed files with 15 additions and 103 deletions

View File

@ -34,8 +34,7 @@ body {
a, a code {
color:#006699;
}
}
a:active,
a:active code {
@ -184,6 +183,7 @@ hr.blue {
}
/* LAYOUT */
#body-content {
/* "Preliminary" watermark for preview releases and interim builds.
background:transparent url(images/preliminary.png) repeat scroll 0 0; */
@ -218,6 +218,7 @@ hr.blue {
}
/* Tabs in the header */
#header ul {
list-style: none;
margin: 7px 0 0;
@ -261,7 +262,8 @@ hr.blue {
display:none;
}
/* TAB HIGHLIGHTING */
/* tab highlighting */
.home #home-link a,
.guide #guide-link a,
.reference #reference-link a,
@ -310,7 +312,7 @@ hr.blue {
margin:15px 10px 0 0;
}
/* main */
/* MAIN BODY */
#mainBodyFluid {
margin: 20px 10px;
@ -435,7 +437,8 @@ div.indent {
clear: both;
}
/* Footer */
/* FOOTER */
#footer {
float: left;
width:90%;
@ -463,99 +466,8 @@ div.indent {
color:#006699;
}
#homeBottom td {
border:0px solid #666;
padding: 8px 18px 8px 18px;
}
#homeBottom table {
width: 100%;
}
#homeBottom {
padding: 0px 0px 0px 0px;
float: left;
width: 585px;
height: 165px;
background-image:url(images/home/bg_home_bottom.jpg);
background-repeat: no-repeat;
}
.groupTable {
width: 100%;
}
.groupTable th {
padding: 10px;
color: #ffffff;
background-color: #6D8293;
border: 2px solid #fff;
}
.groupTable td {
padding: 10px;
color: #333333;
background-color: #d9d9d9;
border: 2px solid #fff;
}
.groupTable .evenRow td {
background-color: #ededed;
}
span.BigBlue {
color:#336666;
font-size:1.25em;
margin: 0em 0em 0em 0em;
padding-bottom:.5em;
font-weight: bold;
}
span.emBlue {
color: #336666;
font-style:italic;
}
.pageTable {
width: 95%;
border: none;
}
.pageTable img {
vertical-align: bottom;
}
.pageTable td {
border: none;
}
.pageTable td.leftNav {
width: 100px;
}
.greenBox {
margin: 10px 30px 10px 30px;
padding: 10px 20px 10px 20px;
background-color: #EBF3DB;
width: 75%;
}
.blueBox {
margin: 10px 30px 10px 30px;
padding: 10px 20px 10px 20px;
background-color: #DDF0F2;
width: 75%;
}
.blueHR {
margin: 10px 30px 10px 30px;
height: 5px;
background-color: #DDF0F2;
width: 75%;
}
/* SEARCH FILTER */
#search_autocomplete {
color:#aaa;
}

View File

@ -62,12 +62,12 @@ def:tag_list(tags) ?><?cs
each:tag = tags ?><?cs
if:tag.name == "Text" ?><?cs var:tag.text?><?cs
elif:tag.kind == "@more" ?><p><?cs
elif:tag.kind == "@see" ?><a href="<?cs var:toroot ?><?cs var:tag.href ?>"><?cs var:tag.label ?></a><?cs
elif:tag.kind == "@see" ?><code><a href="<?cs var:toroot ?><?cs var:tag.href ?>"><?cs var:tag.label ?></a></code><?cs
elif:tag.kind == "@seeHref" ?><a href="<?cs var:tag.href ?>"><?cs var:tag.label ?></a><?cs
elif:tag.kind == "@seeJustLabel" ?><?cs var:tag.label ?><?cs
elif:tag.kind == "@code" ?><code class="Code prettyprint"><?cs var:tag.text ?></code><?cs
elif:tag.kind == "@samplecode" ?><pre class="Code prettyprint"><?cs var:tag.text ?></pre><?cs
elif:tag.name == "@sample" ?><pre class="Code prettyprint"><?cs var:tag.text ?></pre><?cs
elif:tag.kind == "@code" ?><code><?cs var:tag.text ?></code><?cs
elif:tag.kind == "@samplecode" ?><pre><?cs var:tag.text ?></pre><?cs
elif:tag.name == "@sample" ?><pre><?cs var:tag.text ?></pre><?cs
elif:tag.name == "@include" ?><?cs var:tag.text ?><?cs
elif:tag.kind == "@docRoot" ?><?cs var:toroot ?><?cs
elif:tag.kind == "@sdkCurrent" ?><?cs var:sdk.current ?><?cs
@ -121,8 +121,8 @@ def:see_also_tags(also) ?><?cs
<h5 class="jd-tagtitle">See Also</h5>
<ul class="nolist"><?cs
each:tag=also ?><li><?cs
if:tag.kind == "@see" ?><a href="<?cs var:toroot ?><?cs var:tag.href ?>"><?cs
var:tag.label ?></a><?cs
if:tag.kind == "@see" ?><code><a href="<?cs var:toroot ?><?cs var:tag.href ?>"><?cs
var:tag.label ?></a></code><?cs
elif:tag.kind == "@seeHref" ?><a href="<?cs var:tag.href ?>"><?cs var:tag.label ?></a><?cs
elif:tag.kind == "@seeJustLabel" ?><?cs var:tag.label ?><?cs
else ?>[ERROR: Unknown @see kind]<?cs