-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (111 loc) · 1.83 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
:root {
font-size: 18px;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Kumbh Sans', sans-serif;
}
.main {
color: hsl(229, 23%, 23%);
background-color: hsl(185, 75%, 39%);
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: relative;
z-index: 2;
overflow: hidden;
}
.background-circles img{
position: absolute;
z-index: -1;
width: 800px;
}
.circle1 {
top: -68%;
left: -126%;
}
.circle2{
bottom: -58%;
right: -139%;
}
.card {
width: 350px;
background: white;
text-align: center;
border-radius: 15px;
overflow: hidden;
}
.card__header {
background: url(images/bg-pattern-card.svg);
height: 150px;
}
.card__img{
width: 105px;
height: 105px;
border: 5px solid white;
border-radius: 50%;
overflow: hidden;
margin: -50px auto 18px auto;
}
.card__img img{
width: 100%;
height: auto;
display: block;
}
.card__body{
padding: 0.4rem;
border-bottom:1px solid hsl(0, 3%, 86%);
}
.card__body h2{
font-size: 1.2rem;
padding: 0.4rem;
}
.city {
padding: 0.2rem;
margin-bottom: 1.4rem;
}
.age{
color:hsl(0, 0%, 59%);
font-weight: 400;
padding: 0.4rem;
}
.card__body p,
.card__footer p{
color: hsl(0, 0%, 59%);
font-weight: 400;
font-size: 0.7rem;
}
.card__footer {
display: flex;
padding: 1.5rem;
justify-content: space-around;
}
.card__footer h5{
margin-bottom: 0.5rem;
}
.card__footer p {
letter-spacing: 1px;
}
/*
.attribution {
font-size: 11px; text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
} */
@media screen and (min-width: 1000px){
.circle1 {
top: -71%;
left: -8%;
}
.circle2{
bottom: -75%;
right: -10%;
}
}