Mercurial > public > dvcs_intro_brownbag
annotate my_theme/css/print.css @ 13:3547bba86af2
Removed *.html from .hgignore because we are using our own theme now (that includes a base.html file), and it is convenient to control the generated presentation since I won't necessarily have Python and landslide installed on every computer I want to give the presentation.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 30 Nov 2011 18:46:32 -0600 |
parents | 727c48601d66 |
children |
rev | line source |
---|---|
bgneal@12 | 1 * { |
bgneal@12 | 2 margin: 0; |
bgneal@12 | 3 padding: 0; |
bgneal@12 | 4 } |
bgneal@12 | 5 |
bgneal@12 | 6 @page { |
bgneal@12 | 7 size: landscape; |
bgneal@12 | 8 } |
bgneal@12 | 9 |
bgneal@12 | 10 body { |
bgneal@12 | 11 font: 100% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; |
bgneal@12 | 12 padding: 0; |
bgneal@12 | 13 margin: 0; |
bgneal@12 | 14 } |
bgneal@12 | 15 |
bgneal@12 | 16 div.slide { |
bgneal@12 | 17 min-width: 800px; |
bgneal@12 | 18 min-height: 600px; |
bgneal@12 | 19 padding: 1em; |
bgneal@12 | 20 overflow: hidden; |
bgneal@12 | 21 page-break-after: always; |
bgneal@12 | 22 border: 1px solid black; |
bgneal@12 | 23 border-radius: 20px; |
bgneal@12 | 24 } |
bgneal@12 | 25 |
bgneal@12 | 26 div.slide div.inner { |
bgneal@12 | 27 width: 800px; |
bgneal@12 | 28 height: 600px; |
bgneal@12 | 29 margin: auto; |
bgneal@12 | 30 display: table-cell; |
bgneal@12 | 31 } |
bgneal@12 | 32 |
bgneal@12 | 33 h1 { |
bgneal@12 | 34 font-size: 2.4em; |
bgneal@12 | 35 } |
bgneal@12 | 36 |
bgneal@12 | 37 h2 { |
bgneal@12 | 38 font-size: 1.4em; |
bgneal@12 | 39 } |
bgneal@12 | 40 |
bgneal@12 | 41 h3 { |
bgneal@12 | 42 margin: 1em 0; |
bgneal@12 | 43 } |
bgneal@12 | 44 |
bgneal@12 | 45 ul { |
bgneal@12 | 46 margin: 0; |
bgneal@12 | 47 padding: 0; |
bgneal@12 | 48 } |
bgneal@12 | 49 |
bgneal@12 | 50 p, li, pre { |
bgneal@12 | 51 margin: 1em 0; |
bgneal@12 | 52 } |
bgneal@12 | 53 |
bgneal@12 | 54 li { |
bgneal@12 | 55 margin-left: 2em; |
bgneal@12 | 56 } |
bgneal@12 | 57 |
bgneal@12 | 58 a { |
bgneal@12 | 59 color: #000000; |
bgneal@12 | 60 } |
bgneal@12 | 61 |
bgneal@12 | 62 pre, code { |
bgneal@12 | 63 max-width: 800px; |
bgneal@12 | 64 background: #eee; |
bgneal@12 | 65 font-family: Monaco, monospace; |
bgneal@12 | 66 font-size: 90%; |
bgneal@12 | 67 } |
bgneal@12 | 68 |
bgneal@12 | 69 pre { |
bgneal@12 | 70 padding: .2em .5em; |
bgneal@12 | 71 overflow: hidden; |
bgneal@12 | 72 border-radius: .8em; |
bgneal@12 | 73 } |
bgneal@12 | 74 |
bgneal@12 | 75 code { |
bgneal@12 | 76 padding: 0 .2em; |
bgneal@12 | 77 } |
bgneal@12 | 78 |
bgneal@12 | 79 .slide header:only-child h1 { |
bgneal@12 | 80 line-height: 180%; |
bgneal@12 | 81 text-align: center; |
bgneal@12 | 82 display: table-cell; |
bgneal@12 | 83 vertical-align: middle; |
bgneal@12 | 84 height: 600px; |
bgneal@12 | 85 width: 800px; |
bgneal@12 | 86 font-size: 48px; |
bgneal@12 | 87 margin-top:100px; |
bgneal@12 | 88 margin-bottom:100px; |
bgneal@12 | 89 } |
bgneal@12 | 90 |
bgneal@12 | 91 #toc, #help, .slide aside, .slide footer, .slide .notes, |
bgneal@12 | 92 .presenter_notes, #current_presenter_notes, #presenter_note { |
bgneal@12 | 93 display: none; |
bgneal@12 | 94 } |