-
Notifications
You must be signed in to change notification settings - Fork 0
/
yourlibrary.css
82 lines (71 loc) · 1.38 KB
/
yourlibrary.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
.button-30 {
width: 12.36vw;
height: 12.36vw;
box-sizing: border-box;
border-radius: 20px;
background: rgb(221, 40, 40);
box-shadow: rgb(171, 60, 60) 0px 6px 0px 0px;
position: relative;
font-size: 5vw;
font-family: Lato, Calibri, Arial, sans-serif;
font-weight: 700;
text-align: center;
color: rgb(255, 255, 255);
letter-spacing: 1px;
border: 0px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
margin-right: 10px;
}
.button-30:active {
transform: translateY(8px);
box-shadow: rgb(171, 60, 60) 0px 0px 0px 0px;
}
#deleteimg {
margin-top: 15px;
width: 13vw;
}
#deleteall {
width: 15vw;
height: 16vw;
margin-top: 2vw;
}
#deletebutton {
display: flex;
justify-content: center;
}
#bookdiv {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
row-gap: 60px;
justify-items: center;
margin-top: 2vw;
}
.books {
width: 25vw;
display: flex;
flex-direction: column;
align-items: center;
}
.book-image {
width: 100%;
height: 40vw;
}
.book-name {
font-size: 4vw;
text-align: center;
margin-top: 10px;
}
@media (max-width: 768px) {
#bookdiv {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
#bookdiv {
grid-template-columns: 1fr;
}
.book-name {
font-size: 5vw;
}
}