-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (66 loc) · 1.39 KB
/
style.css
File metadata and controls
75 lines (66 loc) · 1.39 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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');
body {
font-family: "Inter", sans-serif;
}
.mod-card-group {
display: flex;
flex-direction: column;
align-items: center;
}
.mod-card {
transition: transform 0.3s ease;
position: relative;
overflow: hidden;
border-radius: 9999px;
width: 220px;
height: 220px;
background: rgba(31, 58, 58, 0.7);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
display: flex;
align-items: center;
justify-content: center;
margin: auto;
cursor: pointer;
}
.mod-card:hover {
transform: scale(1.05);
z-index: 10;
}
.mod-icon {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 9999px;
display: block;
}
.mod-info {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
background: rgba(20, 20, 40, 0.65);
transition: opacity 0.2s;
color: #fff;
text-align: center;
font-weight: 600;
font-size: 1.2rem;
pointer-events: none;
}
.mod-card:hover .mod-info {
opacity: 1;
}
.top-right-buttons {
position: absolute;
top: 20px;
right: 20px;
display: flex;
gap: 5px;
}
.top-left-button {
position: absolute;
top: 20px;
left: 20px;
}