From d412b923acad100da6576143e8eb8be3a451be39 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 9 May 2011 13:26:59 -0500 Subject: 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: e640d19b2714702f318adb483302f86a3bfa967f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../poky-ref-manual/figures/poky-ref-manual.png | Bin 17829 -> 0 bytes .../poky-ref-manual/figures/poky-title.png | Bin 0 -> 9727 bytes documentation/poky-ref-manual/poky-ref-manual.xml | 8 +++---- documentation/poky-ref-manual/style.css | 26 ++++++++++++++------- 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 documentation/poky-ref-manual/figures/poky-ref-manual.png create mode 100644 documentation/poky-ref-manual/figures/poky-title.png diff --git a/documentation/poky-ref-manual/figures/poky-ref-manual.png b/documentation/poky-ref-manual/figures/poky-ref-manual.png deleted file mode 100644 index 333442e0d6..0000000000 Binary files a/documentation/poky-ref-manual/figures/poky-ref-manual.png and /dev/null differ diff --git a/documentation/poky-ref-manual/figures/poky-title.png b/documentation/poky-ref-manual/figures/poky-title.png new file mode 100644 index 0000000000..6a1ef4d2b0 Binary files /dev/null and b/documentation/poky-ref-manual/figures/poky-title.png differ 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 @@ - + align='left' scalefit='1' width='100%'/> - Poky Reference Manual - A Guide and Reference to Poky + + Richard Purdie 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; -- cgit v1.2.3-54-g00ecf