diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-06-25 14:52:05 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 13:57:09 +0100 |
commit | 9eb3e8555738f75206a0b028800b44330d8a200d (patch) | |
tree | fe23ca2abbd2a81090557e57b7585ae7b124b16a /documentation/ref-manual | |
parent | 6b5398f82b106a85ca6049a2ddbd1ff569445098 (diff) | |
download | poky-9eb3e8555738f75206a0b028800b44330d8a200d.tar.gz |
documentation: Added permalink display styles to CSS files.
Fixes [YOCTO #5772]
Updated each manual's CSS style sheet to contain a style for
how the permalink symbol looks on its own and how it looks
when a user hovers over it with the mouse.
(From yocto-docs rev: c8d4afa0b83a40ac2de0c47c191a11b3e7d241e5)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-style.css | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/documentation/ref-manual/ref-style.css b/documentation/ref-manual/ref-style.css index e896a39d33..e04b5006b4 100644 --- a/documentation/ref-manual/ref-style.css +++ b/documentation/ref-manual/ref-style.css | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | Generic XHTML / DocBook XHTML CSS Stylesheet. | 2 | Generic XHTML / DocBook XHTML CSS Stylesheet. |
3 | 3 | ||
4 | Browser wrangling and typographic design by | 4 | Browser wrangling and typographic design by |
5 | Oyvind Kolas / pippin@gimp.org | 5 | Oyvind Kolas / pippin@gimp.org |
6 | 6 | ||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | body { | 43 | body { |
44 | font-family: Verdana, Sans, sans-serif; | 44 | font-family: Verdana, Sans, sans-serif; |
45 | 45 | ||
46 | min-width: 640px; | 46 | min-width: 640px; |
47 | width: 80%; | 47 | width: 80%; |
48 | margin: 0em auto; | 48 | margin: 0em auto; |
@@ -243,7 +243,7 @@ div.legalnotice p.legalnotice-title { | |||
243 | p { | 243 | p { |
244 | line-height: 1.5em; | 244 | line-height: 1.5em; |
245 | margin-top: 0em; | 245 | margin-top: 0em; |
246 | 246 | ||
247 | } | 247 | } |
248 | 248 | ||
249 | dl { | 249 | dl { |
@@ -297,7 +297,7 @@ p a[id] { | |||
297 | padding: 0px; | 297 | padding: 0px; |
298 | display: inline; | 298 | display: inline; |
299 | background-image: none; | 299 | background-image: none; |
300 | } | 300 | } |
301 | 301 | ||
302 | a { | 302 | a { |
303 | text-decoration: underline; | 303 | text-decoration: underline; |
@@ -313,6 +313,13 @@ a:hover { | |||
313 | /*font-weight: bold;*/ | 313 | /*font-weight: bold;*/ |
314 | } | 314 | } |
315 | 315 | ||
316 | /* This style defines how the permalink character | ||
317 | appears by itself and when hovered over with | ||
318 | the mouse. */ | ||
319 | |||
320 | [alt='Permalink'] { color: #eee; } | ||
321 | [alt='Permalink']:hover { color: black; } | ||
322 | |||
316 | 323 | ||
317 | div.informalfigure, | 324 | div.informalfigure, |
318 | div.informalexample, | 325 | div.informalexample, |
@@ -338,10 +345,10 @@ div.table p.title b{ | |||
338 | font-weight: normal; | 345 | font-weight: normal; |
339 | } | 346 | } |
340 | 347 | ||
341 | .mediaobject .caption, | 348 | .mediaobject .caption, |
342 | .mediaobject .caption p { | 349 | .mediaobject .caption p { |
343 | text-align: center; | 350 | text-align: center; |
344 | font-size: 80%; | 351 | font-size: 80%; |
345 | padding-top: 0.5em; | 352 | padding-top: 0.5em; |
346 | padding-bottom: 0.5em; | 353 | padding-bottom: 0.5em; |
347 | } | 354 | } |
@@ -604,7 +611,7 @@ b.keycap, | |||
604 | .keycap { | 611 | .keycap { |
605 | border: 1px solid; | 612 | border: 1px solid; |
606 | } | 613 | } |
607 | 614 | ||
608 | 615 | ||
609 | div.navheader, div.heading{ | 616 | div.navheader, div.heading{ |
610 | border-bottom: 1px solid; | 617 | border-bottom: 1px solid; |
@@ -675,10 +682,10 @@ hr { | |||
675 | } | 682 | } |
676 | 683 | ||
677 | .note { | 684 | .note { |
678 | background-color: #f0f0f2; | 685 | background-color: #f0f0f2; |
679 | } | 686 | } |
680 | 687 | ||
681 | .glossary dl dt, | 688 | .glossary dl dt, |
682 | .variablelist dl dt, | 689 | .variablelist dl dt, |
683 | .variablelist dl dt span.term { | 690 | .variablelist dl dt span.term { |
684 | color: #044; | 691 | color: #044; |
@@ -778,10 +785,10 @@ div.article .titlepage .title | |||
778 | } | 785 | } |
779 | */ | 786 | */ |
780 | 787 | ||
781 | div.preface .titlepage .title, | 788 | div.preface .titlepage .title, |
782 | div.colophon .title, | 789 | div.colophon .title, |
783 | div.chapter .titlepage .title, | 790 | div.chapter .titlepage .title, |
784 | div.article .titlepage .title | 791 | div.article .titlepage .title |
785 | { | 792 | { |
786 | } | 793 | } |
787 | 794 | ||
@@ -942,8 +949,8 @@ table { | |||
942 | 949 | ||
943 | .tip, | 950 | .tip, |
944 | .note { | 951 | .note { |
945 | background: #f0f0f2; | 952 | background: #f0f0f2; |
946 | color: #333; | 953 | color: #333; |
947 | padding: 20px; | 954 | padding: 20px; |
948 | margin: 20px; | 955 | margin: 20px; |
949 | } | 956 | } |
@@ -954,12 +961,12 @@ table { | |||
954 | margin: 0em; | 961 | margin: 0em; |
955 | font-size: 2em; | 962 | font-size: 2em; |
956 | font-weight: bold; | 963 | font-weight: bold; |
957 | color: #333; | 964 | color: #333; |
958 | } | 965 | } |
959 | 966 | ||
960 | .tip a, | 967 | .tip a, |
961 | .note a { | 968 | .note a { |
962 | color: #333; | 969 | color: #333; |
963 | text-decoration: underline; | 970 | text-decoration: underline; |
964 | } | 971 | } |
965 | 972 | ||
@@ -976,4 +983,3 @@ table { | |||
976 | font-size:large; | 983 | font-size:large; |
977 | color: #00557D; | 984 | color: #00557D; |
978 | } | 985 | } |
979 | |||