shanep-class 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +43 -0
- data/_config.yml +28 -0
- data/_includes/alert.html +6 -0
- data/_includes/asciinema.html +5 -0
- data/_includes/course-sidebar.html +33 -0
- data/_includes/footer.html +25 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +5 -0
- data/_includes/semester-info.html +115 -0
- data/_includes/svg-image.html +7 -0
- data/_includes/syllabus-policies.html +235 -0
- data/_includes/toc.html +182 -0
- data/_includes/youtube.html +9 -0
- data/_layouts/course-notoc.html +13 -0
- data/_layouts/course.html +17 -0
- data/_layouts/default.html +16 -0
- data/_layouts/home.html +9 -0
- data/_layouts/lab.html +62 -0
- data/_layouts/project.html +25 -0
- data/_layouts/reading-zybooks.html +26 -0
- data/_sass/asciinema-player.scss +2563 -0
- data/_sass/highlight.scss +181 -0
- data/_sass/main.scss +246 -0
- data/_sass/normalize.scss +349 -0
- data/_sass/style.scss +279 -0
- data/assets/casts/.gitkeep +0 -0
- data/assets/css/main_new.scss +8 -0
- data/assets/images/.DS_Store +0 -0
- data/assets/images/construction.gif +0 -0
- data/assets/images/home_page.png +0 -0
- data/assets/js/asciinema-player.js +1210 -0
- data/assets/js/plugins.js +24 -0
- metadata +90 -0
@@ -0,0 +1,181 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight {
|
4
|
+
color: #faf6e4;
|
5
|
+
background-color: #122b3b;
|
6
|
+
}
|
7
|
+
.highlight .gl {
|
8
|
+
color: #dee5e7;
|
9
|
+
background-color: #4e5d62;
|
10
|
+
}
|
11
|
+
.highlight .gp {
|
12
|
+
color: #a8e1fe;
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
16
|
+
color: #c3d6e2;
|
17
|
+
font-style: italic;
|
18
|
+
}
|
19
|
+
.highlight .cp {
|
20
|
+
color: #b2fd6d;
|
21
|
+
font-weight: bold;
|
22
|
+
}
|
23
|
+
.highlight .err {
|
24
|
+
color: #fefeec;
|
25
|
+
background-color: #cc0000;
|
26
|
+
}
|
27
|
+
.highlight .gr {
|
28
|
+
color: #cc0000;
|
29
|
+
font-weight: bold;
|
30
|
+
font-style: italic;
|
31
|
+
}
|
32
|
+
.highlight .k, .highlight .kd, .highlight .kv {
|
33
|
+
color: #f6dd62;
|
34
|
+
font-weight: bold;
|
35
|
+
}
|
36
|
+
.highlight .o, .highlight .ow {
|
37
|
+
color: #4df4ff;
|
38
|
+
font-weight: bold;
|
39
|
+
}
|
40
|
+
.highlight .p, .highlight .pi {
|
41
|
+
color: #4df4ff;
|
42
|
+
}
|
43
|
+
.highlight .gd {
|
44
|
+
color: #cc0000;
|
45
|
+
}
|
46
|
+
.highlight .gi {
|
47
|
+
color: #b2fd6d;
|
48
|
+
}
|
49
|
+
.highlight .ge {
|
50
|
+
font-style: italic;
|
51
|
+
}
|
52
|
+
.highlight .gs {
|
53
|
+
font-weight: bold;
|
54
|
+
}
|
55
|
+
.highlight .gt {
|
56
|
+
color: #dee5e7;
|
57
|
+
background-color: #4e5d62;
|
58
|
+
}
|
59
|
+
.highlight .kc {
|
60
|
+
color: #f696db;
|
61
|
+
font-weight: bold;
|
62
|
+
}
|
63
|
+
.highlight .kn {
|
64
|
+
color: #ffb000;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
.highlight .kp {
|
68
|
+
color: #ffb000;
|
69
|
+
font-weight: bold;
|
70
|
+
}
|
71
|
+
.highlight .kr {
|
72
|
+
color: #ffb000;
|
73
|
+
font-weight: bold;
|
74
|
+
}
|
75
|
+
.highlight .gh {
|
76
|
+
color: #ffb000;
|
77
|
+
font-weight: bold;
|
78
|
+
}
|
79
|
+
.highlight .gu {
|
80
|
+
color: #ffb000;
|
81
|
+
font-weight: bold;
|
82
|
+
}
|
83
|
+
.highlight .kt {
|
84
|
+
color: #b2fd6d;
|
85
|
+
font-weight: bold;
|
86
|
+
}
|
87
|
+
.highlight .no {
|
88
|
+
color: #b2fd6d;
|
89
|
+
font-weight: bold;
|
90
|
+
}
|
91
|
+
.highlight .nc {
|
92
|
+
color: #b2fd6d;
|
93
|
+
font-weight: bold;
|
94
|
+
}
|
95
|
+
.highlight .nd {
|
96
|
+
color: #b2fd6d;
|
97
|
+
font-weight: bold;
|
98
|
+
}
|
99
|
+
.highlight .nn {
|
100
|
+
color: #b2fd6d;
|
101
|
+
font-weight: bold;
|
102
|
+
}
|
103
|
+
.highlight .bp {
|
104
|
+
color: #b2fd6d;
|
105
|
+
font-weight: bold;
|
106
|
+
}
|
107
|
+
.highlight .ne {
|
108
|
+
color: #b2fd6d;
|
109
|
+
font-weight: bold;
|
110
|
+
}
|
111
|
+
.highlight .nl {
|
112
|
+
color: #ffb000;
|
113
|
+
font-weight: bold;
|
114
|
+
}
|
115
|
+
.highlight .nt {
|
116
|
+
color: #ffb000;
|
117
|
+
font-weight: bold;
|
118
|
+
}
|
119
|
+
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
120
|
+
color: #f696db;
|
121
|
+
font-weight: bold;
|
122
|
+
}
|
123
|
+
.highlight .ld {
|
124
|
+
color: #f696db;
|
125
|
+
font-weight: bold;
|
126
|
+
}
|
127
|
+
.highlight .ss {
|
128
|
+
color: #f696db;
|
129
|
+
font-weight: bold;
|
130
|
+
}
|
131
|
+
.highlight .s, .highlight .sb, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .sr, .highlight .s1 {
|
132
|
+
color: #fff0a6;
|
133
|
+
font-weight: bold;
|
134
|
+
}
|
135
|
+
.highlight .sa {
|
136
|
+
color: #f6dd62;
|
137
|
+
font-weight: bold;
|
138
|
+
}
|
139
|
+
.highlight .se {
|
140
|
+
color: #4df4ff;
|
141
|
+
font-weight: bold;
|
142
|
+
}
|
143
|
+
.highlight .sc {
|
144
|
+
color: #4df4ff;
|
145
|
+
font-weight: bold;
|
146
|
+
}
|
147
|
+
.highlight .si {
|
148
|
+
color: #4df4ff;
|
149
|
+
font-weight: bold;
|
150
|
+
}
|
151
|
+
.highlight .nb {
|
152
|
+
font-weight: bold;
|
153
|
+
}
|
154
|
+
.highlight .ni {
|
155
|
+
color: #999999;
|
156
|
+
font-weight: bold;
|
157
|
+
}
|
158
|
+
.highlight .w {
|
159
|
+
color: #BBBBBB;
|
160
|
+
}
|
161
|
+
.highlight .go {
|
162
|
+
color: #BBBBBB;
|
163
|
+
}
|
164
|
+
.highlight .nf, .highlight .fm {
|
165
|
+
color: #a8e1fe;
|
166
|
+
}
|
167
|
+
.highlight .py {
|
168
|
+
color: #a8e1fe;
|
169
|
+
}
|
170
|
+
.highlight .na {
|
171
|
+
color: #a8e1fe;
|
172
|
+
}
|
173
|
+
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm {
|
174
|
+
color: #a8e1fe;
|
175
|
+
font-weight: bold;
|
176
|
+
}
|
177
|
+
|
178
|
+
.language-plaintext {
|
179
|
+
color: #faf6e4;
|
180
|
+
background-color: #122b3b;
|
181
|
+
}
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,246 @@
|
|
1
|
+
/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
|
2
|
+
|
3
|
+
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
|
4
|
+
/*
|
5
|
+
* What follows is the result of much research on cross-browser styling.
|
6
|
+
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
7
|
+
* Kroc Camen, and the H5BP dev community and team.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* ==========================================================================
|
11
|
+
Base styles: opinionated defaults
|
12
|
+
========================================================================== */
|
13
|
+
|
14
|
+
html {
|
15
|
+
color: #222;
|
16
|
+
font-size: 1em;
|
17
|
+
line-height: 1.4;
|
18
|
+
}
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Remove text-shadow in selection highlight:
|
22
|
+
* https://twitter.com/miketaylr/status/12228805301
|
23
|
+
*
|
24
|
+
* Vendor-prefixed and regular ::selection selectors cannot be combined:
|
25
|
+
* https://stackoverflow.com/a/16982510/7133471
|
26
|
+
*
|
27
|
+
* Customize the background color to match your design.
|
28
|
+
*/
|
29
|
+
|
30
|
+
::-moz-selection {
|
31
|
+
background: #b3d4fc;
|
32
|
+
text-shadow: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
::selection {
|
36
|
+
background: #b3d4fc;
|
37
|
+
text-shadow: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
/*
|
41
|
+
* A better looking default horizontal rule
|
42
|
+
*/
|
43
|
+
|
44
|
+
hr {
|
45
|
+
display: block;
|
46
|
+
height: 1px;
|
47
|
+
border: 0;
|
48
|
+
border-top: 1px solid #ccc;
|
49
|
+
margin: 1em 0;
|
50
|
+
padding: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
/*
|
54
|
+
* Remove the gap between audio, canvas, iframes,
|
55
|
+
* images, videos and the bottom of their containers:
|
56
|
+
* https://github.com/h5bp/html5-boilerplate/issues/440
|
57
|
+
*/
|
58
|
+
|
59
|
+
audio,
|
60
|
+
canvas,
|
61
|
+
iframe,
|
62
|
+
img,
|
63
|
+
svg,
|
64
|
+
video {
|
65
|
+
vertical-align: middle;
|
66
|
+
}
|
67
|
+
|
68
|
+
/*
|
69
|
+
* Remove default fieldset styles.
|
70
|
+
*/
|
71
|
+
|
72
|
+
fieldset {
|
73
|
+
border: 0;
|
74
|
+
margin: 0;
|
75
|
+
padding: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
/*
|
79
|
+
* Allow only vertical resizing of textareas.
|
80
|
+
*/
|
81
|
+
|
82
|
+
textarea {
|
83
|
+
resize: vertical;
|
84
|
+
}
|
85
|
+
|
86
|
+
/* ==========================================================================
|
87
|
+
Author's custom styles
|
88
|
+
========================================================================== */
|
89
|
+
/* see style.scss for custom styles */
|
90
|
+
/* ==========================================================================
|
91
|
+
Helper classes
|
92
|
+
========================================================================== */
|
93
|
+
|
94
|
+
/*
|
95
|
+
* Hide visually and from screen readers
|
96
|
+
*/
|
97
|
+
|
98
|
+
.hidden,
|
99
|
+
[hidden] {
|
100
|
+
display: none !important;
|
101
|
+
}
|
102
|
+
|
103
|
+
/*
|
104
|
+
* Hide only visually, but have it available for screen readers:
|
105
|
+
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
106
|
+
*
|
107
|
+
* 1. For long content, line feeds are not interpreted as spaces and small width
|
108
|
+
* causes content to wrap 1 word per line:
|
109
|
+
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
|
110
|
+
*/
|
111
|
+
|
112
|
+
.sr-only {
|
113
|
+
border: 0;
|
114
|
+
clip: rect(0, 0, 0, 0);
|
115
|
+
height: 1px;
|
116
|
+
margin: -1px;
|
117
|
+
overflow: hidden;
|
118
|
+
padding: 0;
|
119
|
+
position: absolute;
|
120
|
+
white-space: nowrap;
|
121
|
+
width: 1px;
|
122
|
+
/* 1 */
|
123
|
+
}
|
124
|
+
|
125
|
+
/*
|
126
|
+
* Extends the .sr-only class to allow the element
|
127
|
+
* to be focusable when navigated to via the keyboard:
|
128
|
+
* https://www.drupal.org/node/897638
|
129
|
+
*/
|
130
|
+
|
131
|
+
.sr-only.focusable:active,
|
132
|
+
.sr-only.focusable:focus {
|
133
|
+
clip: auto;
|
134
|
+
height: auto;
|
135
|
+
margin: 0;
|
136
|
+
overflow: visible;
|
137
|
+
position: static;
|
138
|
+
white-space: inherit;
|
139
|
+
width: auto;
|
140
|
+
}
|
141
|
+
|
142
|
+
/*
|
143
|
+
* Hide visually and from screen readers, but maintain layout
|
144
|
+
*/
|
145
|
+
|
146
|
+
.invisible {
|
147
|
+
visibility: hidden;
|
148
|
+
}
|
149
|
+
|
150
|
+
/*
|
151
|
+
* Clearfix: contain floats
|
152
|
+
*
|
153
|
+
* For modern browsers
|
154
|
+
* 1. The space content is one way to avoid an Opera bug when the
|
155
|
+
* `contenteditable` attribute is included anywhere else in the document.
|
156
|
+
* Otherwise it causes space to appear at the top and bottom of elements
|
157
|
+
* that receive the `clearfix` class.
|
158
|
+
* 2. The use of `table` rather than `block` is only necessary if using
|
159
|
+
* `:before` to contain the top-margins of child elements.
|
160
|
+
*/
|
161
|
+
|
162
|
+
.clearfix::before,
|
163
|
+
.clearfix::after {
|
164
|
+
content: " ";
|
165
|
+
display: table;
|
166
|
+
}
|
167
|
+
|
168
|
+
.clearfix::after {
|
169
|
+
clear: both;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* ==========================================================================
|
173
|
+
Print styles.
|
174
|
+
Inlined to avoid the additional HTTP request:
|
175
|
+
https://www.phpied.com/delay-loading-your-print-css/
|
176
|
+
========================================================================== */
|
177
|
+
|
178
|
+
@media print {
|
179
|
+
*,
|
180
|
+
*::before,
|
181
|
+
*::after {
|
182
|
+
background: #fff !important;
|
183
|
+
color: #000 !important;
|
184
|
+
/* Black prints faster */
|
185
|
+
box-shadow: none !important;
|
186
|
+
text-shadow: none !important;
|
187
|
+
}
|
188
|
+
|
189
|
+
a,
|
190
|
+
a:visited {
|
191
|
+
text-decoration: underline;
|
192
|
+
}
|
193
|
+
|
194
|
+
a[href]::after {
|
195
|
+
content: " (" attr(href) ")";
|
196
|
+
}
|
197
|
+
|
198
|
+
abbr[title]::after {
|
199
|
+
content: " (" attr(title) ")";
|
200
|
+
}
|
201
|
+
|
202
|
+
/*
|
203
|
+
* Don't show links that are fragment identifiers,
|
204
|
+
* or use the `javascript:` pseudo protocol
|
205
|
+
*/
|
206
|
+
a[href^="#"]::after,
|
207
|
+
a[href^="javascript:"]::after {
|
208
|
+
content: "";
|
209
|
+
}
|
210
|
+
|
211
|
+
pre {
|
212
|
+
white-space: pre-wrap !important;
|
213
|
+
}
|
214
|
+
|
215
|
+
pre,
|
216
|
+
blockquote {
|
217
|
+
border: 1px solid #999;
|
218
|
+
page-break-inside: avoid;
|
219
|
+
}
|
220
|
+
|
221
|
+
/*
|
222
|
+
* Printing Tables:
|
223
|
+
* https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
|
224
|
+
*/
|
225
|
+
thead {
|
226
|
+
display: table-header-group;
|
227
|
+
}
|
228
|
+
|
229
|
+
tr,
|
230
|
+
img {
|
231
|
+
page-break-inside: avoid;
|
232
|
+
}
|
233
|
+
|
234
|
+
p,
|
235
|
+
h2,
|
236
|
+
h3 {
|
237
|
+
orphans: 3;
|
238
|
+
widows: 3;
|
239
|
+
}
|
240
|
+
|
241
|
+
h2,
|
242
|
+
h3 {
|
243
|
+
page-break-after: avoid;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|