質問編集履歴
1
jQueryタグ追加、CSSソースの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -269,3 +269,183 @@
|
|
269
269
|
|
270
270
|
|
271
271
|
```
|
272
|
+
|
273
|
+
-----以下追記------
|
274
|
+
|
275
|
+
```CSS
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
/* 基本設定 */
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
#works {
|
284
|
+
|
285
|
+
display: flex;
|
286
|
+
|
287
|
+
flex-wrap: wrap;
|
288
|
+
|
289
|
+
justify-content: space-between;
|
290
|
+
|
291
|
+
margin: 0 auto;
|
292
|
+
|
293
|
+
text-align: center;
|
294
|
+
|
295
|
+
}
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
/* カテゴリー分け部分 */
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
.search_item {
|
304
|
+
|
305
|
+
display: inline-block;
|
306
|
+
|
307
|
+
cursor: pointer;
|
308
|
+
|
309
|
+
background: #7bc3d1;
|
310
|
+
|
311
|
+
color: #fff;
|
312
|
+
|
313
|
+
padding: 5px 12px;
|
314
|
+
|
315
|
+
margin: 0px 5px;
|
316
|
+
|
317
|
+
border-radius: 25px;
|
318
|
+
|
319
|
+
}
|
320
|
+
|
321
|
+
.search_item.is-active {
|
322
|
+
|
323
|
+
color: white;
|
324
|
+
|
325
|
+
background-color: black;
|
326
|
+
|
327
|
+
}
|
328
|
+
|
329
|
+
.search_item:hover {
|
330
|
+
|
331
|
+
opacity: 0.6;
|
332
|
+
|
333
|
+
transition-duration: 0.3s;
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
.is-hide {
|
340
|
+
|
341
|
+
display: none;
|
342
|
+
|
343
|
+
}
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
#page {
|
348
|
+
|
349
|
+
width: 1380px;
|
350
|
+
|
351
|
+
margin: 0 auto;
|
352
|
+
|
353
|
+
}
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
.searchList {
|
358
|
+
|
359
|
+
margin-bottom: 20px;
|
360
|
+
|
361
|
+
}
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
.list {
|
368
|
+
|
369
|
+
overflow: hidden;
|
370
|
+
|
371
|
+
justify-content: center
|
372
|
+
|
373
|
+
}
|
374
|
+
|
375
|
+
.list li {
|
376
|
+
|
377
|
+
float: left;
|
378
|
+
|
379
|
+
width: 19%;
|
380
|
+
|
381
|
+
margin: 0px 5px 10px 5px;
|
382
|
+
|
383
|
+
}
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
#more {
|
390
|
+
|
391
|
+
display: none;
|
392
|
+
|
393
|
+
}
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
#more_btn, #close_btn {
|
398
|
+
|
399
|
+
background-color: #7bc3d1;
|
400
|
+
|
401
|
+
color: #fff;
|
402
|
+
|
403
|
+
border: none;
|
404
|
+
|
405
|
+
cursor: pointer;
|
406
|
+
|
407
|
+
outline: none;
|
408
|
+
|
409
|
+
padding: 0;
|
410
|
+
|
411
|
+
height: 32px;
|
412
|
+
|
413
|
+
line-height: 32px;
|
414
|
+
|
415
|
+
width: 120px;
|
416
|
+
|
417
|
+
border-radius: 16px;
|
418
|
+
|
419
|
+
text-align: center;
|
420
|
+
|
421
|
+
margin: 0 auto;
|
422
|
+
|
423
|
+
margin-top: 35px;
|
424
|
+
|
425
|
+
z-index: 1;
|
426
|
+
|
427
|
+
clear: left;
|
428
|
+
|
429
|
+
}
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
.categories {
|
434
|
+
|
435
|
+
padding-bottom: 20px;
|
436
|
+
|
437
|
+
padding-top: 10px;
|
438
|
+
|
439
|
+
text-align: center;
|
440
|
+
|
441
|
+
}
|
442
|
+
|
443
|
+
.works-main {
|
444
|
+
|
445
|
+
display: flex;
|
446
|
+
|
447
|
+
flex-wrap: wrap;
|
448
|
+
|
449
|
+
}
|
450
|
+
|
451
|
+
```
|