-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
138 lines (118 loc) · 3.18 KB
/
styles.css
File metadata and controls
138 lines (118 loc) · 3.18 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
/* ------------------------------------------------------------------------------------------------
_ _____ _____ _ _ _____ ____
| |/ ____| __ \| | | | __ \ / __ \
| | | | | | | | | | |__) | | | |
_ | | | | | | | | | | _ /| | | |
| |__| | |____| |__| | |__| | | \ \| |__| |
\____/ \_____|_____/ \____/|_| \_\\____/
------------------------------------------------------------------------------------------------ */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background: #0a0a0a;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
font-family: "Poppins", sans-serif;
}
/* --- Cuadrícula del fondo --- */
.grid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: repeat(auto-fill, 45px);
grid-auto-rows: 45px;
gap: 4px;
z-index: 1;
}
.cell {
background: rgba(0, 247, 255, 0.03); /* --- Color de la celda --- */
border-radius: 4px;
transition: background 0.3s, transform 0.3s;
}
.cell.active {
background: rgba(0,255,225, 0.3); /* --- Color de la celda activa al pasar el mouse --- */
transform: scale(1.1);
}
/* --- Formulario de login --- */
.login-container {
position: relative;
z-index: 2;
background: rgba(255, 255, 255, 0.089);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.171);
padding: 40px;
border-radius: 20px;
width: 320px;
text-align: center;
color: white;
box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
animation: fadeIn 1s ease;
}
.login-container h2 {
margin-bottom: 20px;
font-weight: 600;
font-size: 1.8em;
}
.input-group {
position: relative;
width: 100%;
}
.login-container input {
width: 100%;
padding: 10px 40px 10px 10px;
margin: 10px 0;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.2);
color: white;
font-size: 1em;
outline: none;
}
.toggle-password {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: #fff;
font-size: 18px;
user-select: none;
transition: color 0.3s;
}
.toggle-password:hover {
color: #00ffe1;
}
.login-container button {
width: 100%;
padding: 10px;
margin-top: 15px;
background: linear-gradient(90deg, #00ffe1, #00ffe1);
border: none;
border-radius: 10px;
color: white;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}
.login-container button:hover {
background: linear-gradient(90deg, #00ffe1, #00ffe1);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}