質問編集履歴
1
css, htmlの該当部を追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,9 +52,19 @@
|
|
52
52
|
|
53
53
|
<header>
|
54
54
|
|
55
|
+
|
56
|
+
|
55
|
-
|
57
|
+
<h1>
|
58
|
+
|
56
|
-
|
59
|
+
<a href="index.html">
|
60
|
+
|
57
|
-
|
61
|
+
<div class="h-box">
|
62
|
+
|
63
|
+
<img id="top-image" src="logo.png" alt="見出し画像">
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
58
68
|
|
59
69
|
<!-- ------------------------クリック用ボタン ------------------------ -->
|
60
70
|
|
@@ -228,6 +238,180 @@
|
|
228
238
|
|
229
239
|
```css
|
230
240
|
|
241
|
+
@media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
html { font-size: 30.5%; }
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
body{
|
252
|
+
|
253
|
+
width: 100%;
|
254
|
+
|
255
|
+
margin:0;
|
256
|
+
|
257
|
+
padding:0;
|
258
|
+
|
259
|
+
background: repeating-linear-gradient(-45deg,#a9a9a9 0, #a9a9a9 0.5px,#dcdcdc 0.5px,#dcdcdc 1px);
|
260
|
+
|
261
|
+
display: flex;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
#site-box{
|
268
|
+
|
269
|
+
width: 100%;
|
270
|
+
|
271
|
+
color: #666666;
|
272
|
+
|
273
|
+
margin-left: auto;
|
274
|
+
|
275
|
+
margin-right: auto;
|
276
|
+
|
277
|
+
background-color: white;
|
278
|
+
|
279
|
+
/* display: flex; */
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
}
|
284
|
+
|
285
|
+
div.div_pages2{
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
font-size:4rem;
|
290
|
+
|
291
|
+
margin:10px;
|
292
|
+
|
293
|
+
color:white;
|
294
|
+
|
295
|
+
}
|
296
|
+
|
297
|
+
.pages3{
|
298
|
+
|
299
|
+
color:#bababa;
|
300
|
+
|
301
|
+
font: 2rem;
|
302
|
+
|
303
|
+
margin:0;
|
304
|
+
|
305
|
+
padding:0;
|
306
|
+
|
307
|
+
font-size:small;
|
308
|
+
|
309
|
+
}
|
310
|
+
|
311
|
+
/* ハンバーガー関連 */
|
312
|
+
|
313
|
+
.hum-line-absolute{
|
314
|
+
|
315
|
+
position:absolute;
|
316
|
+
|
317
|
+
top:50%;
|
318
|
+
|
319
|
+
left:85%;
|
320
|
+
|
321
|
+
transform: translateY(-45%);
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
.hum-line{
|
326
|
+
|
327
|
+
position: relative;
|
328
|
+
|
329
|
+
height: 36px;
|
330
|
+
|
331
|
+
width: 36px;
|
332
|
+
|
333
|
+
display: inline-block;
|
334
|
+
|
335
|
+
box-sizing: border-box;
|
336
|
+
|
337
|
+
background-color: #fff;
|
338
|
+
|
339
|
+
border: 2px solid #444;
|
340
|
+
|
341
|
+
border-radius: 4px;
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
}
|
346
|
+
|
347
|
+
.hum-1, .hum-2, .hum-3{
|
348
|
+
|
349
|
+
/* position: absolute; */
|
350
|
+
|
351
|
+
left: auto;
|
352
|
+
|
353
|
+
height: 4px;
|
354
|
+
|
355
|
+
width: 24px;
|
356
|
+
|
357
|
+
background-color: #444;
|
358
|
+
|
359
|
+
border-radius: 2px;
|
360
|
+
|
361
|
+
/* display: inline-block; */
|
362
|
+
|
363
|
+
box-sizing: border-box;
|
364
|
+
|
365
|
+
margin:4.5px;
|
366
|
+
|
367
|
+
/* letter-spacing:px; */
|
368
|
+
|
369
|
+
}
|
370
|
+
|
371
|
+
.hum-batsu{
|
372
|
+
|
373
|
+
font-size:3rem;
|
374
|
+
|
375
|
+
font-weight:bold;
|
376
|
+
|
377
|
+
float: right;
|
378
|
+
|
379
|
+
font-size:5rem;
|
380
|
+
|
381
|
+
font-weight:bold;
|
382
|
+
|
383
|
+
float: right;
|
384
|
+
|
385
|
+
padding-left:1.5rem;
|
386
|
+
|
387
|
+
padding-right:1.5rem;
|
388
|
+
|
389
|
+
padding-top:0px;
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
display: none;
|
394
|
+
|
395
|
+
box-sizing: border-box;
|
396
|
+
|
397
|
+
background-color: #fff;
|
398
|
+
|
399
|
+
border: 2px solid #444;
|
400
|
+
|
401
|
+
border-radius: 4px;
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
position:absolute;
|
406
|
+
|
407
|
+
top:50%;
|
408
|
+
|
409
|
+
left:85%;
|
410
|
+
|
411
|
+
transform: translateY(-50%);
|
412
|
+
|
413
|
+
}
|
414
|
+
|
231
415
|
.hum-ul{
|
232
416
|
|
233
417
|
position: absolute;
|
@@ -250,6 +434,24 @@
|
|
250
434
|
|
251
435
|
}
|
252
436
|
|
437
|
+
li.hum-li{
|
438
|
+
|
439
|
+
border-bottom: white dotted 1px;
|
440
|
+
|
441
|
+
width: 80%;
|
442
|
+
|
443
|
+
font-size: 2rem;
|
444
|
+
|
445
|
+
}
|
446
|
+
|
447
|
+
.hum-a{
|
448
|
+
|
449
|
+
text-decoration: none;
|
450
|
+
|
451
|
+
}
|
452
|
+
|
453
|
+
}
|
454
|
+
|
253
455
|
```
|
254
456
|
|
255
457
|
|