-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.css
More file actions
131 lines (116 loc) · 2.24 KB
/
Copy pathforms.css
File metadata and controls
131 lines (116 loc) · 2.24 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
/* General Body Styling */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
color: cyan;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
/* Login Form Container */
form {
background-color: #ffffff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
}
/* Form Heading */
h2 {
text-align: center;
color: cyan;
margin-bottom: 20px;
font-size: 2em;
}
/* Input Fields */
label {
display: block;
margin-bottom: 8px;
color: darkblue;
font-weight: bold;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1em;
box-sizing: border-box;
}
/* Submit Button */
button {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 10px;
border: none;
border-radius: 4px;
font-size: 1.1em;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
/* Register Link */
p {
text-align: center;
margin-top: 10px;
}
a {
color: #007BFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Background Image Styling */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-image: url('logo.jpg');
background-size: cover;
background-position: center;
z-index: -1;
filter: brightness(70%);
}
/* Responsive Design */
@media (max-width: 600px) {
form {
padding: 20px;
}
h2 {
font-size: 1.8em;
}
}
.flashes {
list-style-type: none;
padding: 0;
}
.alert {
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
width: 100%;
text-align: center;
}
/* Success messages */
.alert-success {
background-color: #4CAF50;
color: white;
}
/* Danger/Error messages */
.alert-danger {
background-color: #f44336;
color: white;
}