generated from microverseinc/readme-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
181 lines (147 loc) · 2.4 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
181
/* AWESOME BOOKS */
* {
font-family: 'Comic Sans MS', 'Comic Sans', cursive;
margin: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
}
#book_list,
#add_books,
#contact-information {
flex-grow: 3;
}
.navigation-bar,
footer {
display: flex;
border: 3px solid black;
margin: 1rem;
justify-content: space-between;
align-items: center;
padding: 1rem;
}
.navigation-bar ul {
list-style: none;
display: flex;
font-size: 13px;
padding-left: 0;
}
.navigation-bar ul li a {
color: #000;
text-decoration: none;
border-right: 1px solid black;
padding: 0 1rem;
}
.navigation-bar ul li:nth-last-child(1) a {
border-right: none;
padding-right: 0;
}
form h2 {
margin-top: 30px;
}
.navigation-bar h2 {
font-size: 16px;
}
.navigation-bar ul li:nth-last-child(3) a {
color: rgb(58, 169, 206);
}
.date {
font-size: 14px;
text-align: end;
margin-right: 1rem;
}
h1 {
text-align: center;
}
#book_collection {
margin: 10px 10px 50px 10px;
}
#book_list li {
padding: 10px;
display: flex;
justify-content: space-between;
}
#book_list li:nth-child(odd) {
background-color: #80808057;
}
.contact-information ul {
margin-top: 2rem;
}
#book_list ul {
list-style: none;
padding-left: 0;
border: 3px solid black;
}
#book_collection button,
#add_button {
background-color: white;
border: 2px solid black;
box-shadow: 3px 2px 1px black;
}
form {
margin: 10px;
display: flex;
flex-direction: column;
align-items: center;
}
input {
margin: 10px;
width: 70%;
border: 2px solid black;
}
#add_button {
align-self: flex-end;
width: auto;
margin-right: 3.75rem;
}
::placeholder {
color: black;
opacity: 1;
}
.contact-information {
display: flex;
flex-direction: column;
}
.contact-information h2 {
margin: 2.5rem 1rem;
align-self: center;
}
.contact-information p {
margin: 0 2rem;
}
.collapse {
display: none;
}
@media screen and (min-width: 700px) {
#book_collection {
width: 60%;
margin: 50px auto;
}
hr {
margin-top: 50px;
}
form {
width: 25%;
margin: auto;
}
#add_button {
margin-right: 4rem;
}
#book_collection button:hover,
#add_button:hover {
background-color: #1b1b1b57;
color: #fff;
}
.navigation-bar h2 {
font-size: 22px;
}
.navigation-bar ul {
font-size: 18px;
}
.contact-information {
align-self: center;
}
}