Mercurial > hg > Papers > 2014 > taninari-master
comparison presen/themes/blank/print.css.less @ 27:57a92ff9540c
add presen files
author | Taninari YU <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 04 Feb 2014 04:04:10 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
26:aec4085dd5db | 27:57a92ff9540c |
---|---|
1 /********************************* | |
2 * CSS @media print rules (not projection or screen) | |
3 */ | |
4 | |
5 ////////////////////////////////////// | |
6 // note: this is a less extendend css script, to learn more about less; see lesscss.org) | |
7 | |
8 body { font-size: 12pt; } | |
9 | |
10 | |
11 .slide { | |
12 display: block !important; | |
13 page-break-inside: avoid; | |
14 | |
15 h1 { page-break-after: avoid; } | |
16 ul { page-break-inside: avoid; } | |
17 | |
18 h1 { border-top: 2pt solid gray; | |
19 border-bottom: 1px dotted silver; | |
20 } | |
21 | |
22 /******************** | |
23 * Extra styling for first slide (title/cover slide) | |
24 */ | |
25 | |
26 &:first-child { | |
27 margin-bottom: 3em; | |
28 | |
29 h1 { font-size: 200%; | |
30 border: none; | |
31 margin: 0.5em 0 0.25em; } | |
32 h3 { margin: 0; padding: 0;} | |
33 h4 { margin: 0 0 0.5em; padding: 0;} | |
34 } | |
35 } |