-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
181 lines (153 loc) · 3.02 KB
/
index.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
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
/* General Styles */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f9f9f9;
color: #333;
}
header {
background-color: #222;
color: white;
padding: 15px 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
}
header .logo img {
width: 150px;
}
header nav ul {
list-style-type: none;
display: flex;
}
header nav ul li {
margin-right: 20px;
}
header nav ul li a {
text-decoration: none;
color: white;
font-size: 16px;
}
header .search-bar {
display: flex;
align-items: center;
}
header .search-bar input {
padding: 8px;
font-size: 16px;
border-radius: 5px;
border: 1px solid #ccc;
}
header .search-bar button {
padding: 8px 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-left: 10px;
}
header .search-bar button:hover {
background-color: #0056b3;
}
/* Featured Animes */
.featured-animes h2, .latest-animes h2, .trending-animes h2 {
text-align: center;
font-size: 28px;
color: #333;
margin-top: 20px;
}
.anime-grid, .anime-scroll {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
justify-items: center;
}
.anime-card {
background-color: #fff;
padding: 15px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
text-align: center;
width: 100%;
}
.anime-card img {
width: 100%;
height: auto;
border-radius: 8px;
}
.anime-card h3 {
font-size: 18px;
margin-top: 10px;
color: #444;
}
.anime-card p {
font-size: 14px;
color: #777;
margin-top: 5px;
}
/* Pagination */
.pagination {
text-align: center;
margin-top: 30px;
}
.pagination a {
padding: 10px 20px;
background-color: #007bff;
color: white;
border-radius: 5px;
margin: 0 5px;
font-size: 16px;
text-decoration: none;
}
.pagination a:hover {
background-color: #0056b3;
}
/* Footer */
footer {
background-color: #222;
color: white;
padding: 20px 40px;
text-align: center;
}
footer ul {
list-style-type: none;
padding: 0;
}
footer ul li {
display: inline-block;
margin-right: 15px;
}
footer ul li a {
text-decoration: none;
color: white;
font-size: 16px;
}
footer .social-media a {
margin: 0 10px;
display: inline-block;
}
footer .social-media img {
width: 24px;
height: 24px;
}
footer p {
font-size: 14px;
margin-top: 20px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
header nav ul {
flex-direction: column;
align-items: center;
}
header nav ul li {
margin: 10px 0;
}
.anime-grid {
grid-template-columns: 1fr 1fr;
}
}