diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-03-03 09:19:39 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-04 22:26:42 +0000 |
commit | b8160345a040863c1876ff0747a4945114c51dac (patch) | |
tree | 821b55f6f579fd6dc51b21b423104b30aa3e2c55 | |
parent | cae622c0cc6c4a16c3d73c1e4624aedcff0ebfb1 (diff) | |
download | poky-b8160345a040863c1876ff0747a4945114c51dac.tar.gz |
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.
(From OE-Core rev: 2f24addbd02039fb9b6489c90c5d1c687c0d0698)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/kernel-manual/figures/kernel-title.png | bin | 14334 -> 14305 bytes | |||
-rw-r--r-- | documentation/kernel-manual/style.css | 30 | ||||
-rw-r--r-- | documentation/kernel-manual/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 d81ec8ae13..965264ccc5 100644 --- a/documentation/kernel-manual/figures/kernel-title.png +++ b/documentation/kernel-manual/figures/kernel-title.png | |||
Binary files differ | |||
diff --git a/documentation/kernel-manual/style.css b/documentation/kernel-manual/style.css index 35ed9f36bc..33a01d125a 100644 --- a/documentation/kernel-manual/style.css +++ b/documentation/kernel-manual/style.css | |||
@@ -56,7 +56,7 @@ body { | |||
56 | 56 | ||
57 | h1,h2,h3,h4,h5,h6,h7 { | 57 | h1,h2,h3,h4,h5,h6,h7 { |
58 | font-family: Arial, Sans; | 58 | font-family: Arial, Sans; |
59 | color:#999999; | 59 | color: #00557D; |
60 | clear: both; | 60 | clear: both; |
61 | } | 61 | } |
62 | 62 | ||
@@ -79,9 +79,8 @@ h2.subtitle { | |||
79 | h2 { | 79 | h2 { |
80 | margin: 2em 0em 0.66em 0em; | 80 | margin: 2em 0em 0.66em 0em; |
81 | padding: 0.5em 0em 0em 0em; | 81 | padding: 0.5em 0em 0em 0em; |
82 | font-size: 2em; | 82 | font-size: 1.5em; |
83 | font-weight: bold; | 83 | font-weight: bold; |
84 | color: black; | ||
85 | } | 84 | } |
86 | 85 | ||
87 | h3.subtitle { | 86 | h3.subtitle { |
@@ -94,29 +93,29 @@ h3.subtitle { | |||
94 | h3 { | 93 | h3 { |
95 | margin: 1em 0em 0.5em 0em; | 94 | margin: 1em 0em 0.5em 0em; |
96 | padding: 1em 0em 0em 0em; | 95 | padding: 1em 0em 0em 0em; |
97 | font-size: 150%; | 96 | font-size: 140%; |
98 | font-weight: bold; | 97 | font-weight: bold; |
99 | color: black; | ||
100 | border-bottom: 2px solid black; | ||
101 | } | 98 | } |
102 | 99 | ||
103 | h4 { | 100 | h4 { |
104 | margin: 1em 0em 0.5em 0em; | 101 | margin: 1em 0em 0.5em 0em; |
105 | padding: 1em 0em 0em 0em; | 102 | padding: 1em 0em 0em 0em; |
106 | font-size: 130%; | 103 | font-size: 120%; |
107 | border-bottom: 1px solid black; | 104 | font-weight: bold; |
108 | } | 105 | } |
109 | 106 | ||
110 | h5 { | 107 | h5 { |
111 | margin: 1em 0em 0.5em 0em; | 108 | margin: 1em 0em 0.5em 0em; |
112 | padding: 1em 0em 0em 0em; | 109 | padding: 1em 0em 0em 0em; |
113 | font-size: 120%; | 110 | font-size: 110%; |
111 | font-weight: bold; | ||
114 | } | 112 | } |
115 | 113 | ||
116 | h6 { | 114 | h6 { |
117 | margin: 1em 0em 0em 0em; | 115 | margin: 1em 0em 0em 0em; |
118 | padding: 1em 0em 0em 0em; | 116 | padding: 1em 0em 0em 0em; |
119 | font-size: 100%; | 117 | font-size: 80%; |
118 | font-weight: bold; | ||
120 | } | 119 | } |
121 | 120 | ||
122 | .authorgroup { | 121 | .authorgroup { |
@@ -124,12 +123,12 @@ h6 { | |||
124 | background-repeat: no-repeat; | 123 | background-repeat: no-repeat; |
125 | padding-top: 256px; | 124 | padding-top: 256px; |
126 | background-image: url("figures/kernel-title.png"); | 125 | background-image: url("figures/kernel-title.png"); |
127 | background-position: top; | 126 | background-position: left top; |
128 | margin-top: -256px; | 127 | margin-top: -256px; |
129 | padding-right: 50px; | 128 | padding-right: 50px; |
130 | margin-left: 50px; | 129 | margin-left: 0px; |
131 | text-align: right; | 130 | text-align: right; |
132 | width: 700px; | 131 | width: 740px; |
133 | } | 132 | } |
134 | 133 | ||
135 | h3.author { | 134 | h3.author { |
@@ -137,6 +136,7 @@ h3.author { | |||
137 | padding: 0em 0em 0em 0em; | 136 | padding: 0em 0em 0em 0em; |
138 | font-weight: normal; | 137 | font-weight: normal; |
139 | font-size: 100%; | 138 | font-size: 100%; |
139 | color: #333; | ||
140 | clear: both; | 140 | clear: both; |
141 | } | 141 | } |
142 | 142 | ||
@@ -159,6 +159,7 @@ h3.author { | |||
159 | .list-of-examples, | 159 | .list-of-examples, |
160 | .list-of-figures { | 160 | .list-of-figures { |
161 | padding: 1.33em 0em 2.5em 0em; | 161 | padding: 1.33em 0em 2.5em 0em; |
162 | color: #00557D; | ||
162 | } | 163 | } |
163 | 164 | ||
164 | .toc p, | 165 | .toc p, |
@@ -246,7 +247,6 @@ div.legalnotice p.legalnotice-title { | |||
246 | p { | 247 | p { |
247 | line-height: 1.5em; | 248 | line-height: 1.5em; |
248 | margin-top: 0em; | 249 | margin-top: 0em; |
249 | color: black; font-size: 100%; | ||
250 | 250 | ||
251 | } | 251 | } |
252 | 252 | ||
@@ -946,7 +946,7 @@ table { | |||
946 | 946 | ||
947 | .tip, | 947 | .tip, |
948 | .note { | 948 | .note { |
949 | background: #91ae35; | 949 | background: #666666; |
950 | color: #fff; | 950 | color: #fff; |
951 | padding: 20px; | 951 | padding: 20px; |
952 | margin: 20px; | 952 | 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 8e6ea34dd4..8eb69050ba 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 @@ | |||
3 | 3 | ||
4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> | 4 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> |
5 | 5 | ||
6 | <xsl:param name="generate.toc" select="'article nop'"></xsl:param> | 6 | <!-- <xsl:param name="generate.toc" select="'article nop'"></xsl:param> --> |
7 | 7 | ||
8 | </xsl:stylesheet> | 8 | </xsl:stylesheet> |