docs: revise stylesheet to allow "notes" in divs, not just paragraphs

Change-Id: Ia78a82dd330a4f31076b74ce86237af3aca1ba2e
This commit is contained in:
Scott Main
2010-11-18 12:28:44 -08:00
parent c5a07ce038
commit 63e9ccd1d6

View File

@@ -730,39 +730,51 @@ div.special ol li {
padding:0; padding:0;
} }
p.note, p.caution, p.warning { p.note, div.note,
p.caution, div.caution,
p.warning, div.warning {
margin: 1em; margin: 1em;
padding: 0 0 0 .5em; padding: 0 0 0 .5em;
border-left: 4px solid; border-left: 4px solid;
} }
p.special-note { p.special-note,
div.special-note {
background-color:#EBF3DB; background-color:#EBF3DB;
padding:10px 20px; padding:10px 20px;
margin:0 0 1em; margin:0 0 1em;
} }
p.note { p.note,
div.note {
border-color: #99aacc; border-color: #99aacc;
} }
p.warning { p.warning,
div.warning {
border-color: #aa0033; border-color: #aa0033;
} }
p.caution { p.caution,
div.caution {
border-color: #ffcf00; border-color: #ffcf00;
} }
p.warning b, p.warning strong { li .note,
font-weight: bold; li .caution,
} li .warning {
li p.note, li p.warning {
margin: .5em 0 0 0; margin: .5em 0 0 0;
padding: .2em .5em .2em .9em; padding: .2em .5em .2em .9em;
} }
/* Makes sure the first paragraph does not add top-whitespace within the box*/
li .note>p:first-child,
li .caution>p:first-child,
li .warning>p:first-child {
margin-top:0;
padding-top:0;
}
dl.xml dt { dl.xml dt {
font-variant:small-caps; font-variant:small-caps;
font-size:1.2em; font-size:1.2em;
@@ -1054,7 +1066,7 @@ ol.toc li ol {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
ol.toc li li { ol.toc li li {
padding: 0; padding: 0;
margin: 0 0 0 1em; margin: 0 0 0 1em;
@@ -1216,7 +1228,7 @@ table.download th {
float: right; float: right;
} }
/* JQUERY RESIZABLE STYLES */ /* JQUERY RESIZABLE STYLES */
.ui-resizable { position: relative; } .ui-resizable { position: relative; }
.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; } .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
@@ -1252,7 +1264,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; }
#body-content { #body-content {
position:inherit; position:inherit;
} }
#doc-content { #doc-content {
margin-left:0 !important; margin-left:0 !important;
height:auto !important; height:auto !important;