質問編集履歴
3
サイトurlの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
HTML、CSSを使用してWEBサイトを作っています。
|
3
3
|
ファーストビューの背景に動画を使用しているのですが、その上に配置したリンクが
|
4
4
|
クリックできす悩んでおります。
|
5
|
-
|
5
|
+
↓こちらのサイトです
|
6
|
+
http://orian.html.xdomain.jp/index.html
|
6
7
|
|
7
8
|
### 実現したいこと
|
8
9
|
|
2
コードを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,6 +16,37 @@
|
|
16
16
|
### 該当のソースコード
|
17
17
|
|
18
18
|
```HTML
|
19
|
+
<!DOCTYPE html>
|
20
|
+
<html lang="ja">
|
21
|
+
<head>
|
22
|
+
<meta charset="utf-8">
|
23
|
+
<title>HINAportfolio</title>
|
24
|
+
<meta name="description" content="恩田陽菜のポートフォリオ">
|
25
|
+
<link rel="icon" type="image/png" href="images/favicon.ico">
|
26
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
<!-- CSS -->
|
32
|
+
<link rel="stylesheet" href="https://unpkg.com/ress/dist/ress.min.css">
|
33
|
+
<link href="https://fonts.googleapis.com/css?family=Philosopher" rel="stylesheet">
|
34
|
+
<link href="css/style.css" rel="stylesheet">
|
35
|
+
</head>
|
36
|
+
|
37
|
+
<body>
|
38
|
+
<div id="home" class="big-bg">
|
39
|
+
<header class="page-header wrapper">
|
40
|
+
<h1><a href="index.html"><img class="logo" src="images/logo.png" alt="ポートフォリオ ホーム"></a></h1>
|
41
|
+
<nav>
|
42
|
+
<ul class="main-nav">
|
43
|
+
<li><a href="works.html">Works</a></li>
|
44
|
+
<li><a href="profile.html">Profile</a></li>
|
45
|
+
<li><a href="contact.html">Contact</a></li>
|
46
|
+
</ul>
|
47
|
+
</nav>
|
48
|
+
|
49
|
+
</header>
|
19
50
|
<header>
|
20
51
|
<div class="header-text">
|
21
52
|
<p class="header-title">designer</p>
|
@@ -28,9 +59,129 @@
|
|
28
59
|
</div>
|
29
60
|
<video src="images/movie.mp4" autoplay loop muted>
|
30
61
|
</header>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
</div><!-- /#home -->
|
65
|
+
</body>
|
66
|
+
</html>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
31
71
|
|
32
72
|
|
33
73
|
```CSS
|
74
|
+
@charset "UTF-8";
|
75
|
+
|
76
|
+
/* 共通部分
|
77
|
+
------------------------------- */
|
78
|
+
html {
|
79
|
+
font-size: 100%;
|
80
|
+
}
|
81
|
+
body{
|
82
|
+
font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
|
83
|
+
line-height: 1.7;
|
84
|
+
color: #432;
|
85
|
+
}
|
86
|
+
a {
|
87
|
+
text-decoration: none;
|
88
|
+
}
|
89
|
+
img {
|
90
|
+
max-width: 100%;
|
91
|
+
}
|
92
|
+
.wrapper {
|
93
|
+
max-width: 1100px;
|
94
|
+
margin: 0 auto;
|
95
|
+
padding: 0 4%;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* 大きな背景画像 */
|
99
|
+
.big-bg {
|
100
|
+
background-size: cover;
|
101
|
+
background-position: center top;
|
102
|
+
background-repeat: no-repeat;
|
103
|
+
}
|
104
|
+
|
105
|
+
/* 見出し */
|
106
|
+
.header-name {
|
107
|
+
font-size: 4rem;
|
108
|
+
font-family: 'Philosopher', serif;
|
109
|
+
text-transform: uppercase;
|
110
|
+
font-weight: normal;
|
111
|
+
}
|
112
|
+
.header-title{
|
113
|
+
font-size: 1.3rem;
|
114
|
+
font-family: 'Philosopher', serif;
|
115
|
+
text-transform: uppercase;
|
116
|
+
font-weight: normal;
|
117
|
+
}
|
118
|
+
.page-title{
|
119
|
+
font-size: 3rem;
|
120
|
+
font-family: 'Philosopher', serif;
|
121
|
+
text-transform: uppercase;
|
122
|
+
font-weight: normal;
|
123
|
+
}
|
124
|
+
.sub-title {
|
125
|
+
font-size: 1.375rem;
|
126
|
+
padding: 0 8px 8px;
|
127
|
+
border-bottom: 2px #0bd solid;
|
128
|
+
font-weight: normal;
|
129
|
+
}
|
130
|
+
|
131
|
+
/* ボタン */
|
132
|
+
.button {
|
133
|
+
font-size: 1.3rem;
|
134
|
+
background: #c6ecec;
|
135
|
+
color: #fff;
|
136
|
+
border-radius: 5px;
|
137
|
+
padding: 18px 32px;
|
138
|
+
}
|
139
|
+
.button:hover {
|
140
|
+
background: #0090aa;
|
141
|
+
}
|
142
|
+
|
143
|
+
/* iframe */
|
144
|
+
iframe {
|
145
|
+
width: 100%;
|
146
|
+
}
|
147
|
+
|
148
|
+
/* HEADER
|
149
|
+
------------------------------- */
|
150
|
+
.page-header {
|
151
|
+
display: flex;
|
152
|
+
justify-content: space-between;
|
153
|
+
}
|
154
|
+
.logo {
|
155
|
+
width: 210px;
|
156
|
+
margin-top: 14px;
|
157
|
+
}
|
158
|
+
.main-nav {
|
159
|
+
display: flex;
|
160
|
+
font-size: 1.25rem;
|
161
|
+
text-transform: uppercase;
|
162
|
+
margin-top: 34px;
|
163
|
+
list-style: none;
|
164
|
+
}
|
165
|
+
.main-nav li {
|
166
|
+
margin-left: 36px;
|
167
|
+
}
|
168
|
+
.main-nav a {
|
169
|
+
color: #432;
|
170
|
+
}
|
171
|
+
.main-nav a:hover {
|
172
|
+
color: #0bd;
|
173
|
+
}
|
174
|
+
|
175
|
+
* {
|
176
|
+
margin: 0;
|
177
|
+
padding: 0;
|
178
|
+
}
|
179
|
+
|
180
|
+
|
181
|
+
header{
|
182
|
+
position: relative;
|
183
|
+
margin-bottom: ,5rem;
|
184
|
+
}
|
34
185
|
|
35
186
|
.header-text {
|
36
187
|
position: absolute;
|
@@ -53,6 +204,347 @@
|
|
53
204
|
height: 90vh;
|
54
205
|
}
|
55
206
|
|
207
|
+
|
208
|
+
|
209
|
+
/*INDEX
|
210
|
+
------------------------------- */
|
211
|
+
#index {
|
212
|
+
background-image: url(../images/main-bg.jpg);
|
213
|
+
min-height: 100vh;
|
214
|
+
}
|
215
|
+
#index .page-title {
|
216
|
+
text-transform: none;
|
217
|
+
}
|
218
|
+
.index-content {
|
219
|
+
text-align: center;
|
220
|
+
margin-top: 10%;
|
221
|
+
}
|
222
|
+
.index-content p {
|
223
|
+
font-size: 1.125rem;
|
224
|
+
margin: 10px 0 42px;
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
/* PLOFILE
|
231
|
+
------------------------------- */
|
232
|
+
#profile {
|
233
|
+
background-image: url(../images/news-bg.jpg);
|
234
|
+
height: 270px;
|
235
|
+
margin-bottom: 40px;
|
236
|
+
}
|
237
|
+
#profile .page-title {
|
238
|
+
text-align: center;
|
239
|
+
}
|
240
|
+
.profile-contents {
|
241
|
+
display: flex;
|
242
|
+
justify-content: space-between;
|
243
|
+
margin-bottom: 50px;
|
244
|
+
}
|
245
|
+
|
246
|
+
/* 記事部分 */
|
247
|
+
article {
|
248
|
+
width: 60%;
|
249
|
+
}
|
250
|
+
/* サイドバー*/
|
251
|
+
aside{
|
252
|
+
width: 36%
|
253
|
+
}
|
254
|
+
.news-contents{
|
255
|
+
display: flex;
|
256
|
+
justify-content: space-between;
|
257
|
+
margin-bottom: 50px;
|
258
|
+
}
|
259
|
+
.post-info {
|
260
|
+
position: relative;
|
261
|
+
padding-top: 4px;
|
262
|
+
margin-bottom: 40px;
|
263
|
+
}
|
264
|
+
.post-date {
|
265
|
+
background: #0bd;
|
266
|
+
border-radius: 50%;
|
267
|
+
color: #fff;
|
268
|
+
width: 100px;
|
269
|
+
height: 100px;
|
270
|
+
font-size: 1.625rem;
|
271
|
+
text-align: center;
|
272
|
+
position: absolute;
|
273
|
+
top: 0;
|
274
|
+
padding-top: 10px;
|
275
|
+
}
|
276
|
+
.post-date span {
|
277
|
+
font-size: 1rem;
|
278
|
+
border-top: 1px rgba(255,255,255,.5) solid;
|
279
|
+
padding-top: 6px;
|
280
|
+
display: block;
|
281
|
+
width: 60%;
|
282
|
+
margin: 0 auto;
|
283
|
+
}
|
284
|
+
.post-title {
|
285
|
+
font-family: "Yu Mincho", "YuMincho", serif;
|
286
|
+
font-size: 2rem;
|
287
|
+
font-weight: normal;
|
288
|
+
}
|
289
|
+
.post-title,
|
290
|
+
.post-cat {
|
291
|
+
margin-left: 120px;
|
292
|
+
}
|
293
|
+
article img {
|
294
|
+
margin-bottom: 20px;
|
295
|
+
}
|
296
|
+
article p {
|
297
|
+
margin-bottom: 1rem;
|
298
|
+
}
|
299
|
+
|
300
|
+
/* サイドバー */
|
301
|
+
.sub-title{font-size: 1.375rem;
|
302
|
+
padding: 08px 8px;
|
303
|
+
border-bottom: 2px #0bd solid;
|
304
|
+
font-weight: normal;
|
305
|
+
}
|
306
|
+
aside p{
|
307
|
+
padding: 12px 10px
|
308
|
+
}
|
309
|
+
|
310
|
+
|
311
|
+
.profile-contents {
|
312
|
+
margin-bottom: 60px;
|
313
|
+
list-style: none;
|
314
|
+
}
|
315
|
+
.profile-contents li {
|
316
|
+
border-bottom: 1px #ddd solid;
|
317
|
+
}
|
318
|
+
.profile-contents a {
|
319
|
+
color: #432;
|
320
|
+
padding: 10px;
|
321
|
+
display: block;
|
322
|
+
}
|
323
|
+
.profile-contents a:hover {
|
324
|
+
color: #0bd;
|
325
|
+
}
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
/* WORKS
|
333
|
+
------------------------------- */
|
334
|
+
#works {
|
335
|
+
background-image: url(../images/menu-bg2.jpg);
|
336
|
+
min-height: 100vh;
|
337
|
+
}
|
338
|
+
.works-content {
|
339
|
+
max-width: 560px;
|
340
|
+
margin-top: 10%;
|
341
|
+
}
|
342
|
+
.works-content .page-title {
|
343
|
+
text-align: center;
|
344
|
+
}
|
345
|
+
.works-content p {
|
346
|
+
font-size: 1.125rem;
|
347
|
+
margin: 10px 0 0;
|
348
|
+
}
|
349
|
+
|
350
|
+
.grid {
|
351
|
+
display: grid;
|
352
|
+
gap: 26px;
|
353
|
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
354
|
+
margin-top: 6%;
|
355
|
+
margin-bottom: 50px;
|
356
|
+
}
|
357
|
+
|
358
|
+
.subtitle{
|
359
|
+
text-align:center;
|
360
|
+
}
|
361
|
+
/* WORKS1編集中
|
362
|
+
------------------------------- */
|
363
|
+
|
364
|
+
.sakuhinmei{
|
365
|
+
text-transform: none;
|
366
|
+
text-align:center;
|
367
|
+
}
|
368
|
+
.setumei{
|
369
|
+
text-transform: none;
|
370
|
+
text-align:center;
|
371
|
+
padding-bottom: 15px;
|
372
|
+
}
|
373
|
+
.sakuhin{
|
374
|
+
padding-bottom: 15px;
|
375
|
+
}
|
376
|
+
|
377
|
+
.item{
|
378
|
+
transition: .3s;
|
379
|
+
}
|
380
|
+
.item:hover{
|
381
|
+
filter:grayscale(0);
|
382
|
+
transform: scale(1.1);
|
383
|
+
|
384
|
+
}
|
385
|
+
/*=== 9-1-4 矢印が動いてスクロールを促す ====*/
|
386
|
+
|
387
|
+
/*スクロールダウン全体の場所*/
|
388
|
+
.scrolldown4{
|
389
|
+
/*描画位置※位置は適宜調整してください*/
|
390
|
+
position:absolute;
|
391
|
+
bottom:1%;
|
392
|
+
right:50%;
|
393
|
+
/*矢印の動き1秒かけて永遠にループ*/
|
394
|
+
animation: arrowmove 1s ease-in-out infinite;
|
395
|
+
}
|
396
|
+
|
397
|
+
/*下からの距離が変化して全体が下→上→下に動く*/
|
398
|
+
@keyframes arrowmove{
|
399
|
+
0%{bottom:1%;}
|
400
|
+
50%{bottom:3%;}
|
401
|
+
100%{bottom:1%;}
|
402
|
+
}
|
403
|
+
|
404
|
+
/*Scrollテキストの描写*/
|
405
|
+
.scrolldown4 span{
|
406
|
+
/*描画位置*/
|
407
|
+
position: absolute;
|
408
|
+
left:-20px;
|
409
|
+
bottom:10px;
|
410
|
+
/*テキストの形状*/
|
411
|
+
color: #0090aa;
|
412
|
+
font-size: 0.7rem;
|
413
|
+
letter-spacing: 0.05em;
|
414
|
+
/*縦書き設定*/
|
415
|
+
-ms-writing-mode: tb-rl;
|
416
|
+
-webkit-writing-mode: vertical-rl;
|
417
|
+
writing-mode: vertical-rl;
|
418
|
+
}
|
419
|
+
|
420
|
+
/* 矢印の描写 */
|
421
|
+
.scrolldown4:before {
|
422
|
+
content: "";
|
423
|
+
/*描画位置*/
|
424
|
+
position: absolute;
|
425
|
+
bottom: 0;
|
426
|
+
right: -6px;
|
427
|
+
/*矢印の形状*/
|
428
|
+
width: 1px;
|
429
|
+
height: 20px;
|
430
|
+
background: #0090aa;
|
431
|
+
transform: skewX(-31deg);
|
432
|
+
}
|
433
|
+
|
434
|
+
.scrolldown4:after{
|
435
|
+
content:"";
|
436
|
+
/*描画位置*/
|
437
|
+
position: absolute;
|
438
|
+
bottom:0;
|
439
|
+
right:0;
|
440
|
+
/*矢印の形状*/
|
441
|
+
width:1px;
|
442
|
+
height: 50px;
|
443
|
+
background:#0090aa;
|
444
|
+
}
|
445
|
+
|
446
|
+
/* CONTACT
|
447
|
+
------------------------------- */
|
448
|
+
#contact {
|
449
|
+
background-image: url(../images/contact-bg.jpg);
|
450
|
+
min-height: 100vh;
|
451
|
+
}
|
452
|
+
|
453
|
+
/* フォーム */
|
454
|
+
form div {
|
455
|
+
margin-bottom: 14px;
|
456
|
+
}
|
457
|
+
label {
|
458
|
+
font-size: 1.125rem;
|
459
|
+
margin-bottom: 10px;
|
460
|
+
display: block;
|
461
|
+
}
|
462
|
+
input[type="text"],
|
463
|
+
input[type="email"],
|
464
|
+
textarea {
|
465
|
+
background: rgba(255,255,255,.5);
|
466
|
+
border: 1px #fff solid;
|
467
|
+
border-radius: 5px;
|
468
|
+
padding: 10px;
|
469
|
+
font-size: 1rem;
|
470
|
+
}
|
471
|
+
input[type="text"],
|
472
|
+
input[type="email"] {
|
473
|
+
width: 100%;
|
474
|
+
max-width: 240px;
|
475
|
+
}
|
476
|
+
textarea {
|
477
|
+
width: 100%;
|
478
|
+
max-width: 480px;
|
479
|
+
height: 6rem;
|
480
|
+
}
|
481
|
+
input[type="submit"] {
|
482
|
+
border: none;
|
483
|
+
cursor: pointer;
|
484
|
+
line-height: 1;
|
485
|
+
}
|
486
|
+
|
487
|
+
/* 店舗情報・地図 */
|
488
|
+
#location {
|
489
|
+
padding: 4% 0;
|
490
|
+
}
|
491
|
+
#location .wrapper {
|
492
|
+
display: flex;
|
493
|
+
justify-content: space-between;
|
494
|
+
}
|
495
|
+
.location-info {
|
496
|
+
width: 22%;
|
497
|
+
}
|
498
|
+
.location-info p {
|
499
|
+
padding: 12px 10px;
|
500
|
+
}
|
501
|
+
.location-map {
|
502
|
+
width: 74%;
|
503
|
+
}
|
504
|
+
|
505
|
+
/* SNS */
|
506
|
+
#sns {
|
507
|
+
background: #FAF7F0;
|
508
|
+
padding: 4% 0;
|
509
|
+
}
|
510
|
+
#sns .wrapper {
|
511
|
+
display: flex;
|
512
|
+
justify-content: space-between;
|
513
|
+
}
|
514
|
+
#sns .sub-title {
|
515
|
+
margin-bottom: 30px;
|
516
|
+
}
|
517
|
+
.sns-box {
|
518
|
+
width: 30%;
|
519
|
+
}
|
520
|
+
|
521
|
+
/* フッター
|
522
|
+
------------------------------- */
|
523
|
+
footer {
|
524
|
+
background: #c6ecec;
|
525
|
+
text-align: center;
|
526
|
+
padding: 26px 0;
|
527
|
+
}
|
528
|
+
footer p {
|
529
|
+
color: #fff;
|
530
|
+
font-size: 0.875rem;
|
531
|
+
}
|
532
|
+
footer ul{
|
533
|
+
display: flex;
|
534
|
+
justify-content: center;
|
535
|
+
margin-bottom: 2rem;
|
536
|
+
list-style-type: none;
|
537
|
+
}
|
538
|
+
footer li{
|
539
|
+
margin: 0 12px;
|
540
|
+
}
|
541
|
+
footer a{
|
542
|
+
color: #0090aa;
|
543
|
+
}
|
544
|
+
footer a:hover {
|
545
|
+
color: #fff;
|
546
|
+
}
|
547
|
+
|
56
548
|
```
|
57
549
|
|
58
550
|
### 試したこと
|
1
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,16 +9,13 @@
|
|
9
9
|
- リンクをクリックしたときに、リンク先のsnsに飛ぶようにしたいです
|
10
10
|
|
11
11
|
### 発生している問題・エラーメッセージ
|
12
|
+
![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-10-09/444eec95-9c7e-4f46-84f7-e8e6e6cdbb24.png)
|
13
|
+
タイトル下のリンクがクリックできません。
|
12
14
|
|
13
|
-
```
|
14
|
-
エラーメッセージ
|
15
|
-
```
|
16
15
|
|
17
16
|
### 該当のソースコード
|
18
17
|
|
19
|
-
|
18
|
+
```HTML
|
20
|
-
|
21
|
-
|
22
19
|
<header>
|
23
20
|
<div class="header-text">
|
24
21
|
<p class="header-title">designer</p>
|
@@ -31,123 +28,9 @@
|
|
31
28
|
</div>
|
32
29
|
<video src="images/movie.mp4" autoplay loop muted>
|
33
30
|
</header>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
</div><!-- /#home -->
|
37
|
-
</body>
|
38
|
-
</html>
|
39
31
|
|
40
32
|
|
41
|
-
|
42
|
-
/* 共通部分
|
43
|
-
------------------------------- */
|
44
|
-
|
33
|
+
```CSS
|
45
|
-
font-size: 100%;
|
46
|
-
}
|
47
|
-
body{
|
48
|
-
font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
|
49
|
-
line-height: 1.7;
|
50
|
-
color: #432;
|
51
|
-
}
|
52
|
-
a {
|
53
|
-
text-decoration: none;
|
54
|
-
}
|
55
|
-
img {
|
56
|
-
max-width: 100%;
|
57
|
-
}
|
58
|
-
.wrapper {
|
59
|
-
max-width: 1100px;
|
60
|
-
margin: 0 auto;
|
61
|
-
padding: 0 4%;
|
62
|
-
}
|
63
|
-
|
64
|
-
/* 大きな背景画像 */
|
65
|
-
.big-bg {
|
66
|
-
background-size: cover;
|
67
|
-
background-position: center top;
|
68
|
-
background-repeat: no-repeat;
|
69
|
-
}
|
70
|
-
|
71
|
-
/* 見出し */
|
72
|
-
.header-name {
|
73
|
-
font-size: 4rem;
|
74
|
-
font-family: 'Philosopher', serif;
|
75
|
-
text-transform: uppercase;
|
76
|
-
font-weight: normal;
|
77
|
-
}
|
78
|
-
.header-title{
|
79
|
-
font-size: 1.3rem;
|
80
|
-
font-family: 'Philosopher', serif;
|
81
|
-
text-transform: uppercase;
|
82
|
-
font-weight: normal;
|
83
|
-
}
|
84
|
-
.page-title{
|
85
|
-
font-size: 3rem;
|
86
|
-
font-family: 'Philosopher', serif;
|
87
|
-
text-transform: uppercase;
|
88
|
-
font-weight: normal;
|
89
|
-
}
|
90
|
-
.sub-title {
|
91
|
-
font-size: 1.375rem;
|
92
|
-
padding: 0 8px 8px;
|
93
|
-
border-bottom: 2px #0bd solid;
|
94
|
-
font-weight: normal;
|
95
|
-
}
|
96
|
-
|
97
|
-
/* ボタン */
|
98
|
-
.button {
|
99
|
-
font-size: 1.3rem;
|
100
|
-
background: #c6ecec;
|
101
|
-
color: #fff;
|
102
|
-
border-radius: 5px;
|
103
|
-
padding: 18px 32px;
|
104
|
-
}
|
105
|
-
.button:hover {
|
106
|
-
background: #0090aa;
|
107
|
-
}
|
108
|
-
|
109
|
-
/* iframe */
|
110
|
-
iframe {
|
111
|
-
width: 100%;
|
112
|
-
}
|
113
|
-
|
114
|
-
/* HEADER
|
115
|
-
------------------------------- */
|
116
|
-
.page-header {
|
117
|
-
display: flex;
|
118
|
-
justify-content: space-between;
|
119
|
-
}
|
120
|
-
.logo {
|
121
|
-
width: 210px;
|
122
|
-
margin-top: 14px;
|
123
|
-
}
|
124
|
-
.main-nav {
|
125
|
-
display: flex;
|
126
|
-
font-size: 1.25rem;
|
127
|
-
text-transform: uppercase;
|
128
|
-
margin-top: 34px;
|
129
|
-
list-style: none;
|
130
|
-
}
|
131
|
-
.main-nav li {
|
132
|
-
margin-left: 36px;
|
133
|
-
}
|
134
|
-
.main-nav a {
|
135
|
-
color: #432;
|
136
|
-
}
|
137
|
-
.main-nav a:hover {
|
138
|
-
color: #0bd;
|
139
|
-
}
|
140
|
-
|
141
|
-
* {
|
142
|
-
margin: 0;
|
143
|
-
padding: 0;
|
144
|
-
}
|
145
|
-
|
146
|
-
|
147
|
-
header{
|
148
|
-
position: relative;
|
149
|
-
margin-bottom: ,5rem;
|
150
|
-
}
|
151
34
|
|
152
35
|
.header-text {
|
153
36
|
position: absolute;
|
@@ -170,28 +53,7 @@
|
|
170
53
|
height: 90vh;
|
171
54
|
}
|
172
55
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
/*INDEX
|
177
|
-
------------------------------- */
|
178
|
-
|
56
|
+
```
|
179
|
-
background-image: url(../images/main-bg.jpg);
|
180
|
-
min-height: 100vh;
|
181
|
-
}
|
182
|
-
#index .page-title {
|
183
|
-
text-transform: none;
|
184
|
-
}
|
185
|
-
.index-content {
|
186
|
-
text-align: center;
|
187
|
-
margin-top: 10%;
|
188
|
-
}
|
189
|
-
.index-content p {
|
190
|
-
font-size: 1.125rem;
|
191
|
-
margin: 10px 0 42px;
|
192
|
-
}
|
193
|
-
|
194
|
-
|
195
57
|
|
196
58
|
### 試したこと
|
197
59
|
|