-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (71 loc) · 1.14 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
/* Reset styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body * {
font-family: "Roboto";
}
body {
height: 100vh;
background: linear-gradient(120deg, #0f2b05, #090909);
background-attachment: fixed;
}
header {
padding: 40px 0;
text-align: center;
}
main {
display: flex;
align-items: center;
justify-content: center;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
margin-bottom: 75px;
width: 264px;
height: 419px;
background-image: url(./assets/bg-ignite.svg);
cursor: pointer;
user-select: none;
-webkit-user-select: none;
}
.appear {
opacity: 0;
transform: rotateY(-180deg);
animation: appear 0.4s forwards;
}
.card>img {
object-fit: cover;
width: 170px;
height: 170px;
border-radius: 50%;
border: #F7DD43 solid 4px;
pointer-events: none;
margin-top: 50px;
}
.info {
color: white;
text-align: left;
margin-top: 80px;
margin-left: -60px;
}
.info .name {
font-weight: bold;
line-height: 140%;
font-size: 18px;
}
.info .title {
font-size: 14px;
line-height: 160%;
}
@keyframes appear {
to {
opacity: 1;
transform: rotateY(0deg);
}
}