-
Notifications
You must be signed in to change notification settings - Fork 0
/
design.css
96 lines (87 loc) · 1.55 KB
/
design.css
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
body{
font-weight:500, 600 ;
font-size: 13px;
font-family:Barlow Semi Condensed;
background-color: azure;
height: 100vh;
display: flex;
justify-content: center;
}
h3 {
color: brown;
}
.container{
display: grid;
gap: 0.5em;
border-radius: 50px
grid-template-columns:1fr 1fr 1fr 1fr;
grid-template-areas: "person1 person1 person2 person5"
"person3 person4 person4 person5";
width: 70%;
height: 50vh;
margin-top: 100px;
margin-bottom: 100px;
}
.box{
display: flex;
border-radius: 50px;
}
.box2{
display: block;
font-size: 10px;
}
h1{
margin-top: 0;
margin-bottom: 0;
}
h2{
margin-top: 0;
margin-bottom: 0;
}
img{
border-radius: 50%;
}
.person5{
display: grid;
grid-area: person5;
grid-template-columns: auto;
padding: 2em;
line-height: 1.5;
background-color: hsl(210, 46%, 95%);
border-radius: 5px;
padding: 10px 20px;
color: gray;
}
.person1{
grid-area: person1;
background-color: hsl(253, 42%, 45%) ;
border-radius: 5px;
padding: 10px 20px;
color: white;
}
.person2{
grid-area: person2;
background-color:hsl(217, 19%, 35%) ;
border-radius: 5px;
padding: 10px 10px;
color: white;
}
.person3{
grid-area: person3;
background-color:hsl(0, 0%, 100%) ;
border-radius: 5px;
padding: 10px 20px;
color: gray;
}
.person4{
grid-area: person4;
background-color: hsl(219, 29%, 14%);
border-radius: 5px;
padding: 10px 20px;
color: white;
}
.position{
position: absolute;
top: 50%;
right: 0;
}