1
0
mirror of https://github.com/danbee/danbarber.me synced 2025-03-04 08:59:10 +00:00

Add responsive video tag.

This commit is contained in:
Dan Barber 2014-10-04 17:20:41 +01:00
parent 207043c723
commit e73ce2057c
5 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,7 @@ gem 'mini_magick'
gem 'jekyll'
gem 'jekyll-assets'
gem 'jekyll-video-tag'
gem 'octopress', '~> 3.0.0.rc.14'
gem 'octopress-deploy', '~> 1.0.0.rc.11'

View File

@ -47,6 +47,7 @@ GEM
jekyll-paginate (1.0.0)
jekyll-sass-converter (1.2.1)
sass (~> 3.2)
jekyll-video-tag (0.0.2)
jekyll-watch (1.1.1)
listen (~> 2.7)
json (1.8.1)
@ -112,6 +113,7 @@ DEPENDENCIES
facets
jekyll
jekyll-assets
jekyll-video-tag
kramdown (~> 1.3.3)
mini_magick
octopress (~> 3.0.0.rc.14)

View File

@ -0,0 +1,8 @@
.video-container
position: relative
width: 100%
height: 0
iframe
position: absolute
width: 100%
height: 100%

View File

@ -6,6 +6,7 @@
@import 'includes/icons.css.sass'
@import 'includes/layout.css.sass'
@import 'includes/styles.css.sass'
@import 'includes/video.css.sass'
@import 'lib/solarized-dark.css.scss'
@import 'parts/post.css.sass'

View File

@ -3,6 +3,8 @@ title: Dan Barber
author: Dan Barber
markdown: KramdownPygments
gems: ['jekyll_video_tag']
simple_search: https://duckduckgo.com/
exclude: ['Gemfile', 'Gemfile.lock', 'README.md']