Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
post video are now responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 2, 2015
1 parent 698f48b commit 8040c5f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/css/uno.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/js/src/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $ ->

if Uno.is 'page', 'post'
$('.main').readingTime readingTimeTarget: '.post.reading-time > span'
$('.content').fitVids()
postTitle = $('#post-title').text()
postTitle = postTitle.substring(0, postTitle.length - 1); # delete dot
shareLink = "http://twitter.com/share?url=" + encodeURIComponent(document.URL)
Expand Down
6 changes: 3 additions & 3 deletions assets/js/uno.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "uno-zen",
"description": "Minimalist and Elegant theme for Ghost",
"homepage": "https://github.com/kikobeats/uno-zen",
"version": "2.1.1",
"version": "2.1.2",
"authors": [
"Kiko Beats <josefrancisco.verdu@gmail.com>"
],
Expand All @@ -26,7 +26,8 @@
"fastclick": "*",
"ghostHunter": "git://github.com/i11ume/ghostHunter.git",
"pace": "*",
"reading-time": "*"
"reading-time": "*",
"fitvids": "*"
},
"ignore": [
"**/.*",
Expand Down
1 change: 1 addition & 0 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ src =
vendor : ['assets/vendor/fastclick/lib/fastclick.js'
'assets/vendor/ghostHunter/jquery.ghostHunter.min.js'
'assets/vendor/pace/pace.min.js'
'assets/vendor/fitvids/jquery.fitvids.js'
'assets/vendor/reading-time/build/readingTime.min.js']
css :
main : 'assets/css/uno.css'
Expand Down

0 comments on commit 8040c5f

Please # to comment.