-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
138 lines (116 loc) · 1.96 KB
/
index.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
*{
margin: 0;
list-style: none;
text-decoration: none;
color: #000;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2rem;
padding: 10px;
}
header {
height: 10vh;
text-align: center;
display: flex;
justify-content: center;
}
header nav {
display: flex;
text-align: center;
padding: 10px;
border: 1px solid #000;
justify-content: space-between;
width: 100%;
align-items: center;
}
header nav ul {
display: flex;
gap: 20px;
}
#date {
float: right;
}
/* booklist section */
#book-list-section {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
margin-top: 20px;
}
.content {
width: 70%;
}
.content h1 {
display: flex;
flex-direction: column;
align-items: center;
}
#book-list {
display: flex;
flex-direction: column;
gap: 10px;
border: 1px solid #000;
padding: 0;
}
.book-list-item {
background-color: #eee;
padding: 10px;
}
.book-list-item:nth-child(even) {
background-color: #fff;
padding: 10px;
}
.remove,
#btn {
float: right;
padding: 5px;
font-weight: 700;
border: 2px solid #000;
}
/* addbook-section */
#add-book-section {
display: none;
justify-content: center;
align-items: center;
margin-bottom: 20px;
margin-top: 20px;
}
form {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 10px;
margin-top: 10px;
width: 30%;
}
form > input {
padding: 10px;
}
form > input::placeholder {
font-weight: 500;
color: #000;
}
/*
.alert-danger {
background-color: red;
color: #fff;
} */
/* contact-section */
#contact-section{
display: none;
flex-direction: column;
gap: 10px;
align-items: center;
margin-top: 20px;
}
footer {
position: absolute;
bottom: 0;
width: 98%;
padding: 10px;
border: 1px solid #000;
margin-bottom: 10px;
}