Ver código fonte

styline - overlay heading layout behaviour

tags/0.9.0
Alej 4 anos atrás
pai
commit
25fccfe137
1 arquivos alterados com 10 adições e 2 exclusões
  1. 10
    2
      vue-theme/src/components/hero.vue

+ 10
- 2
vue-theme/src/components/hero.vue Ver arquivo

18
     .hero--image(v-else)
18
     .hero--image(v-else)
19
         .hero--image--overlay.f-col
19
         .hero--image--overlay.f-col
20
             div(v-html="heroText")
20
             div(v-html="heroText")
21
+    //- if not hero image then heading overlay to show only in main article
21
 
22
 
22
 </template>
23
 </template>
23
 
24
 
90
         &--overlay
91
         &--overlay
91
             color: $cia_white
92
             color: $cia_white
92
             position: absolute
93
             position: absolute
93
-            top: 30%
94
+            /* top: 30% */
95
+            margin: 20% 0
94
             width: 100%
96
             width: 100%
95
             h2 
97
             h2 
98
+                /* need better responsive solution for heading size  */
99
+                font-size: 1.5vh
96
                 color: $cia_white
100
                 color: $cia_white
97
                 text-shadow: 1px 1px $cia_black
101
                 text-shadow: 1px 1px $cia_black
98
-                max-width: 80vh
102
+                max-width: 70vw
99
     .embedded
103
     .embedded
100
         height: 100%
104
         height: 100%
101
         width: 100%
105
         width: 100%
106
+
107
+/* min-width settings */
108
+/* dynamic scaling for heading size scaling */
109
+
102
 </style>
110
 </style>

Carregando…
Cancelar
Salvar