forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassic-literature.html
159 lines (150 loc) · 4.57 KB
/
classic-literature.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Classic Literature Books</title>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
background-color: #ffb2a8; /* White background */
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>Classic Literature Books</h1>
<div class="card-container">
<!-- Hardcoded book cards for Classic Literature 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">Moby Dick</p>
<p class="book-author">by Herman Melville</p>
</div>
<div class="book-card">
<p class="book-title">War and Peace</p>
<p class="book-author">by Leo Tolstoy</p>
</div>
<div class="book-card">
<p class="book-title">1984</p>
<p class="book-author">by George Orwell</p>
</div>
<div class="book-card">
<p class="book-title">Great Expectations</p>
<p class="book-author">by Charles Dickens</p>
</div>
<div class="book-card">
<p class="book-title">To Kill a Mockingbird</p>
<p class="book-author">by Harper Lee</p>
</div>
<div class="book-card">
<p class="book-title">The Great Gatsby</p>
<p class="book-author">by F. Scott Fitzgerald</p>
</div>
<div class="book-card">
<p class="book-title">Crime and Punishment</p>
<p class="book-author">by Fyodor Dostoevsky</p>
</div>
<div class="book-card">
<p class="book-title">The Catcher in the Rye</p>
<p class="book-author">by J.D. Salinger</p>
</div>
<div class="book-card">
<p class="book-title">Jane Eyre</p>
<p class="book-author">by Charlotte Brontë</p>
</div>
<div class="book-card">
<p class="book-title">The Odyssey</p>
<p class="book-author">by Homer</p>
</div>
<div class="book-card">
<p class="book-title">The Brothers Karamazov</p>
<p class="book-author">by Fyodor Dostoevsky</p>
</div>
<div class="book-card">
<p class="book-title">Anna Karenina</p>
<p class="book-author">by Leo Tolstoy</p>
</div>
<div class="book-card">
<p class="book-title">Frankenstein</p>
<p class="book-author">by Mary Shelley</p>
</div>
<div class="book-card">
<p class="book-title">Wuthering Heights</p>
<p class="book-author">by Emily Brontë</p>
</div>
<div class="book-card">
<p class="book-title">The Scarlet Letter</p>
<p class="book-author">by Nathaniel Hawthorne</p>
</div>
<div class="book-card">
<p class="book-title">Dracula</p>
<p class="book-author">by Bram Stoker</p>
</div>
<div class="book-card">
<p class="book-title">Les Misérables</p>
<p class="book-author">by Victor Hugo</p>
</div>
<div class="book-card">
<p class="book-title">Madame Bovary</p>
<p class="book-author">by Gustave Flaubert</p>
</div>
<div class="book-card">
<p class="book-title">The Picture of Dorian Gray</p>
<p class="book-author">by Oscar Wilde</p>
</div>
</div>
</body>
</html>