summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2015-02-17 14:28:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-24 23:36:12 +0000
commit0a8c08ed315483e6c333fb2df62f9141b6871d6a (patch)
tree997895c26ffb3fcd24c5d899b0e5acca713bf936
parent8aa9a230783b14d2c180fa7ad7e1d822466e0f24 (diff)
downloadpoky-0a8c08ed315483e6c333fb2df62f9141b6871d6a.tar.gz
ref-style.css: Added a new style to support glossary hanging indent
I moved the PNG file for the context to be the first item displayed for a given glossary term. The PNG file must be negatively indented though to look decent. Fixes [YOCTO #5601] These reformatting changes were needed because of brower incompatibilities discovered with the existing solution for displaying these PNG files with glossary terms. (From yocto-docs rev: c84c4bc91b10e1443dc5aefc3a987a370d25432b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/ref-style.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-style.css b/documentation/ref-manual/ref-style.css
index f660a96859..a54083fc8a 100644
--- a/documentation/ref-manual/ref-style.css
+++ b/documentation/ref-manual/ref-style.css
@@ -211,7 +211,7 @@ div.variablelist dl {
211 211
212.glossary dl dd, 212.glossary dl dd,
213.variablelist dl dd { 213.variablelist dl dd {
214 margin-top: -3.5em; 214 margin-top: 0em;
215 margin-left: 15.5em; 215 margin-left: 15.5em;
216 margin-bottom: 2em; 216 margin-bottom: 2em;
217} 217}
@@ -222,6 +222,10 @@ div.variablelist dl {
222 margin-bottom: 1em; 222 margin-bottom: 1em;
223} 223}
224 224
225.glossdeffirst {
226 text-indent: -70px;
227}
228
225div.calloutlist table td { 229div.calloutlist table td {
226 padding: 0em 0em 0em 0em; 230 padding: 0em 0em 0em 0em;
227 margin: 0em 0em 0em 0em; 231 margin: 0em 0em 0em 0em;