From 483cf38d8d49e472f052dca5ed9a05ec36472b9e Mon Sep 17 00:00:00 2001 From: Scott Main Date: Wed, 9 Dec 2009 18:08:32 -0800 Subject: [PATCH] docs: add "figure" class for DIV elements that contain a figure image with caption text. needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b --- .../templates/assets/android-developer-docs.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/droiddoc/templates/assets/android-developer-docs.css b/tools/droiddoc/templates/assets/android-developer-docs.css index c52222c397..0b57624f5c 100644 --- a/tools/droiddoc/templates/assets/android-developer-docs.css +++ b/tools/droiddoc/templates/assets/android-developer-docs.css @@ -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 */