support a few more header levels for sidebox so the sidebox can

be placed at any level and be semantically correct

Change-Id: I51b77e82a701e1898986698d3a58a1b8367ec5c6
This commit is contained in:
Scott Main 2010-04-23 11:41:30 -07:00
parent d72731d213
commit 7f418a518b

View file

@ -101,7 +101,7 @@
padding: 0; padding: 0;
} }
/*second level (nested) list*/ /*second level (nested) list*/
#side-nav li li li a { #side-nav li li li a {
padding: 0 0 0 28px; padding: 0 0 0 28px;
} }
/*third level (nested) list*/ /*third level (nested) list*/
@ -356,7 +356,7 @@ links to summary tables) */
color:#999; color:#999;
} }
div.api-level { div.api-level {
font-size:.8em; font-size:.8em;
font-weight:normal; font-weight:normal;
color:#999; color:#999;
@ -365,7 +365,7 @@ div.api-level {
margin-top:-25px; margin-top:-25px;
} }
#api-info-block div.api-level { #api-info-block div.api-level {
font-size:1.3em; font-size:1.3em;
font-weight:bold; font-weight:bold;
float:none; float:none;
@ -595,7 +595,7 @@ description */
margin:.5em .25em; margin:.5em .25em;
} }
/* API reference: a block containing /* API reference: a block containing
a detailed description, a params table, a detailed description, a params table,
seealso list, etc */ seealso list, etc */
.jd-tagdata { .jd-tagdata {
@ -759,7 +759,7 @@ p.warning b, p.warning strong {
} }
li p.note, li p.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;
} }
@ -959,7 +959,9 @@ padding:0 0 0 0em;
} }
#jd-content .sidebox h2, #jd-content .sidebox h2,
#jd-content .sidebox h3 { #jd-content .sidebox h3,
#jd-content .sidebox h4,
#jd-content .sidebox h5 {
border:none; border:none;
font-size:1em; font-size:1em;
margin:0; margin:0;
@ -1144,8 +1146,8 @@ table.download th {
/* INLAY 180 COPY and 240PX EXTENSION */ /* INLAY 180 COPY and 240PX EXTENSION */
/* modified to 43px so that all browsers eliminate the package panel h-scroll */ /* modified to 43px so that all browsers eliminate the package panel h-scroll */
.g-tpl-240 .g-unit, .g-tpl-240 .g-unit,
.g-unit .g-tpl-240 .g-unit, .g-unit .g-tpl-240 .g-unit,
.g-unit .g-unit .g-tpl-240 .g-unit { .g-unit .g-unit .g-tpl-240 .g-unit {
display: block; display: block;
margin: 0 0 0 243px; margin: 0 0 0 243px;
@ -1161,8 +1163,8 @@ table.download th {
float: left; float: left;
} }
/* 240px alt */ /* 240px alt */
.g-tpl-240-alt .g-unit, .g-tpl-240-alt .g-unit,
.g-unit .g-tpl-240-alt .g-unit, .g-unit .g-tpl-240-alt .g-unit,
.g-unit .g-unit .g-tpl-240-alt .g-unit { .g-unit .g-unit .g-tpl-240-alt .g-unit {
display: block; display: block;
margin: 0 243px 0 0; margin: 0 243px 0 0;
@ -1179,8 +1181,8 @@ table.download th {
} }
/* 180px */ /* 180px */
.g-tpl-180 .g-unit, .g-tpl-180 .g-unit,
.g-unit .g-tpl-180 .g-unit, .g-unit .g-tpl-180 .g-unit,
.g-unit .g-unit .g-tpl-180 .g-unit { .g-unit .g-unit .g-tpl-180 .g-unit {
display: block; display: block;
margin: 0 0 0 180px; margin: 0 0 0 180px;
@ -1196,8 +1198,8 @@ table.download th {
float: left; float: left;
} }
/* 180px alt */ /* 180px alt */
.g-tpl-180-alt .g-unit, .g-tpl-180-alt .g-unit,
.g-unit .g-tpl-180-alt .g-unit, .g-unit .g-tpl-180-alt .g-unit,
.g-unit .g-unit .g-tpl-180-alt .g-unit { .g-unit .g-unit .g-tpl-180-alt .g-unit {
display: block; display: block;
margin: 0 180px 0 0; margin: 0 180px 0 0;
@ -1286,7 +1288,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; }
word-wrap: break-word; /* IE 5.5+ */ word-wrap: break-word; /* IE 5.5+ */
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
page-break-after: avoid; page-break-after: avoid;
} }