Przeglądaj źródła

styling edit - iframe portrait, hr separator edit

tags/0.9.0
Alej 4 lat temu
rodzic
commit
34aaa6f2d9
1 zmienionych plików z 24 dodań i 10 usunięć
  1. 24
    10
      vue-theme/src/pages/single.vue

+ 24
- 10
vue-theme/src/pages/single.vue Wyświetl plik

234
             img.feature
234
             img.feature
235
                 width: 20em 
235
                 width: 20em 
236
             li
236
             li
237
-        /* responsive iframe embeds 16:9 */
237
+        /* iframe container 16:9 */
238
         .iframe-container 
238
         .iframe-container 
239
             position: relative
239
             position: relative
240
             width: 100% 
240
             width: 100% 
241
             padding-bottom: 56.25% 
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
             position: absolute 
251
             position: absolute 
245
             top: 0px 
252
             top: 0px 
246
             left: 0px 
253
             left: 0px 
247
             width: 100% 
254
             width: 100% 
248
             height: 100%
255
             height: 100%
249
         
256
         
250
-        wp-block-embed is-type-video
257
+        .wp-block-embed .is-type-video
251
             position: relative
258
             position: relative
252
             width: 100% 
259
             width: 100% 
253
             padding-bottom: 56.25% 
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
         breadcrumb
279
         breadcrumb
266
             h5
280
             h5

Ładowanie…
Anuluj
Zapisz