diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-09 13:26:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 10:02:16 +0100 |
commit | 4ff1f64f1be6d6289d13d3f5e0385142e4451b9c (patch) | |
tree | 089f8f8c00b01fd0e399fd6a75500de77ada1532 /documentation | |
parent | 4100ebabfc89a56bef172e3da0b377a56f7773ac (diff) | |
download | openembedded-core-contrib-4ff1f64f1be6d6289d13d3f5e0385142e4451b9c.tar.gz |
documentation/poky-ref-manual: Added new title graphic
I have removed the multi-colored POKY image that was used for
the title of the Poky Handbook. The image I put in here is in
line with the other graphics used as titles for our Yocto Project
documentation. To accomplish this I had to create and add a new
PNG file named poky-title.png. I placed this image in the figures
folder. I removed the poky-ref-manual.png file (old figure).
I also had to alter the Makefile to use the new figure as part of the
tarball. Finally, I had to alter the HTML style sheet (style.css)
to include the new file.
(From yocto-docs rev: 6c44fca054c1c105daea6fa42f89a7f78a6d12cd)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/poky-ref-manual/Makefile | 2 | ||||
-rw-r--r-- | documentation/poky-ref-manual/figures/poky-ref-manual.png | bin | 17829 -> 0 bytes | |||
-rw-r--r-- | documentation/poky-ref-manual/figures/poky-title.png | bin | 0 -> 9727 bytes | |||
-rw-r--r-- | documentation/poky-ref-manual/poky-ref-manual.xml | 8 | ||||
-rw-r--r-- | documentation/poky-ref-manual/style.css | 26 |
5 files changed, 23 insertions, 13 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile index 50bc773c30..72dfe51993 100644 --- a/documentation/poky-ref-manual/Makefile +++ b/documentation/poky-ref-manual/Makefile @@ -21,7 +21,7 @@ html: xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml tarball: html - tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-ref-manual.png figures/ss-sato.png + tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png validate: xmllint --postvalid --xinclude --noout poky-ref-manual.xml diff --git a/documentation/poky-ref-manual/figures/poky-ref-manual.png b/documentation/poky-ref-manual/figures/poky-ref-manual.png Binary files differdeleted file mode 100644 index 333442e0d6..0000000000 --- a/documentation/poky-ref-manual/figures/poky-ref-manual.png +++ /dev/null diff --git a/documentation/poky-ref-manual/figures/poky-title.png b/documentation/poky-ref-manual/figures/poky-title.png Binary files differnew file mode 100644 index 0000000000..6a1ef4d2b0 --- /dev/null +++ b/documentation/poky-ref-manual/figures/poky-title.png diff --git a/documentation/poky-ref-manual/poky-ref-manual.xml b/documentation/poky-ref-manual/poky-ref-manual.xml index 874d9a1c72..62eb8a28d1 100644 --- a/documentation/poky-ref-manual/poky-ref-manual.xml +++ b/documentation/poky-ref-manual/poky-ref-manual.xml @@ -9,14 +9,14 @@ <mediaobject> <imageobject> - <imagedata fileref='figures/poky-ref-manual.png' + <imagedata fileref='figures/poky-title.png' format='SVG' - align='center' scalefit='1' width='100%'/> + align='left' scalefit='1' width='100%'/> </imageobject> </mediaobject> - <title>Poky Reference Manual</title> - <subtitle>A Guide and Reference to Poky</subtitle> + <title></title> + <authorgroup> <author> <firstname>Richard</firstname> <surname>Purdie</surname> diff --git a/documentation/poky-ref-manual/style.css b/documentation/poky-ref-manual/style.css index 138d485f5b..087e45c1fb 100644 --- a/documentation/poky-ref-manual/style.css +++ b/documentation/poky-ref-manual/style.css @@ -122,13 +122,13 @@ h6 { background-color: transparent; background-repeat: no-repeat; padding-top: 256px; - background-image: url("figures/poky-ref-manual.png"); + background-image: url("figures/poky-title.png"); background-position: left top; margin-top: -256px; padding-right: 50px; - margin-left: 50px; + margin-left: 0px; text-align: right; - width: 600px; + width: 740px; } h3.author { @@ -771,12 +771,22 @@ h6, h7{ } +/* +Example of how to stick an image as part of the title. + +div.article .titlepage .title +{ + background-image: url("figures/white-on-black.png"); + background-position: center; + background-repeat: repeat-x; +} +*/ + div.preface .titlepage .title, div.colophon .title, -div.chapter .titlepage .title { - background-image: url("images/title-bg.png"); - background-position: bottom; - background-repeat: repeat-x; +div.chapter .titlepage .title, +div.article .titlepage .title +{ } div.section div.section .titlepage .title, @@ -787,7 +797,7 @@ div.sect2 .titlepage .title { h1.title { background-color: transparent; - background-image: url("poky-ref-manual.png"); + background-image: url("figures/poky-title.png"); background-repeat: no-repeat; height: 256px; text-indent: -9000px; |