-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (97 loc) · 1.91 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
110
111
112
/* General Styling */
body {
font-family: Arial, sans-serif;
text-align: center;
background: url('background.png') no-repeat center center fixed;
background-size: cover;
color: #ffffff;
margin: 0;
padding: 0;
}
h1 {
margin: 20px;
font-size: 2.5em;
color: #ffcc00;
text-shadow: 2px 2px 5px #000;
}
#notice {
background: rgba(255, 69, 0, 0.8);
color: white;
padding: 10px;
font-weight: bold;
}
.moving-notice {
display: inline-block;
animation: moveNotice 10s linear infinite;
}
@keyframes moveNotice {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
/* Book Container */
.book-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
}
.book {
width: 150px;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book:hover {
transform: scale(1.1);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.book img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
border: 2px solid #fff;
}
.book-name {
margin-top: 10px;
font-weight: bold;
color: #ffcc00;
text-shadow: 1px 1px 2px #000;
}
/* Chapter Container */
#chapter-container {
margin-top: 20px;
padding: 20px;
background: rgba(0, 0, 0, 0.6);
border-radius: 10px;
display: inline-block;
}
.chapter {
padding: 10px;
margin: 10px 0;
background: rgba(255, 255, 255, 0.8);
border-radius: 5px;
cursor: pointer;
font-weight: bold;
color: #333;
transition: background 0.3s ease;
}
.chapter:hover {
background: #ffcc00;
color: #000;
}
/* Footer */
footer {
margin-top: 20px;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
font-size: 0.9em;
}
footer a {
color: #ffcc00;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}