diff options
Diffstat (limited to 'docs/reference/html/style.css')
-rw-r--r-- | docs/reference/html/style.css | 147 |
1 files changed, 101 insertions, 46 deletions
diff --git a/docs/reference/html/style.css b/docs/reference/html/style.css index 2341768..bb44c28 100644 --- a/docs/reference/html/style.css +++ b/docs/reference/html/style.css @@ -1,16 +1,16 @@ -.synopsis, .classsynopsis +.synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } -.programlisting +.programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } -.variablelist +.variablelist { padding: 4px; margin-left: 3em; @@ -19,62 +19,100 @@ { vertical-align: top; } + /* this is needed so that the local anchors are displayed below the naviagtion */ -div.refnamediv a[name], div.refsect1 a[name] -{ - position: relative; - top: -4.5em; -} -table.navigation#top -{ - background: #ffeeee; - border: solid 1px #ffaaaa; - margin-top: 0; - margin-bottom: 0; - position: fixed; - top: 0; - left: 0; - height: 2em; - z-index: 1; -} -.navigation a -{ - color: #770000; -} -.navigation a:visited -{ - color: #550000; +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + } + div.refnamediv a[name], div.refsect1 a[name] + { + position: relative; + top: -4.5em; + } + table.navigation#top + { + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0; + margin-bottom: 0; + position: fixed; + top: 0; + left: 0; + height: 2em; + z-index: 1; + } + .navigation a + { + color: #770000; + } + .navigation a:visited + { + color: #550000; + } + td.shortcuts + { + color: #770000; + font-size: 80%; + white-space: nowrap; + } + div.refentry, div.chapter, div.reference, div.part, div.book, div.glossary, div.sect1, div.appendix, div.preface + { + position: relative; + top: 3em; + z-index: 0; + } + div.glossary, div.index + { + position: relative; + top: 2em; + z-index: 0; + } + div.refnamediv + { + margin-top: 2em; + } + body + { + padding-bottom: 20em; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 2em; + } } -.navigation .title + +.navigation .title { font-size: 200%; } -td.shortcuts -{ - color: #770000; - font-size: 80%; -} -div.refentry, div.chapter, div.part, div.book, div.index, div.glossary, div.sect1, div.appendix, div.preface -{ - position: relative; - top: 3em; - z-index: 0; -} -div.refnamediv -{ - margin-top: 2em; -} -div.gallery-float + +div.gallery-float { float: left; padding: 10px; } -div.gallery-float img +div.gallery-float img { border-style: none; } -div.gallery-spacer +div.gallery-spacer { clear: both; } @@ -110,3 +148,20 @@ div.table table th { background-color: #eeeeee; } + +hr +{ + color: #777777; + background: #777777; + border: 0; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + color: #777777; + text-align: center; + font-size: 80%; +} |