Skip to content

Commit 802233d

Browse files
committed
Fix slide aspect ratios
1 parent 13399d3 commit 802233d

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

css/wrug.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
.slide-deck {
22
border: 3px solid #dee2e6;
33
width: 100%;
4-
height: 475px;
5-
}
6-
7-
@media only screen and (max-width: 600px) {
8-
.slide-deck {
9-
height: 400px;
10-
}
114
}
125

136
.ar16x9 {
147
aspect-ratio: 16 / 9;
8+
}
9+
10+
.ar4x3 {
11+
aspect-ratio: 4 / 3;
12+
}
13+
14+
.ar3x2 {
15+
aspect-ratio: 3 / 2;
1516
}

meetings/2022-07-14-dependencies/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In order to do so, two different methods will be presented, compared and discuss
2121
At the end of the session, points in common as well as limitations will be highlighted, hopefully leading to a discussion and opening the door for the second talk of the reproducibility series.
2222

2323
```{=html}
24-
<iframe class="slide-deck" src="https://ccamara.github.io/wrug-depedencies/slides.html"></iframe>
24+
<iframe class="slide-deck ar16x9" src="https://ccamara.github.io/wrug-depedencies/slides.html"></iframe>
2525
```
2626

2727
You can check the [standalone Slides here](https://ccamara.github.io/wrug-depedencies/slides.html#1){target="_blank"} and [Source code](https://github.com/ccamara/wrug-depedencies){target="_blank"}

meetings/2023-11-23-fitting-wiggly-data/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For in-person attendees, the talk will be followed by pizza/salad and soft drink
2323
* GAM workshop for NHS-R Community Conference 2023 GitHub repo: <https://github.com/chrismainey/GAMworkshop>
2424
* Slides: <https://chrismainey.github.io/GAMworkshop/GAMworkshop.html>
2525

26-
<iframe class="slide-deck ar3x2" src="https://chrismainey.github.io/GAMworkshop/GAMworkshop.html#1" title="Slides">
26+
<iframe class="slide-deck ar16x9" src="https://chrismainey.github.io/GAMworkshop/GAMworkshop.html#1" title="Slides">
2727
</iframe>
2828

2929
## About the speaker

meetings/2024-06-10-summer-bonanza/index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Here's a link to the [slides](https://warwick-stats-resources.github.io/warwickb
4949

5050
Here are the slides embedded:
5151

52-
<iframe class="slide-deck ar3x2" src="https://warwick-stats-resources.github.io/warwickbrand-talk" title="Slides">
52+
<iframe class="slide-deck ar16x9" src="https://warwick-stats-resources.github.io/warwickbrand-talk" title="Slides">
5353
</iframe>
5454

5555
### About the speaker
@@ -78,7 +78,7 @@ Here's a link to the [slides](https://ccamara.github.io/wrug-geospatial-ecosyste
7878

7979
Here are the slides embedded:
8080

81-
<iframe class="slide-deck ar3x2" src="https://ccamara.github.io/wrug-geospatial-ecosystem-R/2024-06-wrug-mapping.html#/title-slide" title="Slides">
81+
<iframe class="slide-deck ar16x9" src="https://ccamara.github.io/wrug-geospatial-ecosystem-R/2024-06-wrug-mapping.html#/title-slide" title="Slides">
8282
</iframe>
8383

8484
### About the speaker

0 commit comments

Comments
 (0)