_project_lead.scss
1.12 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
.project-lead{
width: 100%;
display: flex;
min-height: 12.5rem;
background-color: #F0F0F0;
color: #000;
flex-direction: row;
border-radius: 0.625rem;
margin:2.5rem 0rem;
padding: 1.25rem;
overflow: hidden;
@media screen and (max-width: 56.25rem) {
flex-direction: column;
border-radius: 1.25rem;
}
.image{
display: flex;
flex-wrap: wrap;
img{
height: 12.5rem;
}
}
.content{
width: 75%;
display: flex;
flex-direction: column;
justify-content: flex-start;
padding-left: 1.25rem;
@media screen and (max-width: 56.25rem) {
width: 100%;
padding-left: 0rem;
padding-top: 1.25rem;
}
h2{
font-size: 1.5625rem;
line-height: 1.875rem;
font-weight: 700;
margin-bottom: 1.25rem;
@media screen and (max-width: 56.25rem) {
font-size: 1.5rem;
}
}
p{
font-size: 1rem;
line-height: 1.25rem;
}
}
}