Przeglądaj źródła

styling edit - wp-embed youtube and hr styles

tags/0.9.0
Alej 4 lat temu
rodzic
commit
3aa9f12f77
1 zmienionych plików z 12 dodań i 11 usunięć
  1. 12
    11
      vue-theme/src/pages/single.vue

+ 12
- 11
vue-theme/src/pages/single.vue Wyświetl plik

@@ -256,6 +256,13 @@ export default {
256 256
             img.feature
257 257
                 width: 20em 
258 258
             li
259
+        /* wp-block-embed youtube link */
260
+        .wp-block-embed, .is-type-video
261
+            position: relative
262
+            width: 100% 
263
+            padding-bottom: 56.25% 
264
+            &__wrapper
265
+                display: contents
259 266
         /* iframe container 16:9 */
260 267
         .iframe-container 
261 268
             position: relative
@@ -275,27 +282,21 @@ export default {
275 282
             left: 0px 
276 283
             width: 100% 
277 284
             height: 100%
278
-        
279
-        .wp-block-embed .is-type-video
280
-            position: relative
281
-            width: 100% 
282
-            padding-bottom: 56.25% 
283
-
285
+        /* separator styles */
284 286
         * hr
285
-            border: $ms--3
286 287
             margin: $ms-2 auto
287
-            outline-style: auto
288
-
289 288
             &.is-style
290 289
                 &-default
291 290
                     height: 1px
292 291
                     width: 15vw
293 292
                 &-wide
294
-                    height: 1px
293
+                    height: 3px
295 294
                     width: 50vw
296
-                &-dots
295
+                &-dots::before
297 296
                     outline-style: none
298 297
                     font-weight: bolder
298
+                    letter-spacing: $ms-8
299
+                    padding-left: $ms-8
299 300
         /* margin to indent marker */
300 301
         li
301 302
             margin: 0 0 $ms--2 $ms-4

Ładowanie…
Anuluj
Zapisz