jsdoc: Sort out bottom margins for various content elements.

This commit is contained in:
Jürg Lehni 2011-06-08 18:22:32 +01:00
parent 34a17068c4
commit 088fb421bb
2 changed files with 16 additions and 8 deletions

View file

@ -94,6 +94,18 @@
.member-text {
border-top: 1px dashed #999;
padding: 10px 10px 0 10px;
margin-bottom: -10px; /* Compensate half of 20px margins of p and ul */
}
.reference ul,
.reference .paperscript,
.reference .CodeMirror {
margin-top: -10px; /* Move half way up close to previous paragraph */
margin-bottom: 20px;
}
.reference ul {
margin-top: 0; /* Clear the above -10px for ul again */
}
.member-link {
@ -106,10 +118,6 @@
padding-left: 30px;
}
.member-text ul {
padding-bottom: 10px;
}
ul.package-classes {
padding-bottom: 4px;
}

View file

@ -87,10 +87,6 @@ ol {
/* PaperScript */
.paperscript {
margin-bottom: 20px;
}
.paperscript .button {
display: none;
position: relative; /* position (top / right) relative to paperscriptcontainer */
@ -122,6 +118,10 @@ ol {
cursor: pointer;
}
.paperscript .CodeMirror {
margin-bottom: 0; /* Override any potential bottom margins again */
}
.paperscript .CodeMirror-gutter-text,
.paperscript .CodeMirror-lines {
padding-top: 10px;