-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (96 loc) · 1.86 KB
/
style.css
File metadata and controls
109 lines (96 loc) · 1.86 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
106
107
108
109
body {
background-color: #f5f5f5;
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0;
padding: 0;
}
header {
background-color: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
}
h1 {
color: #333;
font-size: 32px;
margin: 0;
text-align: center;
}
form {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 40px 0;
}
input[type="text"] {
background-color: #fff;
border: 2px solid #ccc;
border-radius: 8px;
font-size: 16px;
padding: 12px;
width: 300px;
}
.btn {
cursor: pointer;
}
button[type="submit"] {
background-color: #007bff;
border: none;
border-radius: 8px;
color: #fff;
cursor: pointer;
font-size: 16px;
padding: 12px 20px;
transition: background-color 0.2s;
}
button[type="submit"]:hover {
background-color: #0069d9;
}
#results {
display: grid;
gap: 40px;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
margin: 40px 0;
}
#results > div {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
padding: 20px;
}
#results img {
border-radius: 8px;
margin-bottom: 20px;
object-fit: cover;
height: 200px;
width: 100%;
}
#results h3 {
color: #333;
font-size: 24px;
margin: 0;
}
#results ul {
margin: 0;
padding: 0;
}
#results li {
list-style: none;
margin-bottom: 10px;
}
#results a {
background-color: #007bff;
border-radius: 8px;
color: #fff;
font-size: 16px;
padding: 12px 20px;
text-align: center;
text-decoration: none;
transition: background-color 0.2s;
}
#results a:hover {
background-color: #0069d9;
}