add some images to slides
[slides.git] / fosdem2013 / slides.css
CommitLineData
2558e56d 1/**************************
2 * styles for talk slides *
3 * by Robert Kaiser *
4 * <kairo@kairo.at> *
dbf94fdf 5 * (for FOSDEM 2013) *
2558e56d 6 **************************/
7
8
9/***** base style *****/
10
dbf94fdf 11@font-face {
369296c5 12 font-family: 'Open Sans';
13 src: url('template/OpenSans-Regular-webfont.woff');
14 font-weight: normal;
dbf94fdf 15 font-style: normal;
369296c5 16}
17
dbf94fdf 18@font-face {
369296c5 19 font-family: 'Open Sans';
20 src: url('template/OpenSans-Semibold-webfont.woff');
21 font-weight: bold;
dbf94fdf 22 font-style: normal;
369296c5 23}
24
dbf94fdf 25@font-face {
369296c5 26 font-family: 'Open Sans';
27 src: url('template/OpenSans-Italic-webfont.woff');
28 font-weight: normal;
dbf94fdf 29 font-style: italic;
369296c5 30}
31
2558e56d 32html {
33 overflow: hidden; /* to make translations not paint scrollbars */
369296c5 34 background: #f5f1e8 url("template/page-background.png") top left repeat;
35 height: 100%;
2558e56d 36}
37
38body {
39 margin: 0px;
40 padding: 0px;
41 border: 0px;
369296c5 42 font-family: "Open Sans", sans-serif;
2558e56d 43 font-size: 2em;
369296c5 44 color: #333333;
45 background: url("template/page-background-top.png") top left repeat-x;
46 height: 100%;
2558e56d 47}
48
49ul {
50 padding-left: 1.2em;
51 margin-bottom: 0.5em;
52}
53
54ul:first-child,
55ul:last-child {
56 margin-top: 0;
57}
58
59#header {
369296c5 60 height: 40px;
2558e56d 61 position: relative;
369296c5 62 border-top: 1px solid white;
2558e56d 63}
64
65#headerlogo {
369296c5 66 position: absolute;
2558e56d 67 display: block;
369296c5 68 right: 20px;
69 top: 0;
70 text-indent: -2000px;
2558e56d 71 font-size: 1px;
72 overflow: hidden;
369296c5 73 height: 41px;
74 width: 148px;
75 background: url("template/mozilla-tab.png") no-repeat;
2558e56d 76}
77
78#header-text {
369296c5 79 position: relative;
80 top: 5px;
81 left: 25px;
82 font-size: 20px;
2558e56d 83 font-weight: bold;
369296c5 84 color: #808080;
2558e56d 85}
86
87#header-text.neartime {
369296c5 88 color: #80AACC;
2558e56d 89}
90
91#header-text.ontime {
92 color: #80CC80;
93}
94
95#header-text.overtime {
96 color: #FF8080;
97}
98
369296c5 99#subheader-text {
100 color: #808080;
101 position: relative;
102 top: 3px;
103 left: 25px;
104 font-size: 10px;
105}
106
2558e56d 107#slidenav {
369296c5 108 position: absolute;
109 right: 200px;
110 top: 15px;
2558e56d 111 font-size: 10px;
2558e56d 112}
113
114#slidenav a:link,
115#slidenav a:visited {
369296c5 116 color: #484848;
2558e56d 117}
118
119#slidenav a:hover,
120#slidenav a:active {
369296c5 121 color: #0073aa;
2558e56d 122}
123
124#slidenav .nolink {
369296c5 125 color: #A0A0A0;
2558e56d 126}
127
128article {
129 position: absolute;
130 width: 100%;
e1354813
RK
131 /* header is 40px, 7px to have a bit of distance,
132 * 3px height-reducing on the bottom for safety */
133 top: 47px;
134 height: calc(100% - 50px);
2558e56d 135 overflow: auto;
136
137 transition-property: transform, opacity;
138 transition-duration: 3s;
139 transition-timing-function: ease;
140 transform-origin: center 5em;
141
142 opacity: 0;
143/*
144 transform: translate(-100%, 0);
145*/
146/*
147 transform: scale(0.1) rotate(360deg);
148*/
149 transform: scale(0.1) rotate(360deg) translate(-200%, 0);
150}
151
152article[aria-selected="true"] {
153 opacity: 1;
154 transform: scale(1) rotate(0deg) translate(0, 0);
155}
156
157article[aria-selected="true"] ~ article {
158 opacity: 0;
159/*
160 transform: translate(100%, 0);
161*/
162/*
163 transform: scale(0.1) rotate(-360deg);
164*/
165 transform: scale(0.1) rotate(-360deg) translate(200%, 0);
166}
167
168/***** headers *****/
169
369296c5 170h1, h2, h3, h4 {
171 margin: 0.5em 0;
2558e56d 172 font-weight: bold;
369296c5 173 color: #484848;
2558e56d 174 text-align: center;
369296c5 175}
176
177h1 {
178 margin-top: 0;
179 font-size: 1.7em;
2558e56d 180 text-shadow: #AAAA80 3px 3px 5px;
181}
182
183h2 {
2558e56d 184 font-size: 1.3em;
2558e56d 185 text-shadow: #AAAA80 2px 2px 3px;
186}
187
188h3 {
2558e56d 189 font-size: 1.1em;
2558e56d 190}
191
192h4 {
2558e56d 193 font-size: 1em;
2558e56d 194 text-align: left;
195}
196
197/***** boxes *****/
198
199.simplebox {
200 padding: 0.5em;
201}
202
203.captionedbox {
204 padding: 0px;
205}
206
207.simplebox,
208.captionedbox {
209 margin: 1em;
369296c5 210 box-shadow: 0 0 0 1px #fff inset;
211 background: #fff;
212 background-image: radial-gradient(center 45px, ellipse farthest-corner, #f5f1e8 0, #fff 100%);
213 border-bottom: 1px solid #ddd;
2558e56d 214}
215
216.captionedbox-content {
e1354813 217 margin: 0;
2558e56d 218 padding: 0.5em;
219 border: 0px;
369296c5 220 border-top: 1px solid #d6d6d6;
2558e56d 221}
222
223.captionedbox-caption {
e1354813
RK
224 margin: 0;
225 padding: 0.5em;
2558e56d 226 font-weight: bold;
227 text-shadow: #AAAA80 1px 1px 2px;
228}
229
230/***** misc formatting *****/
231
232mark {
233 font-weight: bold;
234 color: #FF6600;
235 background-color: transparent;
236 text-shadow: #AAAA80 2px 2px 3px;
237}
238
239.border {
240 border: 1px solid #6d7581;
241 padding: 0.5em;
242}
243
496fd646 244.sshot {
245 box-shadow: #6d7581 1px 1px 3px 2px;
246}
247
2558e56d 248ul > li {
249 margin: 0.5em 0;
250}
251
252.cent {
253 text-align: center;
254}
255
256.topmargin {
257 margin-top: 0.5em;
258}
259
260.akey {
261 text-decoration: underline;
262}
263
369296c5 264a:link, a:visited { color: #0096dd; text-decoration: none; }
2558e56d 265a:hover, a:active { color: #FF6600; text-decoration: underline; }
266
267mark a:link, mark a:visited { color: #FF6600; }
268mark a:hover, mark a:active { color: #FF6600; }
269
270/***** small stuff *****/
271
272.small,
273.small {
274 font-size: 0.75em;
275}
276
277ul.small,
278.small ul {
279 padding: 0px;
280 border: 0px;
281 margin: 0px 0px 0px 1em;
282}
283
284ul.small > li
285.small ul > li {
286 margin: 0px;
287 padding: 0px;
288 border: 0px;
289}
290
291/***** specific slides *****/
292