jekyll-theme-open-course 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/_base.scss +108 -0
- data/_sass/_colors.scss +195 -0
- data/_sass/_fonts.scss +10 -0
- data/_sass/_typography.scss +385 -0
- data/lib/jtoc.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0302d9b2eeb86fdcf21ae00059e4797d3a1c0d298b2bcae75368a494e4380a3c
|
4
|
+
data.tar.gz: 7307c7a5fe6fdf66fc11f71e7cac087426b9a49172aab41b9866ff84c62cf3ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b64c74eab9cab58bdff61bad762f0dc59e95d9ba9090e2272e1c95e2ab72445cdf8852d45aa95585a9732f7777f12a5de99ffe94f63f85599bf9143174672c
|
7
|
+
data.tar.gz: 22bccb2d57b09c398c7cc8d40318cab06cac9bdb24011cd8da4b370fddcafc0996f09ae67b01fe9a79d49e926ef3288f479c9f4360e97e5341f086131b0b48d3
|
data/_sass/_base.scss
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
body {
|
2
|
+
line-height: $base-line;
|
3
|
+
}
|
4
|
+
|
5
|
+
h1,h2,h3,h4,h5,h6 {
|
6
|
+
font-weight: bold;
|
7
|
+
}
|
8
|
+
h1 {
|
9
|
+
padding-top: $base-line / 2;
|
10
|
+
}
|
11
|
+
h1 small,
|
12
|
+
h1 b {
|
13
|
+
display: block;
|
14
|
+
font-weight: normal;
|
15
|
+
}
|
16
|
+
h3,
|
17
|
+
h4 {
|
18
|
+
text-transform: uppercase;
|
19
|
+
padding-bottom: $base-line / 4;
|
20
|
+
}
|
21
|
+
h4 {
|
22
|
+
text-transform: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
p,li {
|
26
|
+
padding-bottom: $base-line;
|
27
|
+
-webkit-hyphens: auto;
|
28
|
+
hyphens: auto;
|
29
|
+
}
|
30
|
+
|
31
|
+
li {
|
32
|
+
padding-bottom: $base-line / 2;
|
33
|
+
}
|
34
|
+
ol, ul {
|
35
|
+
padding-bottom: $base-line / 2;
|
36
|
+
}
|
37
|
+
|
38
|
+
ol ol,
|
39
|
+
ol ul,
|
40
|
+
ul ol,
|
41
|
+
ul ul {
|
42
|
+
padding-top: $base-line / 2;
|
43
|
+
padding-bottom: 0;
|
44
|
+
padding-left: $base-line;
|
45
|
+
}
|
46
|
+
|
47
|
+
ol ul > li,
|
48
|
+
ul ul > li,
|
49
|
+
.with::before {
|
50
|
+
margin-left: -($base-line * 1.25);
|
51
|
+
}
|
52
|
+
ul {
|
53
|
+
list-style-type: square;
|
54
|
+
}
|
55
|
+
ol {
|
56
|
+
list-style-type: decimal;
|
57
|
+
}
|
58
|
+
ul, .with::before {
|
59
|
+
list-style-type: none;
|
60
|
+
}
|
61
|
+
ul li, .with::before {
|
62
|
+
position: relative;
|
63
|
+
padding-left: $base-line;
|
64
|
+
margin-left: -($base-line);
|
65
|
+
}
|
66
|
+
ul li::before {
|
67
|
+
content: "■";
|
68
|
+
position: absolute;
|
69
|
+
left: $base-line * 0.3;
|
70
|
+
top: -($base-line * 0.065);
|
71
|
+
}
|
72
|
+
|
73
|
+
ol, .with::before {
|
74
|
+
list-style-type: none;
|
75
|
+
counter-reset: enumerated;
|
76
|
+
}
|
77
|
+
ol > li, .with::before {
|
78
|
+
position: relative;
|
79
|
+
padding-left: $base-line;
|
80
|
+
margin-left: -($base-line);
|
81
|
+
counter-increment: enumerated;
|
82
|
+
}
|
83
|
+
ol > li::before {
|
84
|
+
font-weight: bold;
|
85
|
+
content: counter(enumerated) "";
|
86
|
+
position: absolute;
|
87
|
+
left: -($base-line * 0.0375);
|
88
|
+
text-align: right;
|
89
|
+
width: 1em;
|
90
|
+
}
|
91
|
+
|
92
|
+
b, strong {
|
93
|
+
font-weight: bold;
|
94
|
+
}
|
95
|
+
|
96
|
+
cite, em, i {
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
code {
|
100
|
+
font-family: Menlo, Monaco, "Droid Sans Mono", Courier, "Courier New", monospace;
|
101
|
+
font-size: 0.85em;
|
102
|
+
hyphens: none;
|
103
|
+
}
|
104
|
+
|
105
|
+
.access {
|
106
|
+
position: absolute;
|
107
|
+
left: -10000px;
|
108
|
+
}
|
data/_sass/_colors.scss
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
$text-color: #321207;
|
2
|
+
$back-color: #F6EACB;
|
3
|
+
$spot-color: #6C1F55;
|
4
|
+
$acnt-color: #B34523;
|
5
|
+
$gray-color: #73664E; /* #7F7F7F; */
|
6
|
+
$gray-alter: darken($gray-color, 10%);
|
7
|
+
$link-under: transparentize($spot-color, 0.65);
|
8
|
+
$curr-color: darken($back-color, 8%);
|
9
|
+
|
10
|
+
// Dark mode
|
11
|
+
$dk-text-color: #DEDEDE;
|
12
|
+
$dk-back-color: #111;
|
13
|
+
$dk-spot-color: #FFB700;
|
14
|
+
$dk-acnt-color: #FF764D;
|
15
|
+
$dk-gray-color: #9E9E9E;
|
16
|
+
$dk-link-under: transparentize($dk-spot-color, 0.25);
|
17
|
+
$dk-curr-color: darken($dk-gray-color, 45%);
|
18
|
+
|
19
|
+
|
20
|
+
// CSS Variables
|
21
|
+
html,
|
22
|
+
html.light {
|
23
|
+
--color-text: #{$text-color};
|
24
|
+
--color-back: #{$back-color};
|
25
|
+
--color-spot: #{$spot-color};
|
26
|
+
--color-acnt: #{$acnt-color};
|
27
|
+
--color-gray: #{$gray-color};
|
28
|
+
--color-curr: #{$curr-color};
|
29
|
+
--color-altg: #{$gray-alter};
|
30
|
+
--color-link: #{$link-under};
|
31
|
+
--color-navi: #{$gray-color};
|
32
|
+
--color-nava: #{$back-color};
|
33
|
+
}
|
34
|
+
html.dark {
|
35
|
+
--color-text: #{$dk-text-color};
|
36
|
+
--color-back: #{$dk-back-color};
|
37
|
+
--color-spot: #{$dk-spot-color};
|
38
|
+
--color-acnt: #{$dk-acnt-color};
|
39
|
+
--color-gray: #{$dk-gray-color};
|
40
|
+
--color-curr: #{$dk-curr-color};
|
41
|
+
--color-altg: #{$dk-gray-color};
|
42
|
+
--color-link: #{$dk-link-under};
|
43
|
+
--color-navi: #{$dk-gray-color};
|
44
|
+
--color-nava: #{$dk-back-color};
|
45
|
+
}
|
46
|
+
@media screen and (prefers-color-scheme: dark) {
|
47
|
+
html {
|
48
|
+
--color-text: #{$dk-text-color};
|
49
|
+
--color-back: #{$dk-back-color};
|
50
|
+
--color-spot: #{$dk-spot-color};
|
51
|
+
--color-acnt: #{$dk-acnt-color};
|
52
|
+
--color-gray: #{$dk-gray-color};
|
53
|
+
--color-curr: #{$dk-curr-color};
|
54
|
+
--color-altg: #{$dk-gray-color};
|
55
|
+
--color-link: #{$dk-link-under};
|
56
|
+
--color-navi: #{$dk-gray-color};
|
57
|
+
--color-nava: #{$dk-back-color};
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
html {
|
62
|
+
transition: color 0.5s, background-color 0.5s;
|
63
|
+
color: $text-color;
|
64
|
+
color: var(--color-text);
|
65
|
+
background-color: $back-color;
|
66
|
+
background-color: var(--color-back);
|
67
|
+
}
|
68
|
+
ol > li::before,
|
69
|
+
ul li::before {
|
70
|
+
color: $acnt-color;
|
71
|
+
color: var(--color-acnt);
|
72
|
+
}
|
73
|
+
a {
|
74
|
+
color: $spot-color;
|
75
|
+
color: var(--color-spot);
|
76
|
+
}
|
77
|
+
@supports (text-decoration-color: red) {
|
78
|
+
a {
|
79
|
+
color: inherit;
|
80
|
+
text-decoration-color: $spot-color;
|
81
|
+
text-decoration-color: var(--color-spot);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
#header h1 a {
|
85
|
+
color: $spot-color;
|
86
|
+
color: var(--color-spot);
|
87
|
+
}
|
88
|
+
.nav a {
|
89
|
+
border: 1px solid $acnt-color;
|
90
|
+
border: 1px solid var(--color-acnt);
|
91
|
+
color: $gray-color;
|
92
|
+
color: var(--color-navi);
|
93
|
+
}
|
94
|
+
.nav a:hover,
|
95
|
+
.nav a:focus,
|
96
|
+
.nav a:active,
|
97
|
+
#calendar #nav-cal a,
|
98
|
+
#policies #nav-pol a,
|
99
|
+
#projects #nav-pro a {
|
100
|
+
background-color: $acnt-color;
|
101
|
+
background-color: var(--color-acnt);
|
102
|
+
color: $back-color;
|
103
|
+
color: var(--color-nava);
|
104
|
+
}
|
105
|
+
|
106
|
+
.recommended,
|
107
|
+
.project .description,
|
108
|
+
.project .goals,
|
109
|
+
.week .agenda,
|
110
|
+
.fine-print {
|
111
|
+
color: $gray-color;
|
112
|
+
color: var(--color-gray);
|
113
|
+
}
|
114
|
+
.current {
|
115
|
+
transition: background-color 0.5s;
|
116
|
+
background-color: $curr-color;
|
117
|
+
background-color: var(--color-curr);
|
118
|
+
}
|
119
|
+
.week.current .agenda {
|
120
|
+
color: $gray-alter;
|
121
|
+
color: var(--color-altg);
|
122
|
+
}
|
123
|
+
#btn-show-calendar,
|
124
|
+
.agenda h3 a {
|
125
|
+
color: $back-color;
|
126
|
+
color: var(--color-back);
|
127
|
+
background-color: $acnt-color;
|
128
|
+
background-color: var(--color-acnt);
|
129
|
+
}
|
130
|
+
#btn-show-calendar {
|
131
|
+
background-color: $back-color;
|
132
|
+
background-color: var(--color-back);
|
133
|
+
color: $gray-color;
|
134
|
+
color: var(--color-gray);
|
135
|
+
border: 1px solid $gray-color;
|
136
|
+
border: 1px solid var(--color-gray);
|
137
|
+
}
|
138
|
+
#btn-show-calendar:active,
|
139
|
+
#btn-show-calendar:focus,
|
140
|
+
#btn-show-calendar:hover {
|
141
|
+
background-color: $gray-color;
|
142
|
+
background-color: var(--color-gray);
|
143
|
+
color: $back-color;
|
144
|
+
color: var(--color-back);
|
145
|
+
}
|
146
|
+
.agenda h3 a {
|
147
|
+
background-color: $back-color;
|
148
|
+
background-color: var(--color-back);
|
149
|
+
border: 1px solid $acnt-color;
|
150
|
+
border: 1px solid var(--color-acnt);
|
151
|
+
color: $acnt-color;
|
152
|
+
color: var(--color-acnt);
|
153
|
+
}
|
154
|
+
.agenda h3 a:active,
|
155
|
+
.agenda h3 a:focus,
|
156
|
+
.agenda h3 a:hover {
|
157
|
+
background-color: $acnt-color;
|
158
|
+
background-color: var(--color-acnt);
|
159
|
+
color: $back-color;
|
160
|
+
color: var(--color-back);
|
161
|
+
}
|
162
|
+
.agenda h3 a::before {
|
163
|
+
color: $gray-color;
|
164
|
+
color: var(--color-gray);
|
165
|
+
}
|
166
|
+
header small {
|
167
|
+
color: $spot-color;
|
168
|
+
color: var(--color-spot);
|
169
|
+
}
|
170
|
+
.week > header small {
|
171
|
+
color: $gray-color;
|
172
|
+
color: var(--color-gray);
|
173
|
+
}
|
174
|
+
#header,
|
175
|
+
#footer,
|
176
|
+
#instructor {
|
177
|
+
color: $gray-color;
|
178
|
+
color: var(--color-gray);
|
179
|
+
}
|
180
|
+
#header .nav {
|
181
|
+
color: $text-color;
|
182
|
+
color: var(--color-text);
|
183
|
+
}
|
184
|
+
#header #theme-button {
|
185
|
+
background-color: $text-color;
|
186
|
+
background-color: var(--color-text);
|
187
|
+
border-color: $text-color;
|
188
|
+
border-color: var(--color-text);
|
189
|
+
color: $back-color;
|
190
|
+
color: var(--color-back);
|
191
|
+
}
|
192
|
+
#header #theme-button svg {
|
193
|
+
fill: $back-color;
|
194
|
+
fill: var(--color-back);
|
195
|
+
}
|
data/_sass/_fonts.scss
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
$font-url: "https://use.typekit.net/qqk1feg.css";
|
2
|
+
|
3
|
+
$primary-font-family: "alber-new-web", serif;
|
4
|
+
$secondary-font-family: "abril-titling-narrow";
|
5
|
+
$tertiary-font-family: "abril-titling";
|
6
|
+
|
7
|
+
// Font-Weight Reference
|
8
|
+
// Alder New Web: 300 (retina); 400 (normal); 500 (medium); 700 (bold)
|
9
|
+
// Abril Titling Narrow: 600 (semibold)
|
10
|
+
// Abril Titling: 700 (bold)
|
@@ -0,0 +1,385 @@
|
|
1
|
+
$base-size-px: 19;
|
2
|
+
$base-line-px: 25;
|
3
|
+
$base-size: ($base-size-px / 16) * 100%;
|
4
|
+
$base-line: ($base-line-px / $base-size-px) * 1rem;
|
5
|
+
$mod-scale: 1.25;
|
6
|
+
|
7
|
+
|
8
|
+
html {
|
9
|
+
-webkit-text-size-adjust: none;
|
10
|
+
font-family: $primary-font-family;
|
11
|
+
font-size: 19px;
|
12
|
+
}
|
13
|
+
|
14
|
+
@media screen and (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2) {
|
15
|
+
html {
|
16
|
+
font-weight: 300;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
h2 {
|
21
|
+
font-family: $secondary-font-family;
|
22
|
+
font-weight: 600;
|
23
|
+
font-size: $base-size * $mod-scale * $mod-scale;
|
24
|
+
line-height: $base-line * 1.5;
|
25
|
+
}
|
26
|
+
|
27
|
+
#content b,
|
28
|
+
#content strong {
|
29
|
+
font-weight: 500;
|
30
|
+
}
|
31
|
+
|
32
|
+
#nav-con {
|
33
|
+
position: absolute;
|
34
|
+
left: -10000px;
|
35
|
+
}
|
36
|
+
#full-nav.hidden {
|
37
|
+
display: none;
|
38
|
+
}
|
39
|
+
#quick-nav {
|
40
|
+
align-items: baseline;
|
41
|
+
display: flex;
|
42
|
+
justify-content: space-between;
|
43
|
+
}
|
44
|
+
#quick-nav .nav {
|
45
|
+
display: flex;
|
46
|
+
flex: 1 0 auto;
|
47
|
+
flex-flow: row wrap;
|
48
|
+
justify-content: flex-end;
|
49
|
+
}
|
50
|
+
#quick-nav li {
|
51
|
+
padding: 0;
|
52
|
+
margin-left: $base-line / 2;
|
53
|
+
}
|
54
|
+
.navbar #quick-nav li::before {
|
55
|
+
content: "";
|
56
|
+
}
|
57
|
+
#nav-con a {
|
58
|
+
text-decoration: none;
|
59
|
+
}
|
60
|
+
.nav a {
|
61
|
+
border-radius: $base-line / 4;
|
62
|
+
display: block;
|
63
|
+
padding: $base-line / 4;
|
64
|
+
padding: calc(#{$base-line / 5} - 1px) $base-line / 4 calc(#{$base-line / 4} - 1px) $base-line / 4;
|
65
|
+
text-decoration: none;
|
66
|
+
}
|
67
|
+
|
68
|
+
.nav li::before {
|
69
|
+
content: "";
|
70
|
+
}
|
71
|
+
|
72
|
+
#header h1 a {
|
73
|
+
text-decoration: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
#header #theme-button {
|
77
|
+
opacity: 0.55;
|
78
|
+
line-height: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* ~ 370px */
|
82
|
+
@media screen and (min-width: 23.125em) {
|
83
|
+
#header h1 {
|
84
|
+
position: relative;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
/* ~ 620px */
|
89
|
+
@media screen and (min-width: 38.75em) {
|
90
|
+
h2 {
|
91
|
+
font-family: $tertiary-font-family;
|
92
|
+
font-weight: 700;
|
93
|
+
font-size: $base-size * $mod-scale * $mod-scale * $mod-scale;
|
94
|
+
line-height: $base-line * 2;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
#header h3,
|
99
|
+
#footer h3,
|
100
|
+
#instructor h3,
|
101
|
+
.agenda h3 {
|
102
|
+
text-transform: none;
|
103
|
+
font-weight: 500;
|
104
|
+
padding-bottom: $base-line / 2;
|
105
|
+
}
|
106
|
+
.agenda h3 {
|
107
|
+
padding-bottom: $base-line / 4;
|
108
|
+
}
|
109
|
+
.assigned h3,
|
110
|
+
.project h3 {
|
111
|
+
font-weight: bold;
|
112
|
+
}
|
113
|
+
|
114
|
+
#btn-show-calendar,
|
115
|
+
.agenda h3 a {
|
116
|
+
border-radius: $base-line / 4;
|
117
|
+
display: block;
|
118
|
+
padding: $base-line / 4;
|
119
|
+
text-decoration: none;
|
120
|
+
display: inline-block;
|
121
|
+
}
|
122
|
+
#btn-show-calendar {
|
123
|
+
margin-bottom: $base-line * 2;
|
124
|
+
text-decoration: none;
|
125
|
+
}
|
126
|
+
|
127
|
+
.agenda h3 a {
|
128
|
+
padding: $base-line / 8 $base-line / 4;
|
129
|
+
padding: calc(#{$base-line / 10} - 1px) $base-line / 4 calc(#{$base-line / 8} - 1px) $base-line / 4;
|
130
|
+
margin-top: -($base-line / 8);
|
131
|
+
}
|
132
|
+
.agenda h3 a::before {
|
133
|
+
content: "▸ ";
|
134
|
+
}
|
135
|
+
#content header {
|
136
|
+
padding-bottom: $base-line;
|
137
|
+
}
|
138
|
+
header small {
|
139
|
+
display: block;
|
140
|
+
font-weight: 500;
|
141
|
+
// padding-top: $base-line * 0.25;
|
142
|
+
}
|
143
|
+
.week > header small {
|
144
|
+
font-weight: normal;
|
145
|
+
}
|
146
|
+
|
147
|
+
#content article {
|
148
|
+
padding-bottom: $base-line * 3;
|
149
|
+
}
|
150
|
+
|
151
|
+
.current {
|
152
|
+
padding: $base-line * 1.5;
|
153
|
+
margin: ($base-line * 1.5) (-($base-line * 1.5));
|
154
|
+
}
|
155
|
+
|
156
|
+
.assigned {
|
157
|
+
padding-top: $base-line;
|
158
|
+
}
|
159
|
+
|
160
|
+
#header {
|
161
|
+
padding: $base-line * 0.5;
|
162
|
+
}
|
163
|
+
#header p {
|
164
|
+
min-height: $base-line * 4;
|
165
|
+
padding-top: $base-line * 0.5;
|
166
|
+
}
|
167
|
+
#header,
|
168
|
+
#content,
|
169
|
+
#footer,
|
170
|
+
#instructor {
|
171
|
+
padding-left: $base-line * 1.5;
|
172
|
+
padding-right: $base-line * 1.5;
|
173
|
+
}
|
174
|
+
|
175
|
+
#instructor {
|
176
|
+
padding-bottom: $base-line * 2;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* ~ 690px */
|
180
|
+
@media screen and (min-width: 43.125em) {
|
181
|
+
#header,
|
182
|
+
.policy,
|
183
|
+
.project,
|
184
|
+
.week,
|
185
|
+
#instructor,
|
186
|
+
#footer {
|
187
|
+
display: grid;
|
188
|
+
grid-template-columns: repeat(5,1fr);
|
189
|
+
grid-column-gap: $base-line;
|
190
|
+
}
|
191
|
+
.week {
|
192
|
+
grid-template-rows: auto ($base-line * 3.25);
|
193
|
+
align-content: stretch;
|
194
|
+
}
|
195
|
+
.policy header,
|
196
|
+
.project header,
|
197
|
+
.week header {
|
198
|
+
grid-column: 1 / 6;
|
199
|
+
}
|
200
|
+
.week .agendas {
|
201
|
+
grid-column: 1 / 3;
|
202
|
+
grid-row-start: 3;
|
203
|
+
}
|
204
|
+
.week .assigned {
|
205
|
+
padding-top: 0;
|
206
|
+
grid-column: 3 / 6;
|
207
|
+
grid-row: 2 / 4;
|
208
|
+
}
|
209
|
+
|
210
|
+
.policy > * {
|
211
|
+
grid-column: 1 / 5;
|
212
|
+
}
|
213
|
+
#books.policy section,
|
214
|
+
#materials.policy .required {
|
215
|
+
grid-column: 1 / 4;
|
216
|
+
}
|
217
|
+
#books.policy .fine-print,
|
218
|
+
#materials.policy .recommended {
|
219
|
+
grid-column: 4 / 6;
|
220
|
+
grid-row: 3 / 5;
|
221
|
+
}
|
222
|
+
#books.policy .fine-print,
|
223
|
+
#materials.policy .recommended {
|
224
|
+
grid-row: 2 / 5;
|
225
|
+
}
|
226
|
+
.project .description {
|
227
|
+
grid-column: 1 / 3;
|
228
|
+
grid-row: 2 / 3;
|
229
|
+
}
|
230
|
+
.project .goals {
|
231
|
+
grid-column: 1 / 3;
|
232
|
+
grid-row: 3 / 4;
|
233
|
+
}
|
234
|
+
.project .deliverables,
|
235
|
+
.project .requirements {
|
236
|
+
grid-column: 3 / 6;
|
237
|
+
}
|
238
|
+
.project .preview {
|
239
|
+
grid-column: 1 / 6;
|
240
|
+
}
|
241
|
+
#header h1 {
|
242
|
+
grid-column: 1 / 6;
|
243
|
+
}
|
244
|
+
#header p {
|
245
|
+
grid-column: 1 / 4;
|
246
|
+
}
|
247
|
+
#header #quick-nav {
|
248
|
+
grid-column: 1 / 6;
|
249
|
+
}
|
250
|
+
|
251
|
+
#instructor > * {
|
252
|
+
grid-column: 2 / 6;
|
253
|
+
}
|
254
|
+
#footer #full-nav {
|
255
|
+
grid-column: 1 / 2;
|
256
|
+
}
|
257
|
+
#footer #colophon {
|
258
|
+
grid-column: 2 / 6;
|
259
|
+
}
|
260
|
+
.navbar #instructor > *,
|
261
|
+
.navbar #footer #colophon {
|
262
|
+
grid-column: 1 / 4;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
/* ~ 855px */
|
267
|
+
@media screen and (min-width: 53.4375em) {
|
268
|
+
#header,
|
269
|
+
#content,
|
270
|
+
#footer,
|
271
|
+
#instructor {
|
272
|
+
padding: ($base-line * 1.5) 10%;
|
273
|
+
}
|
274
|
+
#footer {
|
275
|
+
padding-top: 0;
|
276
|
+
}
|
277
|
+
#instructor {
|
278
|
+
padding-bottom: 0;
|
279
|
+
}
|
280
|
+
h2 {
|
281
|
+
font-size: $base-size * $mod-scale * $mod-scale * $mod-scale * $mod-scale;
|
282
|
+
line-height: $base-line * 2.5;
|
283
|
+
}
|
284
|
+
.project .description {
|
285
|
+
grid-column: 1 / 4;
|
286
|
+
grid-row: 2 / 3;
|
287
|
+
}
|
288
|
+
.project .goals {
|
289
|
+
grid-column: 4 / 6;
|
290
|
+
grid-row: 2 / 3;
|
291
|
+
}
|
292
|
+
.project .deliverables,
|
293
|
+
.project .requirements {
|
294
|
+
grid-row: 3 / 6;
|
295
|
+
}
|
296
|
+
.project .deliverables {
|
297
|
+
grid-column: 1 / 3;
|
298
|
+
}
|
299
|
+
.project .requirements {
|
300
|
+
grid-column: 3 / 6;
|
301
|
+
}
|
302
|
+
.project .preview {
|
303
|
+
grid-column: 1 / 4;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
/* ~ 890px */
|
308
|
+
@media screen and (min-width: 55.625em) {
|
309
|
+
body::after {
|
310
|
+
content: 'navbar';
|
311
|
+
display: none;
|
312
|
+
}
|
313
|
+
.links {
|
314
|
+
display: grid;
|
315
|
+
grid-template-columns: repeat(3,1fr);
|
316
|
+
grid-column-gap: $base-line;
|
317
|
+
}
|
318
|
+
.links header {
|
319
|
+
grid-column: 1 / 4;
|
320
|
+
}
|
321
|
+
.links .suggestions {
|
322
|
+
grid-column: 2 / span 2;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
|
326
|
+
/* ~ 1100px */
|
327
|
+
@media screen and (min-width: 68.75em) {
|
328
|
+
#header,
|
329
|
+
#content,
|
330
|
+
#footer,
|
331
|
+
#instructor {
|
332
|
+
padding-top: ($base-line * 3);
|
333
|
+
}
|
334
|
+
#footer {
|
335
|
+
padding-top: 0;
|
336
|
+
}
|
337
|
+
#instructor {
|
338
|
+
padding-bottom: 0;
|
339
|
+
}
|
340
|
+
.policy,
|
341
|
+
.project,
|
342
|
+
.week {
|
343
|
+
grid-column-gap: $base-line * 1.5;
|
344
|
+
}
|
345
|
+
h2 {
|
346
|
+
font-size: $base-size * $mod-scale * $mod-scale * $mod-scale * $mod-scale * $mod-scale;
|
347
|
+
line-height: $base-line * 3;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
/* States */
|
352
|
+
.js .past,
|
353
|
+
.grad .ugrad,
|
354
|
+
.ugrad .grad,
|
355
|
+
.grad .grad h3,
|
356
|
+
.ugrad .ugrad h3 {
|
357
|
+
display: none;
|
358
|
+
}
|
359
|
+
|
360
|
+
/**
|
361
|
+
* A quick baseline grid overlay using css+svg.
|
362
|
+
* Inspired by [Basehold.it](https://basehold.it/).
|
363
|
+
* @author leshido
|
364
|
+
*/
|
365
|
+
|
366
|
+
.g body {
|
367
|
+
position: relative;
|
368
|
+
}
|
369
|
+
|
370
|
+
.g body::after {
|
371
|
+
background: url('data:image/svg+xml;utf8,<svg height="25" width="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="0.5" style="fill:rgba(255, 0, 0, 0.3)" /></svg>') repeat top left;
|
372
|
+
content: "";
|
373
|
+
display: block;
|
374
|
+
pointer-events: none;
|
375
|
+
top: 0;
|
376
|
+
right: 0;
|
377
|
+
bottom: 0;
|
378
|
+
left: 0;
|
379
|
+
z-index: 9999;
|
380
|
+
position: absolute;
|
381
|
+
}
|
382
|
+
|
383
|
+
.g body:active::after {
|
384
|
+
display: none;
|
385
|
+
}
|
data/lib/jtoc.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-open-course
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Stolley
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -71,6 +71,10 @@ files:
|
|
71
71
|
- _layouts/links.html
|
72
72
|
- _layouts/policies.html
|
73
73
|
- _layouts/projects.html
|
74
|
+
- _sass/_base.scss
|
75
|
+
- _sass/_colors.scss
|
76
|
+
- _sass/_fonts.scss
|
77
|
+
- _sass/_typography.scss
|
74
78
|
- assets/css/print.css
|
75
79
|
- assets/css/screen.scss
|
76
80
|
- assets/img/te.png
|