DO NOT MERGE
cherrypick from jb-devChange-Id: I6eb11d3629dd13d2c7ac297cc9fa3828ed59f170 add style for code captions; ignore sidenav headers for HRs Change-Id: Ic7768dc388a3871be8b02634e2b70f360a62e407
This commit is contained in:
parent
52948fcf8c
commit
24bbcd5026
|
@ -1625,6 +1625,7 @@ EndColorStr='#ececec');
|
|||
border-left:4px solid #99CC00;
|
||||
float:right;
|
||||
padding:0 0 0 10px;
|
||||
margin:0 0 1em 20px;
|
||||
}
|
||||
|
||||
.sidebox h2,
|
||||
|
@ -1824,7 +1825,7 @@ form .form-error input[type='text'], form .form-error textarea {
|
|||
Code Style
|
||||
*/
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
margin:0 0 1em 0;
|
||||
padding: 1em;
|
||||
overflow: auto;
|
||||
border: solid 1px #ddd;
|
||||
|
@ -2229,11 +2230,17 @@ div.figure {
|
|||
}
|
||||
|
||||
p.table-caption {
|
||||
margin: 0 0 4px 0; /* matches default table left-margin */
|
||||
margin: 0 0 4px 0;
|
||||
font-size:13px;
|
||||
color:#666;
|
||||
}
|
||||
|
||||
p.code-caption {
|
||||
margin: 0 0 4px 0;
|
||||
font: 13px/1.5 'courier new', courier, monospace;
|
||||
color:#666;
|
||||
}
|
||||
|
||||
div.note,
|
||||
div.caution,
|
||||
div.warning {
|
||||
|
@ -2247,15 +2254,15 @@ p.warning, div.warning {
|
|||
border-left: 4px solid;
|
||||
}
|
||||
|
||||
p.note {
|
||||
p.note, div.note {
|
||||
border-color: #258AAF;
|
||||
}
|
||||
|
||||
p.caution {
|
||||
p.caution, div.caution {
|
||||
border-color: #FF8800;
|
||||
}
|
||||
|
||||
p.warning {
|
||||
p.warning, div.warning {
|
||||
border-color: #ff4443;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ $(document).ready(function() {
|
|||
$('.scroll-pane').jScrollPane( {verticalGutter:0} );
|
||||
|
||||
// add HRs below all H2s (except for a few other h2 variants)
|
||||
$('h2').not('#qv h2').not('#tb h2').not('#devdoc-nav h2').css({marginBottom:0}).after('<hr/>');
|
||||
$('h2').not('#qv h2').not('#tb h2').not('.sidebox h2').not('#devdoc-nav h2').css({marginBottom:0}).after('<hr/>');
|
||||
|
||||
// set search's onkeyup handler here so we can show suggestions
|
||||
// even while search results are visible
|
||||
|
|
Loading…
Reference in New Issue