Newer
Older
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
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: rgb(03,03,03);
}
h1, h2 {
margin-top: 40px;
margin-bottom: 10px;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: inherit;
}
/* Comments in code. */
.comment {
color: purple;
}
/* Error messages. */
.err {
color: darkred;
font-style: italic;
}
/* Things to fix. */
.fixme {
text-decoration: underline;
color: darkred;
background-color: lightgray;
}
/* Highlighted changes in code. */
.highlight {
background-color: mistyrose;
}
/* Manual input. */
.in {
color: darkgreen;
}
/* Program output. */
.out {
color: darkblue;
font-style: italic;
}
/* Putting shadows around things. */
.shadow {
-moz-box-shadow: 0 0 30px 5px #999;
-webkit-box-shadow: 0 0 30px 5px #999;
box-shadow: 0 0 30px 5px #999;
}
/* Things to understand (lead-in to sections in book). */
.understand {
background-color: lightyellow;
}
/* Block quotations. */
blockquote {
margin: 1em;
padding: 1em 1em .5em 1em;
width: 90%;
}
/* Citation for testimonial quote. */
blockquote.testimonial cite {
font-style: italic;
}
/* Main body of pages. */
body {
background: #BEC3C6;
margin: 20px 0;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
color: rgb(03, 03, 03);
}
/* Styling for editorial stylesheet */
body.stylesheet {
background: #ffffff;
width: 60em;
margin: 20 auto;
}
/* Top banner of every page. */
div.banner {
background-color: #FFFFFF;
width: 100%;
height: 90px;
margin: 0px;
padding: 0;
border-bottom: 1px solid #A6A6A6;
}
/* Padding around image in top banner. */
div.banner a img {
padding: 20px 25px;
}
/* Explanatory call-out boxes. */
div.box {
background-color: mistyrose;
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 10px;
padding-right: 10px;
outline-color: gray;
outline-width: 1px;
outline-style: solid;
}
@media (max-width: 700px) {
div.box {
width: 80%;
}
}
@media (min-width: 700px) {
div.box {
width: 54em;
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
314
315
316
317
318
319
320
321
322
323
324
325
/* Level 2 headings inside pages. */
div.content div h3 {
border-bottom: 1px solid #CCCCCC;
display: block;
font-family: Verdana,"BitStream vera Sans";
margin-top: 10px;
padding: 0 5px 3px;
}
/* PDF and slide files referenced from lectures. */
div.files {
padding: 10px;
}
/* Footer of every page. */
div.footer {
clear: both;
background: url("/img/main_shadow.png") repeat-x scroll center top #FFFFFF;
padding: 4px 10px 7px 10px;
border-top: 1px solid #A6A6A6;
text-align: right;
}
.swc-blue-bg {
background-color: #20267D;
}
/* Main menu at the top of every page. */
div.mainmenu {
clear: both;
background-color: #F4F4F4;
margin: 0px;
padding: 3px 0px 3px 25px;
border-bottom: 1px solid #A6A6A6;
height:30px
}
#menubar {
float:left;
margin-top:4px;
}
#searchbar {
float:right;
margin-right:20px;
}
/* Narration for audio-only lectures. */
div.narration {
text-align: center;
font-size: 2em;
}
/* Table of contents. */
div.toc {
/* No special styling yet. */
}
.transcript {
display: table;
}
.transcript .media img {
border: 1px solid grey;
}
/* Title styling */
h1.title {
margin:40px 0px;
border-bottom:1px solid #515151;
}
/* YouTube video embed. */
div.youtube {
text-align: center;
padding: 10px;
}
/* Glossary description lists. */
dl.gloss {
/* Empty for now. */
}
/* FIXME: shouldn't be using iframe's directly (EventBrite and YouTube should be via macro expansion). */
iframe.youtube_player {
border : 0;
text-align : center;
width : 640px;
height : 500px;
}
/* Amy Brown's logo in book/stylesheet.html. */
img.logoARB {
float: right;
}
/* Sections in book chapters. */
section {
clear: both;
}
/* Person's name in team.html. */
span.person {
font-weight: bold;
font-style: italic;
}
/* Short review of book in bibliography. */
span.review {
font-style: italic;
}
/* Bibliography book covers. */
img.book-cover {
width: 80px;
}
/* Blog calendar table in blog/index.html. */
table.blogcalendar th {
text-align : right;
font-weight : bold;
}
/* See above. */
table.blogcalendar th.left {
text-align : left;
}
/* See above. */
table.blogcalendar tr td {
text-align : right;
}
/* Blog index tables in blog/index.html. */
table.blogindex td.date {
text-align: left ;
width:10em;
}
/* Tables used for displaying choices in challenges. */
table.choices tr td {
vertical-align : top;
}
/* Database tables do _not_ have double borders */
table.outlined {
border-collapse: collapse;
}
/* Container for content in the bootcamp index page */
div.bootcamps {
text-align: center;
}
/* Link items (to bootcamp pages) in the bootcamps tables */
table.bootcamps td.link {
width: 50%;
text-align: left;
}
/* Spacer items (i.e. ellipsis) on the bootcamps tables */
table.bootcamps td.spacer {
max-width: 100%;
text-align: center;
}
/* Date columns on the bootcamps tables */
table.bootcamps td.date {
width: 50%;
text-align: right;
}
/* Badge modal dialog */
#assertion-modal {
width:700px;
margin-left:-350px;
}
#assertion-modal iframe {
background-color: transparent;
border: 0px none transparent;
padding: 0px;
width: 100%;
height: 20em;
}
#assertion-model img.badge {
position: absolute;
right: 15px;
bottom: 35px;
opacity: 0.5;
}
/* list with checkbox as bullet */
ul.checklist {
list-style-image: url('/img/checkbox.png');
}