utopia-project 0.8.4 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2b0f5eae31e6f803bad22b34562b065b8c1384c55610b71bb0b0e286ba9c778
4
- data.tar.gz: 9a63d96659af2c261374d2f51f253d3e636585f42e665f493e1d63610e0d9172
3
+ metadata.gz: b9fece64054731c29fd23e542e548d9da6e0105e62fef66fc6588b3a2637e5fe
4
+ data.tar.gz: acda1b55bb672b64969496b9cc64f9e91c397ae3799c39af15417a3153d1628d
5
5
  SHA512:
6
- metadata.gz: 0000fb76bab4dba159455329d5960be4d70a4c0600271839970cd03bfc22e63b0a565c7166709d46cd04f01603d31f79b2c344de1883bf4ee8a91b3894e787ef
7
- data.tar.gz: 296df9614edb3104709000ccf28e9e98e4a08c137d36a29ffbf08318f1036c9389e780270c08eb6609fd2bf976b91d5a78e0d65d04ce080e38736c37f97ebed9
6
+ metadata.gz: b0a9ceb4a8ac9cf660ca05f8941874ef16dd724f438b3be44033b96177227327087855058accfa8a6f34bbd6370c02a41cfdacf215d3a5c2956267c38b25a7ba
7
+ data.tar.gz: c8b1f67c938eb4af0ae6be43a027a7fdea622e4e0253e481f82107965d547acdf3e54477de0f2019382b672fd7f9b237ab46aaa2161d45830ed82afccd44ea1e
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Utopia
24
24
  module Project
25
- VERSION = "0.8.4"
25
+ VERSION = "0.9.0"
26
26
  end
27
27
  end
@@ -0,0 +1,3 @@
1
+ <figure class="youtube-wrapper">
2
+ <iframe class="youtube-video" src="https://www.youtube.com/embed/#{attributes[:id]}" frameborder="0" allowfullscreen></iframe>
3
+ </figure>
@@ -194,3 +194,23 @@ details[open] summary {
194
194
  border-bottom: 1px solid #aaa;
195
195
  /* margin-bottom: .5rem; */
196
196
  }
197
+
198
+ figure {
199
+ text-align: center;
200
+ margin: 1rem;
201
+ }
202
+
203
+ figure.youtube-wrapper {
204
+ position: relative;
205
+ overflow: hidden;
206
+ padding-top: 56.25%;
207
+ }
208
+
209
+ figure.youtube-wrapper iframe {
210
+ position: absolute;
211
+ top: 0;
212
+ left: 0;
213
+ width: 100%;
214
+ height: 100%;
215
+ border: 0;
216
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-10 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: utopia
@@ -195,6 +195,7 @@ files:
195
195
  - pages/_page.xnode
196
196
  - pages/_thumbnail.xnode
197
197
  - pages/_usage.xnode
198
+ - pages/_youtube-video.xnode
198
199
  - pages/controller.rb
199
200
  - pages/errors/exception.xnode
200
201
  - pages/errors/file-not-found.xnode