docs: add "figure" class for DIV elements that contain
a figure image with caption text.
needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b
diff --git a/tools/droiddoc/templates/assets/android-developer-docs.css b/tools/droiddoc/templates/assets/android-developer-docs.css
index c52222c..0b57624 100644
--- a/tools/droiddoc/templates/assets/android-developer-docs.css
+++ b/tools/droiddoc/templates/assets/android-developer-docs.css
@@ -758,7 +758,7 @@
.listhead li {
font-weight: bold;
}
-
+
.listhead li *, /*ie*/.listhead li li {
font-weight: normal;
}
@@ -784,6 +784,16 @@
padding:0;
}
+div.figure {
+ float:right;
+ padding:0 0 20px 20px;
+ /* width must be defined w/ an inline style matching the image width */
+}
+
+#jd-content div.figure img {
+ display:block;
+ margin:0 0 10px 0;
+}
/* BEGIN quickview sidebar element styles */