Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
braverock
GitHub Repository: braverock/portfolioanalytics
Path: blob/master/sandbox/RFinance2014/libraries/frameworks/io2012/css/slidify.css
1436 views
1
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700|Source+Code+Pro:500|Open+Sans|Oswald);
2
3
/* Styles for Table of Contents */
4
#io2012-toc {
5
position: absolute;
6
top:0;
7
left:10px;
8
z-index: 999;
9
}
10
#io2012-toc a{
11
border-bottom: none;
12
}
13
14
#io2012-toc .nav-pills > .active > a{
15
background-color: darkslategray;
16
color: yellow;
17
}
18
#io2012-toc li {
19
margin-bottom: 0em;
20
}
21
22
#io2012-toc li.current {
23
background-color: yellow;
24
}
25
26
.license {
27
font-size: 14px;
28
color: #a9a9a9;
29
position: absolute;
30
bottom: 30px;
31
left: 60px;
32
}
33
34
35
/* Styles for Title Slide */
36
.title-slide hgroup > h1{
37
font-family: 'Oswald', sans-serif;
38
}
39
40
.title-slide hgroup > h2{
41
font-family: 'Oswald', 'Calibri', sans-serif;
42
}
43
44
/* Fonts and Spacing */
45
article p, article li, article li.build, section p, section li{
46
font-family: 'Open Sans','Helvetica', 'Crimson Text', 'Garamond', 'Palatino', sans-serif;
47
text-align: justify;
48
font-size:22px;
49
line-height: 1.5em;
50
color: #444;
51
}
52
53
slide:not(.segue) h2{
54
font-family: 'Calibri', Arial, sans-serif;
55
font-size: 52px;
56
font-style: normal;
57
font-weight: bold;
58
text-transform: normal;
59
letter-spacing: -2px;
60
line-height: 1.2em;
61
/* color: #193441;*/
62
/* color: #02574D;*/
63
color: #CC2904;
64
}
65
66
/* Reduce Space between Title and Body */
67
slides > slide > hgroup + article {
68
margin-top: 15px;
69
}
70
71
/* Remove Border, Margins and Padding from iframe */
72
iframe {
73
border: none;
74
margin: 0;
75
padding: 0;
76
}
77
78
/* Knitr Images */
79
.rimage.left {
80
text-align: left;
81
}
82
.rimage.right {
83
text-align: right;
84
}
85
.rimage.center {
86
text-align: center;
87
}
88
89
/* Quotes and Shout (for io2012, custom) */
90
article q {
91
font-family: 'Crimson Text', sans-serif;
92
}
93
94
q {
95
display: block;
96
font-size: 44px;
97
line-height: 56px;
98
margin-left: 50px;
99
margin-top: 100px;
100
margin-right: 150px;
101
}
102
103
q::before {
104
content: '“';
105
position: absolute;
106
display: inline-block;
107
margin-left: -2.1em;
108
width: 2em;
109
text-align: right;
110
font-size: 90px;
111
color: silver;
112
}
113
114
q::after {
115
content: '”';
116
position: absolute;
117
margin-left: .1em;
118
font-size: 90px;
119
color: silver;
120
}
121
122
div.author {
123
text-align: right;
124
font-size: 40px;
125
margin-top: 20px;
126
margin-right: 150px;
127
}
128
129
div.author::before {
130
content: '—';
131
}
132
133
q.shout:before {
134
content: '';
135
position: absolute;
136
margin-left: -0.5em;
137
}
138
139
q.shout:after {
140
content: '';
141
position: absolute;
142
margin-left: 0.1em;
143
}
144
145
/* Tables */
146
table caption{
147
margin-top: 20pt;
148
font-weight: normal;
149
font-family: "Trebuchet MS", Garuda, sans-serif;
150
}
151
152
table th {
153
text-transform: capitalize;
154
}
155
156
/* Tables */
157
158
table {
159
border: none;
160
width: 100%;
161
border-collapse: collapse;
162
font-size: 24px;
163
line-height: 32px;
164
font-family: 'Trebuchet MS';
165
font-weight: bolder;
166
color: rgb(102, 102, 102);
167
}
168
table thead {
169
border-top: 1px solid #BFBEAD;
170
border-bottom: 1px solid #BFBEAD;
171
}
172
table th, table td, table caption {
173
margin: 0;
174
padding: 2pt 6pt;
175
text-align: left;
176
vertical-align: top;
177
}
178
table th {
179
background: #CFCEBD;
180
color: #575400;
181
text-transform: uppercase;
182
}
183
table td {
184
border-bottom: 1px solid #CFCEBD;
185
}
186
table tr:nth-child(2n+1) {
187
/* background: #E8F2FF; */
188
background: #EFEEDD;
189
}
190
191
/* Styling for Ordered Lists (only for io2012) */
192
193
ol {
194
margin-left: 1.2em;
195
margin-bottom: 1em;
196
postion: relative;
197
}
198
199
ol li {
200
margin-bottom: 0.5em;
201
font-family: "Open Sans";
202
}
203
204
ol li ol {
205
margin-left: 0.5em;
206
margin-bottom: 0;
207
}
208
209
ol, ul {
210
margin-top: .5em;
211
}
212
213
ol {
214
list-style-type: decimal;
215
}
216
217
/*Github Ribbon Test*/
218
/* Source: https://github.com/dciccale/css3-github-ribbon */
219
/* Define classes for example, definition, problem etc. */
220
/* Choose meaningful colors for background and text */
221
222
.example {
223
background-color: #121621;
224
top: 1.2em;
225
right: -3.2em;
226
-webkit-transform: rotate(45deg);
227
-moz-transform: rotate(45deg);
228
transform: rotate(45deg);
229
-webkit-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
230
-moz-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
231
box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
232
color: #FF0;
233
display: block;
234
padding: .6em 3.5em;
235
position: absolute;
236
font: bold .82em sans-serif;
237
text-align: center;
238
text-decoration: none;
239
text-shadow: 1px -1px 8px rgba(0,0,0,0.60);
240
-webkit-user-select: none;
241
-moz-user-select: none;
242
user-select: none;
243
}
244
245
.definition {
246
background-color: #a00;
247
top: 1.2em;
248
right: -3.2em;
249
-webkit-transform: rotate(45deg);
250
-moz-transform: rotate(45deg);
251
transform: rotate(45deg);
252
-webkit-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
253
-moz-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
254
box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
255
color: #FFF;
256
display: block;
257
padding: .6em 3.5em;
258
position: absolute;
259
font: bold .82em sans-serif;
260
text-align: center;
261
text-decoration: none;
262
text-shadow: 1px -1px 8px rgba(0,0,0,0.60);
263
-webkit-user-select: none;
264
-moz-user-select: none;
265
user-select: none;
266
}
267
268
269
/* Pasted from Custom.css */
270
aside.gbar img {
271
width: 175px;
272
}
273
274
275
div.modal-body pre{
276
width: 95%;
277
left: 0px;
278
}
279
280
.pagination {
281
position: absolute;
282
bottom: -5px;
283
left:110px;
284
}
285
286
.pagination ul li:before {
287
content: "";
288
}
289
290
body {
291
font-family: "Open Sans";
292
color: #444;
293
}
294
295
p {
296
text-align: justify;
297
line-height: 1.5em;
298
}
299
/* Place Video on Top Right */
300
/* FIXME: Move CSS to css/popcorn.css */
301
section.video {
302
position: absolute;
303
top: 0;
304
right: 0;
305
z-index: 1000;
306
}
307
308
309
/* Smaller code fonts in modal popup */
310
.modal pre code {
311
font-size: 16px;
312
}
313
314
img.center {
315
display: block;
316
margin: auto auto;
317
}
318
319
body {
320
background-color: #000;
321
}
322
.quiz-option label{
323
display: inline;
324
font-size: 1em;
325
}
326
slide.segue h2{
327
font-family: "Open Sans Condensed";
328
font-weight: 700;
329
}
330
slide:not(.segue) h2{
331
font-family: "Open Sans Condensed";
332
font-weight: 700;
333
color: darkslategray;
334
}
335
article p {
336
font-family: "Open Sans"
337
}
338
339
code {
340
font-size: 100%;
341
font-family: "Source Code Pro", monospace;
342
color: darkred;
343
}
344
pre code {
345
font-weight: 500;
346
-webkit-border-radius: 5px;
347
border-radius: 5px;
348
}
349
350
#glimmer iframe {
351
width: 100%;
352
}
353
354
.title-slide {
355
background-color: #CBE7A5; /* #EDE0CF; ; #CA9F9D*/
356
/* background-image:url(http://goo.gl/EpXln); */
357
}
358
359
.title-slide hgroup > h1{
360
font-family: 'Oswald', 'Helvetica', sanserif;
361
}
362
363
.title-slide hgroup > h1,
364
.title-slide hgroup > h2 {
365
color: #535E43 ; /* ; #EF5150*/
366
}
367
368
369
370