-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (90 loc) · 1.57 KB
/
style.css
File metadata and controls
105 lines (90 loc) · 1.57 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background: #f9f9f9;
color: #333;
line-height: 1.6;
}
header {
text-align: center;
padding: 20px;
background: #6c63ff;
color: white;
}
.search-container {
display: flex;
justify-content: center;
margin: 20px;
}
#searchInput {
padding: 10px;
width: 60%;
border: 1px solid #ccc;
border-radius: 5px 0 0 5px;
}
#searchBtn {
padding: 10px 20px;
border: none;
background: #6c63ff;
color: white;
border-radius: 0 5px 5px 0;
cursor: pointer;
}
#searchBtn:hover {
background: #5a54d6;
}
.results-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
padding: 20px;
}
.card {
background: white;
border-radius: 8px;
padding: 15px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}
.card:hover {
transform: scale(1.05);
}
.card img {
width: 100%;
height: 280px;
object-fit: cover;
border-radius: 5px;
}
.card h3 {
margin: 10px 0;
font-size: 18px;
color: #444;
}
.card p {
font-size: 14px;
color: #666;
}
.card a {
display: inline-block;
margin-top: 10px;
padding: 6px 12px;
background: #6c63ff;
color: white;
border-radius: 4px;
text-decoration: none;
font-size: 14px;
}
.card a:hover {
background: #5a54d6;
}
footer {
text-align: center;
padding: 10px;
margin-top: 20px;
background: #eee;
}