-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylea.css
More file actions
121 lines (109 loc) · 2.65 KB
/
stylea.css
File metadata and controls
121 lines (109 loc) · 2.65 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
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
padding: 20px;
margin: 0;
background: linear-gradient(45deg,
#2c3e50, /* Темно-синий */
#34495e, /* Серый */
#1a1a1a, /* Почти чёрный */
#2c3e50, /* Темно-синий */
#34495e, /* Серый */
#1a1a1a /* Почти Чёрный */
);
background-size: 600% 600%;
animation: gradientAnimation 30s ease infinite;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #e0e0e0;
box-sizing: border-box;
opacity: 0;
transition: opacity 0.3s ease-in-out;
overflow: hidden;
touch-action: none; /* Отключает прокрутку */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer */
user-select: none; /* Standard syntax */
}
body.loaded {
opacity: 1;
}
body.unloading {
opacity: 0;
}
.container {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 30px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
border: 1px solid rgba(255, 255, 255, 0.2);
max-width: 400px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
overflow: auto;
max-height: 90vh;
}
input, button, #result {
display: block;
width: 100%;
padding: 15px;
margin: 15px 0;
font-size: 16px;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.2);
color: #e0e0e0;
transition: all 0.3s ease;
box-sizing: border-box;
}
/*input {
overflow: hidden
}*/
input::placeholder {
color: #b0b0b0; /* Цвет текста для плейсхолдера */
}
input:focus {
outline: none;
background: rgba(255, 255, 255, 0.3);
box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}
button {
background: rgba(0, 100, 200, 0.6);
color: white;
font-weight: bold;
cursor: pointer;
}
button:hover {
background: rgba(0, 120, 240, 0.8);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 120, 240, 0.4);
}
#result {
display: none;
margin-top: 20px;
font-weight: bold;
text-align: center;
}
@media (max-width: 600px) {
.container {
padding: 20px;
max-width: 90%;
}
}