Skip to content

Commit d96f5dd

Browse files
Initial Calendar Commit
1 parent 4669263 commit d96f5dd

2 files changed

Lines changed: 26 additions & 7 deletions

File tree

pages/calendar/calendar.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949

5050
<!-- Page Content -->
5151
<div class="container main-page">
52-
53-
54-
5552
<h1>Calendar!</h1>
56-
57-
58-
59-
</div>
53+
<div class="d-none d-md-block responsive-iframe-container ">
54+
<iframe src="https://calendar.google.com/calendar/embed?src=fivd9ll4lvpkeoqoa8mo2dvqh4%40group.calendar.google.com&ctz=America%2FChicago" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
55+
</div>
56+
<div class="d-md-none d-lg-none d-xl-none responsive-iframe-container ">
57+
<iframe src="https://calendar.google.com/calendar/embed?mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=acmatku%40gmail.com&amp;color=%23AB8B00&amp;ctz=America%2FChicago" style="border-width:0; width:95%" width="800" height="600" frameborder="0" scrolling="no" class = "mobile"></iframe>
58+
</div>
59+
</div>
6060
<!-- /.container -->
6161

6262
<!-- Footer -->

pages/calendar/css/calendar.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.responsive-iframe-container {
2+
position: relative;
3+
padding-bottom: 56.25%;
4+
padding-top: 1rem;
5+
margin-bottom:1rem;
6+
height: 0;
7+
display:block;
8+
overflow: hidden;
9+
}
10+
11+
.responsive-iframe-container iframe,
12+
.vresponsive-iframe-container object,
13+
.vresponsive-iframe-container embed {
14+
position: absolute;
15+
top: 0;
16+
left: 0;
17+
width: 80%;
18+
height: 100%;
19+
}

0 commit comments

Comments
 (0)