OSDN Git Service

docs: add "figure" class for DIV elements that contain
authorScott Main <smain@google.com>
Thu, 10 Dec 2009 02:08:32 +0000 (18:08 -0800)
committerScott Main <smain@google.com>
Thu, 10 Dec 2009 02:08:32 +0000 (18:08 -0800)
a figure image with caption text.

needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b

tools/droiddoc/templates/assets/android-developer-docs.css

index c52222c..0b57624 100644 (file)
@@ -758,7 +758,7 @@ dl.xml dl dt {
 .listhead li {
   font-weight: bold;
 }
-  
+
 .listhead li *, /*ie*/.listhead li li {
   font-weight: normal;
 }
@@ -784,6 +784,16 @@ pre.classic {
   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 */