-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
120 lines (102 loc) · 1.96 KB
/
styles.css
File metadata and controls
120 lines (102 loc) · 1.96 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
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7fc;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
h3 {
text-align: center;
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}
form {
background-color: #fff;
padding: 40px 40px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
width: 550px;
display: flex;
flex-direction: column;
}
#entries{
text-align: center;
background-color: #fff;
padding: 40px 40px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
width: 550px;
display: flex;
flex-direction: column;
}
label {
font-size: 14px;
font-weight: bold;
margin-bottom: 4px;
color: #333;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"] {
width: 90%;
padding: 5px;
border: 1px solid #e0e0e0;
border-radius: 8px;
font-size: 14px;
margin-bottom: 5px;
transition: all 0.3s ease;
background-color: #f9f9f9;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus {
border-color: #007bff;
outline: none;
background-color: #fff;
}
input[type="checkbox"] {
margin-right: 10px;
transform: scale(1.2);
}
button {
padding: 12px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #218838;
}
button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5);
}
#user-form {
display: flex;
flex-direction: column;
gap: 12px;
}
#entries{
display: flex;
flex-direction: column;
gap: 12px;
}
#submit {
width: 100%;
}
@media (max-width: 480px) {
form {
width: 100%;
padding: 20px;
}
}