-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (87 loc) · 1.87 KB
/
style.css
File metadata and controls
99 lines (87 loc) · 1.87 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
body {
font-family: 'Roboto', sans-serif;
background-color: #f0f2f5;
margin: 0;
padding: 0;
color: #333;
}
.search-container {
width: 100%;
background: #fff;
padding: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.search-container input {
width: 50%;
max-width: 400px;
padding: 11px 16px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 18px 0 0 18px;
outline: none;
transition: border 0.3s;
}
.search-container input:focus {
border-color: #667eea;
}
.search-container button {
padding: 10px;
background-color: #667eea;
border: none;
border-radius: 0 18px 18px 0;
cursor: pointer;
transition: background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
width: 50px;
max-width: 30%;
}
.search-container button:hover {
background-color: #556cd6;
}
.search-container svg {
width: 24px;
height: 24px;
stroke: #fff;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 24px;
padding: 40px;
max-width: 1200px;
margin: 0 auto;
}
.card {
width: 240px;
background-color: #fff;
border-radius: 16px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
text-align: center;
}
.card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.card img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
display: block;
margin: 0 auto;
}
.card h3 {
margin: 12px auto;
font-size: 16px;
color: #444;
object-fit: contain;
}