-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpowerppt.styles.css
More file actions
120 lines (110 loc) · 3.53 KB
/
Copy pathpowerppt.styles.css
File metadata and controls
120 lines (110 loc) · 3.53 KB
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
113
114
115
116
117
118
119
120
/*This stylsheets assumes...
- all slides are within the container #container
- all slides are matched with the selector .slide
- the #container is an immediate child of the body. */
/* Image fitting styles */
.content {
background-repeat: no-repeat;
background-position: center;
text-align: center;
}
.stretch, .contain{
background-size: contain;
}
.fill, .cover{
background-size: cover;
}
/* Text slides */
.slide.text{
background: whitesmoke;
height: auto;
}
.slide.text.visible{
overflow-y: visible;
}
.slide.text>.content{
width: 50%;
max-width: 700px;
margin: auto;
padding-top: 5%;
text-align: left;
}
.slide.text>.content p+p,
.slide.text>.content img+p,
.slide.text>.content p+img,
.slide.text>.content p+h1,
.slide.text>.content h1+p,
.slide.text>.content p+h2,
.slide.text>.content h2+p,
.slide.text>.content p+h3,
.slide.text>.content h3+p{
margin-top: 2.4rem;
}
.slide.text>.content p+p{
text-indent: 5rem;
}
/* Caption Styles */
.content .caption{
position: absolute;
left: 0;
right: 0;
bottom: 5%;
text-align: center;
z-index: 2;
}
.caption.gradient{
bottom: 0;
padding: 4% 0 2% 0;
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
color: white;
}
.caption.whiteGradient{
bottom: 0;
padding: 4% 0 2% 0;
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0.65))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00FFFFFF', endColorstr='#a6FFFFFF',GradientType=0 ); /* IE6-9 */
color: black;
}
.caption.block{
background: whitesmoke;
}
/* Centered Text options (not captions) */
.slide:not(.text)>.content>*:not(.content):only-child, .slide>.content>.center{
display: table-cell;
vertical-align: middle;
padding: 0 25%;
}
/* Text styles for captions and not */
.black{
color: black;
}
.white{
color: white;
}
.yellow{
color: yellow;
}
.outline,
.black.outline{
text-shadow: 1px 0 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
}
.white.outline, .yellow.outline{
text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.yellowOutline{
text-shadow: 1px 0 0 yellow, 0 -1px 0 yellow, 0 1px 0 yellow, -1px 0 0 yellow;
}
.shadow{
text-shadow: 0 0 10px rgba(0,0,0,.4);
}