-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_book.css
95 lines (84 loc) · 1.82 KB
/
add_book.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
/* General Styles */
body {
font-family: 'Cambria', serif;
background-color: #f4f4f4; /* Light grey background */
color: #333; /* Dark text color */
margin: 0;
padding: 0;
}
header {
background-color: #2C3E50; /* Dark blue */
color: white;
text-align: center;
padding: 20px 0;
margin-bottom: 40px;
}
header h1 {
font-size: 2.5rem;
margin: 0;
}
main {
padding: 40px 10px;
text-align: center;
}
main h1 {
color: #2C3E50; /* Dark blue */
font-size: 2.2rem;
margin-bottom: 20px;
}
form {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 50%;
margin: 0 auto;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center; /* Center the form elements */
}
.form-group {
width: 100%; /* Ensure form-group takes full width */
margin-bottom: 15px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
form label {
font-size: 1rem;
margin-bottom: 5px;
width: 100%; /* Ensure label takes full width */
}
form input {
width: 100%;
padding: 12px;
font-size: 1rem;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
form button {
background-color: #2C3E50; /* Dark blue */
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
font-size: 1.2rem;
cursor: pointer;
transition: background-color 0.3s ease;
align-self: flex-start; /* Align button to the start */
}
form button:hover {
background-color: #1A252F; /* Darker blue on hover */
}
footer {
background-color: #2C3E50; /* Dark blue */
color: white;
text-align: center;
padding: 10px;
position: absolute;
bottom: 0;
width: 100%;
}