nrclark@24
|
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
|
nrclark@24
|
2 * contributor license agreements. See the NOTICE file distributed with this
|
nrclark@24
|
3 * work for additional information regarding copyright ownership. The ASF
|
nrclark@24
|
4 * licenses this file to you under the Apache License, Version 2.0 (the
|
nrclark@24
|
5 * "License"); you may not use this file except in compliance with the License.
|
nrclark@24
|
6 * You may obtain a copy of the License at
|
nrclark@24
|
7 *
|
nrclark@24
|
8 * http://www.apache.org/licenses/LICENSE-2.0
|
nrclark@24
|
9 *
|
nrclark@24
|
10 * Unless required by applicable law or agreed to in writing, software
|
nrclark@24
|
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
nrclark@24
|
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
nrclark@24
|
13 * License for the specific language governing permissions and limitations
|
nrclark@24
|
14 * under the License.
|
nrclark@24
|
15 */
|
nrclark@24
|
16
|
nrclark@24
|
17
|
nrclark@24
|
18 @media print {
|
nrclark@24
|
19 @page { size: letter; }
|
nrclark@24
|
20 @page:first {
|
nrclark@24
|
21 @top-left { content: normal }
|
nrclark@24
|
22 @top-right { content: normal }
|
nrclark@24
|
23 }
|
nrclark@24
|
24 @page:right {
|
nrclark@24
|
25 margin: 1.25in 1in 1.5in 1.5in;
|
nrclark@24
|
26 font: normal 10pt "Gill Sans" !important;
|
nrclark@24
|
27 @top-left { content: string(pagetitle); }
|
nrclark@24
|
28 @top-right { content: counter(page); }
|
nrclark@24
|
29 }
|
nrclark@24
|
30 @page:left {
|
nrclark@24
|
31 margin: 1.25in 1.5in 1.5in 1in;
|
nrclark@24
|
32 font: normal 10pt "Gill Sans" !important;
|
nrclark@24
|
33 @top-left { content: counter(page); }
|
nrclark@24
|
34 @top-right { content: string(pagetitle); }
|
nrclark@24
|
35 }
|
nrclark@24
|
36
|
nrclark@24
|
37 title { string-set: doctitle content(); }
|
nrclark@24
|
38
|
nrclark@24
|
39 body {
|
nrclark@24
|
40 font-family: "Palatino";
|
nrclark@24
|
41 margin: 0;
|
nrclark@24
|
42 color: black;
|
nrclark@24
|
43 background: white;
|
nrclark@24
|
44 font-size: 11pt;
|
nrclark@24
|
45 }
|
nrclark@24
|
46
|
nrclark@24
|
47 h1 {
|
nrclark@24
|
48 string-set: pagetitle content();
|
nrclark@24
|
49 page-break-before: always;
|
nrclark@24
|
50 }
|
nrclark@24
|
51 h1:first-child { page-break-before: avoid; }
|
nrclark@24
|
52 h1, h2, h3 {
|
nrclark@24
|
53 font-family: "Gill Sans";
|
nrclark@24
|
54 }
|
nrclark@24
|
55 pre, p, blockquote { page-break-inside: avoid; }
|
nrclark@24
|
56 pre, code {
|
nrclark@24
|
57 font-family: "Monaco", "DejaVu Sans Mono", "Courier New", "Courier";
|
nrclark@24
|
58 font-size: 9pt;
|
nrclark@24
|
59 }
|
nrclark@24
|
60 pre br {
|
nrclark@24
|
61 display: none;
|
nrclark@24
|
62 }
|
nrclark@24
|
63 a:link, a:visited {
|
nrclark@24
|
64 background: transparent;
|
nrclark@24
|
65 text-decoration: none;
|
nrclark@24
|
66 }
|
nrclark@24
|
67
|
nrclark@24
|
68
|
nrclark@24
|
69 #header, #pages, #footer { display: none }
|
nrclark@24
|
70 #wrap, #content {
|
nrclark@24
|
71 float: none !important;
|
nrclark@24
|
72 color: black;
|
nrclark@24
|
73 background: transparent;
|
nrclark@24
|
74 width: auto !important;
|
nrclark@24
|
75 margin: 0;
|
nrclark@24
|
76 padding: 0;
|
nrclark@24
|
77 border: 0;
|
nrclark@24
|
78 }
|
nrclark@24
|
79
|
nrclark@24
|
80 ol.toc a:link, ol. a:visited { text-decoration: none; }
|
nrclark@24
|
81 ol.toc a:after { content: leader('.') target-counter(attr(href), page); }
|
nrclark@24
|
82
|
nrclark@24
|
83 .title {
|
nrclark@24
|
84 page-break-before: always;
|
nrclark@24
|
85 border: none;
|
nrclark@24
|
86 }
|
nrclark@24
|
87 .title img {
|
nrclark@24
|
88 display: block;
|
nrclark@24
|
89 width: 80%;
|
nrclark@24
|
90 margin: 2em auto 4em auto;
|
nrclark@24
|
91 }
|
nrclark@24
|
92 p.preface {
|
nrclark@24
|
93 page-break-before: always;
|
nrclark@24
|
94 padding-top: 1.5in;
|
nrclark@24
|
95 }
|
nrclark@24
|
96 div.preface.quotes {
|
nrclark@24
|
97 page-break-before: always;
|
nrclark@24
|
98 padding-top: 1in;
|
nrclark@24
|
99 }
|
nrclark@24
|
100
|
nrclark@24
|
101 }
|