diff --git a/_sass/components/_iframes.scss b/_sass/components/_iframes.scss new file mode 100644 index 00000000..97cd390a --- /dev/null +++ b/_sass/components/_iframes.scss @@ -0,0 +1,19 @@ +.iframe-container { + position: relative; + overflow: hidden; + width: 100%; + padding-top: 75%; /* 4:3 Aspect Ratio */ + @media (max-width: 767px) { + padding-top: 130%; /* A custom aspect ratio for Google Calendar */ + } +} + +.responsive-iframe { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + width: 100%; + height: 100%; +} diff --git a/assets/css/main.scss b/assets/css/main.scss index b0b15ac0..fa719d95 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -13,4 +13,5 @@ @import "components/footer"; @import "components/jumbotron"; @import "components/jupyterhub"; -@import "components/page-header"; \ No newline at end of file +@import "components/page-header"; +@import "components/iframes"; diff --git a/community.md b/community.md index 99f28a9b..303fb3d0 100644 --- a/community.md +++ b/community.md @@ -135,7 +135,17 @@ This page is for in person, one-of-a-kind events, for community engagement, see This is a calendar of regular online events. It might not be exhaustive. - +
+ +
See [this page](https://jupyter.readthedocs.io/en/latest/community/content-community.html#jupyter-wide-meetings) for