-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphoto.html
More file actions
280 lines (242 loc) · 9.9 KB
/
photo.html
File metadata and controls
280 lines (242 loc) · 9.9 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
---
layout: default
title: Kazen Renderer
page-template: post-template
---
<!-- Content
==================================================
<body>
<style>
body {
margin: 0;
}
.image-grid {
--gap: 16px;
--num-cols: 4;
--row-height: 300px;
box-sizing: border-box;
padding: var(--gap);
display: grid;
grid-template-columns: repeat(var(--num-cols), 1fr);
grid-auto-rows: var(--row-height);
gap: var(--gap);
}
.image-grid > img {
width: 100%;
height: 100%;
object-fit: cover;
}
.image-grid-col-2 {
grid-column: span 2;
}
.image-grid-row-2 {
grid-row: span 2;
}
/* Anything udner 1024px */
@media screen and (max-width: 1024px) {
.image-grid {
--num-cols: 2;
--row-height: 200px;
}
}
</style>
</body>
<main class="content" role="main">
<div class="image-grid">
<img class="image-grid-col-2 image-grid-row-2" src="content/images/2022/kazen-con-v001-report/param/m1_r0.png" alt="final">
<img src="content/images/2022/kazen-con-v001-report/param/m0.0_r0.5.png" alt="param">
<img src="content/images/2022/kazen-con-v001-report/param/r0_s1.png" alt="param">
<img src="content/images/2022/kazen-con-v001-report/param/m0_r0_spec0.5.png" alt="param">
<img src="content/images/2022/kazen-con-v001-report/param/r0.5_c1.png" alt="param">
</div>
</main>
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Instagram Posts</title>
<style>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'futura-pt', sans-serif;
background-color: #fafafa;
}
.navigationList {
list-style: none;
display: flex;
justify-content: center;
border-top: 1px solid #dbdbdb;
border-bottom: 1px solid #dbdbdb;
}
.navigationItem {
position: relative;
width: 33.3%;
display: flex;
justify-content: center;
}
.navigationItem:last-child {
margin-right: 0;
}
.navigationItem.active .navigationItem__Text {
color: #000;
}
.navigationItem.active .navigationItem__Icon path {
fill: #0095f6;
}
.navigationItem__Button {
display: flex;
align-items: center;
justify-content: center;
border: none;
background: transparent;
appearance: none;
-webkit-appearance: none;
padding: 12px 0;
cursor: pointer;
}
.navigationItem__Icon {
width: 24px;
height: 24px;
}
.navigationItem__Text {
display: none;
font-weight: bold;
font-size: 12px;
font-smooth: always;
font-smooth: 2em;
color: #868686;
letter-spacing: 0.7px;
}
.photosGrid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.photosGrid__Photo {
width: 33%;
width: calc(33.3% - 2px);
height: 30vw;
background-position: center;
background-size: cover;
margin-bottom: 3px;
}
@media screen and (min-width: 736px) {
main {
padding: 20px;
}
.navigationList {
border-bottom: none;
}
.navigationItem {
width: auto;
margin-right: 50px;
}
.navigationItem__Button {
padding: 18px 0;
}
.navigationItem__Text {
display: block;
}
.navigationItem__Icon {
margin-right: 6px;
width: 12px;
height: 12px;
}
.navigationItem.active::before {
content: '';
position: absolute;
height: 1px;
width: 100%;
background-color: #000;
top: -1px;
left: 0;
right: 0;
}
.navigationItem.active .navigationItem__Icon path {
fill: #000;
}
.photosGrid__Photo {
width: calc(33.3% - 16px);
margin-bottom: 26px;
}
}
@media screen and (min-width: 980px) {
main {
max-width: 935px;
margin: auto;
}
.photosGrid__Photo {
height: 293px;
}
}
</style>
</head>
<body>
<main>
<ul class="navigationList" id="navigationList">
<li class="navigationItem active">
<button class="navigationItem__Button">
<svg aria-label="Posts" class="navigationItem__Icon" fill="#262626" viewBox="0 0 48 48">
<path clip-rule="evenodd"
d="M45 1.5H3c-.8 0-1.5.7-1.5 1.5v42c0 .8.7 1.5 1.5 1.5h42c.8 0 1.5-.7 1.5-1.5V3c0-.8-.7-1.5-1.5-1.5zm-40.5 3h11v11h-11v-11zm0 14h11v11h-11v-11zm11 25h-11v-11h11v11zm14 0h-11v-11h11v11zm0-14h-11v-11h11v11zm0-14h-11v-11h11v11zm14 28h-11v-11h11v11zm0-14h-11v-11h11v11zm0-14h-11v-11h11v11z"
fill-rule="evenodd">
</path>
</svg>
<p class="navigationItem__Text">Kazen-Con</p>
</button>
</li>
<li class="navigationItem">
<button class="navigationItem__Button">
<svg aria-label="Posts" class="navigationItem__Icon" fill="#8e8e8e" viewBox="0 0 48 48">
<path
d="M41 10c-2.2-2.1-4.8-3.5-10.4-3.5h-3.3L30.5 3c.6-.6.5-1.6-.1-2.1-.6-.6-1.6-.5-2.1.1L24 5.6 19.7 1c-.6-.6-1.5-.6-2.1-.1-.6.6-.7 1.5-.1 2.1l3.2 3.5h-3.3C11.8 6.5 9.2 7.9 7 10c-2.1 2.2-3.5 4.8-3.5 10.4v13.1c0 5.7 1.4 8.3 3.5 10.5 2.2 2.1 4.8 3.5 10.4 3.5h13.1c5.7 0 8.3-1.4 10.5-3.5 2.1-2.2 3.5-4.8 3.5-10.4V20.5c0-5.7-1.4-8.3-3.5-10.5zm.5 23.6c0 5.2-1.3 7-2.6 8.3-1.4 1.3-3.2 2.6-8.4 2.6H17.4c-5.2 0-7-1.3-8.3-2.6-1.3-1.4-2.6-3.2-2.6-8.4v-13c0-5.2 1.3-7 2.6-8.3 1.4-1.3 3.2-2.6 8.4-2.6h13.1c5.2 0 7 1.3 8.3 2.6 1.3 1.4 2.6 3.2 2.6 8.4v13zM34.6 25l-9.1 2.8v-3.7c0-.5-.2-.9-.6-1.2-.4-.3-.9-.4-1.3-.2l-11.1 3.4c-.8.2-1.2 1.1-1 1.9.2.8 1.1 1.2 1.9 1l9.1-2.8v3.7c0 .5.2.9.6 1.2.3.2.6.3.9.3.1 0 .3 0 .4-.1l11.1-3.4c.8-.2 1.2-1.1 1-1.9s-1.1-1.2-1.9-1z">
</path>
</svg>
<p class="navigationItem__Text">Gallery</p>
</button>
</li>
<li class="navigationItem">
<button class="navigationItem__Button">
<svg aria-label="Tagged" class="navigationItem__Icon" fill="#8e8e8e" viewBox="0 0 48 48">
<path
d="M41.5 5.5H30.4c-.5 0-1-.2-1.4-.6l-4-4c-.6-.6-1.5-.6-2.1 0l-4 4c-.4.4-.9.6-1.4.6h-11c-3.3 0-6 2.7-6 6v30c0 3.3 2.7 6 6 6h35c3.3 0 6-2.7 6-6v-30c0-3.3-2.7-6-6-6zm-29.4 39c-.6 0-1.1-.6-1-1.2.7-3.2 3.5-5.6 6.8-5.6h12c3.4 0 6.2 2.4 6.8 5.6.1.6-.4 1.2-1 1.2H12.1zm32.4-3c0 1.7-1.3 3-3 3h-.6c-.5 0-.9-.4-1-.9-.6-5-4.8-8.9-9.9-8.9H18c-5.1 0-9.4 3.9-9.9 8.9-.1.5-.5.9-1 .9h-.6c-1.7 0-3-1.3-3-3v-30c0-1.7 1.3-3 3-3h11.1c1.3 0 2.6-.5 3.5-1.5L24 4.1 26.9 7c.9.9 2.2 1.5 3.5 1.5h11.1c1.7 0 3 1.3 3 3v30zM24 12.5c-5.3 0-9.6 4.3-9.6 9.6s4.3 9.6 9.6 9.6 9.6-4.3 9.6-9.6-4.3-9.6-9.6-9.6zm0 16.1c-3.6 0-6.6-2.9-6.6-6.6 0-3.6 2.9-6.6 6.6-6.6s6.6 2.9 6.6 6.6c0 3.6-3 6.6-6.6 6.6z">
</path>
</svg>
<p class="navigationItem__Text">Tagged</p>
</button>
</li>
</ul>
<section class="photosGrid">
<a href="#" title="metallic=1.0 | roughness=0.0" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/m1_r0.png')"></a>
<a href="#" title="metallic=0.0 | roughness=0.0 | specular=0.5" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/m0_r0_spec0.5.png')"></a>
<a href="#" title="metallic=0.0 | roughness=0.0 | sheen=0.5" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/r0_s1.png')"></a>
<a href="#" title="metallic=0.0 | roughness=0.5 | clearcoat=1.0" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/r0.5_c1.png')"></a>
<a href="#" title="metallic=0.0 | roughness=0.5" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/m0.0_r0.5.png')"></a>
<a href="#" title="default : metallic=0.0 | roughness=0.5" class="photosGrid__Photo"
style="background-image: url('content/images/2022/kazen-con-v001-report/param/default_m0_r0.5.png')"></a>
</section>
</main>
</body>
<script>
// Add active class to the current button (highlight it)
var header = document.getElementById("navigationList");
var btns = header.getElementsByClassName("navigationItem");
for (var i = 0; i < btns.length; i++) {
btns[i].addEventListener("click", function() {
var current = document.getElementsByClassName("active");
current[0].className = current[0].className.replace(" active", "");
this.className += " active";
});
}
</script>
</html>