summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonna Malayeri <lindydonna@gmail.com>2011-03-24 20:36:33 +0000
committerDonna Malayeri <lindydonna@gmail.com>2011-03-24 20:36:33 +0000
commit420df2a9a2c827c1811226244b13233a1742c7af (patch)
tree5d863f5227f87952cdbbf3a86cfe5653058f142b
parent3c34549d7dcd91d7a78f7b3bba588369fce5a4a7 (diff)
downloadscala-420df2a9a2c827c1811226244b13233a1742c7af.tar.gz
scala-420df2a9a2c827c1811226244b13233a1742c7af.tar.bz2
scala-420df2a9a2c827c1811226244b13233a1742c7af.zip
[scaladoc] Changes to template.css based on sug...
[scaladoc] Changes to template.css based on suggestions by Bill Venners. No review.
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css
index 793953c20f..13ccadefe5 100644
--- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css
+++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css
@@ -17,7 +17,7 @@ table, caption, tbody, tfoot, thead, tr, th, td {
}
body {
- line-height: 1;
+ line-height: 1.2;
}
table { border-collapse: separate; border-spacing: 0; }
@@ -169,7 +169,7 @@ div.members > ol > li {
}
.signature {
- padding: 3px;
+ padding: 2px;
font-family: monospace;
font-size: 10pt;
clear: both;
@@ -231,8 +231,8 @@ div.members > ol > li {
.cmt {}
.cmt p {
- margin-bottom: 0.4em;
- margin-top: 0.4em;
+ margin-bottom: 0.9em;
+ margin-top: 0.9em;
}
.cmt h3 {
@@ -359,13 +359,15 @@ div.fullcomment {
#template .shortcomment {
margin: 0 0 0 8.7em;
- padding: 0;
+ padding: 2px;
}
div.fullcomment .block {
padding: 2px 0 2px 0;
border-top: 1px solid gray;
border-bottom: 1px solid gray;
+ margin-top: 2px;
+ margin-bottom: 2px;
}
div.fullcomment div.block ol li p,
@@ -413,6 +415,10 @@ div.fullcomment dl.paramcmts > dd + dt + dd {
border-top: none;
}
+div.fullcomment dl.paramcmts dd.cmt p {
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
/* Members filter tool */
#textfilter {