From d72731d213269f63f2bb80631f02914800f556ad Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 15 Apr 2010 16:34:41 -0700 Subject: docs: misc css changes make sidebox size match qv make figure align with right margin remove margins from the last

in a table cell Change-Id: Ie655dac45728f782fb309f3c11c1b7ee56bc5660 --- .../templates/assets/android-developer-core.css | 4 +++ .../templates/assets/android-developer-docs.css | 30 +++++++++++++++------- 2 files changed, 25 insertions(+), 9 deletions(-) (limited to 'tools/droiddoc/templates/assets') diff --git a/tools/droiddoc/templates/assets/android-developer-core.css b/tools/droiddoc/templates/assets/android-developer-core.css index 92e4c53..9e9f4d3 100644 --- a/tools/droiddoc/templates/assets/android-developer-core.css +++ b/tools/droiddoc/templates/assets/android-developer-core.css @@ -177,6 +177,10 @@ th { background-color:#dee8f1; } +td p:last-child { + margin:0; +} + hr.blue { background-color:#DDF0F2; border:none; diff --git a/tools/droiddoc/templates/assets/android-developer-docs.css b/tools/droiddoc/templates/assets/android-developer-docs.css index 98f2d5e..0076c38 100644 --- a/tools/droiddoc/templates/assets/android-developer-docs.css +++ b/tools/droiddoc/templates/assets/android-developer-docs.css @@ -806,16 +806,26 @@ pre.classic { padding:0; } +p.img-caption { + margin: -0.5em 0 1em 1em; /* matches default img left-margin */ +} + div.figure { float:right; clear:right; - padding:1em 0 1em 2em; + margin:1em 0 0 3em; + padding:0; background-color:#fff; /* width must be defined w/ an inline style matching the image width */ } -p.img-caption { - margin: -0.5em 0 1em 1em; /* matches default img left-margin */ +#jd-content +div.figure img { + margin: 0 0 1em; +} + +div.figure p.img-caption { + margin: -0.5em 0 1em 0; } p.table-caption { @@ -914,19 +924,21 @@ p.table-caption { /* Begin sidebox sidebar element styles */ .sidebox-wrapper { - float: right; - width:300px; + float:right; + clear:right; + width:310px; /* +35px padding */ background-color:#fff; - margin: 0; - padding: 0 0 20px 20px; + margin:0; + padding:0 0 20px 35px; } .sidebox { border-left:1px solid #dee8f1; background-color:#ffffee; + margin:0; padding:8px 12px; - font-size:90%; - width:260px; + font-size:0.9em; + width:285px; /* +24px padding; +1px border */ } .sidebox p { -- cgit v1.1