-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpenn_top_right_trans.css
313 lines (259 loc) · 5.56 KB
/
penn_top_right_trans.css
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
/*
CSS for xaringan slides with Penn colors
Author: Alessandra Valcarcel adapted from slides by Joseph V. Casillas
Updated: 1/30/2019
*/
/* Package defaults that we slightly tweak */
a, a > code {
color: #011F5B; /* rgb(249, 38, 114) */
text-decoration: none;
}
/* slightly lower and bigger than default */
.footnote {
position: absolute;
bottom: 1em;
padding-right: 4em;
font-size: 95%;
}
/* important code slightly red */
.remark-code-line-highlighted {
background-color: #FFD3DE !important;
}
/* color tweak */
.inverse {
background-color: #011F5B;
color: #777872;
text-shadow: 0 0 20px #333;
}
/* slightly spacing change */
.inverse h1, .inverse h2, .inverse h3 {
color: #f3f3f3;
line-height: 1.0em;
}
/* Two-column layout (slightly wider for aspect ration) */
.left-column {
color: #777;
width: 25%;
height: 92%;
float: left;
}
.left-column h2:last-of-type, .left-column h3:last-child {
color: #000;
}
/* slightly thiner to suppor aspect ration */
.right-column {
width: 70%;
float: right;
padding-top: 1em;
}
.pull-left {
float: left;
width: 45%;
}
.pull-right {
float: right;
width: 45%;
}
.pull-right ~ * {
clear: both;
}
img, video, iframe {
max-width: 100%;
}
blockquote {
border-left: solid 5px lightgray;
padding-left: 1em;
}
/* adjust table horizontal spacing */
th, td {
padding:0 15px 0 15px;
}
/* remove color from tables */
table {
margin: auto;
border-top: none;
border-bottom: none;
}
table thead th { border-bottom: none; }
thead, tfoot, tr:nth-child(even) { background: none; }
/* leave this alone */
@page { margin: 0; }
@media print {
.remark-slide-scaler {
width: 100% !important;
height: 100% !important;
transform: scale(1) !important;
top: 0 !important;
left: 0 !important;
}
}
/*~~~~~~~~~~~~~~*/
/* Penn additions */
/*~~~~~~~~~~~~~~*/
/* Title slide */
/* Add image and change bg color to white */
.title-slide {
background-image: url(logo.png); /* the logo .png must be in the same directory */
background-position: 9% 15%;
background-size: 250px;
background-color: #fff;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
border-bottom: 0px solid #522D80;
}
/* Adds images to the other slides but not the title slide*/
.remark-slide-content:not(.title-slide){
background-image: url(logosmall_trans.png);
background-position: 95% 9%;
background-size: 55px;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
}
/* Adds images to the other slides but not the title slide*/
.remark-slide-content:not(.inverse){
background-image: url(logosmall_trans.png);
background-position: 95% 9%;
background-size: 55px;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
}
/* H1 fonts */
.title-slide h1 {
color: #011F5B;
padding-top: 250px;
font-size: 35px;
line-height: 0.05;
text-align: left;
text-shadow: none;
padding-bottom: 18px;
margin-bottom: 18px;
}
/* H2 fonts */
.title-slide h2 {
color: #011F5B;
font-size: 35px;
text-align: left;
text-shadow: none;
padding-top: 0px;
margin-top: 0px;
}
/* H3 fonts */
.title-slide h3 {
font-size: 28px;
font-weight: normal;
color: #666666;
text-align: left;
text-shadow: none;
padding: 0px;
margin: 0px;
line-height: 1;
}
/* Remove slide count */
.title-slide .remark-slide-number {
display: none;
}
/*~~~~~~~~~~~~~~~~~~*/
/* SECTION DIVIDERS */
/*~~~~~~~~~~~~~~~~~~*/
/* section divider penn blue */
.title-slide-section-blue {
background-color: #011F5B;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
}
/* section divider Penn H1 fonts */
.title-slide-section-blue h1, .title-slide-section-blue h2, .title-slide-section-blue h3, .title-slide-section-blue p {
color: #fff;
}
/* section divider grey */
.title-slide-section-grey {
background-color: #515151;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
}
/* section divider grey H1 fonts */
.title-slide-section-grey h1, .title-slide-section-grey h2, .title-slide-section-grey h3 {
color: #fff;
}
.title-slide-section-grey p {
color: #fff;
}
/*~~~~~~~~~~~~~~~~~~*/
/* FINAL SLIDE */
/*~~~~~~~~~~~~~~~~~~*/
.title-slide-final {
background-color: #272822;
color: #fff;
padding-left: 100px;
text-shadow: 0 0 20px #333;
text-align: center;
}
.title-slide-final h1 {
color: #011F5B;
}
/*~~~~~~~~~~~~~~~~~~~~*/
/* Global adjustments */
/*~~~~~~~~~~~~~~~~~~~~*/
/* Add padding to all slides for 16:9 aspect ratio */
.remark-slide-content {
/*background-image: url(logosmall.png); /* the logo .png must be in the same directory */
/*background-position: 95% 5%;*/
/*background-size: 65px;*/
border-bottom: 12px solid #011F5B;
padding-left: 100px; /* delete this for 4:3 aspect ratio */
}
/* Color adjustments for text */
/* Make bold syntax compile to Penn-Blue */
strong {
color: #011F5B;
}
.PENNblue {
color: #011F5B;
}
/* Add blue tag */
.blue {
color: #0000CC;
font-weight: bold;
}
/* Add grey tag */
.grey {
color: #515151;
}
.lightgrey {
color: #818181;
}
/* Force black */
.black {
color: black;
font-weight: bold;
}
/* Add white tag */
.white {
color: white;
}
/* Color adjustments to headers */
h1 {
color: #011F5B;
}
h2 {
color: #011F5B;
}
h3 {
color: #011F5B;
}
h4 {
color: #011F5B;
}
/* Font size tags */
.big {
font-size: 1.5em;
}
/* Penn blockquote */
penn-blockquote {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
border-left: solid 10px #011F5B;
background-color: #818181;
padding: 1em;
color: #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}