/
styles.css
74 lines (68 loc) · 1.88 KB
/
styles.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
body {
margin: 150px 20px 20px 20px;
background: no-repeat center center/cover url("images/bg.jpg");
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
#title {
color: #f6828c;
text-align: center;
font-size: 3em;
cursor: url("images/cursorss.png") 4 2, auto;
transition: background-image 0.5s ease-in, color 0.5s ease-in,
background-clip 0.5s ease-in, -webkit-background-clip 0.5s ease-in;
}
#title:hover {
background-image: url("images/wallpaper/1920x1080-px-and-black-crows-lines-minimalistic-1755643-wallhere.com.jpg");
background-size: contain;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
.avatar {
width: 120px;
border-radius: 80px;
border: 5px solid #f6828c;
transition: transform 0.9s ease-in, border 0.5s ease-in, width 0.5s ease-in;
}
.card {
width: 400px;
margin: 0 auto;
padding: 20px;
display: flex;
justify-content: space-around;
align-items: center;
text-align: center;
background: transparent;
backdrop-filter: blur(10px);
color: #d0d4d9;
border-radius: 10px;
border: 3px solid #f6828c;
cursor: url("images/cursorss.png") 4 2, auto;
-webkit-box-reflect: below 5px linear-gradient(transparent, #f682f6);
box-shadow: 2.5px 2.5px 5px #000000;
transition: width 0.5s ease-in, letter-spacing 0.5s ease-in,
backdrop-filter 0.5s ease-in, border 0.5s ease-in, box-shadow 0.5s ease-in;
}
.card:hover {
width: 500px;
letter-spacing: 4px;
backdrop-filter: blur(40px);
border: 3px solid #a03e99;
box-shadow: 1px 1px 7.5px 5px #d0d4d9;
}
/* TODO: FOR ENDLESS ROTATION */
/* @keyframes rotating {
0% {
transform: rotateY(0deg);
}
100% {
transform: rotateY(360deg);
}
} */
.card:hover .avatar {
/* TODO: FOR ENDLESS ROTATION */
/* animation: rotating 0.5s linear infinite; */
transform: rotateY(360deg);
border: 5px solid #a03e99;
width: 150px;
}