-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
108 lines (93 loc) · 1.77 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1 {
text-align: center;
margin: 20px 0;
}
.catalogue {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
max-width: 100%;
padding: 0 20px;
}
.manga-item {
display: flex;
flex-direction: column;
align-items: center;
width: 150px;
border: 2px solid #333;
border-radius: 8px;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: transform 0.3s, box-shadow 0.3s;
}
.manga-item img {
width: 100%;
height: 240px;
object-fit: cover;
margin-bottom: 10px;
border-bottom: 2px solid #333;
}
.manga-item a {
text-decoration: none;
color: #333;
text-align: center;
font-weight: bold;
display: block;
}
.manga-item:hover {
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
@media (max-width: 768px) {
.catalogue {
gap: 15px;
}
.manga-item {
width: 120px;
}
.manga-item img {
height: 180px;
}
}
@media (max-width: 480px) {
.catalogue {
gap: 10px;
}
.manga-item {
width: 100px;
}
.manga-item img {
height: 150px;
}
}
.back-button {
background-color: white;
color: black;
padding: 10px 20px;
border: 1px solid black;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
text-align: center;
display: inline-block;
margin-top: 20px;
transition: background-color 0.3s ease;
}
.back-button:hover {
background-color: rgb(238, 236, 236);
}
footer {
margin: 30px;
}