-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (92 loc) · 1.7 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
body{
font-family: 'Kumbh Sans', sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-y: hidden;
}
.container{
background-color: hsl(185, 75%, 39%);
width: 100%;
height: 670px;
display: flex;
justify-content: center;
align-items: center;
}
.first-bg-image {
position: absolute;
top: -700px;
left: -100px;
}
.second-bg-image {
position: fixed;
bottom: -600px;
right: -200px;
}
@media screen and (min-width: 300px) {
.card {
margin: 1rem;
}
}
@media screen and (min-width: 375px) and (max-width: 700px) {
.first-bg-image {
position: absolute;
top: -600px;
left: -750px;
}
.second-bg-image {
position: fixed;
bottom: -680px;
right: -700px;
}
}
.card{
border-radius: 10px;
width: 350px;
background-color: white;
background-image: url("images/bg-pattern-card.svg");
background-repeat: no-repeat;
background-size: 100%;
color:hsl(229, 23%, 23%);
box-shadow: 0 0 10px hsl(229, 23%, 23%);
z-index: 1;
}
.image-victor{
border-radius: 50%;
border: 5px white solid;
}
.image{
margin-top: 90px;
display: flex;
justify-content: center;
}
.info{
margin-top: 5px;
text-align: center;
padding: 1.2rem;
border-bottom: 1px hsl(227, 10%, 46%) solid;
}
.name, .stats{
font-size: 18px;
font-weight: bold;
}
.age{
color:hsl(0, 0%, 59%);
}
.city{
font-size: 14px;
color:hsl(0, 0%, 59%);
}
.stats{
display: flex;
justify-content: space-around;
padding: 1.7rem 0;
}
.stat{
text-align: center;
}
.name-stat{
font-weight: normal;
font-size: 10px;
}