質問編集履歴
3
完成のcssを読み込んで撮影しました。2枚目の画像が完成図になります。
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,6 +20,8 @@
|
|
20
20
|
|
21
21
|
![イメージ説明](f56bf2ec0e624cfab5c6226c53a3a005.png)
|
22
22
|
|
23
|
+
![イメージ説明](bffd2163575a193b688c0ea2d2a474cf.png)
|
24
|
+
|
23
25
|
```html
|
24
26
|
|
25
27
|
<!DOCTYPE html>
|
2
何度も申し訳ありません。よろしくお願いします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
のpage-titleの処理は反映されるのですが
|
10
10
|
|
11
|
-
それ以降のコードが反映されません。
|
11
|
+
それ以降のコードが反映されません。
|
12
12
|
|
13
13
|
600px状態の写真を添付します。
|
14
14
|
|
@@ -18,8 +18,170 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
+
![イメージ説明](f56bf2ec0e624cfab5c6226c53a3a005.png)
|
22
|
+
|
21
23
|
```html
|
22
24
|
|
25
|
+
<!DOCTYPE html>
|
26
|
+
|
27
|
+
<html lang="ja">
|
28
|
+
|
29
|
+
<head>
|
30
|
+
|
31
|
+
<meta charset="utf-8">
|
32
|
+
|
33
|
+
<title>WCB Cafe - NEWS</title>
|
34
|
+
|
35
|
+
<meta name="description" content="ブレンドコーヒーとヘルシーな
|
36
|
+
|
37
|
+
オーガニックフードを提供するカフェ">
|
38
|
+
|
39
|
+
<link rel="icon" type="image/png" href="images/favicon.png">
|
40
|
+
|
41
|
+
<!--css-->
|
42
|
+
|
43
|
+
<link rel="stylesheet" href="https://unpkg.com/ress/dist/ress.min.css">
|
44
|
+
|
45
|
+
<link href="https://fonts.googleapis.com/css?family=Philosopher" rel="stylesheet">
|
46
|
+
|
47
|
+
<link href="css/style.css" rel="stylesheet">
|
48
|
+
|
49
|
+
<meta name="viewport" content="widht=device-width, initial-scale=1">
|
50
|
+
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
|
55
|
+
<div id="news" class="big-bg">
|
56
|
+
|
57
|
+
<header class="page-header wrapper">
|
58
|
+
|
59
|
+
<h1><a href="index.html"><img class="logo" src="images/logo.svg" alt="WBCカフェホーム"></a></h1>
|
60
|
+
|
61
|
+
<nav>
|
62
|
+
|
63
|
+
<ul class="main-nav">
|
64
|
+
|
65
|
+
<li><a href="news.html">news</a></li>
|
66
|
+
|
67
|
+
<li><a href="menu.html">menu</a></li>
|
68
|
+
|
69
|
+
<li><a href="contact.html">contact</a></li>
|
70
|
+
|
71
|
+
</ul>
|
72
|
+
|
73
|
+
</nav>
|
74
|
+
|
75
|
+
</header>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div class="wrapper">
|
80
|
+
|
81
|
+
<h2 class="page-title">News</h2>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div class="news-contents wrapper">
|
88
|
+
|
89
|
+
<article>
|
90
|
+
|
91
|
+
<header class="post-info">
|
92
|
+
|
93
|
+
<h2 class="post-title">店内のギャラリーの絵が新しくなりました</h2>
|
94
|
+
|
95
|
+
<p class="post-date">3/30<span>2019</span></p>
|
96
|
+
|
97
|
+
<p class="post-cut">カテゴリー:お店の紹介</p>
|
98
|
+
|
99
|
+
</header>
|
100
|
+
|
101
|
+
<img src="images/wall.jpg" alt="店内の様子">
|
102
|
+
|
103
|
+
<p>
|
104
|
+
|
105
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
106
|
+
|
107
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
108
|
+
|
109
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
110
|
+
|
111
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
112
|
+
|
113
|
+
</p>
|
114
|
+
|
115
|
+
<p>
|
116
|
+
|
117
|
+
体に優しい体にやししい 体に優しい体にやししい
|
118
|
+
|
119
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
120
|
+
|
121
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
122
|
+
|
123
|
+
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
124
|
+
|
125
|
+
</p>
|
126
|
+
|
127
|
+
<p>体に優しい自然食を提供する、</p>
|
128
|
+
|
129
|
+
</article>
|
130
|
+
|
131
|
+
<aside>
|
132
|
+
|
133
|
+
<h3 class="sub-title">カテゴリー</h3>
|
134
|
+
|
135
|
+
<ul class="sub-menu">
|
136
|
+
|
137
|
+
<li><a href="#">お店の紹介</a></li>
|
138
|
+
|
139
|
+
<li><a href="#">期間限定メニュー</a></li>
|
140
|
+
|
141
|
+
<li><a href="#">イベント</a></li>
|
142
|
+
|
143
|
+
<li><a href="#">お客様との会話</a></li>
|
144
|
+
|
145
|
+
</ul>
|
146
|
+
|
147
|
+
<h3 class="sub-title">このお店について</h3>
|
148
|
+
|
149
|
+
<p>
|
150
|
+
|
151
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
152
|
+
|
153
|
+
美味しいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒されてください。
|
154
|
+
|
155
|
+
</p>
|
156
|
+
|
157
|
+
</aside>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<footer>
|
162
|
+
|
163
|
+
<div class="wrapper">
|
164
|
+
|
165
|
+
<p><small>© 2019 Manabox</small></p>
|
166
|
+
|
167
|
+
</div>
|
168
|
+
|
169
|
+
</footer>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
</body>
|
174
|
+
|
175
|
+
</html>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
```
|
182
|
+
|
183
|
+
```css
|
184
|
+
|
23
185
|
@charset "UTF-8";
|
24
186
|
|
25
187
|
|
@@ -408,396 +570,6 @@
|
|
408
570
|
|
409
571
|
```
|
410
572
|
|
411
|
-
```css
|
412
|
-
|
413
|
-
@charset "UTF-8";
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
/*共通部分
|
418
|
-
|
419
|
-
----------------------*/
|
420
|
-
|
421
|
-
html{
|
422
|
-
|
423
|
-
font-size:100%;
|
424
|
-
|
425
|
-
}
|
426
|
-
|
427
|
-
body{
|
428
|
-
|
429
|
-
font-family: "Yu Gothic";
|
430
|
-
|
431
|
-
line-height: 1.7;
|
432
|
-
|
433
|
-
color:#432;
|
434
|
-
|
435
|
-
}
|
436
|
-
|
437
|
-
a{
|
438
|
-
|
439
|
-
text-decoration:none;
|
440
|
-
|
441
|
-
}
|
442
|
-
|
443
|
-
img{
|
444
|
-
|
445
|
-
width:100%;
|
446
|
-
|
447
|
-
}
|
448
|
-
|
449
|
-
.logo{
|
450
|
-
|
451
|
-
width:210px;
|
452
|
-
|
453
|
-
margin-top:14px;
|
454
|
-
|
455
|
-
}
|
456
|
-
|
457
|
-
.main-nav{
|
458
|
-
|
459
|
-
display: flex;
|
460
|
-
|
461
|
-
font-size: 1.25rem;
|
462
|
-
|
463
|
-
text-transform: uppercase;
|
464
|
-
|
465
|
-
margin-top: 34px;
|
466
|
-
|
467
|
-
list-style:none;
|
468
|
-
|
469
|
-
}
|
470
|
-
|
471
|
-
.main-nav li{
|
472
|
-
|
473
|
-
margin-left:36px;
|
474
|
-
|
475
|
-
}
|
476
|
-
|
477
|
-
.main-nav a{
|
478
|
-
|
479
|
-
color:#432;
|
480
|
-
|
481
|
-
}
|
482
|
-
|
483
|
-
.main-nav a:hover{
|
484
|
-
|
485
|
-
color:#0bd;
|
486
|
-
|
487
|
-
}
|
488
|
-
|
489
|
-
.page-header{
|
490
|
-
|
491
|
-
display: flex;
|
492
|
-
|
493
|
-
justify-content: space-between;
|
494
|
-
|
495
|
-
}
|
496
|
-
|
497
|
-
.wrapper{
|
498
|
-
|
499
|
-
max-width: 1100px;
|
500
|
-
|
501
|
-
margin: 0 auto;
|
502
|
-
|
503
|
-
padding: 0 4%;
|
504
|
-
|
505
|
-
}
|
506
|
-
|
507
|
-
.home-content{
|
508
|
-
|
509
|
-
text-align:center;
|
510
|
-
|
511
|
-
margin-top:10%;
|
512
|
-
|
513
|
-
}
|
514
|
-
|
515
|
-
.home-content p{
|
516
|
-
|
517
|
-
font-size:1.125rem;
|
518
|
-
|
519
|
-
margin: 10px 0 42px;
|
520
|
-
|
521
|
-
}
|
522
|
-
|
523
|
-
.page-title{
|
524
|
-
|
525
|
-
font-size:5rem;
|
526
|
-
|
527
|
-
font-family: 'philosopher',serif;
|
528
|
-
|
529
|
-
text-transform:uppercase;
|
530
|
-
|
531
|
-
font-weight:normal;
|
532
|
-
|
533
|
-
}
|
534
|
-
|
535
|
-
.button{
|
536
|
-
|
537
|
-
font-size:1.375rem;
|
538
|
-
|
539
|
-
background:#0bd;
|
540
|
-
|
541
|
-
color:#fff;
|
542
|
-
|
543
|
-
border-radius:5px;
|
544
|
-
|
545
|
-
padding:18px 32px
|
546
|
-
|
547
|
-
}
|
548
|
-
|
549
|
-
.button:hover{
|
550
|
-
|
551
|
-
background:#0090aa;
|
552
|
-
|
553
|
-
}
|
554
|
-
|
555
|
-
.big-bg{
|
556
|
-
|
557
|
-
background-size:cover;
|
558
|
-
|
559
|
-
background-position:center top;
|
560
|
-
|
561
|
-
background-repeat:no-repeat;
|
562
|
-
|
563
|
-
}
|
564
|
-
|
565
|
-
#home {
|
566
|
-
|
567
|
-
background-image: url(../images/main-bg.jpg),linear-gradient(#c9ffbf,#ffafbd);
|
568
|
-
|
569
|
-
background-blend-mode:luminosity;
|
570
|
-
|
571
|
-
min-height:100vh;
|
572
|
-
|
573
|
-
}
|
574
|
-
|
575
|
-
#home .page-title{
|
576
|
-
|
577
|
-
text-transform: none;
|
578
|
-
|
579
|
-
}
|
580
|
-
|
581
|
-
#news{
|
582
|
-
|
583
|
-
background-image: url(../images/news-bg.jpg);
|
584
|
-
|
585
|
-
height:270px;
|
586
|
-
|
587
|
-
margin-bottom:40px;
|
588
|
-
|
589
|
-
}
|
590
|
-
|
591
|
-
#news .page-title {
|
592
|
-
|
593
|
-
text-align: center;
|
594
|
-
|
595
|
-
}
|
596
|
-
|
597
|
-
footer{
|
598
|
-
|
599
|
-
background:#432;
|
600
|
-
|
601
|
-
text-align:center;
|
602
|
-
|
603
|
-
padding: 26px 0;
|
604
|
-
|
605
|
-
}
|
606
|
-
|
607
|
-
footer p{
|
608
|
-
|
609
|
-
color:#fff;
|
610
|
-
|
611
|
-
font-size: 0.875rem;
|
612
|
-
|
613
|
-
}
|
614
|
-
|
615
|
-
article{
|
616
|
-
|
617
|
-
width:74%;
|
618
|
-
|
619
|
-
}
|
620
|
-
|
621
|
-
aside{
|
622
|
-
|
623
|
-
width:22%;
|
624
|
-
|
625
|
-
}
|
626
|
-
|
627
|
-
.news-contents{
|
628
|
-
|
629
|
-
display:flex;
|
630
|
-
|
631
|
-
justify-content:space-between;
|
632
|
-
|
633
|
-
margin-bottom:50px;
|
634
|
-
|
635
|
-
}
|
636
|
-
|
637
|
-
.post-info{
|
638
|
-
|
639
|
-
position:relative;
|
640
|
-
|
641
|
-
padding-top:4px;
|
642
|
-
|
643
|
-
margin-bottom:40px;
|
644
|
-
|
645
|
-
}
|
646
|
-
|
647
|
-
.post-date{
|
648
|
-
|
649
|
-
background:#0bd;
|
650
|
-
|
651
|
-
border-radius:50%;
|
652
|
-
|
653
|
-
color:#fff;
|
654
|
-
|
655
|
-
width:100px;
|
656
|
-
|
657
|
-
height:100px;
|
658
|
-
|
659
|
-
font-size:1.625rem;
|
660
|
-
|
661
|
-
text-align:center;
|
662
|
-
|
663
|
-
position:absolute;
|
664
|
-
|
665
|
-
top:0;
|
666
|
-
|
667
|
-
padding-top:10px;
|
668
|
-
|
669
|
-
}
|
670
|
-
|
671
|
-
.post-date span{
|
672
|
-
|
673
|
-
font-size:1rem;
|
674
|
-
|
675
|
-
border-top:1px rgba(255,255,255,.5)solid ;
|
676
|
-
|
677
|
-
padding-top:6px;
|
678
|
-
|
679
|
-
display:block;
|
680
|
-
|
681
|
-
width:60%;
|
682
|
-
|
683
|
-
margin:0 auto;
|
684
|
-
|
685
|
-
}
|
686
|
-
|
687
|
-
.post-title{
|
688
|
-
|
689
|
-
font-family:"Yu Mincho","YuMincho",serif;
|
690
|
-
|
691
|
-
font-size:2rem;
|
692
|
-
|
693
|
-
font-weight:normal;
|
694
|
-
|
695
|
-
}
|
696
|
-
|
697
|
-
.post-title,
|
698
|
-
|
699
|
-
.post-cut{
|
700
|
-
|
701
|
-
margin-left:120px;
|
702
|
-
|
703
|
-
}
|
704
|
-
|
705
|
-
article img{
|
706
|
-
|
707
|
-
margin-bottom:20px;
|
708
|
-
|
709
|
-
}
|
710
|
-
|
711
|
-
article p{
|
712
|
-
|
713
|
-
margin-bottom: 1rem;
|
714
|
-
|
715
|
-
}
|
716
|
-
|
717
|
-
.sub-title{
|
718
|
-
|
719
|
-
font-size:1.375rem;
|
720
|
-
|
721
|
-
padding:0 8px 8px;
|
722
|
-
|
723
|
-
border-bottom:2px #0bd solid;
|
724
|
-
|
725
|
-
font-weight:normal;
|
726
|
-
|
727
|
-
}
|
728
|
-
|
729
|
-
aside p{
|
730
|
-
|
731
|
-
padding:12px 10px;
|
732
|
-
|
733
|
-
}
|
734
|
-
|
735
|
-
.sub-menu{
|
736
|
-
|
737
|
-
margin-bottom:60px;
|
738
|
-
|
739
|
-
list-style-type:none;
|
740
|
-
|
741
|
-
}
|
742
|
-
|
743
|
-
.sub-menu li{
|
744
|
-
|
745
|
-
border-bottom:1px #ddd solid;
|
746
|
-
|
747
|
-
}
|
748
|
-
|
749
|
-
.sub-menu a{
|
750
|
-
|
751
|
-
columns: #432;
|
752
|
-
|
753
|
-
padding:10px;
|
754
|
-
|
755
|
-
display:block;
|
756
|
-
|
757
|
-
}
|
758
|
-
|
759
|
-
.sub-menu a:hover{
|
760
|
-
|
761
|
-
color:#0bd;
|
762
|
-
|
763
|
-
}
|
764
|
-
|
765
|
-
@media (max-width: 600px) {
|
766
|
-
|
767
|
-
.page-title{
|
768
|
-
|
769
|
-
font-size:2.5rem;
|
770
|
-
|
771
|
-
}
|
772
|
-
|
773
|
-
.main-nav{
|
774
|
-
|
775
|
-
font-size:1rem;
|
776
|
-
|
777
|
-
margin-top:10px;
|
778
|
-
|
779
|
-
}
|
780
|
-
|
781
|
-
.main-nav li{
|
782
|
-
|
783
|
-
margin:0 20px;
|
784
|
-
|
785
|
-
}
|
786
|
-
|
787
|
-
.home-content{
|
788
|
-
|
789
|
-
margin-top:20%;
|
790
|
-
|
791
|
-
}
|
792
|
-
|
793
|
-
}
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
```
|
800
|
-
|
801
573
|
### 試したこと
|
802
574
|
|
803
575
|
|
1
至らぬ点が多々あり申し訳ありません。修正しましたのでよろしくお願いします
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,176 +1,24 @@
|
|
1
|
-
HTMLのレスポンシブデザインの適応をさせたいです。
|
1
|
+
```HTMLのレスポンシブデザインの適応をさせたいです。
|
2
2
|
|
3
3
|
部分的には反映されるのですが、一部反映されない部分があります。
|
4
4
|
|
5
|
-
|
5
|
+
追記
|
6
|
+
|
6
|
-
|
7
|
+
@media (max-width: 600px)
|
8
|
+
|
7
|
-
|
9
|
+
のpage-titleの処理は反映されるのですが
|
10
|
+
|
8
|
-
|
11
|
+
それ以降のコードが反映されません。![イメージ説明](f56bf2ec0e624cfab5c6226c53a3a005.png)
|
12
|
+
|
9
|
-
|
13
|
+
600px状態の写真を添付します。
|
10
14
|
|
11
15
|
|
12
16
|
|
13
17
|
エラーメッセージ:特になし
|
14
18
|
|
15
|
-
|
16
|
-
|
17
|
-
### 該当のソースコード
|
18
|
-
|
19
|
-
<!DOCTYPE html>
|
20
|
-
|
21
|
-
<html lang="ja">
|
22
|
-
|
23
|
-
<head>
|
24
|
-
|
25
|
-
<meta charset="utf-8">
|
26
|
-
|
27
|
-
<title>WCB Cafe - NEWS</title>
|
28
|
-
|
29
|
-
<meta name="description" content="ブレンドコーヒーとヘルシーな
|
30
|
-
|
31
|
-
オーガニックフードを提供するカフェ">
|
32
|
-
|
33
|
-
<link rel="icon" type="image/png" href="images/favicon.png">
|
34
|
-
|
35
|
-
<!--css-->
|
36
|
-
|
37
|
-
<link rel="stylesheet" href="https://unpkg.com/ress/dist/ress.min.css">
|
38
|
-
|
39
|
-
<link href="https://fonts.googleapis.com/css?family=Philosopher" rel="stylesheet">
|
40
|
-
|
41
|
-
<link href="css/style.css" rel="stylesheet">
|
42
|
-
|
43
|
-
<meta name="viewport" content="widht=device-width, initial-scale=1">
|
44
|
-
|
45
|
-
</head>
|
46
|
-
|
47
|
-
<body>
|
48
|
-
|
49
|
-
<div id="news" class="big-bg">
|
50
|
-
|
51
|
-
<header class="page-header wrapper">
|
52
|
-
|
53
|
-
<h1><a href="index.html"><img class="logo" src="images/logo.svg" alt="WBCカフェホーム"></a></h1>
|
54
|
-
|
55
|
-
<nav>
|
56
|
-
|
57
|
-
<ul class="main-nav">
|
58
|
-
|
59
|
-
<li><a href="news.html">news</a></li>
|
60
|
-
|
61
|
-
<li><a href="menu.html">menu</a></li>
|
62
|
-
|
63
|
-
<li><a href="contact.html">contact</a></li>
|
64
|
-
|
65
|
-
</ul>
|
66
|
-
|
67
|
-
</nav>
|
68
|
-
|
69
|
-
</header>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div class="wrapper">
|
74
|
-
|
75
|
-
<h2 class="page-title">News</h2>
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<div class="news-contents wrapper">
|
82
|
-
|
83
|
-
<article>
|
84
|
-
|
85
|
-
<header class="post-info">
|
86
|
-
|
87
|
-
<h2 class="post-title">店内のギャラリーの絵が新しくなりました</h2>
|
88
|
-
|
89
|
-
<p class="post-date">3/30<span>2019</span></p>
|
90
|
-
|
91
|
-
<p class="post-cut">カテゴリー:お店の紹介</p>
|
92
|
-
|
93
|
-
</header>
|
94
|
-
|
95
|
-
<img src="images/wall.jpg" alt="店内の様子">
|
96
|
-
|
97
|
-
<p>
|
98
|
-
|
99
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
100
|
-
|
101
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
102
|
-
|
103
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
104
|
-
|
105
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
106
|
-
|
107
|
-
</p>
|
108
|
-
|
109
|
-
<p>
|
110
|
-
|
111
|
-
体に優しい体にやししい 体に優しい体にやししい
|
112
|
-
|
113
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
114
|
-
|
115
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
116
|
-
|
117
|
-
体に優しい体にやししい 体に優しい体にやししい 体に優しい体にやししい
|
118
|
-
|
119
|
-
</p>
|
120
|
-
|
121
|
-
<p>体に優しい自然食を提供する、</p>
|
122
|
-
|
123
|
-
</article>
|
124
|
-
|
125
|
-
<aside>
|
126
|
-
|
127
|
-
<h3 class="sub-title">カテゴリー</h3>
|
128
|
-
|
129
|
-
<ul class="sub-menu">
|
130
|
-
|
131
|
-
<li><a href="#">お店の紹介</a></li>
|
132
|
-
|
133
|
-
<li><a href="#">期間限定メニュー</a></li>
|
134
|
-
|
135
|
-
<li><a href="#">イベント</a></li>
|
136
|
-
|
137
|
-
<li><a href="#">お客様との会話</a></li>
|
138
|
-
|
139
|
-
</ul>
|
140
|
-
|
141
|
-
<h3 class="sub-title">このお店について</h3>
|
142
|
-
|
143
|
-
<p>
|
144
|
-
|
145
|
-
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
146
|
-
|
147
|
-
美味しいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒されてください。
|
148
|
-
|
149
|
-
</p>
|
150
|
-
|
151
|
-
</aside>
|
152
|
-
|
153
|
-
</div>
|
154
|
-
|
155
|
-
<footer>
|
156
|
-
|
157
|
-
<div class="wrapper">
|
158
|
-
|
159
|
-
<p><small>© 2019 Manabox</small></p>
|
160
|
-
|
161
|
-
</div>
|
162
|
-
|
163
|
-
</footer>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
</body>
|
168
|
-
|
169
|
-
</html>
|
170
|
-
|
171
|
-
----------------------------/
|
172
|
-
|
173
|
-
|
19
|
+
```
|
20
|
+
|
21
|
+
```html
|
174
22
|
|
175
23
|
@charset "UTF-8";
|
176
24
|
|
@@ -558,11 +406,397 @@
|
|
558
406
|
|
559
407
|
|
560
408
|
|
561
|
-
|
409
|
+
```
|
410
|
+
|
562
|
-
|
411
|
+
```css
|
412
|
+
|
563
|
-
|
413
|
+
@charset "UTF-8";
|
414
|
+
|
415
|
+
|
416
|
+
|
564
|
-
|
417
|
+
/*共通部分
|
418
|
+
|
565
|
-
|
419
|
+
----------------------*/
|
420
|
+
|
421
|
+
html{
|
422
|
+
|
423
|
+
font-size:100%;
|
424
|
+
|
425
|
+
}
|
426
|
+
|
427
|
+
body{
|
428
|
+
|
429
|
+
font-family: "Yu Gothic";
|
430
|
+
|
431
|
+
line-height: 1.7;
|
432
|
+
|
433
|
+
color:#432;
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
a{
|
438
|
+
|
439
|
+
text-decoration:none;
|
440
|
+
|
441
|
+
}
|
442
|
+
|
443
|
+
img{
|
444
|
+
|
445
|
+
width:100%;
|
446
|
+
|
447
|
+
}
|
448
|
+
|
449
|
+
.logo{
|
450
|
+
|
451
|
+
width:210px;
|
452
|
+
|
453
|
+
margin-top:14px;
|
454
|
+
|
455
|
+
}
|
456
|
+
|
457
|
+
.main-nav{
|
458
|
+
|
459
|
+
display: flex;
|
460
|
+
|
461
|
+
font-size: 1.25rem;
|
462
|
+
|
463
|
+
text-transform: uppercase;
|
464
|
+
|
465
|
+
margin-top: 34px;
|
466
|
+
|
467
|
+
list-style:none;
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
.main-nav li{
|
472
|
+
|
473
|
+
margin-left:36px;
|
474
|
+
|
475
|
+
}
|
476
|
+
|
477
|
+
.main-nav a{
|
478
|
+
|
479
|
+
color:#432;
|
480
|
+
|
481
|
+
}
|
482
|
+
|
483
|
+
.main-nav a:hover{
|
484
|
+
|
485
|
+
color:#0bd;
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
.page-header{
|
490
|
+
|
491
|
+
display: flex;
|
492
|
+
|
493
|
+
justify-content: space-between;
|
494
|
+
|
495
|
+
}
|
496
|
+
|
497
|
+
.wrapper{
|
498
|
+
|
499
|
+
max-width: 1100px;
|
500
|
+
|
501
|
+
margin: 0 auto;
|
502
|
+
|
503
|
+
padding: 0 4%;
|
504
|
+
|
505
|
+
}
|
506
|
+
|
507
|
+
.home-content{
|
508
|
+
|
509
|
+
text-align:center;
|
510
|
+
|
511
|
+
margin-top:10%;
|
512
|
+
|
513
|
+
}
|
514
|
+
|
515
|
+
.home-content p{
|
516
|
+
|
517
|
+
font-size:1.125rem;
|
518
|
+
|
519
|
+
margin: 10px 0 42px;
|
520
|
+
|
521
|
+
}
|
522
|
+
|
523
|
+
.page-title{
|
524
|
+
|
525
|
+
font-size:5rem;
|
526
|
+
|
527
|
+
font-family: 'philosopher',serif;
|
528
|
+
|
529
|
+
text-transform:uppercase;
|
530
|
+
|
531
|
+
font-weight:normal;
|
532
|
+
|
533
|
+
}
|
534
|
+
|
535
|
+
.button{
|
536
|
+
|
537
|
+
font-size:1.375rem;
|
538
|
+
|
539
|
+
background:#0bd;
|
540
|
+
|
541
|
+
color:#fff;
|
542
|
+
|
543
|
+
border-radius:5px;
|
544
|
+
|
545
|
+
padding:18px 32px
|
546
|
+
|
547
|
+
}
|
548
|
+
|
549
|
+
.button:hover{
|
550
|
+
|
551
|
+
background:#0090aa;
|
552
|
+
|
553
|
+
}
|
554
|
+
|
555
|
+
.big-bg{
|
556
|
+
|
557
|
+
background-size:cover;
|
558
|
+
|
559
|
+
background-position:center top;
|
560
|
+
|
561
|
+
background-repeat:no-repeat;
|
562
|
+
|
563
|
+
}
|
564
|
+
|
565
|
+
#home {
|
566
|
+
|
567
|
+
background-image: url(../images/main-bg.jpg),linear-gradient(#c9ffbf,#ffafbd);
|
568
|
+
|
569
|
+
background-blend-mode:luminosity;
|
570
|
+
|
571
|
+
min-height:100vh;
|
572
|
+
|
573
|
+
}
|
574
|
+
|
575
|
+
#home .page-title{
|
576
|
+
|
577
|
+
text-transform: none;
|
578
|
+
|
579
|
+
}
|
580
|
+
|
581
|
+
#news{
|
582
|
+
|
583
|
+
background-image: url(../images/news-bg.jpg);
|
584
|
+
|
585
|
+
height:270px;
|
586
|
+
|
587
|
+
margin-bottom:40px;
|
588
|
+
|
589
|
+
}
|
590
|
+
|
591
|
+
#news .page-title {
|
592
|
+
|
593
|
+
text-align: center;
|
594
|
+
|
595
|
+
}
|
596
|
+
|
597
|
+
footer{
|
598
|
+
|
599
|
+
background:#432;
|
600
|
+
|
601
|
+
text-align:center;
|
602
|
+
|
603
|
+
padding: 26px 0;
|
604
|
+
|
605
|
+
}
|
606
|
+
|
607
|
+
footer p{
|
608
|
+
|
609
|
+
color:#fff;
|
610
|
+
|
611
|
+
font-size: 0.875rem;
|
612
|
+
|
613
|
+
}
|
614
|
+
|
615
|
+
article{
|
616
|
+
|
617
|
+
width:74%;
|
618
|
+
|
619
|
+
}
|
620
|
+
|
621
|
+
aside{
|
622
|
+
|
623
|
+
width:22%;
|
624
|
+
|
625
|
+
}
|
626
|
+
|
627
|
+
.news-contents{
|
628
|
+
|
629
|
+
display:flex;
|
630
|
+
|
631
|
+
justify-content:space-between;
|
632
|
+
|
633
|
+
margin-bottom:50px;
|
634
|
+
|
635
|
+
}
|
636
|
+
|
637
|
+
.post-info{
|
638
|
+
|
639
|
+
position:relative;
|
640
|
+
|
641
|
+
padding-top:4px;
|
642
|
+
|
643
|
+
margin-bottom:40px;
|
644
|
+
|
645
|
+
}
|
646
|
+
|
647
|
+
.post-date{
|
648
|
+
|
649
|
+
background:#0bd;
|
650
|
+
|
651
|
+
border-radius:50%;
|
652
|
+
|
653
|
+
color:#fff;
|
654
|
+
|
655
|
+
width:100px;
|
656
|
+
|
657
|
+
height:100px;
|
658
|
+
|
659
|
+
font-size:1.625rem;
|
660
|
+
|
661
|
+
text-align:center;
|
662
|
+
|
663
|
+
position:absolute;
|
664
|
+
|
665
|
+
top:0;
|
666
|
+
|
667
|
+
padding-top:10px;
|
668
|
+
|
669
|
+
}
|
670
|
+
|
671
|
+
.post-date span{
|
672
|
+
|
673
|
+
font-size:1rem;
|
674
|
+
|
675
|
+
border-top:1px rgba(255,255,255,.5)solid ;
|
676
|
+
|
677
|
+
padding-top:6px;
|
678
|
+
|
679
|
+
display:block;
|
680
|
+
|
681
|
+
width:60%;
|
682
|
+
|
683
|
+
margin:0 auto;
|
684
|
+
|
685
|
+
}
|
686
|
+
|
687
|
+
.post-title{
|
688
|
+
|
689
|
+
font-family:"Yu Mincho","YuMincho",serif;
|
690
|
+
|
691
|
+
font-size:2rem;
|
692
|
+
|
693
|
+
font-weight:normal;
|
694
|
+
|
695
|
+
}
|
696
|
+
|
697
|
+
.post-title,
|
698
|
+
|
699
|
+
.post-cut{
|
700
|
+
|
701
|
+
margin-left:120px;
|
702
|
+
|
703
|
+
}
|
704
|
+
|
705
|
+
article img{
|
706
|
+
|
707
|
+
margin-bottom:20px;
|
708
|
+
|
709
|
+
}
|
710
|
+
|
711
|
+
article p{
|
712
|
+
|
713
|
+
margin-bottom: 1rem;
|
714
|
+
|
715
|
+
}
|
716
|
+
|
717
|
+
.sub-title{
|
718
|
+
|
719
|
+
font-size:1.375rem;
|
720
|
+
|
721
|
+
padding:0 8px 8px;
|
722
|
+
|
723
|
+
border-bottom:2px #0bd solid;
|
724
|
+
|
725
|
+
font-weight:normal;
|
726
|
+
|
727
|
+
}
|
728
|
+
|
729
|
+
aside p{
|
730
|
+
|
731
|
+
padding:12px 10px;
|
732
|
+
|
733
|
+
}
|
734
|
+
|
735
|
+
.sub-menu{
|
736
|
+
|
737
|
+
margin-bottom:60px;
|
738
|
+
|
739
|
+
list-style-type:none;
|
740
|
+
|
741
|
+
}
|
742
|
+
|
743
|
+
.sub-menu li{
|
744
|
+
|
745
|
+
border-bottom:1px #ddd solid;
|
746
|
+
|
747
|
+
}
|
748
|
+
|
749
|
+
.sub-menu a{
|
750
|
+
|
751
|
+
columns: #432;
|
752
|
+
|
753
|
+
padding:10px;
|
754
|
+
|
755
|
+
display:block;
|
756
|
+
|
757
|
+
}
|
758
|
+
|
759
|
+
.sub-menu a:hover{
|
760
|
+
|
761
|
+
color:#0bd;
|
762
|
+
|
763
|
+
}
|
764
|
+
|
765
|
+
@media (max-width: 600px) {
|
766
|
+
|
767
|
+
.page-title{
|
768
|
+
|
769
|
+
font-size:2.5rem;
|
770
|
+
|
771
|
+
}
|
772
|
+
|
773
|
+
.main-nav{
|
774
|
+
|
775
|
+
font-size:1rem;
|
776
|
+
|
777
|
+
margin-top:10px;
|
778
|
+
|
779
|
+
}
|
780
|
+
|
781
|
+
.main-nav li{
|
782
|
+
|
783
|
+
margin:0 20px;
|
784
|
+
|
785
|
+
}
|
786
|
+
|
787
|
+
.home-content{
|
788
|
+
|
789
|
+
margin-top:20%;
|
790
|
+
|
791
|
+
}
|
792
|
+
|
793
|
+
}
|
794
|
+
|
795
|
+
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
```
|
566
800
|
|
567
801
|
### 試したこと
|
568
802
|
|