Skip to content

Commit

Permalink
Merge pull request #138 from NikitaRubocki/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
NikitaRubocki authored Mar 8, 2022
2 parents 69234a1 + 74ebf05 commit 43b522e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/custom.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ ul.indexing {

#map {
height: 720px;
}
}
13 changes: 13 additions & 0 deletions app/assets/stylesheets/video.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.iframe-container{
position: relative;
width: 100%;
padding-bottom: 56.25%;
height: 0;
}
.iframe-container iframe{
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
2 changes: 2 additions & 0 deletions app/views/static_pages/home.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
= image_tag('ecotone-flower2-osu-cascades-200x200.jpg', alt: 'Flower on OSU-Cascades campus')
%h3 Plant Identification
%p Learn more about native plant species by scanning the QR codes posted at each plot around campus
.iframe-container
%iframe{:allow => "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", :allowfullscreen => "", :frameborder => "0", :height => "315", :src => "https://www.youtube.com/embed/rmrYM4QwMOw", :title => "YouTube video player", :width => "560"}

0 comments on commit 43b522e

Please sign in to comment.