annotate css/print.css @ 47:5055b4fd03e9 tip gh-pages

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