ols-theme 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +50 -50
- data/_includes/announcement-blog-metadata.html +78 -0
- data/_includes/cohort-loop.html +41 -0
- data/_includes/cohort-metadata.html +34 -0
- data/_includes/default-footer.html +3 -3
- data/_includes/default-header.html +33 -34
- data/_includes/detailed-schedule.md +11 -11
- data/_includes/external-entities.html +1 -1
- data/_includes/overall-schedule.md +5 -5
- data/_includes/people.html +79 -81
- data/_includes/projects-participants.html +61 -0
- data/_includes/schedule.md +123 -2
- data/_includes/timeline.md +24 -24
- data/_includes/toc.html +11 -11
- data/_includes/week.md +54 -49
- data/_layouts/base.html +64 -66
- data/_layouts/default.html +39 -37
- data/_layouts/index.html +7 -0
- data/_layouts/page.html +8 -8
- data/_layouts/people.html +105 -373
- data/_layouts/post.html +5 -5
- data/_layouts/posts.html +51 -51
- data/_sass/bulma/CHANGELOG.md +1254 -1254
- data/_sass/bulma/LICENSE +21 -21
- data/_sass/bulma/README.md +124 -124
- data/_sass/bulma/bulma.sass +9 -9
- data/_sass/bulma/css/bulma.css +10598 -10598
- data/_sass/bulma/package.json +52 -52
- data/_sass/bulma/sass/base/_all.sass +5 -5
- data/_sass/bulma/sass/base/generic.sass +142 -142
- data/_sass/bulma/sass/base/helpers.sass +281 -281
- data/_sass/bulma/sass/base/minireset.sass +85 -85
- data/_sass/bulma/sass/components/_all.sass +15 -15
- data/_sass/bulma/sass/components/breadcrumb.sass +75 -75
- data/_sass/bulma/sass/components/card.sass +79 -79
- data/_sass/bulma/sass/components/dropdown.sass +81 -81
- data/_sass/bulma/sass/components/level.sass +77 -77
- data/_sass/bulma/sass/components/list.sass +39 -39
- data/_sass/bulma/sass/components/media.sass +48 -48
- data/_sass/bulma/sass/components/menu.sass +57 -57
- data/_sass/bulma/sass/components/message.sass +87 -87
- data/_sass/bulma/sass/components/modal.sass +113 -113
- data/_sass/bulma/sass/components/navbar.sass +443 -443
- data/_sass/bulma/sass/components/pagination.sass +149 -149
- data/_sass/bulma/sass/components/panel.sass +103 -103
- data/_sass/bulma/sass/components/tabs.sass +151 -151
- data/_sass/bulma/sass/elements/_all.sass +15 -15
- data/_sass/bulma/sass/elements/box.sass +24 -24
- data/_sass/bulma/sass/elements/button.sass +305 -305
- data/_sass/bulma/sass/elements/container.sass +23 -23
- data/_sass/bulma/sass/elements/content.sass +155 -155
- data/_sass/bulma/sass/elements/form.sass +1 -1
- data/_sass/bulma/sass/elements/icon.sass +21 -21
- data/_sass/bulma/sass/elements/image.sass +69 -69
- data/_sass/bulma/sass/elements/notification.sass +35 -35
- data/_sass/bulma/sass/elements/other.sass +39 -39
- data/_sass/bulma/sass/elements/progress.sass +67 -67
- data/_sass/bulma/sass/elements/table.sass +127 -127
- data/_sass/bulma/sass/elements/tag.sass +121 -121
- data/_sass/bulma/sass/elements/title.sass +70 -70
- data/_sass/bulma/sass/form/_all.sass +8 -8
- data/_sass/bulma/sass/form/checkbox-radio.sass +21 -21
- data/_sass/bulma/sass/form/file.sass +180 -180
- data/_sass/bulma/sass/form/input-textarea.sass +60 -60
- data/_sass/bulma/sass/form/select.sass +85 -85
- data/_sass/bulma/sass/form/shared.sass +55 -55
- data/_sass/bulma/sass/form/tools.sass +205 -205
- data/_sass/bulma/sass/grid/_all.sass +4 -4
- data/_sass/bulma/sass/grid/columns.sass +504 -504
- data/_sass/bulma/sass/grid/tiles.sass +34 -34
- data/_sass/bulma/sass/layout/_all.sass +5 -5
- data/_sass/bulma/sass/layout/footer.sass +9 -9
- data/_sass/bulma/sass/layout/hero.sass +143 -143
- data/_sass/bulma/sass/layout/section.sass +13 -13
- data/_sass/bulma/sass/utilities/_all.sass +8 -8
- data/_sass/bulma/sass/utilities/animations.sass +5 -5
- data/_sass/bulma/sass/utilities/controls.sass +50 -50
- data/_sass/bulma/sass/utilities/derived-variables.sass +85 -85
- data/_sass/bulma/sass/utilities/functions.sass +62 -62
- data/_sass/bulma/sass/utilities/initial-variables.sass +76 -76
- data/_sass/bulma/sass/utilities/mixins.sass +261 -261
- data/_sass/bulma-collapsible.sass +15 -0
- metadata +14 -69
- data/assets/css/custom.scss +0 -422
- data/assets/images/2019-09-24-application.png +0 -0
- data/assets/images/2019-10-18-projects.jpg +0 -0
- data/assets/images/2019-10-21-storytelling.jpeg +0 -0
- data/assets/images/2019-11-13-difference-with-elife-innovation-leaders.jpg +0 -0
- data/assets/images/2019-11-25-blog2.png +0 -0
- data/assets/images/2019-11-25-blog3.png +0 -0
- data/assets/images/2019-11-25-blog4.png +0 -0
- data/assets/images/2019-11-25-blog5.png +0 -0
- data/assets/images/2019-11-25-blog6.png +0 -0
- data/assets/images/2019-11-25-header-expert.jpeg +0 -0
- data/assets/images/2020-ally-training.jpg +0 -0
- data/assets/images/2021-04-30-ols-2-blog-2.png +0 -0
- data/assets/images/2021-04-30-ols-2-blog.png +0 -0
- data/assets/images/2021-12-21-wt-open-research-fund-header.png +0 -0
- data/assets/images/2022-01-04-esthers-mentoring-blog-illustration.jpg +0 -0
- data/assets/images/2022-01-27-ols-czi-funding.jpg +0 -0
- data/assets/images/2022-02-18-for-hire.jpg +0 -0
- data/assets/images/2022-04-01-header-image-speed-blod-nadine.jpg +0 -0
- data/assets/images/2022-05-13-os-hobby-blog.jpg +0 -0
- data/assets/images/2022-07-18-ismaelkg-crinkle.png +0 -0
- data/assets/images/2022-07-18-ismaelkg-timeline-image.png +0 -0
- data/assets/images/2022-07-18-ismaelkg-watches.jpg +0 -0
- data/assets/images/2022-07-18-osmooc-logo.png +0 -0
- data/assets/images/2022-07-18-osmooc-modules.png +0 -0
- data/assets/images/2022-07-18-tudelft-history.png +0 -0
- data/assets/images/2022-07-18-twitter.png +0 -0
- data/assets/images/2022-08-adi-goldstein-unsplash.jpg +0 -0
- data/assets/images/2022-08-paz-meme.png +0 -0
- data/assets/images/2022-08-paz.jpg +0 -0
- data/assets/images/2022-12-andrea-sanchez.jpg +0 -0
- data/assets/images/2022-12-ecg-grant-announcement.png +0 -0
- data/assets/images/2022-12-jon-tyson-unsplash.jpg +0 -0
- data/assets/images/2022-12-melissa-black.jpg +0 -0
- data/assets/images/2022-12-mitchell-luo-unsplash.jpg +0 -0
- data/assets/images/2022-12-ols-resident-fellows.jpg +0 -0
- data/assets/images/2022-12-pexels-linda-ellershein.jpg +0 -0
- data/assets/images/2022-12-reina-camacho.png +0 -0
- data/assets/images/2022-WT-OLS-Job-Description.pdf +0 -0
- data/assets/images/2023-02-1-milad-fakurian-0n1pmev3w2A-unsplash.jpg +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/colourrefresh.png +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/identity-poster.png +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/logo-refresh.png +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/logomark.png +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/open-by-design.png +0 -0
- data/assets/images/2023-04-18-introducing-the-new-OLS/open-seeds.png +0 -0
- data/assets/images/2023-05-debs.jpg +0 -0
- data/assets/images/2023-05-taj.jpg +0 -0
- data/assets/images/about.jpg +0 -0
- data/assets/images/code-of-conduct.jpg +0 -0
- data/assets/images/index.jpg +0 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/ols-1/project-participants.jpg +0 -0
- data/assets/images/organizations/denbi.png +0 -0
- data/assets/images/organizations/elixir.png +0 -0
- data/assets/images/organizations/mozilla.jpg +0 -0
- data/assets/images/posts.jpg +0 -0
- data/assets/images/schedule.png +0 -0
- data/assets/images/syllabus.jpg +0 -0
- data/assets/js/posts.js +0 -21
- data/assets/js/scripts.js +0 -52
data/assets/css/custom.scss
DELETED
@@ -1,422 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
@charset "utf-8";
|
5
|
-
|
6
|
-
$black: #000;
|
7
|
-
$white: #fff;
|
8
|
-
$dark-green: #48b87d;
|
9
|
-
|
10
|
-
$bg-image: #333;
|
11
|
-
$hero-text-color: $white;
|
12
|
-
$text-shadow: $black;
|
13
|
-
|
14
|
-
$link: $dark-green;
|
15
|
-
$link-visited: $link;
|
16
|
-
$link-hover: $dark-green;
|
17
|
-
$link-focus: $link-hover;
|
18
|
-
$link-active: $link-hover;
|
19
|
-
|
20
|
-
@import 'bulma/bulma.sass';
|
21
|
-
|
22
|
-
@mixin reset-links() {
|
23
|
-
a {
|
24
|
-
border-bottom: 0;
|
25
|
-
color: $link;
|
26
|
-
font-weight: 500;
|
27
|
-
|
28
|
-
&:active,
|
29
|
-
&:focus,
|
30
|
-
&:hover {
|
31
|
-
background: none;
|
32
|
-
color: $link-hover;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.navbar {
|
38
|
-
.navbar-dropdown {
|
39
|
-
border-top: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
.navbar-item {
|
43
|
-
img {
|
44
|
-
max-height: 3.5rem;
|
45
|
-
margin-top: -5px;
|
46
|
-
margin-bottom: -5px;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
.navbar-previous-title {
|
51
|
-
font-weight: bold;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.hero {
|
56
|
-
background-clip: border-box;
|
57
|
-
background-color: $bg-image;
|
58
|
-
background-origin: padding-box;
|
59
|
-
background-position: center center;
|
60
|
-
background-repeat: no-repeat;
|
61
|
-
background-size: cover;
|
62
|
-
height: auto;
|
63
|
-
width: 100%;
|
64
|
-
|
65
|
-
&.no-image {
|
66
|
-
height: auto;
|
67
|
-
background-color: $bg-image;
|
68
|
-
}
|
69
|
-
|
70
|
-
@include tablet() {
|
71
|
-
background-attachment: fixed;
|
72
|
-
height: 50vh;
|
73
|
-
min-height: 300px;
|
74
|
-
|
75
|
-
&.no-image {
|
76
|
-
min-height: 40vh;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.hero-body {
|
82
|
-
padding-top: 160px;
|
83
|
-
text-align: center;
|
84
|
-
text-shadow: 2px 2px 5px $text-shadow;
|
85
|
-
|
86
|
-
h1,
|
87
|
-
p {
|
88
|
-
color: $hero-text-color;
|
89
|
-
}
|
90
|
-
|
91
|
-
.no-image & {
|
92
|
-
padding-top: 80px;
|
93
|
-
text-shadow: none;
|
94
|
-
|
95
|
-
p {
|
96
|
-
color: #464646;
|
97
|
-
}
|
98
|
-
}
|
99
|
-
|
100
|
-
@include tablet() {
|
101
|
-
padding-top: 20vh;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
.hero-foot {
|
106
|
-
color: $hero-text-color;
|
107
|
-
|
108
|
-
.credit {
|
109
|
-
text-align: right;
|
110
|
-
font-size: 0.6em;
|
111
|
-
text-shadow: 1px 1px 1px $text-shadow;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.content {
|
116
|
-
a {
|
117
|
-
border-bottom: 2px solid $link;
|
118
|
-
color: inherit;
|
119
|
-
font-weight: 500;
|
120
|
-
padding: 2px;
|
121
|
-
|
122
|
-
&:active,
|
123
|
-
&:focus,
|
124
|
-
&:hover {
|
125
|
-
background-color: $link;
|
126
|
-
border-radius: 2px;
|
127
|
-
color: $white;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
.people {
|
133
|
-
margin-bottom: 1em;
|
134
|
-
|
135
|
-
.media {
|
136
|
-
height: 230px;
|
137
|
-
}
|
138
|
-
.people-description {
|
139
|
-
height: 150px;
|
140
|
-
}
|
141
|
-
|
142
|
-
#people-bio {
|
143
|
-
height: auto;
|
144
|
-
}
|
145
|
-
|
146
|
-
@include mobile() {
|
147
|
-
.people-card {
|
148
|
-
margin-bottom: 1em;
|
149
|
-
}
|
150
|
-
|
151
|
-
.people-card-meta {
|
152
|
-
overflow-x: initial;
|
153
|
-
}
|
154
|
-
|
155
|
-
.people-card-avatar {
|
156
|
-
display: none;
|
157
|
-
}
|
158
|
-
|
159
|
-
.media, .people-description {
|
160
|
-
height: auto;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
@include tablet() {
|
165
|
-
display: grid;
|
166
|
-
grid-gap: 2em;
|
167
|
-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
168
|
-
}
|
169
|
-
|
170
|
-
.title.is-4 {
|
171
|
-
margin-bottom: 0.5em;
|
172
|
-
}
|
173
|
-
|
174
|
-
.people-card-meta {
|
175
|
-
@include reset-links();
|
176
|
-
}
|
177
|
-
|
178
|
-
.people-card-meta-twitter {
|
179
|
-
font-weight: 600;
|
180
|
-
}
|
181
|
-
|
182
|
-
.people-description {
|
183
|
-
padding-left: 0px;
|
184
|
-
padding-right: 0px;
|
185
|
-
}
|
186
|
-
|
187
|
-
.people-description-question {
|
188
|
-
font-style: italic;
|
189
|
-
}
|
190
|
-
|
191
|
-
.image {
|
192
|
-
margin-left: 0px;
|
193
|
-
margin-right: 0px;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
.people-badge {
|
198
|
-
height: 2em;
|
199
|
-
border-radius: 50%;
|
200
|
-
margin-left: 0.25em;
|
201
|
-
margin-right: 0.25em;
|
202
|
-
vertical-align: middle;
|
203
|
-
}
|
204
|
-
|
205
|
-
.entities {
|
206
|
-
@include mobile() {
|
207
|
-
.card {
|
208
|
-
margin-bottom: 1em;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
@include tablet() {
|
213
|
-
display: grid;
|
214
|
-
grid-gap: 1em;
|
215
|
-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
216
|
-
}
|
217
|
-
|
218
|
-
.is-3by1 {
|
219
|
-
margin-top: 2em;
|
220
|
-
}
|
221
|
-
|
222
|
-
.entity-logo {
|
223
|
-
max-height: 100%;
|
224
|
-
max-width: 100%;
|
225
|
-
width: auto !important;
|
226
|
-
height: auto !important;
|
227
|
-
position: absolute !important;
|
228
|
-
}
|
229
|
-
|
230
|
-
.entity-description-question {
|
231
|
-
font-style: italic;
|
232
|
-
}
|
233
|
-
|
234
|
-
.entity-card-meta {
|
235
|
-
@include reset-links();
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
|
-
.post {
|
240
|
-
display: flex;
|
241
|
-
justify-content: center;
|
242
|
-
align-items: center;
|
243
|
-
flex-wrap: wrap;
|
244
|
-
|
245
|
-
.card {
|
246
|
-
background-color: #fff;
|
247
|
-
box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.28);
|
248
|
-
height: 100%;
|
249
|
-
width: fit-content;
|
250
|
-
}
|
251
|
-
|
252
|
-
.image {
|
253
|
-
height: 300px;
|
254
|
-
width: auto;
|
255
|
-
overflow: hidden;
|
256
|
-
|
257
|
-
img {
|
258
|
-
max-height: 100%;
|
259
|
-
object-fit: cover;
|
260
|
-
}
|
261
|
-
}
|
262
|
-
|
263
|
-
|
264
|
-
.card-content {
|
265
|
-
padding: 2rem;
|
266
|
-
|
267
|
-
.content .title {
|
268
|
-
height: 250px;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
|
272
|
-
@include mobile() {
|
273
|
-
.card {
|
274
|
-
margin-bottom: 1em;
|
275
|
-
|
276
|
-
.media-content {
|
277
|
-
overflow-x: initial;
|
278
|
-
}
|
279
|
-
|
280
|
-
.media-left {
|
281
|
-
display: none;
|
282
|
-
}
|
283
|
-
}
|
284
|
-
|
285
|
-
.image {
|
286
|
-
height: auto;
|
287
|
-
}
|
288
|
-
.card-content .content .title {
|
289
|
-
height: auto;
|
290
|
-
}
|
291
|
-
}
|
292
|
-
|
293
|
-
@include tablet() {
|
294
|
-
display: grid;
|
295
|
-
grid-gap: 2em;
|
296
|
-
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
297
|
-
}
|
298
|
-
|
299
|
-
.subtitle {
|
300
|
-
font-size: 1.1rem;
|
301
|
-
color: #464646;
|
302
|
-
}
|
303
|
-
|
304
|
-
.title {
|
305
|
-
a {
|
306
|
-
border-bottom: none;
|
307
|
-
color: inherit;
|
308
|
-
padding: 2px;
|
309
|
-
|
310
|
-
&:active,
|
311
|
-
&:focus,
|
312
|
-
&:hover {
|
313
|
-
color: $black;
|
314
|
-
background: none;
|
315
|
-
}
|
316
|
-
}
|
317
|
-
}
|
318
|
-
|
319
|
-
figure {
|
320
|
-
margin-top: 2em;
|
321
|
-
}
|
322
|
-
}
|
323
|
-
|
324
|
-
.calendar {
|
325
|
-
border: 0;
|
326
|
-
width: 100%;
|
327
|
-
height: 350px;
|
328
|
-
}
|
329
|
-
|
330
|
-
.twitter-tweet {
|
331
|
-
margin: 0 auto;
|
332
|
-
max-width: 550px;
|
333
|
-
text-align: center;
|
334
|
-
}
|
335
|
-
|
336
|
-
.community {
|
337
|
-
margin-bottom: 1em;
|
338
|
-
|
339
|
-
.card {
|
340
|
-
box-shadow: none;
|
341
|
-
}
|
342
|
-
|
343
|
-
.card-content {
|
344
|
-
padding-top: 1em;
|
345
|
-
padding-left: 0em;
|
346
|
-
padding-right: 0em;
|
347
|
-
padding-bottom: 0em;
|
348
|
-
}
|
349
|
-
|
350
|
-
@include mobile() {
|
351
|
-
.people-card {
|
352
|
-
margin-bottom: 1em;
|
353
|
-
}
|
354
|
-
|
355
|
-
.people-card-meta {
|
356
|
-
overflow-x: initial;
|
357
|
-
}
|
358
|
-
|
359
|
-
display: grid;
|
360
|
-
grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
|
361
|
-
}
|
362
|
-
|
363
|
-
@include tablet() {
|
364
|
-
display: grid;
|
365
|
-
grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
|
366
|
-
}
|
367
|
-
|
368
|
-
.image {
|
369
|
-
margin-left: 0px;
|
370
|
-
margin-right: 0px;
|
371
|
-
}
|
372
|
-
|
373
|
-
a {
|
374
|
-
border-bottom: none;
|
375
|
-
color: inherit;
|
376
|
-
|
377
|
-
&:active,
|
378
|
-
&:focus,
|
379
|
-
&:hover {
|
380
|
-
background: none;
|
381
|
-
}
|
382
|
-
}
|
383
|
-
}
|
384
|
-
|
385
|
-
.peoples {
|
386
|
-
margin-top: 1em;
|
387
|
-
}
|
388
|
-
|
389
|
-
code {
|
390
|
-
background-color: #DBDBDB;
|
391
|
-
color: #85001B;
|
392
|
-
font-weight: bold;
|
393
|
-
}
|
394
|
-
|
395
|
-
.schedule-overview{
|
396
|
-
width: 80%;
|
397
|
-
display: block;
|
398
|
-
margin-left: auto;
|
399
|
-
margin-right: auto;
|
400
|
-
margin-top: 25px;
|
401
|
-
margin-bottom: 20px;
|
402
|
-
}
|
403
|
-
|
404
|
-
|
405
|
-
// table responsiveness (mobile)
|
406
|
-
@media screen and (max-width: 768px) and (min-width: 320px) {
|
407
|
-
table {
|
408
|
-
font-size: 1em;
|
409
|
-
line-height: 1.5;
|
410
|
-
display: block;
|
411
|
-
overflow-x: auto;
|
412
|
-
padding-bottom: 20px;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
|
416
|
-
.field {
|
417
|
-
padding: 30px;
|
418
|
-
}
|
419
|
-
|
420
|
-
.is-hidden {
|
421
|
-
display: none;
|
422
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/images/about.jpg
DELETED
Binary file
|
Binary file
|
data/assets/images/index.jpg
DELETED
Binary file
|
data/assets/images/logo.png
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/images/posts.jpg
DELETED
Binary file
|
data/assets/images/schedule.png
DELETED
Binary file
|
data/assets/images/syllabus.jpg
DELETED
Binary file
|
data/assets/js/posts.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
// Searchbar functionality
|
2
|
-
|
3
|
-
function searchPosts() {
|
4
|
-
// Find the cards
|
5
|
-
let cards = document.querySelectorAll('.card')
|
6
|
-
// Locate search input
|
7
|
-
let search_query = document.getElementById('searchbar').value;
|
8
|
-
// Loop through the cards
|
9
|
-
for (var i = 0; i < cards.length; i++) {
|
10
|
-
// If text is in the card:
|
11
|
-
if (cards[i].innerHTML.toLowerCase()
|
12
|
-
// AND if the text matches the search query:
|
13
|
-
.includes(search_query.toLowerCase())) {
|
14
|
-
// THEN remove the '.is-hidden' class
|
15
|
-
cards[i].classList.remove('is-hidden');
|
16
|
-
} else {
|
17
|
-
// Otherwise, add the class:
|
18
|
-
cards[i].classList.add('is-hidden');
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
data/assets/js/scripts.js
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
document.addEventListener('DOMContentLoaded', () => {
|
2
|
-
|
3
|
-
// Get all "navbar-burger" elements
|
4
|
-
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
5
|
-
|
6
|
-
// Check if there are any navbar burgers
|
7
|
-
if ($navbarBurgers.length > 0) {
|
8
|
-
|
9
|
-
// Add a click event on each of them
|
10
|
-
$navbarBurgers.forEach( el => {
|
11
|
-
el.addEventListener('click', () => {
|
12
|
-
|
13
|
-
// Get the target from the "data-target" attribute
|
14
|
-
const target = el.dataset.target;
|
15
|
-
const $target = document.getElementById(target);
|
16
|
-
|
17
|
-
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
|
18
|
-
el.classList.toggle('is-active');
|
19
|
-
$target.classList.toggle('is-active');
|
20
|
-
|
21
|
-
});
|
22
|
-
});
|
23
|
-
}
|
24
|
-
|
25
|
-
});
|
26
|
-
|
27
|
-
document.addEventListener('DOMContentLoaded', function() {
|
28
|
-
let cardToggles = document.getElementsByClassName('card-toggle');
|
29
|
-
for (let i = 0; i < cardToggles.length; i++) {
|
30
|
-
cardToggles[i].addEventListener('click', e => {
|
31
|
-
e.currentTarget.parentElement.parentElement.childNodes[3].classList.toggle('is-hidden');
|
32
|
-
});
|
33
|
-
}
|
34
|
-
});
|
35
|
-
|
36
|
-
document.addEventListener('DOMContentLoaded', function() {
|
37
|
-
let cardToggles = document.getElementsByClassName('expertise-toggle');
|
38
|
-
for (let i = 0; i < cardToggles.length; i++) {
|
39
|
-
cardToggles[i].addEventListener('click', e => {
|
40
|
-
e.currentTarget.parentElement.querySelector(".peoples").classList.toggle('is-hidden');
|
41
|
-
});
|
42
|
-
}
|
43
|
-
});
|
44
|
-
|
45
|
-
document.addEventListener('DOMContentLoaded', function() {
|
46
|
-
let cardToggles = document.getElementsByClassName('expertise-detail-toggle');
|
47
|
-
for (let i = 0; i < cardToggles.length; i++) {
|
48
|
-
cardToggles[i].addEventListener('click', e => {
|
49
|
-
e.currentTarget.parentElement.parentElement.querySelector(".expertise-detail").classList.toggle('is-hidden');
|
50
|
-
});
|
51
|
-
}
|
52
|
-
});
|