aboutsummaryrefslogtreecommitdiff
path: root/slides/s6/screen.css
blob: aa3fc214dcb291f221c51cf5d7b04fc6fb825148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*********************************
 * CSS @media screen (not projection or print)
 *
 * 1) projection -> slideshow mode (display one slide at-a-time; hide all others)
 * 2) screen     -> outline mode (display all slides-at-once on screen) 
 * 3) print      -> print (and print preview)
 *
 * toogle between slideshow/outline mode using t-key
 */


/****
 * hide layout stuff (header, footer, navLinks, navList etc.)
 */

.layout * { display: none; }

.projection { display: none; }

/*************
 * make toggle button visible and reposition to upper right corner *
 * note: toogle button is nested inside #controls > #navLinks > #toogle
 */

#controls,
#navLinks,
#toggle    { display: block;
             visibility: visible;
             margin: 0; padding: 0;
           }

#toggle { position: fixed;
          top: 0; right: 0;
          padding: 0.5em; 
          border-left: 1px solid;
          border-bottom: 1px solid;
          background: white;
        }


/*************
 * making the outline look pretty-ish
 */

#slide1, #slide1 h1, #slide1 h2, #slide1 h3, #slide1 h4 {border: none; margin: 0;}
#slide1 h1 {padding-top: 1.5em;}

.slide { margin: 1.5em 0 0; border-top: 1px solid #888; }
.slide h1 { border-bottom: 1px solid #AAA; }