-
Notifications
You must be signed in to change notification settings - Fork 9
/
login.css
115 lines (100 loc) · 2.17 KB
/
login.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
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
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: url('login2.jpeg') no-repeat center center fixed;
background-size: cover;
position: relative;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 0;
}
.login-container {
position: relative;
z-index: 1;
background-color: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(122, 66, 168, 0.3);
max-width: 400px;
width: 100%;
text-align: center;
}
h2 {
margin-bottom: 20px;
color: #333;
font-size: 24px;
}
label {
display: block;
margin-bottom: 8px;
color: #257a50;
font-weight: bold;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border: 1px solid #42b99f;
border-radius: 8px;
box-shadow: inset 0 2px 4px rgba(136, 81, 173, 0.1), 0 4px 6px rgba(107, 204, 196, 0.1);
font-size: 16px;
transition: border-color 0.3s, box-shadow 0.3s;
}
input[type="text"]:focus, input[type="password"]:focus {
border-color: #af52ab;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 186, 0, 0.3);
outline: none;
}
.forgot-password {
text-align: right;
margin-bottom: 20px;
}
.forgot-password a {
color: #0f6d6d;
text-decoration: none;
font-size: 14px;
}
.forgot-password a:hover {
text-decoration: underline;
}
.create-account {
text-align: center;
margin-top: 20px;
}
.create-account a {
color: #0f6d6d;
text-decoration: none;
font-size: 16px;
font-weight: bold;
}
.create-account a:hover {
text-decoration: underline;
}
button {
width: 100%;
padding: 12px;
border: none;
border-radius: 8px;
background-color: #274f74;
color: #ffffff;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #ff9800;
}
button:active {
background-color: #ff7800;
}