-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (71 loc) · 1.36 KB
/
Copy pathstyle.css
File metadata and controls
81 lines (71 loc) · 1.36 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
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background: #f4f6f8;
padding: 20px;
color: #333;
}
/* Container */
.container {
max-width: 900px;
margin: auto;
padding: 30px;
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Title */
h1 {
text-align: center;
margin-bottom: 25px;
color: #1976d2;
}
/* Input area */
.input-area {
display: flex;
gap: 10px;
margin-bottom: 30px;
}
.input-area input {
flex: 1;
padding: 12px;
font-size: 16px;
border-radius: 8px;
border: 1px solid #ccc;
}
.input-area button {
padding: 12px 20px;
font-size: 16px;
background-color: #1976d2;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s;
}
.input-area button:hover {
background-color: #125ea3;
}
/* Gallery grid */
.gallery-grid {
display: grid;
gap: 15px;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery-grid img {
width: 100%;
height: auto;
border-radius: 8px;
object-fit: cover;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s;
}
.gallery-grid img:hover {
transform: scale(1.03);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}