forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
romance.html
204 lines (194 loc) · 6.49 KB
/
romance.html
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Romance Books</title>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
background-color: #ffb2a8;
overflow-y: scroll;
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
cursor: default;
}
body::-webkit-scrollbar {
width: 12px;
}
body::-webkit-scrollbar-track {
background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
background-color: #888;
border-radius: 6px;
border: 3px solid #f1f1f1;
}
body::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.book-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 15px;
padding: 20px;
width: 250px;
transition: transform 0.3s;
}
.book-card:hover {
transform: translateY(-5px);
}
.book-title {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}
.book-author {
font-size: 14px;
color: #777;
margin-bottom: 15px;
}
</style>
</head>
<body>
<h1>Romance Books</h1>
<div class="card-container" id="bookCards">
<!-- Hardcoded book cards for Romance genre -->
<div class="book-card">
<p class="book-title">Pride and Prejudice</p>
<p class="book-author">by Jane Austen</p>
</div>
<div class="book-card">
<p class="book-title">The Notebook</p>
<p class="book-author">by Nicholas Sparks</p>
</div>
<div class="book-card">
<p class="book-title">Me Before You</p>
<p class="book-author">by Jojo Moyes</p>
</div>
<div class="book-card">
<p class="book-title">Outlander</p>
<p class="book-author">by Diana Gabaldon</p>
</div>
<div class="book-card">
<p class="book-title">Twilight</p>
<p class="book-author">by Stephenie Meyer</p>
</div>
<div class="book-card">
<p class="book-title">The Rosie Project</p>
<p class="book-author">by Graeme Simsion</p>
</div>
<div class="book-card">
<p class="book-title">The Hating Game</p>
<p class="book-author">by Sally Thorne</p>
</div>
<div class="book-card">
<p class="book-title">Beach Read</p>
<p class="book-author">by Emily Henry</p>
</div>
<div class="book-card">
<p class="book-title">It Ends with Us</p>
<p class="book-author">by Colleen Hoover</p>
</div>
<div class="book-card">
<p class="book-title">After</p>
<p class="book-author">by Anna Todd</p>
</div>
<div class="book-card">
<p class="book-title">Red, White & Royal Blue</p>
<p class="book-author">by Casey McQuiston</p>
</div>
<div class="book-card">
<p class="book-title">The Unhoneymooners</p>
<p class="book-author">by Christina Lauren</p>
</div>
<div class="book-card">
<p class="book-title">The Kiss Quotient</p>
<p class="book-author">by Helen Hoang</p>
</div>
<div class="book-card">
<p class="book-title">Beautiful Disaster</p>
<p class="book-author">by Jamie McGuire</p>
</div>
<div class="book-card">
<p class="book-title">One Day</p>
<p class="book-author">by David Nicholls</p>
</div>
<div class="book-card">
<p class="book-title">The Wedding Date</p>
<p class="book-author">by Jasmine Guillory</p>
</div>
<div class="book-card">
<p class="book-title">Someone Like You</p>
<p class="book-author">by Sarah Dessen</p>
</div>
<div class="book-card">
<p class="book-title">You Had Me at Hola</p>
<p class="book-author">by Alexis Daria</p>
</div>
<div class="book-card">
<p class="book-title">The Song of Achilles</p>
<p class="book-author">by Madeline Miller</p>
</div>
<div class="book-card">
<p class="book-title">Love and Other Words</p>
<p class="book-author">by Christina Lauren</p>
</div>
<div class="book-card">
<p class="book-title">The Flatshare</p>
<p class="book-author">by Beth O'Leary</p>
</div>
<div class="book-card">
<p class="book-title">To All the Boys I've Loved Before</p>
<p class="book-author">by Jenny Han</p>
</div>
<div class="book-card">
<p class="book-title">The Selection</p>
<p class="book-author">by Kiera Cass</p>
</div>
<div class="book-card">
<p class="book-title">You Deserve Each Other</p>
<p class="book-author">by Sarah Hogle</p>
</div>
<div class="book-card">
<p class="book-title">Love, Rosie</p>
<p class="book-author">by Cecelia Ahern</p>
</div>
<div class="book-card">
<p class="book-title">The Sun is Also a Star</p>
<p class="book-author">by Nicola Yoon</p>
</div>
<div class="book-card">
<p class="book-title">Heartstopper: Volume One</p>
<p class="book-author">by Alice Oseman</p>
</div>
<div class="book-card">
<p class="book-title">A Court of Thorns and Roses</p>
<p class="book-author">by Sarah J. Maas</p>
</div>
<div class="book-card">
<p class="book-title">The Bride Test</p>
<p class="book-author">by Helen Hoang</p>
</div>
<div class="book-card">
<p class="book-title">The Light We Lost</p>
<p class="book-author">by Jill Santopolo</p>
</div>
<div class="book-card">
<p class="book-title">The Seven Husbands of Evelyn Hugo</p>
<p class="book-author">by Taylor Jenkins Reid</p>
</div>
</div>
</body>
</html>