_promo_area.scss
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.promo-area{
width: 100%;
display: flex;
min-height: 15.625rem;
background-color: #000;
color: #fff;
flex-direction: row;
border-radius: 0.625rem;
margin:2.5rem 0rem;
overflow: hidden;
@media screen and (max-width: 56.25rem) {
flex-direction: column-reverse;
border-radius: 1.25rem;
}
a{
display: block;
margin-top: 20px;
color: #fff;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
}
a:hover{
text-decoration: underline;
}
.content{
width: 50%;
display: flex;
flex-direction: column;
justify-content: flex-start;
padding: 1.875rem;
@media screen and (max-width: 56.25rem) {
width: 100%;
}
}
.image{
background-size: cover;
width: 50%;
overflow: hidden;
border-radius: 0rem 0rem 1.25rem 1.25rem;
position: relative;
@media screen and (max-width: 56.25rem) {
width: 100%;
min-height: 18.75rem;
border-radius: 1.25rem 1.25rem 0rem 0rem;
}
.side-caption {
max-width: 100%;
}
}
}