-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
104 lines (90 loc) · 2.1 KB
/
style.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
97
98
99
100
101
102
103
104
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');
:root {
--Dark-cyan: hsl(185, 75%, 39%);
--Very-dark-desaturated-blue: hsl(229, 23%, 23%);
--Dark-grayish-blue: hsl(227, 10%, 46%);
--Dark-gray: hsl(0, 0%, 59%);
}
* {
font-family: "Kumbh Sans", "sans-serif";
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width:100%;
height:100vh;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap:30px;
background: url("./images/bg-pattern-bottom.svg") bottom -600px right -150px no-repeat, url("./images/bg-pattern-top.svg") top -500px left -200px no-repeat;
background-color: var(--Dark-cyan);
}
.card {
width:350px;
height:375px;
border-radius: 10px;
}
.card-header {
width:100%;
height:140px;
border-radius: 10px 10px 0 0;
background: url("./images/bg-pattern-card.svg");
}
.card-info {
height:calc(100% - 140px);
display: flex;
flex-direction: column;
align-items: center;
background-color: white;
border-radius: 0 0 10px 10px;
}
.profile-picture {
width: 100px;
height: 100px;
border-radius: 50%;
border: 5px solid white;
background: url("./images/image-victor.jpg");
transform: translateY(-50%);
margin-bottom: 0.75rem;
}
.profile-info {
display: flex;
flex-direction: column;
align-items: center;
margin-top:-2.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--Dark-gray);
width: 100%;
}
.name-age {
display: flex;
align-items: center;
gap:1rem;
margin-bottom: 0.5rem;
}
.social-info {
width: 100%;
margin-top: 1rem;
padding-top: 0.5rem;
display: flex;
justify-content: space-evenly;
align-items: center;
text-align: center;
}
.name, .social-info h2 {
font-size: 18px;
font-weight: 700;
color: var(--Very-dark-desaturated-blue);
}
.age, .city, .social-info p {
color: var(--Dark-grayish-blue);
}
.attribution {
font-size: 11px; text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}