-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
161 lines (139 loc) · 3.59 KB
/
styles.css
File metadata and controls
161 lines (139 loc) · 3.59 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
min-height: 100vh;
width: 100%;
background: #121212; /* Midnight blue background */
display: flex;
justify-content: center;
align-items: center;
color: #f2f2f2; /* Light text for contrast */
font-size: 16px;
}
/* Centered container */
.container {
position: relative;
max-width: 430px;
width: 100%;
background: #1c1c1c; /* Dark grayish background */
border-radius: 12px;
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
padding: 2rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effect on the container */
.container:hover {
transform: scale(1.02); /* Slight zoom effect */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); /* Enhanced shadow */
}
/* Hide registration and forgot password forms */
.container .registration, .container .forgot {
display: none;
}
/* Form styles */
.form header {
font-size: 2rem;
font-weight: 600;
text-align: center;
margin-bottom: 1.5rem;
color: #8a2be2; /* Neon lavender */
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle glow */
}
/* Input fields */
.form input {
height: 50px;
width: 100%;
padding: 0 15px;
font-size: 17px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 6px;
outline: none;
background-color: #2a2a2a; /* Darker background for inputs */
color: #f2f2f2; /* Light text */
transition: all 0.3s ease;
}
/* Focused state for inputs */
.form input:focus {
box-shadow: 0 1px 5px rgba(138, 43, 226, 0.7); /* Neon lavender glow */
border-color: #8a2be2; /* Neon lavender border */
background-color: #333; /* Darker background */
}
/* Button styles */
.form input.button {
color: #fff;
background: linear-gradient(145deg, #8a2be2, #9b30ff); /* Gradient for button */
font-size: 1.2rem;
font-weight: 500;
letter-spacing: 1px;
margin-top: 15px;
cursor: pointer;
transition: 0.4s ease;
border-radius: 6px;
padding: 15px;
border: none;
width: 100%;
}
/* Button hover effect */
.form input.button:hover {
background: linear-gradient(145deg, #9b30ff, #8a2be2); /* Inverted gradient on hover */
transform: translateY(-4px); /* Slight lift effect */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}
/* Sign-up link styles */
.signup {
font-size: 17px;
text-align: center;
margin-top: 15px;
}
.signup a {
color: #8a2be2; /* Neon lavender */
cursor: pointer;
text-decoration: none;
transition: color 0.3s ease;
}
/* Hover effect for sign-up link */
.signup a:hover {
text-decoration: underline;
color: #9b30ff; /* Neon purple on hover */
}
.redirect {
text-align: center; /* Centers the text horizontally */
margin-top: 10px; /* Add some space above the text */
}
.redirect-text {
font-size: 14px; /* Make the text smaller */
color: #007bff; /* Style the text color (blue) */
}
.redirect-text a {
text-decoration: none; /* Remove underline */
}
.redirect-text a:hover {
text-decoration: underline; /* Add underline on hover */
}
/* Responsive Design */
@media (max-width: 480px) {
.container {
padding: 1.5rem;
}
.form header {
font-size: 1.8rem;
}
.form input {
font-size: 16px;
padding: 0 12px;
}
.form input.button {
font-size: 1rem;
padding: 12px;
}
.signup {
font-size: 15px;
}
}