forked from NageshMandal/Engineering-Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
library.css
82 lines (69 loc) · 1.21 KB
/
library.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
section#content {
padding: 20px;
}
h1{
text-shadow: 2px 2px 3px rgba(0,0,0,0.5);
}
h2 {
margin-bottom: 15px;
}
.filter {
margin-bottom: 20px;
text-align: center;
}
#bookList {
display: flex;
justify-content: center;
flex-wrap: wrap;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-gap: 20px;
}
#bookList div {
border: 2px solid #ccc;
padding: 10px 15px;
border-radius: 10px;
box-shadow: 2px 3px 2px gray;
width: 20%;
margin: 15px;
}
#bookList div:hover{
box-shadow: 4px 6px 4px 4px gray;
}
#bookList div img {
/* width: 183px; */
height: 276px;
width:100%;
}
#branch{
border-radius: 10px;
padding: 3px;
}
.span{
color:#b700ff;
}
.row-lib{
padding-top: 60px;
}
.books_available{
text-align: center;
font-size: 1.5rem;
font-weight: bolder;
}
h3{
text-align: center;
padding-top: 15px;
font-style: oblique;
}
@media screen and (max-width:450px) {
.col-2 .btn{
font-size: 1.1rem;
}
#bookList div{
width:100%;
}
}
@media screen and (max-width:800px) {
#bookList div{
width:80%;
}
}