Commit 0eb17de0caa50c1999e2069477d7e49e00716341
1 parent
fd672a82
Exists in
master
and in
4 other branches
Add responsivity to banner image at program page (issue #34)
Showing
1 changed file
with
19 additions
and
5 deletions
Show diff stats
src/app/pages/programas/programas.scss
@@ -46,14 +46,20 @@ | @@ -46,14 +46,20 @@ | ||
46 | background-size: cover; | 46 | background-size: cover; |
47 | background-repeat: no-repeat; | 47 | background-repeat: no-repeat; |
48 | 48 | ||
49 | + @media screen and (max-width: $screen-lg) { | ||
50 | + height: 300px; | ||
51 | + } | ||
49 | 52 | ||
53 | + @media screen and (max-width: $screen-md) { | ||
54 | + height: 300px; | ||
55 | + } | ||
50 | 56 | ||
51 | - @media screen and (max-width: $screen-xs) { | ||
52 | - // height: 15px; | 57 | + @media screen and (max-width: $screen-sm) { |
58 | + height: 260px; | ||
59 | + } | ||
53 | 60 | ||
54 | - // .video { | ||
55 | - // height: 290px; | ||
56 | - // } | 61 | + @media screen and (max-width: $screen-xs) { |
62 | + height: 200px; | ||
57 | } | 63 | } |
58 | } | 64 | } |
59 | 65 | ||
@@ -211,6 +217,14 @@ | @@ -211,6 +217,14 @@ | ||
211 | top: 50%; | 217 | top: 50%; |
212 | margin-top: -100px; | 218 | margin-top: -100px; |
213 | transform: scale(1); | 219 | transform: scale(1); |
220 | + | ||
221 | + @media screen and (max-width: $screen-sm) { | ||
222 | + transform: scale(0.8); | ||
223 | + } | ||
224 | + | ||
225 | + @media screen and (max-width: $screen-xs) { | ||
226 | + transform: scale(0.7); | ||
227 | + } | ||
214 | } | 228 | } |
215 | 229 | ||
216 | #section-archived-banner { | 230 | #section-archived-banner { |