Ver código fonte

adjust figcaption responsive styling

tags/1.0.2
Alej 3 anos atrás
pai
commit
57b9796312
1 arquivos alterados com 11 adições e 4 exclusões
  1. 11
    4
      vue-theme/src/pages/single.vue

+ 11
- 4
vue-theme/src/pages/single.vue Ver arquivo

@@ -274,16 +274,18 @@ export default {
274 274
         .wp-block-gallery
275 275
             margin: 0 0 0.5em 0
276 276
             grid-gap: $ms--5
277
-            
278
-            > .wp-block-image     
277
+            > .wp-block-image  
279 278
                 figcaption
280 279
                     position: inherit
281 280
                     background: none
281
+                    font-size: $ms--1
282 282
                     color: $cia_black
283
-                    max-height: 5%
283
+                    max-height: 9%
284 284
                     overflow: visible 
285 285
                     padding: 0 
286
-                    margin-bottom: $ms-0
286
+                    margin-bottom: 2.5em
287
+            figcaption
288
+                flex-direction: column
287 289
 
288 290
         /* iframe container 16:9 */
289 291
         [class^="iframe-container"]
@@ -345,4 +347,9 @@ export default {
345 347
             flex-direction: row
346 348
             .wp-block-embed, .is-type-video
347 349
                 margin-bottom: $ms-9
350
+            .wp-block-gallery
351
+                .wp-block-image  
352
+                    figcaption
353
+                        max-height: 5%
354
+                        margin-bottom: $ms-4            
348 355
 </style>

Carregando…
Cancelar
Salvar