-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblank.css.scss
112 lines (74 loc) · 3.32 KB
/
blank.css.scss
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
////////
// variables for easy configuration
//
// (note: this is a sass/scss extendend css script,
// to learn more about sass; see sass-lang.org)
$color: black;
$color-step-hidden: silver;
$background-color-code: azure;
// -- gradient colors used for slides classified with cover | title
$background-gradient-color1-cover: blue;
$background-gradient-color2-cover: aqua;
// -- gradient colors for all other slides
$background-gradient-color1: yellow;
$background-gradient-color2: orange;
// --- font size
$font-size-h1: 245%; // 30pt / 40px (assuming 100% => 12pt / 16px)
$font-size-h2: 230%; // 28pt / 37px
$font-size-h3: 200%; // 24pt / 32px
$font-size-text: 150%; // 18pt / 24px
$font-size-code: 140%; // 16pt / 22px
/////////////////////////////
body { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
a:link,
a:visited { color: $color; }
.slide {
color: $color;
h1 { font-size: $font-size-h1;
text-align: center;
&.fullscreen { position: absolute;
top: 40%;
width: 100%; }
// lets you create slides with no heading (that is, heading gets hidden but included in toc)
&.hidden { display: none; }
}
h2 { font-size: $font-size-h2; }
h3 { font-size: $font-size-h3; }
.stepcurrent { color: $color; }
.step { color: $color-step-hidden; } // or hide next steps e.g. .step { visibility: hidden; }
}
ul { list-style-type: square; }
p, li, dt, dd, td, th { font-size: $font-size-text; }
pre { font-size: $font-size-code; }
.code {
background-color: $background-color-code;
padding: 5px;
}
.footnote a:first-of-type { text-decoration: none; }
p.footnote { font-size: 88%; }
.help {
p, td { font-size: 88%; }
}
/********
* example gradient background using css3
*/
.slide {
background-image: -webkit-linear-gradient(top, $background-gradient-color1,
$background-gradient-color2,
$background-gradient-color1,
$background-gradient-color2);
background-image: -moz-linear-gradient(top, $background-gradient-color1,
$background-gradient-color2,
$background-gradient-color1,
$background-gradient-color2);
&.cover, &.title {
background-image: -webkit-linear-gradient(top, $background-gradient-color1-cover,
$background-gradient-color2-cover,
$background-gradient-color1-cover,
$background-gradient-color2-cover);
background-image: -moz-linear-gradient(top, $background-gradient-color1-cover,
$background-gradient-color2-cover,
$background-gradient-color1-cover,
$background-gradient-color2-cover);
}
}