forked from openkylin/platform_build
am 55f1fca1: am d72731d2: docs: misc css changes make sidebox size match qv make figure align with right margin remove margins from the last <p> in a table cell
Merge commit '55f1fca10ee8419d10b25fa7d2ab5a1dc1278f0b' into kraken * commit '55f1fca10ee8419d10b25fa7d2ab5a1dc1278f0b': docs: misc css changes
This commit is contained in:
commit
19ca463e87
|
@ -177,6 +177,10 @@ th {
|
||||||
background-color:#dee8f1;
|
background-color:#dee8f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td p:last-child {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
hr.blue {
|
hr.blue {
|
||||||
background-color:#DDF0F2;
|
background-color:#DDF0F2;
|
||||||
border:none;
|
border:none;
|
||||||
|
|
|
@ -806,16 +806,26 @@ pre.classic {
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.img-caption {
|
||||||
|
margin: -0.5em 0 1em 1em; /* matches default img left-margin */
|
||||||
|
}
|
||||||
|
|
||||||
div.figure {
|
div.figure {
|
||||||
float:right;
|
float:right;
|
||||||
clear:right;
|
clear:right;
|
||||||
padding:1em 0 1em 2em;
|
margin:1em 0 0 3em;
|
||||||
|
padding:0;
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
/* width must be defined w/ an inline style matching the image width */
|
/* width must be defined w/ an inline style matching the image width */
|
||||||
}
|
}
|
||||||
|
|
||||||
p.img-caption {
|
#jd-content
|
||||||
margin: -0.5em 0 1em 1em; /* matches default img left-margin */
|
div.figure img {
|
||||||
|
margin: 0 0 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.figure p.img-caption {
|
||||||
|
margin: -0.5em 0 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.table-caption {
|
p.table-caption {
|
||||||
|
@ -914,19 +924,21 @@ p.table-caption {
|
||||||
/* Begin sidebox sidebar element styles */
|
/* Begin sidebox sidebar element styles */
|
||||||
|
|
||||||
.sidebox-wrapper {
|
.sidebox-wrapper {
|
||||||
float: right;
|
float:right;
|
||||||
width:300px;
|
clear:right;
|
||||||
|
width:310px; /* +35px padding */
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
margin: 0;
|
margin:0;
|
||||||
padding: 0 0 20px 20px;
|
padding:0 0 20px 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebox {
|
.sidebox {
|
||||||
border-left:1px solid #dee8f1;
|
border-left:1px solid #dee8f1;
|
||||||
background-color:#ffffee;
|
background-color:#ffffee;
|
||||||
|
margin:0;
|
||||||
padding:8px 12px;
|
padding:8px 12px;
|
||||||
font-size:90%;
|
font-size:0.9em;
|
||||||
width:260px;
|
width:285px; /* +24px padding; +1px border */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebox p {
|
.sidebox p {
|
||||||
|
|
Loading…
Reference in New Issue