_promo_area.scss
1.4 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
56
57
58
59
60
61
62
63
64
.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: 1.25rem;
color: #fff;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
}
h3{
color: #fff;
}
a:hover{
text-decoration: underline;
}
.content{
width: 66.66%;
display: flex;
flex-direction: column;
justify-content: flex-start;
padding: 1.875rem;
@media screen and (max-width: 56.25rem) {
width: 100%;
}
p{
font-weight: normal !important;
font-size: 1rem;
line-height: 1.25rem;
color: #fff !important;
}
}
.image{
background-size: cover;
width: 33.33%;
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%;
}
}
}