blob: f5fa4f407ad192571ccf5a9df571cde64e7dd04e [file] [log] [blame]
Paul Jakmaca7399f2017-03-08 17:15:00 +00001/*
2 CSS style for Texinfo documents
3
4 Public domain 2016 sirgazil. All rights waived.
5
6 Obtained from:
7
8 https://sirgazil.bitbucket.io/en/artifact
9 https://sirgazil.bitbucket.io/en/doc/texinfo-css/tip/manual/static/css/document.css
10*/
11
12
13
14/* NATIVE ELEMENTS */
15a:link,
16a:visited {
17 color: #1E90FF;
18 text-decoration: none;
19}
20
21a:active,
22a:focus,
23a:hover {
24 text-decoration: underline;
25}
26
27abbr,
28acronym {
29 cursor: help;
30}
31
32blockquote {
33 color: #555753;
34 font-style: oblique;
35 margin: 30px 0px;
36 padding-left: 3em;
37}
38
39body {
40 background-color: white;
41 box-shadow: 0 0 2px gray;
42 box-sizing: border-box;
43 color: #333;
44 font-family: sans-serif;
45 font-size: 16px;
46 margin: 50px auto;
47 max-width: 960px;
48 padding: 50px;
49}
50
51code,
52samp,
53tt,
54var {
55 color: purple;
56 font-size: 0.8em;
57}
58
59div.example,
60div.lisp {
61 margin: 0px;
62}
63
64dl {
65 margin: 3em 0em;
66}
67
68dl dl {
69 margin: 0em;
70}
71
72dt {
73 background-color: #F5F5F5;
74 padding: 0.5em;
75}
76
77h1,
78h2,
79h2.contents-heading,
80h3,
81h4 {
82 padding: 20px 0px 0px 0px;
83 font-weight: normal;
84}
85
86h1 {
87 font-size: 2.4em;
88}
89
90h2 {
91 font-size: 2.2em;
92 font-weight: bold;
93}
94
95h3 {
96 font-size: 1.8em;
97}
98
99h4 {
100 font-size: 1.4em;
101}
102
103hr {
104 background-color: silver;
105 border-style: none;
106 height: 1px;
107 margin: 0px;
108}
109
110html {
111 background-color: #F5F5F5;
112}
113
114img {
115 max-width: 100%;
116}
117
118li {
119 padding: 5px;
120}
121
122pre.display,
123pre.example,
124pre.format,
125pre.lisp,
126pre.verbatim{
127 overflow: auto;
128}
129
130pre.example,
131pre.lisp,
132pre.verbatim {
133 background-color: #2D3743;
134 border-color: #000;
135 border-style: solid;
136 border-width: thin;
137 color: #E1E1E1;
138 font-size: smaller;
139 padding: 1em;
140}
141
142table {
143 border-collapse: collapse;
144 margin: 40px 0px;
145}
146
147table.index-cp *,
148table.index-fn *,
149table.index-ky *,
150table.index-pg *,
151table.index-tp *,
152table.index-vr * {
153 background-color: inherit;
154 border-style: none;
155}
156
157td,
158th {
159 border-color: silver;
160 border-style: solid;
161 border-width: thin;
162 padding: 10px;
163}
164
165th {
166 background-color: #F5F5F5;
167}
168/* END NATIVE ELEMENTS */
169
170
171
172/* CLASSES */
173.contents {
174 margin-bottom: 4em;
175}
176
177.float {
178 margin: 3em 0em;
179}
180
181.float-caption {
182 font-size: smaller;
183 text-align: center;
184}
185
186.float > img {
187 display: block;
188 margin: auto;
189}
190
191.footnote {
192 font-size: smaller;
193 margin: 5em 0em;
194}
195
196.footnote h3 {
197 display: inline;
198 font-size: small;
199}
200
201.header {
202 background-color: #F2F2F2;
203 font-size: small;
204 padding: 0.2em 1em;
205}
206
207.key {
208 color: purple;
209 font-size: 0.8em;
210}
211
212.menu * {
213 border-style: none;
214}
215
216.menu td {
217 padding: 0.5em 0em;
218}
219
220.menu td:last-child {
221 width: 60%;
222}
223
224.menu th {
225 background-color: inherit;
226}
227/* END CLASSES */