forked from JustinGOSSES/buffalo_bayou_geology
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
212 lines (185 loc) · 6.15 KB
/
gallery.html
File metadata and controls
212 lines (185 loc) · 6.15 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Buffalo Bayou Geology Photo Gallery</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.4.0/leaflet.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<style>
/* Page-specific: Use wider layout like map pages */
.header-content {
max-width: 1800px;
}
.notice {
max-width: 1800px;
}
.info-banner {
max-width: 1800px;
}
main {
padding: 1rem 2rem 2rem;
max-width: 1800px;
}
#gallery-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.gallery-item {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
gap: 2rem;
}
.gallery-item img {
width: 45%;
height: auto;
border-radius: 8px;
object-fit: cover;
}
.content-container {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.gallery-item h3 {
color: #a8d8ea;
font-size: 1.3rem;
margin: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 0.5rem;
}
.gallery-item p {
color: rgba(255, 255, 255, 0.85);
line-height: 1.6;
margin: 0;
}
.gallery-item .coordinates {
color: #90EE90;
font-weight: 600;
background: rgba(46, 139, 87, 0.2);
padding: 0.5rem 0.75rem;
border-radius: 6px;
display: inline-block;
width: fit-content;
}
.filter-controls {
max-width: 1400px;
margin: 0 auto 1rem;
padding: 0 2rem;
display: flex;
align-items: center;
gap: 1.5rem;
}
.filter-checkbox {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
color: #a8d8ea;
background: rgba(255, 255, 255, 0.1);
padding: 0.5rem 1rem;
border-radius: 8px;
transition: all 0.3s ease;
}
.filter-checkbox:hover {
background: rgba(168, 216, 234, 0.2);
}
.filter-checkbox input {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: #a8d8ea;
}
.item-count {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}
.gallery-item.hidden {
display: none;
}
footer {
text-align: center;
padding: 2rem;
color: rgba(255, 255, 255, 0.6);
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 2rem;
}
footer a {
color: #a8d8ea;
}
@media (max-width: 768px) {
h1 {
font-size: 1.4rem;
}
.header-content {
flex-direction: column;
text-align: center;
}
nav {
flex-wrap: wrap;
justify-content: center;
}
.gallery-item {
flex-direction: column;
}
.gallery-item img {
width: 100%;
max-width: none;
}
}
</style>
</head>
<body>
<header>
<div class="header-content">
<h1>🦬 Buffalo Bayou Geology - Photo Gallery</h1>
<nav>
<a href="index.html">Home</a>
<a href="large-map.html">Large Map</a>
<a href="four-maps.html">Four Maps</a>
<a href="gallery.html" class="active">Gallery</a>
<a href="cross-sections.html">Cross Sections</a>
<a href="thin-sections.html">Thin Sections</a>
</nav>
</div>
</header>
<div class="page-title">
<h2>Gallery view of outcrop photos</h2>
<p>Arranged in simple gallery view to avoid having to click on a map </p>
</div>
<div class="info-banner">
📍 <strong>Gallery View:</strong> Scroll through all field data points with photos and location maps. For interactive map exploration, visit the <a href="large-map.html">Large Map</a> or <a href="four-maps.html">Four Maps</a> view.
Note that faults and other line features are rough observations extracted from a KMZ file and not indicative of an actual fault or surface expression.
</div>
<div class="filter-controls">
<label class="filter-checkbox">
<input type="checkbox" id="images-only-toggle">
<span>Show only items with images</span>
</label>
<span id="item-count" class="item-count"></span>
</div>
<main>
<div id="gallery-container">
<!-- Photos and metadata will be dynamically added here -->
</div>
</main>
<footer>
<p>Created by Justin Gosses for the Houston Geological Society working group on Buffalo Bayou</p>
<p>Code repository: <a href="https://github.com/JustinGOSSES/buffalo_bayou_geology">GitHub</a></p>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.4.0/leaflet.js"></script>
<!-- <script src="./js/macroStratFetch.js"></script>
<script src="./js/jszip.js"></script> -->
<script src="./js/L.KML.js"></script>
<script src="js/gallery.js"></script>
<!-- <script src="./js/main.js"></script> -->
</body>
</html>