質問編集履歴
1
css追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -149,3 +149,691 @@
|
|
149
149
|
コード
|
150
150
|
|
151
151
|
```
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
```css
|
156
|
+
|
157
|
+
@charset "utf-8";
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
/* -------------------------------------- */
|
162
|
+
|
163
|
+
/* common 全体共通 */
|
164
|
+
|
165
|
+
/* -------------------------------------- */
|
166
|
+
|
167
|
+
body{
|
168
|
+
|
169
|
+
width: auto;
|
170
|
+
|
171
|
+
margin:0;
|
172
|
+
|
173
|
+
background-color:whitesmoke;
|
174
|
+
|
175
|
+
padding: 0;
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
img{
|
180
|
+
|
181
|
+
vertical-align:bottom;
|
182
|
+
|
183
|
+
}
|
184
|
+
|
185
|
+
h1,h2,h3,p{
|
186
|
+
|
187
|
+
margin: 0;
|
188
|
+
|
189
|
+
padding: 0;
|
190
|
+
|
191
|
+
font-weight: normal;
|
192
|
+
|
193
|
+
/* font-family: 'Osaka',sans-serif; */
|
194
|
+
|
195
|
+
}
|
196
|
+
|
197
|
+
h1{
|
198
|
+
|
199
|
+
font-weight: bold;
|
200
|
+
|
201
|
+
font-size: 64px;
|
202
|
+
|
203
|
+
font-family: 'Caveat', cursive;
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
h3{
|
208
|
+
|
209
|
+
font-weight: bold;
|
210
|
+
|
211
|
+
font-size: 56px;
|
212
|
+
|
213
|
+
font-family: 'Caveat', cursive;
|
214
|
+
|
215
|
+
color:gray;
|
216
|
+
|
217
|
+
}
|
218
|
+
|
219
|
+
li{
|
220
|
+
|
221
|
+
list-style: none;
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
/* -------------------------------------- */
|
226
|
+
|
227
|
+
/* header */
|
228
|
+
|
229
|
+
/* -------------------------------------- */
|
230
|
+
|
231
|
+
/* header */
|
232
|
+
|
233
|
+
header .Prof{
|
234
|
+
|
235
|
+
color:gray;
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
header{
|
240
|
+
|
241
|
+
background-color:whitesmoke;
|
242
|
+
|
243
|
+
/* background-color: darkcyan; */
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
}
|
248
|
+
|
249
|
+
/* ヘッダ画像 */
|
250
|
+
|
251
|
+
header .container img{
|
252
|
+
|
253
|
+
background-size:cover;
|
254
|
+
|
255
|
+
width: 100%;
|
256
|
+
|
257
|
+
height: auto;
|
258
|
+
|
259
|
+
}
|
260
|
+
|
261
|
+
header .container p{
|
262
|
+
|
263
|
+
display: inline-block;
|
264
|
+
|
265
|
+
width: 500px;
|
266
|
+
|
267
|
+
color: black;
|
268
|
+
|
269
|
+
}
|
270
|
+
|
271
|
+
header h1{
|
272
|
+
|
273
|
+
/* 下記は写真いっぱいのサイズになる */
|
274
|
+
|
275
|
+
padding-top: 300px;
|
276
|
+
|
277
|
+
color: black;
|
278
|
+
|
279
|
+
}
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
/* -------------------------------------- */
|
284
|
+
|
285
|
+
/* main(About) */
|
286
|
+
|
287
|
+
/* -------------------------------------- */
|
288
|
+
|
289
|
+
main .container{
|
290
|
+
|
291
|
+
width: 1000px;
|
292
|
+
|
293
|
+
margin: 0 auto;
|
294
|
+
|
295
|
+
text-align: center;
|
296
|
+
|
297
|
+
}
|
298
|
+
|
299
|
+
main .container .page01{
|
300
|
+
|
301
|
+
/* width: 800px; */
|
302
|
+
|
303
|
+
justify-content: space-between;
|
304
|
+
|
305
|
+
padding: 32px 0px;
|
306
|
+
|
307
|
+
display: flex;
|
308
|
+
|
309
|
+
align-items: center;
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
main .image{
|
316
|
+
|
317
|
+
display: block;
|
318
|
+
|
319
|
+
margin: 0 auto;
|
320
|
+
|
321
|
+
}
|
322
|
+
|
323
|
+
main .Profile{
|
324
|
+
|
325
|
+
text-align: left;
|
326
|
+
|
327
|
+
font-size: 20px;
|
328
|
+
|
329
|
+
padding-left: 64px;
|
330
|
+
|
331
|
+
}
|
332
|
+
|
333
|
+
main h1{
|
334
|
+
|
335
|
+
text-align: center;
|
336
|
+
|
337
|
+
padding: 60px 0px;
|
338
|
+
|
339
|
+
}
|
340
|
+
|
341
|
+
main h3{
|
342
|
+
|
343
|
+
padding-top:60px;
|
344
|
+
|
345
|
+
padding-bottom: 20px;
|
346
|
+
|
347
|
+
}
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
/* ----------------------------------------------- */
|
352
|
+
|
353
|
+
/* ページトップへ */
|
354
|
+
|
355
|
+
/* ----------------------------------------------- */
|
356
|
+
|
357
|
+
#page_top{
|
358
|
+
|
359
|
+
width: 50px;
|
360
|
+
|
361
|
+
height: 50px;
|
362
|
+
|
363
|
+
position: fixed;
|
364
|
+
|
365
|
+
right: 0;
|
366
|
+
|
367
|
+
bottom: 0;
|
368
|
+
|
369
|
+
background:gray;
|
370
|
+
|
371
|
+
/* opacity: 0.6; */
|
372
|
+
|
373
|
+
border-radius: 5px;
|
374
|
+
|
375
|
+
}
|
376
|
+
|
377
|
+
#page_top a{
|
378
|
+
|
379
|
+
position: relative;
|
380
|
+
|
381
|
+
display: block;
|
382
|
+
|
383
|
+
width: 50px;
|
384
|
+
|
385
|
+
height: 50px;
|
386
|
+
|
387
|
+
text-decoration: none;
|
388
|
+
|
389
|
+
}
|
390
|
+
|
391
|
+
#page_top a::before{
|
392
|
+
|
393
|
+
font-family: 'Font Awesome 5 Free';
|
394
|
+
|
395
|
+
font-weight: 900;
|
396
|
+
|
397
|
+
content: '\f106';
|
398
|
+
|
399
|
+
font-size: 25px;
|
400
|
+
|
401
|
+
color: #fff;
|
402
|
+
|
403
|
+
position: absolute;
|
404
|
+
|
405
|
+
width: 25px;
|
406
|
+
|
407
|
+
height: 25px;
|
408
|
+
|
409
|
+
top: 0;
|
410
|
+
|
411
|
+
bottom: 0;
|
412
|
+
|
413
|
+
right: 0;
|
414
|
+
|
415
|
+
left: 0;
|
416
|
+
|
417
|
+
margin: auto;
|
418
|
+
|
419
|
+
text-align: center;
|
420
|
+
|
421
|
+
}
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
/* ----------------------------------------------- */
|
426
|
+
|
427
|
+
/* ハンバーガーメニュー処理 */
|
428
|
+
|
429
|
+
/* ----------------------------------------------- */
|
430
|
+
|
431
|
+
/* ハンバーガーメニュー アイコン */
|
432
|
+
|
433
|
+
header .sp-menu {
|
434
|
+
|
435
|
+
margin: 0;
|
436
|
+
|
437
|
+
/* margin-left: auto; */
|
438
|
+
|
439
|
+
text-align: center;
|
440
|
+
|
441
|
+
}
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
.sp-menu #open {
|
446
|
+
|
447
|
+
position: absolute;
|
448
|
+
|
449
|
+
top: 0px;
|
450
|
+
|
451
|
+
right: 0px;
|
452
|
+
|
453
|
+
font-size: 32px;
|
454
|
+
|
455
|
+
line-height: 50px;
|
456
|
+
|
457
|
+
margin-left: auto;
|
458
|
+
|
459
|
+
margin-right: auto;
|
460
|
+
|
461
|
+
cursor: pointer;
|
462
|
+
|
463
|
+
width: 50px;
|
464
|
+
|
465
|
+
height: 50px;
|
466
|
+
|
467
|
+
border-radius: 5px;
|
468
|
+
|
469
|
+
/* カーソル移動時固定する */
|
470
|
+
|
471
|
+
position: fixed;
|
472
|
+
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
/* // ハンバーガー三本を消す
|
478
|
+
|
479
|
+
open.classList.add('hide'); */
|
480
|
+
|
481
|
+
.sp-menu #open.hide{
|
482
|
+
|
483
|
+
display: none;
|
484
|
+
|
485
|
+
}
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
/*Menuの表示 */
|
490
|
+
|
491
|
+
.overlay {
|
492
|
+
|
493
|
+
font-size: 32px;
|
494
|
+
|
495
|
+
color:black;
|
496
|
+
|
497
|
+
position: fixed;
|
498
|
+
|
499
|
+
top: 0;
|
500
|
+
|
501
|
+
bottom: 0;
|
502
|
+
|
503
|
+
right: 0;
|
504
|
+
|
505
|
+
left: 0;
|
506
|
+
|
507
|
+
background: rgba(255, 255, 255, 0.95);
|
508
|
+
|
509
|
+
text-align: center;
|
510
|
+
|
511
|
+
padding: 64px;
|
512
|
+
|
513
|
+
opacity: 0;
|
514
|
+
|
515
|
+
pointer-events: none;
|
516
|
+
|
517
|
+
/* transition:opacity 0.6s; */
|
518
|
+
|
519
|
+
/* ふわっと表示させる */
|
520
|
+
|
521
|
+
transition: opacity .6s;
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
/* // メニュー画面を開く
|
528
|
+
|
529
|
+
overlay.classList.add('show'); */
|
530
|
+
|
531
|
+
.overlay.show {
|
532
|
+
|
533
|
+
opacity: 1;
|
534
|
+
|
535
|
+
/* マウスを */
|
536
|
+
|
537
|
+
pointer-events: auto;
|
538
|
+
|
539
|
+
/* background-color:grey; */
|
540
|
+
|
541
|
+
}
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
/* 「×」を右上に */
|
546
|
+
|
547
|
+
.overlay #close {
|
548
|
+
|
549
|
+
position: absolute;
|
550
|
+
|
551
|
+
top: 0px;
|
552
|
+
|
553
|
+
right: 0px;
|
554
|
+
|
555
|
+
font-size: 32px;
|
556
|
+
|
557
|
+
line-height: 50px;
|
558
|
+
|
559
|
+
cursor: pointer;
|
560
|
+
|
561
|
+
width: 50px;
|
562
|
+
|
563
|
+
height: 50px;
|
564
|
+
|
565
|
+
border-radius: 5px;
|
566
|
+
|
567
|
+
/* カーソル移動時固定する */
|
568
|
+
|
569
|
+
position: fixed;
|
570
|
+
|
571
|
+
}
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
/* LISTの●を非表示 */
|
576
|
+
|
577
|
+
.overlay ul {
|
578
|
+
|
579
|
+
list-style-type: none;
|
580
|
+
|
581
|
+
margin: 0;
|
582
|
+
|
583
|
+
padding: 0;
|
584
|
+
|
585
|
+
}
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
/* */
|
590
|
+
|
591
|
+
.overlay li {
|
592
|
+
|
593
|
+
margin-top: 24px;
|
594
|
+
|
595
|
+
/* 下からふわっと */
|
596
|
+
|
597
|
+
opacity: 0;
|
598
|
+
|
599
|
+
transform: translateY(16px);
|
600
|
+
|
601
|
+
transition: opacity 0.3s, transform .3s;
|
602
|
+
|
603
|
+
}
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
/* 下からふわっと */
|
608
|
+
|
609
|
+
/* overlayがshowの場合 */
|
610
|
+
|
611
|
+
.overlay.show li {
|
612
|
+
|
613
|
+
/* menuを表示 */
|
614
|
+
|
615
|
+
opacity: 1;
|
616
|
+
|
617
|
+
transform: none;
|
618
|
+
|
619
|
+
}
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
/* Menu1⇒ Menu2⇒ Menu3 の順に表示*/
|
624
|
+
|
625
|
+
.overlay.show li:nth-child(1) {
|
626
|
+
|
627
|
+
transition-delay: .1s;
|
628
|
+
|
629
|
+
}
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
.overlay.show li:nth-child(2) {
|
634
|
+
|
635
|
+
transition-delay: .2s;
|
636
|
+
|
637
|
+
}
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
.overlay.show li:nth-child(3) {
|
642
|
+
|
643
|
+
transition-delay: .3s;
|
644
|
+
|
645
|
+
}
|
646
|
+
|
647
|
+
.overlay.show li:nth-child(4) {
|
648
|
+
|
649
|
+
transition-delay: .4s;
|
650
|
+
|
651
|
+
}
|
652
|
+
|
653
|
+
.overlay.show li:nth-child(5) {
|
654
|
+
|
655
|
+
transition-delay: .5s;
|
656
|
+
|
657
|
+
}
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
@media(min-width: 100px) and (max-width: 800px){
|
662
|
+
|
663
|
+
h3{
|
664
|
+
|
665
|
+
font-size: 40px;
|
666
|
+
|
667
|
+
}
|
668
|
+
|
669
|
+
/* ----------------------------------------------- */
|
670
|
+
|
671
|
+
/* Top */
|
672
|
+
|
673
|
+
/* ----------------------------------------------- */
|
674
|
+
|
675
|
+
header .container p{
|
676
|
+
|
677
|
+
width: 300px;
|
678
|
+
|
679
|
+
}
|
680
|
+
|
681
|
+
header .container{
|
682
|
+
|
683
|
+
background-position:30% 40%;
|
684
|
+
|
685
|
+
}
|
686
|
+
|
687
|
+
/* 「Portforio」フォント */
|
688
|
+
|
689
|
+
header h1{
|
690
|
+
|
691
|
+
padding-top: 140px;
|
692
|
+
|
693
|
+
}
|
694
|
+
|
695
|
+
/* ----------------------------------------------- */
|
696
|
+
|
697
|
+
/* About */
|
698
|
+
|
699
|
+
/* ----------------------------------------------- */
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
main .container{
|
704
|
+
|
705
|
+
width: auto;
|
706
|
+
|
707
|
+
margin: 0
|
708
|
+
|
709
|
+
}
|
710
|
+
|
711
|
+
main .container .page01{
|
712
|
+
|
713
|
+
display:block;
|
714
|
+
|
715
|
+
margin: 0px auto;
|
716
|
+
|
717
|
+
padding: 0px 0px;
|
718
|
+
|
719
|
+
width: 95%;
|
720
|
+
|
721
|
+
/* background-color: burlywood; */
|
722
|
+
|
723
|
+
}
|
724
|
+
|
725
|
+
main .image{
|
726
|
+
|
727
|
+
display: block;
|
728
|
+
|
729
|
+
margin: 0;
|
730
|
+
|
731
|
+
}
|
732
|
+
|
733
|
+
main .Profile{
|
734
|
+
|
735
|
+
text-align: left;
|
736
|
+
|
737
|
+
font-size: 20px;
|
738
|
+
|
739
|
+
padding-top: 16px;
|
740
|
+
|
741
|
+
padding-left: 16px;
|
742
|
+
|
743
|
+
}
|
744
|
+
|
745
|
+
main h1{
|
746
|
+
|
747
|
+
margin:0px;
|
748
|
+
|
749
|
+
padding: 0px;
|
750
|
+
|
751
|
+
}
|
752
|
+
|
753
|
+
main h3{
|
754
|
+
|
755
|
+
margin:0px;
|
756
|
+
|
757
|
+
}
|
758
|
+
|
759
|
+
/* ----------------------------------------------- */
|
760
|
+
|
761
|
+
/* スキルBOX */
|
762
|
+
|
763
|
+
/* ----------------------------------------------- */
|
764
|
+
|
765
|
+
main .page02 .slkillpanel{
|
766
|
+
|
767
|
+
/* スキルBOXを縦並びにします */
|
768
|
+
|
769
|
+
display: block;
|
770
|
+
|
771
|
+
/* margin: 0 auto; */
|
772
|
+
|
773
|
+
}
|
774
|
+
|
775
|
+
main .page02 .skillbox{
|
776
|
+
|
777
|
+
margin: 20px auto;
|
778
|
+
|
779
|
+
padding: 10px 0px;
|
780
|
+
|
781
|
+
box-sizing: border-box;
|
782
|
+
|
783
|
+
}
|
784
|
+
|
785
|
+
/* フロントエンド、DB、その他 */
|
786
|
+
|
787
|
+
main .page02 span{
|
788
|
+
|
789
|
+
font-size: 16px;
|
790
|
+
|
791
|
+
}
|
792
|
+
|
793
|
+
|
794
|
+
|
795
|
+
/* -------------------------------------- */
|
796
|
+
|
797
|
+
/* 【WORK】 */
|
798
|
+
|
799
|
+
/* -------------------------------------- */
|
800
|
+
|
801
|
+
.page03 .copylp{
|
802
|
+
|
803
|
+
display: block;
|
804
|
+
|
805
|
+
/* float: left; */
|
806
|
+
|
807
|
+
/* background-color: brown; */
|
808
|
+
|
809
|
+
|
810
|
+
|
811
|
+
/* margin-bottom: 8px; */
|
812
|
+
|
813
|
+
}
|
814
|
+
|
815
|
+
.page03 img{
|
816
|
+
|
817
|
+
margin-bottom: 16px;
|
818
|
+
|
819
|
+
}
|
820
|
+
|
821
|
+
|
822
|
+
|
823
|
+
.page03 .workpanel{
|
824
|
+
|
825
|
+
font-size: 12px;
|
826
|
+
|
827
|
+
/* height: 650px;
|
828
|
+
|
829
|
+
*/
|
830
|
+
|
831
|
+
height: auto;
|
832
|
+
|
833
|
+
margin-bottom: 30px;
|
834
|
+
|
835
|
+
}
|
836
|
+
|
837
|
+
}
|
838
|
+
|
839
|
+
```
|