From 2f24addbd02039fb9b6489c90c5d1c687c0d0698 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 3 Mar 2011 09:19:39 -0600 Subject: documentation/kernel-manual: Kernel manual Style changes Modifications to the figure image (figures/kernel-title.png), the heading styles (style.css), and the numbering system with TOC display (yocto-project-kernel-manual-customization.xsl). I updated the title image to display the manual title using color #00557D, which coordinates with the Yocto Project website color scheme. I also updated the style sheet to use this same color for the section headings. This helps to set them off better from the text. Finally, I flipped the switch back on for this manual to create chapter-specific table of contents sections prior to each chapter and to include a all-inclusive TOC at the beginning of the book. Signed-off-by: Scott Rifenbark --- .../kernel-manual/figures/kernel-title.png | Bin 14334 -> 14305 bytes documentation/kernel-manual/style.css | 30 ++++++++++----------- .../yocto-project-kernel-manual-customization.xsl | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/documentation/kernel-manual/figures/kernel-title.png b/documentation/kernel-manual/figures/kernel-title.png index d81ec8ae1..965264ccc 100644 Binary files a/documentation/kernel-manual/figures/kernel-title.png and b/documentation/kernel-manual/figures/kernel-title.png differ diff --git a/documentation/kernel-manual/style.css b/documentation/kernel-manual/style.css index 35ed9f36b..33a01d125 100644 --- a/documentation/kernel-manual/style.css +++ b/documentation/kernel-manual/style.css @@ -56,7 +56,7 @@ body { h1,h2,h3,h4,h5,h6,h7 { font-family: Arial, Sans; - color:#999999; + color: #00557D; clear: both; } @@ -79,9 +79,8 @@ h2.subtitle { h2 { margin: 2em 0em 0.66em 0em; padding: 0.5em 0em 0em 0em; - font-size: 2em; + font-size: 1.5em; font-weight: bold; - color: black; } h3.subtitle { @@ -94,29 +93,29 @@ h3.subtitle { h3 { margin: 1em 0em 0.5em 0em; padding: 1em 0em 0em 0em; - font-size: 150%; + font-size: 140%; font-weight: bold; - color: black; - border-bottom: 2px solid black; } h4 { margin: 1em 0em 0.5em 0em; padding: 1em 0em 0em 0em; - font-size: 130%; - border-bottom: 1px solid black; + font-size: 120%; + font-weight: bold; } h5 { margin: 1em 0em 0.5em 0em; padding: 1em 0em 0em 0em; - font-size: 120%; + font-size: 110%; + font-weight: bold; } h6 { margin: 1em 0em 0em 0em; padding: 1em 0em 0em 0em; - font-size: 100%; + font-size: 80%; + font-weight: bold; } .authorgroup { @@ -124,12 +123,12 @@ h6 { background-repeat: no-repeat; padding-top: 256px; background-image: url("figures/kernel-title.png"); - background-position: top; + background-position: left top; margin-top: -256px; padding-right: 50px; - margin-left: 50px; + margin-left: 0px; text-align: right; - width: 700px; + width: 740px; } h3.author { @@ -137,6 +136,7 @@ h3.author { padding: 0em 0em 0em 0em; font-weight: normal; font-size: 100%; + color: #333; clear: both; } @@ -159,6 +159,7 @@ h3.author { .list-of-examples, .list-of-figures { padding: 1.33em 0em 2.5em 0em; + color: #00557D; } .toc p, @@ -246,7 +247,6 @@ div.legalnotice p.legalnotice-title { p { line-height: 1.5em; margin-top: 0em; - color: black; font-size: 100%; } @@ -946,7 +946,7 @@ table { .tip, .note { - background: #91ae35; + background: #666666; color: #fff; padding: 20px; margin: 20px; diff --git a/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl b/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl index 8e6ea34dd..8eb69050b 100644 --- a/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl +++ b/documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl @@ -3,6 +3,6 @@ - + -- cgit v1.2.3