浏览代码

:art: altering how embed iframes position

tags/0.9.0
J 4 年前
父节点
当前提交
cd1dc67756
共有 1 个文件被更改,包括 2 次插入7 次删除
  1. 2
    7
      vue-theme/src/pages/single.vue

+ 2
- 7
vue-theme/src/pages/single.vue 查看文件

255
             /* change to a 1/3 width of the article*/
255
             /* change to a 1/3 width of the article*/
256
             img.feature
256
             img.feature
257
                 width: 20em 
257
                 width: 20em 
258
-            li
258
+
259
         /* wp-block-embed youtube link */
259
         /* wp-block-embed youtube link */
260
         .wp-block-embed, .is-type-video
260
         .wp-block-embed, .is-type-video
261
             position: relative
261
             position: relative
275
         /* iframe container 16:9 */
275
         /* iframe container 16:9 */
276
         .iframe-container 
276
         .iframe-container 
277
             padding-bottom: 56.25% 
277
             padding-bottom: 56.25% 
278
-
279
         /* iframe container portrait */
278
         /* iframe container portrait */
280
         .iframe-container-v
279
         .iframe-container-v
281
             height: 100%
280
             height: 100%
282
             padding-bottom: 125%
281
             padding-bottom: 125%
283
-            
284
         iframe 
282
         iframe 
285
-            position: absolute 
286
-            top: 0px 
287
-            left: 0px 
288
             width: 100% 
283
             width: 100% 
289
-            height: 100%
284
+
290
         /* separator styles */
285
         /* separator styles */
291
         * hr
286
         * hr
292
             margin: $ms-2 auto
287
             margin: $ms-2 auto

正在加载...
取消
保存