forked from openkylin/platform_build
cherry-pick from master: I615602a3d8f9970e36399b98dadb5e2f03638444
docs: various stylesheet changes indent tables revise figure class add caption classes for tables and images add styles for xml reference docs (used by resource types docs) tweak styles for the icon tables to eliminate obscure 'caption' class Change-Id: I23f53d884f39a5f6a4b45172186e0d1c7619da30
This commit is contained in:
parent
f96cb307e3
commit
7b6cee7653
|
@ -129,7 +129,9 @@ li pre, li table, li img {
|
|||
margin:.5em 0 0 1em;
|
||||
}
|
||||
|
||||
dd pre, dd table, dd img {
|
||||
dd pre,
|
||||
#jd-content dd table,
|
||||
#jd-content dd img {
|
||||
margin:1em 0 0 1em;
|
||||
}
|
||||
|
||||
|
@ -704,8 +706,8 @@ td.gsc-search-button {
|
|||
}
|
||||
|
||||
#carouselMain {
|
||||
background: url(images/home/bg_home_carousel_board.png) 0 0 no-repeat;
|
||||
height:auto;
|
||||
background: url(images/home/bg_home_carousel_board.png) 0 0 no-repeat;
|
||||
height:auto;
|
||||
padding: 25px 21px 0;
|
||||
overflow:hidden;
|
||||
position:relative;
|
||||
|
@ -717,19 +719,19 @@ td.gsc-search-button {
|
|||
}
|
||||
|
||||
#carouselMain .bulletinDesc h3 {
|
||||
margin:0;
|
||||
padding:0;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
#carouselMain .bulletinDesc p {
|
||||
margin:0;
|
||||
padding:0.7em 0 0;
|
||||
margin:0;
|
||||
padding:0.7em 0 0;
|
||||
}
|
||||
|
||||
#carouselWheel {
|
||||
background: url(images/home/bg_home_carousel_wheel.png) 0 0 no-repeat;
|
||||
padding-top:40px;
|
||||
height:150px;
|
||||
background: url(images/home/bg_home_carousel_wheel.png) 0 0 no-repeat;
|
||||
padding-top:40px;
|
||||
height:150px;
|
||||
}
|
||||
|
||||
.clearer { clear:both; }
|
||||
|
@ -1146,13 +1148,13 @@ ul.videoPreviews p.toggle a:hover {
|
|||
}
|
||||
|
||||
#mainBodyRight ul.videoPreviews p {
|
||||
line-height:1.2em;
|
||||
line-height:1.2em;
|
||||
padding:0;
|
||||
margin:4px 0 0 130px;
|
||||
}
|
||||
|
||||
#mainBodyRight ul.videoPreviews img {
|
||||
margin-top:5px;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
/* Pretty printing styles. Used with prettify.js. */
|
||||
|
@ -1164,8 +1166,10 @@ ul.videoPreviews p.toggle a:hover {
|
|||
.lit { color: #066; }
|
||||
.pun { color: #660; }
|
||||
.pln { color: #000; }
|
||||
dl.tag-list dt code,
|
||||
.tag { color: #008; }
|
||||
.atn { color: #606; }
|
||||
dl.atn-list dt code,
|
||||
.atn { color: #828; }
|
||||
.atv { color: #080; }
|
||||
.dec { color: #606; }
|
||||
|
||||
|
|
|
@ -100,7 +100,6 @@
|
|||
#side-nav li a+a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*second level (nested) list*/
|
||||
#side-nav li li li a {
|
||||
padding: 0 0 0 28px;
|
||||
|
@ -518,8 +517,7 @@ hr {
|
|||
color:#111;
|
||||
border-top:2px solid #ccc;
|
||||
padding: .5em 0 0;
|
||||
margin: 1.5em 0 1em 0;
|
||||
max-width:968px;
|
||||
margin: 2em 0 1em 0;
|
||||
}
|
||||
|
||||
#jd-content h3 {
|
||||
|
@ -545,6 +543,10 @@ hr {
|
|||
position:inherit;
|
||||
}
|
||||
|
||||
#jd-content table {
|
||||
margin: 0 0 1em 1em;
|
||||
}
|
||||
|
||||
#jd-content img {
|
||||
margin: 0 0 1em 1em;
|
||||
}
|
||||
|
@ -807,13 +809,17 @@ pre.classic {
|
|||
div.figure {
|
||||
float:right;
|
||||
clear:right;
|
||||
padding:0 0 20px 20px;
|
||||
padding:1em 0 1em 2em;
|
||||
background-color:#fff;
|
||||
/* width must be defined w/ an inline style matching the image width */
|
||||
}
|
||||
|
||||
#jd-content div.figure img {
|
||||
display:block;
|
||||
margin:0 0 10px 0;
|
||||
p.img-caption {
|
||||
margin: -0.5em 0 1em 1em; /* matches default img left-margin */
|
||||
}
|
||||
|
||||
p.table-caption {
|
||||
margin: 0 0 0.5em 1em; /* matches default table left-margin */
|
||||
}
|
||||
|
||||
/* BEGIN quickview sidebar element styles */
|
||||
|
@ -967,7 +973,7 @@ table.image-caption {
|
|||
|
||||
td.image-caption-i {
|
||||
font-size:92%;
|
||||
padding:0;
|
||||
padding:0 5px;
|
||||
margin:0;
|
||||
border:0;
|
||||
}
|
||||
|
@ -982,10 +988,6 @@ td.image-caption-i img {
|
|||
text-align:center;
|
||||
}
|
||||
|
||||
.image-list .caption {
|
||||
margin:0 2px;
|
||||
}
|
||||
|
||||
td.image-caption-c {
|
||||
font-size:92%;
|
||||
padding:1em 2px 2px 2px;
|
||||
|
|
Loading…
Reference in New Issue