Debian Codegraph @

src/docbkx/css/style.css

raw
1
2 /*
3 * Copyright 2009-2013 Roland Huss
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 body {
18 margin-top: 2em;
19 margin-bottom: 2em;
20 margin-left: auto;
21 margin-right: auto;
22 border-left: 1px #eee solid;
23 border-right: 1px #eee solid;
24 padding: 0 30px;
25 max-width: 1020px;
26 }
27
28 a {
29 text-decoration: none;
30 }
31
32 a:link, a:visited {
33 color: #820A0A;
34 }
35
36 a:active, a:hover {
37 background: #E9E9E9;
38 }
39
40
41 p {
42 /* ensure paragraphs remain close to their parent heading */
43 margin-top: 0;
44 margin-bottom: 1em;
45 }
46
47 h1, h2, h3, h4, h5 {
48 /* ensure paragraphs remain close to their parent heading */
49 margin-bottom: 0.2em;
50 color: #820A0A;
51 }
52
53 h1 {
54 font-size: 180%;
55 }
56
57 h2 {
58 font-size: 180%;
59 }
60
61 h3 {
62 font-size: 110%;
63 }
64
65 .chapter h1 {
66 margin-bottom: 1.0em;
67 }
68
69 .appendix h1 {
70 margin-bottom: 1.0em;
71 }
72
73 .section h2 {
74 font-size: 130%;
75 margin-top: 1.4em;
76 }
77
78 /*
79 * Table of Contents
80 */
81
82 .toc dl, .list-of-examples dl {
83 margin-top: 0;
84 margin-bottom: 0;
85 }
86
87 .book .toc > dl > dt {
88 margin-top: 0.6em;
89 }
90
91 .book .toc, .book .list-of-examples {
92 margin-top: 2em;
93 }
94
95 /*
96 * HEADER/FOOTER
97 */
98
99 .navheader {
100 margin-bottom: 3em;
101 padding-bottom: 1em;
102 width: 100%;
103 border-bottom: solid #d0d0d0 0.4em;
104 }
105
106 .navfooter {
107 margin-top: 3em;
108 padding-top: 1em;
109 width: 100%;
110 border-top: solid #d0d0d0 0.4em;
111 }
112
113 .navbar {
114 color: #a2a2a2;
115 font-size: 90%;
116 width: 100%;
117 text-align: right;
118 }
119
120 .navbar a {
121 color: #444444;
122 }
123
124 .navbar span {
125 padding-left: .8em;
126 padding-right: .8em;
127 }
128
129 /**
130 * TITLEPAGE
131 */
132
133 .book > .titlepage {
134 margin-top: 2.2em;
135 margin-bottom: 2em;
136 }
137
138 .book .titlepage div.title {
139 border: solid #d0d0d0 1px;
140 background-color: #ffffff;
141 margin-left: -30px;
142 margin-right: -30px;
143 padding-left: 1.8em;
144 padding-right: 1.8em;
145 margin-bottom: 2.2em;
146 }
147
148 .titlepage h1.title {
149 font-size: 200%;
150 margin-bottom: 0;
151 color: #820A0A;
152 }
153
154 .titlepage h2.subtitle {
155 font-size: 160%;
156 font-style: italic;
157 margin-top: 0;
158 margin-bottom: 0;
159 color: #4a9935;
160 }
161
162 .titlepage .releaseinfo {
163 color: #666666;
164 font-size: 120%;
165 margin-top: 2em;
166 margin-bottom: 2.6em;
167 }
168
169 .titlepage .author {
170 color: #666666;
171 }
172
173 .titlepage .copyright {
174 color: #a2a2a2;
175 font-size: 90%;
176 }
177
178 .titlepage .legalnotice {
179 color: #a2a2a2;
180 font-size: 90%;
181 }
182
183 .literal, .userinput, .filename {
184 white-space: nowrap;
185 }
186
187 /*
188 * Single page html
189 */
190 .book .chapter {
191 margin-top: 4em;
192 }
193
194 div.mediaobject {
195 text-align: center;
196 }