jekyll-theme-open-course 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/default.html +1 -1
- data/_layouts/projects.html +1 -1
- data/_sass/_typography.scss +3 -6
- data/assets/css/print.css +11 -1
- data/assets/js/site.js +1 -1
- data/lib/jtoc.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 277429bbed449fd4841a55008adc8a23a7a101f9472fed5b405283ac3342fc35
|
4
|
+
data.tar.gz: b83d166d23153223f25188e44e350118fccfa9c9e96c3fe8359a8643b9663785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03cde5dc9c13f83b602216ff0914fe6e0c853a4ad021d585fbf1478797736c23c9e823b81d1eaf18ca440bad77aa086c378c8ed0697f892570f2372a5667b500
|
7
|
+
data.tar.gz: 12f65374891260bc273c4bd1e6016507edb3260687d87b849a1c9f4ed1cff2e7b7ea108f812ce35a565cf69c39b4a5ec97fe9a3c82407a14d12f5f0322d0b3c3
|
data/_layouts/default.html
CHANGED
data/_layouts/projects.html
CHANGED
@@ -8,7 +8,7 @@ layout: default
|
|
8
8
|
{% for project in site.projects %}
|
9
9
|
{% assign dd = project.due_date | date: "%s" %}
|
10
10
|
|
11
|
-
<article class="project" id="project-{{ site.data.utility.spelled_nums[forloop.index] | downcase }}">
|
11
|
+
<article class="project {{project.level}}" id="project-{{ site.data.utility.spelled_nums[forloop.index] | downcase }}">
|
12
12
|
{% if today < dd and current == true %}
|
13
13
|
<header id="current">
|
14
14
|
{% assign current = false %}
|
data/_sass/_typography.scss
CHANGED
@@ -271,12 +271,12 @@ header small {
|
|
271
271
|
#instructor {
|
272
272
|
padding: ($base-line * 1.5) 10%;
|
273
273
|
}
|
274
|
+
#instructor {
|
275
|
+
padding-bottom: $base-line * 2;
|
276
|
+
}
|
274
277
|
#footer {
|
275
278
|
padding-top: 0;
|
276
279
|
}
|
277
|
-
#instructor {
|
278
|
-
padding-bottom: 0;
|
279
|
-
}
|
280
280
|
h2 {
|
281
281
|
font-size: $base-size * $mod-scale * $mod-scale * $mod-scale * $mod-scale;
|
282
282
|
line-height: $base-line * 2.5;
|
@@ -334,9 +334,6 @@ header small {
|
|
334
334
|
#footer {
|
335
335
|
padding-top: 0;
|
336
336
|
}
|
337
|
-
#instructor {
|
338
|
-
padding-bottom: 0;
|
339
|
-
}
|
340
337
|
.policy,
|
341
338
|
.project,
|
342
339
|
.week {
|
data/assets/css/print.css
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
html {
|
2
2
|
font-size: 11pt;
|
3
|
+
color: black;
|
4
|
+
}
|
5
|
+
|
6
|
+
* {
|
7
|
+
color: black;
|
3
8
|
}
|
4
9
|
|
5
10
|
#header,
|
@@ -11,7 +16,12 @@ a,
|
|
11
16
|
text-decoration: none;
|
12
17
|
color: inherit;
|
13
18
|
}
|
14
|
-
|
19
|
+
.agenda h3 a {
|
20
|
+
display: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
#content a[href^="http"]::after,
|
24
|
+
#footer a[href^="http"]::after {
|
15
25
|
display: inline;
|
16
26
|
content: "(" attr(href) ")";
|
17
27
|
font-family: Menlo, Monaco, "Droid Sans Mono", Courier, "Courier New", monospace;
|
data/assets/js/site.js
CHANGED
@@ -278,7 +278,7 @@ if ('fetch' in window) {
|
|
278
278
|
var course_levels = ['grad','ugrad','all'];
|
279
279
|
var title = document.querySelector('title');
|
280
280
|
var title_components = {};
|
281
|
-
title_components.original = title.innerText;
|
281
|
+
title_components.original = title.innerText.trim();
|
282
282
|
title_components.name = title_components.original.split(':')[1] // Web Real-Time Communications
|
283
283
|
title_components.full = title_components.original.split(':')[0]; // ITMD 469/545
|
284
284
|
title_components.code = title_components.full.split(' ')[0]; // ITMD
|
data/lib/jtoc.rb
CHANGED