diff --git a/Makefile b/Makefile index 8a71aa72..dd00bb08 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ test: @${MAKE} test-build lint: # requires Node and NPM to be installed - @npx --yes markdownlint-cli "**/*.md" + @npx --yes markdownlint-cli@0.45.0 "**/*.md" spellcheck: # check for spelling errors @codespell diff --git a/source/static/css/components/iframe.css b/source/static/css/components/iframe.css new file mode 100644 index 00000000..b5ada716 --- /dev/null +++ b/source/static/css/components/iframe.css @@ -0,0 +1,14 @@ +.iframe-wrapper { + position: relative; + width: 100%; + padding-bottom: 56.25%; /* Ratio 16:9 → 9/16 = 0.5625 */ + height: 0; +} + +.iframe-wrapper iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/source/static/style.css b/source/static/style.css index 1dbadaed..1973270d 100644 --- a/source/static/style.css +++ b/source/static/style.css @@ -11,3 +11,4 @@ @import 'css/components/mobile-toggle.css'; @import 'css/components/sphinxsidebar.css'; @import 'css/components/footer.css'; +@import 'css/components/iframe.css'; diff --git a/source/training/index.md b/source/training/index.md index da3b1755..b7b63da3 100644 --- a/source/training/index.md +++ b/source/training/index.md @@ -18,7 +18,10 @@ python-api Ensuring everyone has the appropriate tools and background knowledge to start the training. - [Slide deck](./kickoff.md). -- [Video](https://cloud.openfisca.org/s/yM3RYSd43e2NG7C). + +