-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (128 loc) · 2.53 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');
:root {
--dark-cyan:hsl(185, 75%, 39%);
--dark-blue:hsl(229, 23%, 23%);
--dark-grayish: hsl(227, 10%, 46%);
--dark-gray: hsl(0, 0%, 59%);
}
* {
margin: 0;
padding: 0;
}
ul {
list-style-type: none;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-inline-start: 0;
}
body,html {
font-family: 'Kumbh Sans', sans-serif;
font-size: 18px;
height: 100%;
}
.container {
background-color: var(--dark-cyan);
height: 100%;
width: 100%;
position: relative;
overflow: hidden;
}
.bg-ballon-top {
position: absolute;
top: -50%;
right: 50%;
z-index: 9;
}
.bg-ballon-bottom {
position: absolute;
bottom: -50%;
left: 50%;
z-index: 9;
}
/*CARD*/
.content {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.card {
position: relative;
z-index: 10;
width: 325px;
height: 375px;
border-radius: 15px;
background: #fff url('images/bg-pattern-card.svg') no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card-profile {
display: flex;
flex-direction: column;
align-items: center;
}
.img-profile img {
max-width: 100%;
border-radius: 50%;
border: 5px solid #fff;
}
.name-profile {
text-transform: capitalize;
font-size: 17px;
font-weight: 700;
color: var(--dark-blue);
padding-top: 1rem;
}
.age-profile {
color: var(--dark-grayish);
font-weight: 400;
}
.city-profile {
text-transform: capitalize;
color: var(--dark-gray);
font-size: 14px;
padding-top: .5rem;
margin-bottom: 1rem;
}
.card-footer {
position: absolute;
bottom: 0;
border-top: 1px solid #e9e9e9;
width: 100%;
}
.social-numbers {
display: flex;
justify-content: space-around;
}
.item-social-numbers {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.number {
font-weight: 700;
font-size: 20px;
margin-bottom: .2rem;
}
.social-description {
text-transform: capitalize;
font-size: 10px;
font-weight: 300;
letter-spacing: 1px;
color: var(--dark-gray);
}
.attribution {
font-size: 20px;
text-align: center;
color: var(--dark-gray);
background-color: var(--dark-blue);
}
.attribution a {
color: hsl(228, 45%, 44%);
}