-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (107 loc) · 2.21 KB
/
style.css
File metadata and controls
125 lines (107 loc) · 2.21 KB
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
body {
width: 100vw;
height: 100vh;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
}
#frame {
width: 90%;
min-height: 90vh;
border: 5px double brown;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
gap: 1rem;
align-content: baseline;
padding: 15px;
}
.book-block {
width: 9rem;
}
.book-card {
width: calc(100% - 2rem);
height: 10rem;
display: flex;
flex-direction: column;
padding: 1rem;
background-color: brown;
position: relative;
}
.book-remove {
position: absolute;
bottom: 0.5rem;
right: 0.5rem;
background-color: rgba(0, 0, 0, 0);
border: none;
cursor: pointer;
opacity: 0.5;
}
.book-remove:hover {
opacity: 1;
}
.book-remove > img {
width: 1rem;
height: 1rem;
}
.book-title {
font-family: 'Brush Script MT';
font-size: 1.7em;
font-weight: bold;
color: yellow;
}
.book-author {
font-family: 'Trebuchet MS';
color: coral;
}
.book-info {
display: flex;
justify-content: space-between;
font-family: 'Trebuchet MS';
}
.book-pages {
font-size: 0.9rem;
color: gray;
}
.book-status {
background-color: rgba(130, 130, 130, 0.5);
color: white;
font-family: 'Trebuchet MS';
border: none;
cursor: pointer;
}
.book-status.read {
background-color: rgb(3, 207, 24);
}
#add-book-button {
width: 9rem;
height: 12rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 4px dashed #a52a2a;
color: brown;
font-family: 'Trebuchet MS';
font-size: 1rem;
opacity: 0.5;
cursor: pointer;
}
#add-book-button:hover {
opacity: 1;
}
#add-book-button > img {
filter: invert(24%) sepia(29%) saturate(3142%) hue-rotate(333deg) brightness(98%) contrast(96%);
}
dialog, dialog input, dialog button {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
form {
justify-self: center;
}
form button[type='submit'] {
border: none;
padding: 0.5rem;
background-color: brown;
color: white;
}