-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
83 lines (77 loc) · 1.97 KB
/
styles.css
File metadata and controls
83 lines (77 loc) · 1.97 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
body {
background: linear-gradient(to bottom, #f4f4f4, #e9ecef);
/* Subtle gradient */
font-family: 'Reddit Mono', monospace;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
nav {
background: linear-gradient(to right, #1f1f1f, #2c2c2c);
color: #fff;
width: 100%;
padding: 1rem 0;
text-align: center;
font-size: 1.5rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
position: sticky;
top: 0;
z-index: 1000;
/* Ensure nav stays on top */
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
/* Subtle shadow for depth */
}
.photo-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
/* Responsive columns with minimum width of 300px */
gap: 10px;
/* Gap between grid items */
padding: 20px;
width: 100%;
/* Full width gallery */
max-width: 1200px;
/* Maximum width for the gallery */
}
.photo-gallery img {
width: 100%;
/* Make images responsive to the grid item size */
height: auto;
/* Maintain aspect ratio */
border-radius: 10px;
/* Rounded corners for images */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
/* Add shadow to images */
transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
/* Smooth transition for image hover effect */
}
.photo-gallery img:hover {
transform: scale(1.05);
/* Slightly enlarge image on hover */
filter: brightness(1.1);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.footer {
background: linear-gradient(to right, #1e1e1e,#292929);
text-align: center;
padding: 1rem 1rem;
margin-top: 1rem;
font-size: 0.875rem;
border-top: 1px solid #3a3a3a;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100%;
box-sizing: border-box;
}
.footer p {
margin: 0;
font-weight: 400;
color: #999;
letter-spacing: 0.5px;
}