Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (101 loc) · 1.79 KB
/
Copy pathstyle.css
File metadata and controls
117 lines (101 loc) · 1.79 KB
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
body {
margin: 0;
padding: 0;
font-family: 'MesloLGS NF', Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.background-image {
background: url('pictures/background.webp') center/cover no-repeat fixed;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.container {
background: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
position: absolute;
min-width: 330px;
max-width: 25%;
height: auto;
overflow: hidden;
text-align: center;
}
.card {
text-align: center;
padding: 20px;
}
img {
width: 150px;
height: 150px;
border-radius: 50%;
}
img:hover {
animation: scaleAndRotateReverse 1s forwards;
}
@keyframes scaleAndRotateReverse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.15);
}
100% {
transform: scale(1.05) rotate(-360deg);
}
}
h1 {
font-size: 24px;
margin: 10px 0;
}
.text-container {
width: 300px;
height: 200px;
overflow: hidden;
}
p {
font-size: 18px;
color: #666;
margin-bottom: 50px;
}
@media (max-width: 768px) {
p {
font-size: 14px;
}
}
.icon-panel {
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.icon-panel a {
display: inline-block;
margin: 0 10px;
}
.icon-panel img {
width: 32px;
height: 32px;
}
.icon-panel a:hover img {
animation: scaleAndRotate 1s forwards;
}
@keyframes scaleAndRotate {
0% {
transform: scale(1);
}
50% {
transform: scale(1.3);
}
100% {
transform: scale(1.15) rotate(360deg);
}
}
/* D955637922834332867697552476395 */