Просмотр исходного кода

styling edit - iframe portrait, hr separator edit

tags/0.9.0
Alej 4 лет назад
Родитель
Сommit
34aaa6f2d9
1 измененных файлов: 24 добавлений и 10 удалений
  1. 24
    10
      vue-theme/src/pages/single.vue

+ 24
- 10
vue-theme/src/pages/single.vue Просмотреть файл

@@ -234,33 +234,47 @@ export default {
234 234
             img.feature
235 235
                 width: 20em 
236 236
             li
237
-        /* responsive iframe embeds 16:9 */
237
+        /* iframe container 16:9 */
238 238
         .iframe-container 
239 239
             position: relative
240 240
             width: 100% 
241 241
             padding-bottom: 56.25% 
242 242
 
243
-        .iframe-container iframe 
243
+        /* iframe container portrait */
244
+        .iframe-container-v
245
+            position: relative
246
+            width: 100%
247
+            height: 100%
248
+            padding-bottom: 125%
249
+            
250
+        iframe 
244 251
             position: absolute 
245 252
             top: 0px 
246 253
             left: 0px 
247 254
             width: 100% 
248 255
             height: 100%
249 256
         
250
-        wp-block-embed is-type-video
257
+        .wp-block-embed .is-type-video
251 258
             position: relative
252 259
             width: 100% 
253 260
             padding-bottom: 56.25% 
254 261
 
255
-        * hr.wp-block-separator
256
-            border: 0.5px
257
-            margin: $ms-2
262
+        * hr
263
+            border: $ms--3
264
+            margin: $ms-2 auto
265
+            outline-style: auto
258 266
 
259
-        hr.is-style-default
260
-            height: 2px
267
+            &.is-style-default
268
+                height: 1px
269
+                width: 15vw
261 270
 
262
-        hr.is-style-wide
263
-            height: 3px
271
+            &.is-style-wide
272
+                height: 1px
273
+                width: 50vw
274
+        
275
+            &.is-style-dots
276
+                outline-style: none
277
+                font-weight: bolder
264 278
 
265 279
         breadcrumb
266 280
             h5

Загрузка…
Отмена
Сохранить