-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookshelf.css
137 lines (115 loc) · 2.2 KB
/
bookshelf.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
background-image: url("asset/library.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
#wrapper {
backdrop-filter: blur(10px);
width: 55%;
margin: 0 auto;
border: 2px solid;
border-width: 1.5rem;
border-color: burlywood;
}
#search-container {
text-align: center;
margin-top: 1em;
}
#search-preview {
color: whitesmoke;
text-align: center;
margin-top: 0.5em;
}
#container-one {
color: aliceblue;
margin: 2.5em 25px;
text-align: center;
}
#container-two {
color: aliceblue;
margin: 10em 25px;
}
h1 {
text-align: center;
}
#container-three, #container-four {
color: aliceblue;
margin: 5em 25px;
}
.book-list {
border-radius: 10px;
border: 2px solid;
text-align: left;
margin: 1rem 0;
padding-top: 10px;
text-align: center;
}
.book-title {
font-size: 25px;
}
.book-author {
font-style: italic;
font-size: 20px;
}
.delete {
padding: 6px 10px;
border: 2px solid red;
border-radius: 4px;
margin: 0.5rem 0;
cursor: pointer;
}
.swap {
padding: 6px 10px;
border: 2px solid orange;
border-radius: 4px;
margin: 0.5rem 0;
cursor: pointer;
}
.search-book {
display: flex;
flex-direction: column;
margin: 0.5rem 0;
padding: 0 1rem;
}
label {
text-align: left;
font-size: 19px;
}
input[type=text] {
width: 100%;
padding: 12px;
border: 1px solid;
border-radius: 4px;
box-sizing: border-box;
margin: 10px 0;
}
input[type=button] {
padding: 12px 20px;
border: none;
border-radius: 4px;
margin-bottom: 1em;
cursor: pointer;
}
@media screen and (max-width: 768px) {
#wrapper {
width: 80%;
}
#container-one, #container-two, #container-three, #container-four {
margin: 2.5em 10px;
}
}
@media screen and (max-width: 480px) {
#wrapper {
width: 90%;
}
#container-one, #container-two, #container-three, #container-four {
margin: 2.5em 5px;
}
}