-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
123 lines (111 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
body {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
.container{
height: 100vh;
width: 100%;
overflow: hidden;
display: flex;
align-items:center;
justify-content: center;
font-family: "Open Sans", sans-serif;
background:linear-gradient(42deg, #12c2e9, #c471ed, #f64f59);
}
.card {
z-index: 1;
width: 80%;
height: 60vh;
background-color: rgba(255, 255, 255, 0.06);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: 8px;
-webkit-box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
color: white;
animation:float 5s ease infinite;
display: flex;
flex-direction:column;
align-items:center;
transition: all 0.5s ease;
animation-delay: 1s;
}
@keyframes float {
0% {
transform: translateY(0);
background-color: rgba(255, 255, 255, 0.06);
} 50% {
transform: translateY(40px);
}
75% {
background-color: #202020;
}
100% {
transform: translate(0);
}
}
.card img {
width: 100px;
height: 100px;
border-radius:50%;
border:2px solid white;
position: absolute;
top: -15%;
}
.card h2 {
margin-bottom:10%;
}
.side {
width: 30%;
height: 15%;
display: flex;
align-items:center;
position: absolute;
justify-content: center;
background-color: rgba(255, 255, 255, 0.06);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: 8px;
-webkit-box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
}
#p {
bottom: 0;
left: 0;
}
#f {
bottom: 0;
right: 0;
}
#p span, #f span {
padding: 5%;
text-align: center;
}
.btn {
border-radius:0%;
width: 200px;
height: 50px;
border:2px solid white;
background-color: rgba(255, 255, 255, 0.06);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: 8px;
-webkit-box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
box-shadow: 20px 20px 22px rgba(0,0,0,0.2);
color: white;
margin-top:5%;
outline:none;
cursor:pointer;
}
.content {
width:fit-content;
height:100%;
background:none;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}