-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
180 lines (148 loc) · 3.79 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
html,
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
height: 100%;
}
body {
display: grid;
grid-template-rows: max-content;
}
body > section {
display: none;
}
body > section.active {
display: block;
}
/* ..................................................navbar section styles starts here ..................................... */
#navbar-container {
border: 2px solid #000;
margin: 10px;
display: flex;
justify-content: space-between;
padding: 0.1px 10px 0.1px 10px;
}
#navbar-title {
margin-bottom: 5px;
margin-top: 5px;
align-self: center;
}
.navbar-ul {
display: flex;
list-style: none;
justify-content: space-between;
}
.navbar-li a {
text-decoration: none;
padding-left: 10px;
padding-right: 10px;
color: #000;
}
#nav-add-new-text {
border-left: 2px solid #000;
border-right: 2px solid black;
}
#navbar-date {
text-align: right;
margin-left: 10px;
margin-right: 10px;
}
/* .....................................navbar section styles ends here .................................................. */
/* .....................................List of books section styling starts here........................................ */
.main-text {
width: 50%;
margin: auto;
padding: 10px;
margin-bottom: 20px;
}
#main-header-text {
color: black;
text-align: center;
padding-left: 50px;
}
/* ........................................List of books section styling ends here................................................... */
/* ........................................Database of all the books styling starts here ............................................ */
#storeBooks {
border: 2px solid black;
width: 50%;
margin: auto;
padding: 10px;
}
#storeBooks form {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
padding: 5px;
}
#storeBooks form:nth-child(odd) {
background-color: silver;
}
#storeBooks form p {
margin: 5px;
}
/* .........................................Database of all the books styling ends here............................................ */
/* .........................................Add New Book Section styling starts here...................................................... */
.new-book-section {
text-align: center;
width: 50%;
margin: auto;
padding: 10px;
color: #e23c52;
}
#newBook {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
#new-book-section input {
min-width: 70%;
margin: 10px auto;
height: 25px;
}
#new-book-section button {
margin-right: 15%;
align-self: flex-end;
}
#new-book-text {
color: #000;
text-align: center;
}
#addBook {
background-color: white;
color: #000;
font-size: 20px;
font-weight: bold;
border-radius: 8px;
}
/* .........................................Add New Book Section styling ends here...................................................... */
/* .........................................contact information section styling starts here........................................... */
#contact-info {
max-width: 500px;
margin: auto;
}
#contact-info-title {
text-align: center;
margin-bottom: 50px;
}
/* ..........................................contact information section styling ends here........................................... */
/* ..........................................the footer section style starts here.................................................... */
footer {
border: 2px solid black;
padding-left: 20px;
margin-bottom: 10px;
height: max-content;
margin-top: 20px;
align-self: end;
}
#footer-text {
margin-bottom: 5px;
margin-top: 5px;
}
/* ..................................................the footer section style starts here.................................. */
#book-list-empty {
text-align: center;
font-weight: bold;
font-size: 1.5rem;
}