-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (66 loc) · 1.53 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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: sans-serif;
}
body {
display: flex;
justify-content: center;
min-height: 100vh;
text-align: center;
align-items: center;
background: linear-gradient(to right, #2e1e4f, #4735ee);
}
.container {
display: flex;
flex-direction: column;
padding: 2rem;
background: rgba(113, 10, 154, 0.25);
box-shadow: 0px 8px 32px rgba(31, 38, 135, 0.37);
backdrop-filter: blur(4px);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
transition: background 0.3s ease-in-out;
}
.key-container {
display: flex;
flex-direction: column;
font-size: 20px;
font-weight: bold;
padding: 20px;
color: #fff;
margin: 2.5rem;
min-width: 150px;
background: rgba(0, 255, 252, 0.5);
box-shadow: 0px 8px 32px rgba(31, 38, 135, 0.37);
backdrop-filter: blur(2.5px);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
transition: background 8.3s ease-in-out;
}
.key-container h4 {
position: relative;
top: -1rem;
text-align: center;
width: 100%;
color: white;
}
.key-content-animation {
margin-top: 10px;
background: #00f0f5;
padding: 10px;
border-radius: 8px;
color: black;
font-size: 24px;
transition: transform 0.5s ease-in-out;
}
.key-content-animation.active {
transform: scale(1.1);
}
.container:hover {
background: rgba(255, 255, 255, 0.35);
}
.key-container:hover {
background: rgba(0, 255, 252, 0.7);
}