diff options
author | Scott Main <smain@google.com> | 2010-04-15 16:34:41 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2010-04-20 15:35:49 -0700 |
commit | d72731d213269f63f2bb80631f02914800f556ad (patch) | |
tree | a565821e53279122960dbbccdd17e007162f0cc3 /tools | |
parent | f655dab5e611d8e013f1e5ad4ddcb269f7db05a6 (diff) | |
download | build-d72731d213269f63f2bb80631f02914800f556ad.zip build-d72731d213269f63f2bb80631f02914800f556ad.tar.gz build-d72731d213269f63f2bb80631f02914800f556ad.tar.bz2 |
docs: misc css changes
make sidebox size match qv
make figure align with right margin
remove margins from the last <p> in a table cell
Change-Id: Ie655dac45728f782fb309f3c11c1b7ee56bc5660
Diffstat (limited to 'tools')
-rw-r--r-- | tools/droiddoc/templates/assets/android-developer-core.css | 4 | ||||
-rw-r--r-- | tools/droiddoc/templates/assets/android-developer-docs.css | 30 |
2 files changed, 25 insertions, 9 deletions
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 { |