-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (95 loc) · 1.45 KB
/
style.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
h2,
p {
color: lightgray;
}
button {
padding: 15px;
margin: 10px;
border: 1px solid black;
font-size: 1.1em;
background-color: #76746a;
cursor: pointer;
}
button:hover {
transform: scale(1.1);
box-shadow: 3px 3px 5px black;
}
input {
background-color: #31312e;
color: lightgray;
border: 1px solid black;
}
footer {
position: absolute;
bottom: 0.5vh;
left: 0.5vw;
}
#add-book {
margin: 1em;
}
#modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
}
#modal-content {
background-color: #31312e;
color: lightgray;
margin: auto;
padding: 20px;
border: 1px solid black;
width: 80%;
}
#close {
color: #76746a;
float: right;
font-size: 28px;
font-weight: bold;
}
#close:hover {
color: #000;
text-decoration: none;
cursor: pointer;
}
#container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.book-container {
border: 2px solid black;
border-radius: 5px;
margin: 2vh;
padding: 20px;
width: 200px;
height: 450px;
background-color: #31312e;
display: flex;
flex-direction: column;
justify-content: end;
}
.book-container:hover {
transform: scale(1.1);
box-shadow: 3px 3px 5px black;
}
.book-title,
.book-read {
margin-bottom: 2em;
}
.toggle-read-btn {
background-color: #76746a;
}
.delete-item-btn {
background-color: #d72c2c;
font-size: 1.5em;
}