OSDN Git Service

docs: add image frame style and left-float figure box
authorScott Main <smain@google.com>
Thu, 21 Feb 2013 18:52:02 +0000 (10:52 -0800)
committerScott Main <smain@google.com>
Thu, 21 Feb 2013 18:52:02 +0000 (10:52 -0800)
Change-Id: I9103f6f9e9b416902fbb2add60782ba10ff9e900

tools/droiddoc/templates-sdk/assets/css/default.css

index 20e462c..96123b2 100644 (file)
@@ -2443,7 +2443,8 @@ p.img-caption {
   color:#666;
 }
 
-div.figure {
+div.figure,
+div.figure-right {
   float:right;
   clear:right;
   margin:10px 0 0 0;
@@ -2451,6 +2452,19 @@ div.figure {
   /* width must be defined w/ an inline style matching the image width */
 }
 
+div.figure-left {
+  float:left;
+  clear:left;
+  margin:10px 0 0 0;
+  padding:0 0 0 20px;
+  /* width must be defined w/ an inline style matching the image width */
+}
+
+img.frame {
+  border:1px solid #DDD;
+  padding:4px;
+}
+
 p.table-caption {
   margin: 0 0 4px 0;
   font-size:13px;