-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
92 lines (74 loc) · 1.54 KB
/
style2.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
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, sans-serif;
}
.background {
background-image: url('../images/loginback.jpg');
background-size: cover;
background-position: center;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
/* filter: blur(8px); */
}
.box {
/* background-color: rgba(230, 230, 230, 0.3); */
padding: 20px;
border-radius: 10px;
box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
width: 300px; /* Set the width of the box */
margin: auto; /* Center the box horizontally */
margin-top: 200px;
background-color: #fff;
}
.container {
text-align: center;
}
.container h2 {
margin-bottom: 20px;
}
.container input[type="text"],
.container input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
.container button {
width: 100%;
padding: 10px;
background-color: #0080ff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.container button:hover {
background-color: #4040ff;
}
.container p {
margin-top: 15px;
}
.container p a {
color: #0080ff;
text-decoration: none;
}
.container p a:hover {
text-decoration: underline;
}
/* Responsive Design */
@media screen and (max-width: 600px) {
.container {
width: 95%;
}
.box .container p{
width: 80%;
font-size: 10px;
}
}