Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (125 loc) · 2.5 KB
/
Copy pathstyle.css
File metadata and controls
145 lines (125 loc) · 2.5 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* Animated gradient background */
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(-45deg, #a18cd1, #fbc2eb, #fad0c4, #ffd1ff);
background-size: 400% 400%;
animation: gradientMove 10s ease infinite;
}
/* Background animation */
@keyframes gradientMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Main container */
.main-box {
width: 900px;
padding: 40px;
border-radius: 20px;
background: rgba(255,255,255,0.25);
backdrop-filter: blur(15px);
text-align: center;
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
animation: fadeUp 0.8s ease;
}
/* Entry animation */
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
h2 {
margin-bottom: 30px;
}
/* Top row layout */
.top-row {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
}
.input-group {
display: flex;
flex-direction: column;
align-items: center;
}
input {
padding: 12px;
width: 220px;
border-radius: 10px;
border: none;
background: rgba(255,255,255,0.7);
transition: 0.3s;
}
/* Input animation */
input:focus {
transform: scale(1.05);
box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
/* Center box */
.center-box {
margin: 20px auto;
}
textarea {
width: 350px;
height: 120px;
padding: 12px;
border-radius: 10px;
border: none;
background: rgba(255,255,255,0.7);
transition: 0.3s;
}
textarea:focus {
transform: scale(1.05);
}
/* Controls */
.controls {
margin-top: 15px;
}
select {
padding: 10px;
border-radius: 8px;
border: none;
margin-right: 10px;
}
/* Button */
button {
padding: 12px 25px;
border-radius: 10px;
border: none;
background: linear-gradient(45deg, #ff6a88, #ff99ac);
color: white;
cursor: pointer;
transition: 0.3s;
}
/* Hover */
button:hover {
transform: scale(1.1);
box-shadow: 0 10px 25px rgba(255, 100, 130, 0.6);
}
/* Output */
#output {
margin-top: 25px;
padding: 15px;
width: 300px;
margin-left: auto;
margin-right: auto;
border-radius: 10px;
background: rgba(255,255,255,0.6);
opacity: 0;
transform: scale(0.9);
transition: 0.4s;
}
#output.show {
opacity: 1;
transform: scale(1);
}