jekyll-theme-open-course 2.1.1 → 2.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0302d9b2eeb86fdcf21ae00059e4797d3a1c0d298b2bcae75368a494e4380a3c
4
- data.tar.gz: 7307c7a5fe6fdf66fc11f71e7cac087426b9a49172aab41b9866ff84c62cf3ef
3
+ metadata.gz: 277429bbed449fd4841a55008adc8a23a7a101f9472fed5b405283ac3342fc35
4
+ data.tar.gz: b83d166d23153223f25188e44e350118fccfa9c9e96c3fe8359a8643b9663785
5
5
  SHA512:
6
- metadata.gz: 66b64c74eab9cab58bdff61bad762f0dc59e95d9ba9090e2272e1c95e2ab72445cdf8852d45aa95585a9732f7777f12a5de99ffe94f63f85599bf9143174672c
7
- data.tar.gz: 22bccb2d57b09c398c7cc8d40318cab06cac9bdb24011cd8da4b370fddcafc0996f09ae67b01fe9a79d49e926ef3288f479c9f4360e97e5341f086131b0b48d3
6
+ metadata.gz: 03cde5dc9c13f83b602216ff0914fe6e0c853a4ad021d585fbf1478797736c23c9e823b81d1eaf18ca440bad77aa086c378c8ed0697f892570f2372a5667b500
7
+ data.tar.gz: 12f65374891260bc273c4bd1e6016507edb3260687d87b849a1c9f4ed1cff2e7b7ea108f812ce35a565cf69c39b4a5ec97fe9a3c82407a14d12f5f0322d0b3c3
@@ -59,7 +59,7 @@
59
59
  {{ ta.full_title | escape }}
60
60
  </li>
61
61
  <li><a href="mailto:{{ ta.email }}">{{ ta.email }}</a></li>
62
- <li id="office-hours">
62
+ <li id="ta-office-hours">
63
63
  {{ ta.office_hours }}
64
64
  </li>
65
65
  </ul>
@@ -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 %}
@@ -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 {
@@ -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
- #content a[href^="http"]::after {
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;
@@ -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
@@ -5,7 +5,7 @@ module JTOpenCourse
5
5
  require 'fileutils'
6
6
  require 'pathname'
7
7
 
8
- VERSION = "2.1.1"
8
+ VERSION = "2.2.0"
9
9
 
10
10
  SPELLED_NUMS = %w(
11
11
  Zero One Two Three Four Five Six Seven Eight Nine Ten Eleven Twelve Thirteen Fourteen Fifteen
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-course
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Stolley