-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (55 loc) · 1011 Bytes
/
style.css
File metadata and controls
56 lines (55 loc) · 1011 Bytes
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
:root{
--primary:hsl(0,0%,100%);
--secondary:hsl(212,45%,89%);
--tetiary:hsl(220,15%,55%);
--neutral:hsl(218,44%,22%);
}
*,
*::before,
*::after{
padding:0;
margin:0;
box-sizing:border-box;
}
body{
font-family:'outfit',sans-serif;
font-size: 15px;
background:var(--tetiary);
}
img{
width:100%;
margin-top:0.5rem;
border-radius:15px;
}
.main-content{
width:100vw;
display:grid;
place-items: center;
margin-block:5rem;
}
.container{
width: 14.4rem;
height:21.5rem;
background-color: var(--primary);
border-radius:15px;
}
.img-container{
margin-inline:0.5rem;
}
.txt-container{
margin-inline:0.5rem;
padding:0.5rem;
}
.txt-container h3{
font-size: medium;
color: var(--neutral);
font-weight: 700;
text-align: center;
}
.txt-container p{
font-size: 12px;
font-weight: 400;
text-align: center;
margin-top: 0.5rem;
opacity: 0.5;
}