Skip to content

Commit 363367f

Browse files
committed
Change layout of slides and lessons
Also removed unused example site from theme folder
1 parent f37b5f4 commit 363367f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+443
-3329
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Then before each session:
3939

4040
1. Update your Fork
4141
1. Branch
42-
1. Run `./dev.ps1`
42+
1. Run `hugo server -DEF`
4343
1. Commit
4444
1. Push
4545
1. Create a pull request

assets/css/common.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ pre,
2222
background-color: var(--oe-background-color);
2323
}
2424

25-
.markdown code {
25+
.markdown code {
2626
background: var(--oe-inline-code-bg-color);
2727
}
2828

2929
.markdown table tr:nth-child(2n) {
3030
background-color: var(--oe-background-color-darker);
3131
}
3232

33+
.markdown header h1 {
34+
margin-top: 0;
35+
}
36+
3337
body > footer {
3438
flex-grow: 0;
3539
}
@@ -45,8 +49,6 @@ h6 {
4549
font-family: var(--oe-fancy-font);
4650
} */
4751

48-
49-
5052
.pull {
5153
display: flex;
5254
flex-direction: row;
@@ -61,7 +63,6 @@ h6 {
6163
flex-basis: 50%;
6264
background-color: var(--oe-panel-color-with-alpha);
6365
padding: var(--oe-padding-small);
64-
6566
}
6667

6768
.pull.pull-red > * {

assets/css/resources.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.resources aside {
55
background-color: var(--oe-background-color-darker);
66
padding: var(--oe-padding-small);
7-
margin-top: 2em;
87
}
98

109
.resources aside {
@@ -46,3 +45,10 @@
4645
opacity: 1;
4746
}
4847
}
48+
49+
.book-menu-content {
50+
}
51+
52+
.book-search input {
53+
background-color: white !important;
54+
}

assets/css/reveal-slides.scss

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
@media print {
2-
.navbar, .oe-presentation-controls, #themeSelector {display:none;}
2+
.navbar,
3+
.oe-presentation-controls,
4+
#themeSelector {
5+
display: none;
6+
}
37
}
48

59
.reveal {
610
overflow: hidden;
11+
// force a 16:9 ratio for slide size
12+
height: auto !important;
13+
aspect-ratio: 16 / 9;
14+
margin: var(--oe-padding-small);
715

8-
.slide-background {
16+
.slide-background {
917
background-image: url(/oe-logo-horizontal.svg);
1018
background-position: right 5% top 5%;
1119
background-repeat: no-repeat;
12-
background-size: 20%;;
20+
background-size: 20%;
1321
}
1422

15-
h2, h3, h4 {
23+
h1,
24+
h2,
25+
h3,
26+
h4 {
1627
a {
1728
display: none; //overriding anchor link style
1829
}
@@ -21,4 +32,21 @@
2132
aside {
2233
background: none; // overriding aside bg style
2334
}
35+
36+
.slide-number {
37+
.slide-number-delimiter {
38+
margin: 0;
39+
}
40+
}
41+
42+
section {
43+
}
44+
45+
.align-middle {
46+
text-align: left;
47+
}
48+
49+
.align-left {
50+
text-align: left;
51+
}
2452
}

assets/css/theme/light.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--oe-color-logo: #231f20;
33
--oe-font-color: #000;
44
--oe-font-color-bright: #fff;
5-
--oe-font-color-toned: #aaa;
5+
--oe-font-color-toned: #bbb;
66
--oe-inverse-color: #000;
77
--oe-background-color: #fff;
88
--oe-background-color-darker: #fbfbfb;

content/resources/lessons/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: Lessons
33
---
4-
Open Ecoacoustics currently offer the following lessons as a part of the QUT Ecoacoustic Symposium in November 2022:
4+
5+
Open Ecoacoustics currently offer the following lessons:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: Requirements
3+
---
4+
5+
- This is a face to face workshop and all attendees will be required to register for the main symposium, as well as attending the workshop on Friday.
6+
- Participants will need to attend an online pre-workshop session and to bring along example labelled call data for the workshop (20-200 example calls, and 20-100 negative examples from real recordings), plus a few hours of unlabelled audio that is known to contain your call of interest; exact details will be provided to participants.
7+
- To undertake the workshop participants need to be comfortable with executing simple command line programs; it’s also advantageous to have some programming experience (e.g. R or Python) although programming experience is not required. All the tools used to build the recogniser will be freely available, as will the workshop notes.
8+
- This is part of an open science initiative. Participants need to be willing to make their recogniser available under an open-source licence (Apache 2.0 https://opensource.org/licenses/Apache-2.0) so that others may use it, and for the recogniser to be published in a registry.

content/resources/lessons/recognizer-ws/requirements.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,103 @@
11
---
22
title: Test Presentation
3-
image: images/Maybe-home-page3.jpg
43
type: "resources"
54
layout: "presentation"
65
draft: true
76
---
8-
{{< slide data-transition="fade" >}}
7+
8+
{{% slide data-transition="fade" %}}
9+
910
## Test presentation
11+
1012
This presentation is for demonstration purposes.
11-
{{< /slide >}}
13+
{{% /slide %}}
14+
15+
{{% slide data-transition="slide" %}}
1216

13-
{{< slide data-transition="slide" >}}
1417
### Slide with an image
18+
1519
![Susan Fuller](/images/people/susan-fuller.jpg)
1620

1721
Susan Fuller
18-
- Project Leader at _QUT_
19-
- Researcher in ecology and conservation biology
20-
{{< /slide >}}
21-
22-
{{< slide data-transition="fade" data-background-color="wheat">}}
23-
### List
24-
- Creating
25-
- A list
26-
- Is easy
22+
23+
- Project Leader at _QUT_
24+
- Researcher in ecology and conservation biology
25+
26+
<aside class="notes">
27+
- Shhh, these are your private notes 📝
28+
</aside>
29+
{{% /slide %}}
30+
31+
{{% slide data-transition="fade" data-background-color="wheat" %}}
32+
33+
### List
34+
35+
- Creating
36+
- A list
37+
- Is easy
38+
2739
### Numbered list
28-
1. I have so
29-
2. much to say
40+
41+
1. I have so
42+
2. much to say
3043
3. here
31-
{{< /slide >}}
44+
{{% /slide %}}
3245

33-
{{< slide data-background-color="yellow" >}}
46+
{{% slide data-background-color="yellow" %}}
3447
This slide has code
35-
```ruby
48+
49+
```ruby
3650
require 'redcarpet'
3751
markdown = Redcarpet.new("Hello World!")
3852
puts markdown.to_html
3953
```
40-
{{< /slide >}}
4154

42-
{{< slide slide-name="headings">}}
55+
{{% /slide %}}
56+
57+
{{% slide slide-name="headings"%}}
4358
This slide has many headings
59+
4460
## heading 2
61+
4562
### heading 3
63+
4664
#### heading 4
47-
{{< /slide >}}
4865

49-
{{< slide >}}
66+
{{% /slide %}}
67+
68+
{{% slide %}}
5069
This slide has a link to google: [Visit Google](https://www.google.com)
5170

5271
And a link to a previous slide (you will need to give a name to the slide you want to link to):
5372
[Go back to the headings slide](#headings)
54-
{{< /slide >}}
73+
{{% /slide %}}
5574

56-
{{< slide >}}
75+
{{% slide %}}
5776
This slide has a table
5877

59-
| Tables | Are | Cool |
60-
| ------------- |:-------------:| -----:|
78+
| Tables | Are | Cool |
79+
| ------------- | :-----------: | ----: |
6180
| col 3 is | right-aligned | $1600 |
62-
| col 2 is | centered | $12 |
63-
| zebra stripes | are neat | $1 |
64-
{{< /slide >}}
81+
| col 2 is | centered | $12 |
82+
| zebra stripes | are neat | $1 |
83+
84+
{{% /slide %}}
85+
86+
{{% slide %}}
6587

66-
{{< slide >}}
6788
> Blockquotes are very handy...
6889
> This line is part of the same quote.
6990
7091
Quote break.
92+
7193
> A new quote
72-
{{< /slide >}}
94+
> {{% /slide %}}
95+
96+
{{% slide %}}
7397

74-
{{< slide >}}
7598
## Video
7699

77100
To add a video: go to YouTube, click Share, choose embed, and paste the code:
101+
78102
<iframe width="560" height="315" src="https://www.youtube.com/embed/-gOK_sv80uI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
79-
{{< /slide >}}
103+
{{% /slide %}}

0 commit comments

Comments
 (0)