0
|
1 ////////
|
|
2 // variables for easy configuration
|
|
3 //
|
|
4 // (note: this is a less extendend css script, to learn more about less; see lesscss.org)
|
|
5
|
|
6 @color: black;
|
|
7 @color-step-hidden: silver;
|
|
8
|
1
|
9 @background-color-code: #ffffa9;
|
0
|
10
|
|
11 // -- gradient colors used for slides classified with cover | title
|
|
12
|
|
13 @background-gradient-color1-cover: white;
|
|
14 @background-gradient-color2-cover: white;
|
|
15
|
|
16 // -- gradient colors for all other slides
|
|
17
|
|
18 @background-gradient-color1: white;
|
|
19 @background-gradient-color2: white;
|
|
20
|
|
21 // --- font size
|
|
22
|
|
23 @font-size-h1: 190%; // 30pt / 40px (assuming 100% => 12pt / 16px)
|
|
24 @font-size-h2: 200%; // 28pt / 37px
|
|
25 @font-size-h3: 150%; // 24pt / 32px
|
1
|
26 @font-size-text: 130%; // 18pt / 24px
|
|
27 @font-size-code: 150%; // 16pt / 22px
|
|
28 @font-small-size: 100%;
|
0
|
29
|
|
30 /////////////////////////////
|
|
31
|
|
32 body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
|
|
33
|
|
34 a:link,
|
|
35 a:visited { color: @color; }
|
|
36
|
|
37
|
|
38 .slide {
|
|
39
|
|
40 color: @color;
|
|
41
|
|
42 h1 { font-size: @font-size-h1;
|
|
43 color: white;
|
|
44 text-align: center;
|
|
45
|
|
46 &.fullscreen { position: absolute;
|
|
47 top: 40%;
|
|
48 width: 100%; }
|
|
49
|
|
50 // lets you create slides with no heading (that is, heading gets hidden but included in toc)
|
|
51 &.hidden { display: none; }
|
|
52 }
|
|
53
|
1
|
54 h2 { font-size: @font-size-h2; background-color: #808db5; color:white; padding: 5px;}
|
0
|
55
|
|
56 h3 { font-size: @font-size-h3; }
|
|
57 name {
|
|
58 font-size: @font-size-h3;
|
|
59 background-color: #ffcc00;
|
|
60 &.fullscreen { position: absolute;
|
|
61 top: 40%;
|
|
62 width: 100%; }
|
|
63 }
|
|
64
|
|
65 .stepcurrent { color: @color; }
|
|
66 .step { color: @color-step-hidden; } // or hide next steps e.g. .step { visibility: hidden; }
|
|
67 }
|
|
68
|
|
69
|
|
70 ul { list-style-type: square; }
|
|
71
|
|
72
|
1
|
73 p, li, dt, dd, td{ font-size: @font-size-text; }
|
2
|
74 th { font-size: @font-small-size; font-weight:normal; align:left}
|
0
|
75
|
|
76
|
1
|
77 pre {font-size: @font-size-code; }
|
0
|
78
|
|
79 .code {
|
|
80 background-color: @background-color-code;
|
|
81 padding: 5px;
|
1
|
82 }
|
|
83 code {
|
|
84 font-size: @font-size-code;
|
|
85 background-color: @background-color-code;
|
|
86 padding: 5px;
|
|
87 }
|
0
|
88 .footnote a:first-of-type { text-decoration: none; }
|
|
89
|
|
90 p.footnote { font-size: 88%; }
|
|
91
|
|
92 .help {
|
|
93 p, td { font-size: 88%; }
|
|
94 }
|
|
95
|
|
96 /********
|
|
97 * example gradient background using css3
|
|
98 */
|
|
99
|
|
100 .slide {
|
|
101 background-image: -webkit-linear-gradient(top, @background-gradient-color1,
|
|
102 @background-gradient-color2,
|
|
103 @background-gradient-color1,
|
|
104 @background-gradient-color2);
|
|
105
|
|
106 background-image: -moz-linear-gradient(top, @background-gradient-color1,
|
|
107 @background-gradient-color2,
|
|
108 @background-gradient-color1,
|
|
109 @background-gradient-color2);
|
|
110
|
|
111 &.cover, &.title {
|
|
112 background-image: -webkit-linear-gradient(top, @background-gradient-color1-cover,
|
|
113 @background-gradient-color2-cover,
|
|
114 @background-gradient-color1-cover,
|
|
115 @background-gradient-color2-cover);
|
|
116
|
|
117 background-image: -moz-linear-gradient(top, @background-gradient-color1-cover,
|
|
118 @background-gradient-color2-cover,
|
|
119 @background-gradient-color1-cover,
|
|
120 @background-gradient-color2-cover);
|
|
121
|
|
122 }
|
|
123 } |