質問編集履歴
1
ソースコードの一部のみを掲載していたが、全てを掲載した。
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,8 +82,130 @@
|
|
82
82
|
|
83
83
|
</div>
|
84
84
|
|
85
|
+
|
86
|
+
|
87
|
+
<section id="about" class="wrapper">
|
88
|
+
|
89
|
+
<h2>About</h2>
|
90
|
+
|
91
|
+
<div class="about-text">
|
92
|
+
|
93
|
+
<p>Xxxxx Ashley</p>
|
94
|
+
|
95
|
+
<p>2th Floor xxxxx Building x-x-x Nishiazabu, Minato-ku, Tokyo 106-0031 Japan<br/>
|
96
|
+
|
97
|
+
tel: 000-0000-0000<br/>
|
98
|
+
|
99
|
+
url: www.xxxxxx.jp<br/>
|
100
|
+
|
101
|
+
mail: xxx@xxxxxx.jp</p>
|
102
|
+
|
103
|
+
<p>プロフィールテキストテキストテキストテキストテキストテキストテキストテキストテキストスト テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト</p>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
</section>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<section id="works" class="wrapper">
|
112
|
+
|
113
|
+
<h2>Works</h2>
|
114
|
+
|
115
|
+
<ul class="images">
|
116
|
+
|
117
|
+
<li><img src="images/works1.jpg" alt="縦線"></li>
|
118
|
+
|
119
|
+
<li><img src="images/works2.jpg" alt="白"></li>
|
120
|
+
|
121
|
+
<li><img src="images/works3.jpg" alt="黒"></li>
|
122
|
+
|
123
|
+
<li><img src="images/works4.jpg" alt="窓"></li>
|
124
|
+
|
125
|
+
<li><img src="images/works5.jpg" alt="曲線"></li>
|
126
|
+
|
127
|
+
<li><img src="images/works6.jpg" alt="ビル"></li>
|
128
|
+
|
129
|
+
</ul>
|
130
|
+
|
131
|
+
</section>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
<section id="news" class="wrapper">
|
136
|
+
|
137
|
+
<h2>News</h2>
|
138
|
+
|
139
|
+
<div class="news">
|
140
|
+
|
141
|
+
<dl>
|
142
|
+
|
143
|
+
<dt><time>2020.XX.XX</time></dt>
|
144
|
+
|
145
|
+
<dd>デザイン雑誌「XXXXXX Vol.11』に掲載していただきました。</dd>
|
146
|
+
|
147
|
+
<dt><time>2020.XX.XX</time></dt>
|
148
|
+
|
149
|
+
<dd>XX月XX日から写真集「XXXXXXX」の販売を開始します。</dd>
|
150
|
+
|
151
|
+
<dt><time>2019.XX.XX</time></dt>
|
152
|
+
|
153
|
+
<dd>【イベント開催のお知らせ】テキストテキストテキストテキストテキストテキストテキスト</dd>
|
154
|
+
|
155
|
+
<dt><time>2019.XX.XX</time></dt>
|
156
|
+
|
157
|
+
<dd>デザイン雑誌「XXXXXX Vol.10』に掲載していただきました。</dd>
|
158
|
+
|
159
|
+
<dt><time>2019.XX.XX</time></dt>
|
160
|
+
|
161
|
+
<dd>【個展開催のお知らせ】テキストテキストテキストテキストテキストテキストテキスト</dd>
|
162
|
+
|
163
|
+
</dl>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
</section>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<section id="contact" class="wrapper">
|
172
|
+
|
173
|
+
<h2>Contact</h2>
|
174
|
+
|
175
|
+
<form action="#" method="post">
|
176
|
+
|
177
|
+
<dl>
|
178
|
+
|
179
|
+
<dt><label for="name">NAME</label></dt>
|
180
|
+
|
181
|
+
<dd><input type="text" id="name" name="your-name"></dd>
|
182
|
+
|
183
|
+
<dt><label for="E-mail">E-MAIL</label></dt>
|
184
|
+
|
185
|
+
<dd><input type="text" id="email" name="your-email"></dd>
|
186
|
+
|
187
|
+
<dt><label for="message">MESSAGE</label></dt>
|
188
|
+
|
189
|
+
<dd><textarea name="your-message" id="message"></textarea></dd>
|
190
|
+
|
191
|
+
</dl>
|
192
|
+
|
193
|
+
<div class="button"><input type="submit" value="送信"></div>
|
194
|
+
|
195
|
+
</form>
|
196
|
+
|
197
|
+
</section>
|
198
|
+
|
85
199
|
</main>
|
86
200
|
|
201
|
+
|
202
|
+
|
203
|
+
<footer id="footer" class="wrapper">
|
204
|
+
|
205
|
+
<small>© 2020 My Work</small>
|
206
|
+
|
207
|
+
</footer>
|
208
|
+
|
87
209
|
</body>
|
88
210
|
|
89
211
|
</html>
|
@@ -98,8 +220,300 @@
|
|
98
220
|
|
99
221
|
```CSS
|
100
222
|
|
223
|
+
/*
|
224
|
+
|
225
|
+
html5doctor.com Reset Stylesheet
|
226
|
+
|
227
|
+
v1.6.1
|
228
|
+
|
229
|
+
Last Updated: 2010-09-17
|
230
|
+
|
231
|
+
Author: Richard Clark - http://richclarkdesign.com
|
232
|
+
|
233
|
+
Twitter: @rich_clark
|
234
|
+
|
235
|
+
*/
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
html, body, div, span, object, iframe,
|
240
|
+
|
241
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
242
|
+
|
243
|
+
abbr, address, cite, code,
|
244
|
+
|
245
|
+
del, dfn, em, img, ins, kbd, q, samp,
|
246
|
+
|
247
|
+
small, strong, sub, sup, var,
|
248
|
+
|
249
|
+
b, i,
|
250
|
+
|
251
|
+
dl, dt, dd, ol, ul, li,
|
252
|
+
|
253
|
+
fieldset, form, label, legend,
|
254
|
+
|
255
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
256
|
+
|
257
|
+
article, aside, canvas, details, figcaption, figure,
|
258
|
+
|
259
|
+
footer, header, hgroup, menu, nav, section, summary,
|
260
|
+
|
261
|
+
time, mark, audio, video {
|
262
|
+
|
263
|
+
margin:0;
|
264
|
+
|
265
|
+
padding:0;
|
266
|
+
|
267
|
+
border:0;
|
268
|
+
|
269
|
+
outline:0;
|
270
|
+
|
271
|
+
font-size:100%;
|
272
|
+
|
273
|
+
vertical-align:baseline;
|
274
|
+
|
275
|
+
background:transparent;
|
276
|
+
|
277
|
+
}
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
body {
|
282
|
+
|
283
|
+
line-height:1;
|
284
|
+
|
285
|
+
}
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
article,aside,details,figcaption,figure,
|
290
|
+
|
291
|
+
footer,header,hgroup,menu,nav,section {
|
292
|
+
|
293
|
+
display:block;
|
294
|
+
|
295
|
+
}
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
nav ul {
|
300
|
+
|
301
|
+
list-style:none;
|
302
|
+
|
303
|
+
}
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
blockquote, q {
|
308
|
+
|
309
|
+
quotes:none;
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
blockquote:before, blockquote:after,
|
316
|
+
|
317
|
+
q:before, q:after {
|
318
|
+
|
319
|
+
content:'';
|
320
|
+
|
321
|
+
content:none;
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
a {
|
328
|
+
|
329
|
+
margin:0;
|
330
|
+
|
331
|
+
padding:0;
|
332
|
+
|
333
|
+
font-size:100%;
|
334
|
+
|
335
|
+
vertical-align:baseline;
|
336
|
+
|
337
|
+
background:transparent;
|
338
|
+
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
/* change colours to suit your needs */
|
344
|
+
|
345
|
+
ins {
|
346
|
+
|
347
|
+
background-color:#ff9;
|
348
|
+
|
349
|
+
color:#000;
|
350
|
+
|
351
|
+
text-decoration:none;
|
352
|
+
|
353
|
+
}
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
/* change colours to suit your needs */
|
358
|
+
|
359
|
+
mark {
|
360
|
+
|
361
|
+
background-color:#ff9;
|
362
|
+
|
363
|
+
color:#000;
|
364
|
+
|
365
|
+
font-style:italic;
|
366
|
+
|
367
|
+
font-weight:bold;
|
368
|
+
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
del {
|
374
|
+
|
375
|
+
text-decoration: line-through;
|
376
|
+
|
377
|
+
}
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
abbr[title], dfn[title] {
|
382
|
+
|
383
|
+
border-bottom:1px dotted;
|
384
|
+
|
385
|
+
cursor:help;
|
386
|
+
|
387
|
+
}
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
table {
|
392
|
+
|
393
|
+
border-collapse:collapse;
|
394
|
+
|
395
|
+
border-spacing:0;
|
396
|
+
|
397
|
+
}
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
/* change border colour to suit your needs */
|
402
|
+
|
403
|
+
hr {
|
404
|
+
|
405
|
+
display:block;
|
406
|
+
|
407
|
+
height:1px;
|
408
|
+
|
409
|
+
border:0;
|
410
|
+
|
411
|
+
border-top:1px solid #cccccc;
|
412
|
+
|
413
|
+
margin:1em 0;
|
414
|
+
|
415
|
+
padding:0;
|
416
|
+
|
417
|
+
}
|
418
|
+
|
419
|
+
input, select {
|
420
|
+
|
421
|
+
vertical-align:middle;
|
422
|
+
|
423
|
+
}
|
424
|
+
|
425
|
+
/* リセットCSS終了 */
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
body {
|
430
|
+
|
431
|
+
color: #24292e;
|
432
|
+
|
433
|
+
}
|
434
|
+
|
435
|
+
li {
|
436
|
+
|
437
|
+
list-style: none;
|
438
|
+
|
439
|
+
}
|
440
|
+
|
441
|
+
h2 {
|
442
|
+
|
443
|
+
font-size: 24px;
|
444
|
+
|
445
|
+
margin-bottom: 75px;
|
446
|
+
|
447
|
+
}
|
448
|
+
|
449
|
+
section {
|
450
|
+
|
451
|
+
margin: 0 auto;
|
452
|
+
|
453
|
+
text-align: center;
|
454
|
+
|
455
|
+
max-width: 855px;
|
456
|
+
|
457
|
+
}
|
458
|
+
|
459
|
+
#header {
|
460
|
+
|
461
|
+
margin: 0 auto;
|
462
|
+
|
463
|
+
max-width: 855px;
|
464
|
+
|
465
|
+
height: 270px;
|
466
|
+
|
467
|
+
align-items: center; /* 縦方向の真ん中にそろえる? */
|
468
|
+
|
469
|
+
display: flex;
|
470
|
+
|
471
|
+
justify-content: space-between;
|
472
|
+
|
473
|
+
}
|
474
|
+
|
475
|
+
#header h1 {
|
476
|
+
|
477
|
+
font-size: 30px;
|
478
|
+
|
479
|
+
}
|
480
|
+
|
481
|
+
#header a{
|
482
|
+
|
483
|
+
color: #24292e;
|
484
|
+
|
485
|
+
text-decoration: none;
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
#header li {
|
490
|
+
|
491
|
+
padding: 0 15px;
|
492
|
+
|
493
|
+
display: inline-block;
|
494
|
+
|
495
|
+
}
|
496
|
+
|
497
|
+
#header li:hover {
|
498
|
+
|
499
|
+
opacity: 0.7;
|
500
|
+
|
501
|
+
}
|
502
|
+
|
503
|
+
#header img {
|
504
|
+
|
505
|
+
width: 20px;
|
506
|
+
|
507
|
+
height: 20px;
|
508
|
+
|
509
|
+
vertical-align: middle;
|
510
|
+
|
511
|
+
}
|
512
|
+
|
101
513
|
#main {
|
102
514
|
|
515
|
+
max-width: 1350px;
|
516
|
+
|
103
517
|
margin: 0 auto;
|
104
518
|
|
105
519
|
text-align: center;
|
@@ -108,20 +522,218 @@
|
|
108
522
|
|
109
523
|
}
|
110
524
|
|
111
|
-
|
525
|
+
#main h2 {
|
526
|
+
|
527
|
+
margin-top: 95px;
|
528
|
+
|
529
|
+
}
|
112
530
|
|
113
531
|
#main .mainvisual img{
|
114
532
|
|
115
533
|
width: 100%;
|
116
534
|
|
117
|
-
max-width: 1920px;
|
118
|
-
|
119
535
|
height: 420px;
|
120
536
|
|
121
537
|
object-fit: cover;
|
122
538
|
|
123
539
|
}
|
124
540
|
|
541
|
+
#main .about-text {
|
542
|
+
|
543
|
+
text-align: left;
|
544
|
+
|
545
|
+
}
|
546
|
+
|
547
|
+
#main .about-text p {
|
548
|
+
|
549
|
+
font-size: 14.4px;
|
550
|
+
|
551
|
+
padding-bottom: 35px;
|
552
|
+
|
553
|
+
}
|
554
|
+
|
555
|
+
#main .about-text p:nth-child(2){ /* 特定の要素に指示を与えられる */
|
556
|
+
|
557
|
+
line-height: 25px;
|
558
|
+
|
559
|
+
}
|
560
|
+
|
561
|
+
#main .about-text p:last-child{
|
562
|
+
|
563
|
+
line-height: 23px;
|
564
|
+
|
565
|
+
}
|
566
|
+
|
567
|
+
#main .images {
|
568
|
+
|
569
|
+
display: grid;
|
570
|
+
|
571
|
+
grid-template-columns: 1fr 1fr 1fr;
|
572
|
+
|
573
|
+
gap: 35px;
|
574
|
+
|
575
|
+
margin-bottom: 165px;
|
576
|
+
|
577
|
+
}
|
578
|
+
|
579
|
+
#main .images li img{
|
580
|
+
|
581
|
+
height: 170px;
|
582
|
+
|
583
|
+
}
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
.news {
|
588
|
+
|
589
|
+
max-width: 960px;
|
590
|
+
|
591
|
+
margin: 0 auto 130px auto;
|
592
|
+
|
593
|
+
font-size: 0.9rem;
|
594
|
+
|
595
|
+
padding: 0 4%;
|
596
|
+
|
597
|
+
}
|
598
|
+
|
599
|
+
.news dl {
|
600
|
+
|
601
|
+
display: flex;
|
602
|
+
|
603
|
+
flex-wrap: wrap;
|
604
|
+
|
605
|
+
border-top: 2px solid #cccccc;
|
606
|
+
|
607
|
+
margin-bottom: 20px;
|
608
|
+
|
609
|
+
}
|
610
|
+
|
611
|
+
dt {
|
612
|
+
|
613
|
+
display: block;
|
614
|
+
|
615
|
+
}
|
616
|
+
|
617
|
+
dd {
|
618
|
+
|
619
|
+
display: block;
|
620
|
+
|
621
|
+
}
|
622
|
+
|
623
|
+
#main .news dt {
|
624
|
+
|
625
|
+
width: 20%;
|
626
|
+
|
627
|
+
border-bottom: solid 1px#c8c8c8;
|
628
|
+
|
629
|
+
padding: 15px;
|
630
|
+
|
631
|
+
}
|
632
|
+
|
633
|
+
#main .news dd {
|
634
|
+
|
635
|
+
width: 80%;
|
636
|
+
|
637
|
+
border-bottom: solid 1px#c8c8c8;
|
638
|
+
|
639
|
+
padding: 15px;
|
640
|
+
|
641
|
+
}
|
642
|
+
|
643
|
+
#main .news dd:last-child {
|
644
|
+
|
645
|
+
border-bottom: 2px solid #cccccc;
|
646
|
+
|
647
|
+
}
|
648
|
+
|
649
|
+
#contact dl{
|
650
|
+
|
651
|
+
display: flex;
|
652
|
+
|
653
|
+
flex-wrap: wrap;
|
654
|
+
|
655
|
+
}
|
656
|
+
|
657
|
+
#contact dt {
|
658
|
+
|
659
|
+
width: 15%;
|
660
|
+
|
661
|
+
}
|
662
|
+
|
663
|
+
#contact dd {
|
664
|
+
|
665
|
+
width: 85%;
|
666
|
+
|
667
|
+
margin-bottom: 10px;
|
668
|
+
|
669
|
+
}
|
670
|
+
|
671
|
+
#contact input,
|
672
|
+
|
673
|
+
#contact textarea{
|
674
|
+
|
675
|
+
width: 100%;
|
676
|
+
|
677
|
+
border: 1px solid #c8c8c8;
|
678
|
+
|
679
|
+
padding: 10px;
|
680
|
+
|
681
|
+
}
|
682
|
+
|
683
|
+
#contact textarea {
|
684
|
+
|
685
|
+
height: 10rem;
|
686
|
+
|
687
|
+
}
|
688
|
+
|
689
|
+
#contact .button {
|
690
|
+
|
691
|
+
margin: 0 auto;
|
692
|
+
|
693
|
+
width: 200px;
|
694
|
+
|
695
|
+
margin-top: 20px;
|
696
|
+
|
697
|
+
}
|
698
|
+
|
699
|
+
#contact .button input {
|
700
|
+
|
701
|
+
color: #fff;
|
702
|
+
|
703
|
+
background-color: #202529;
|
704
|
+
|
705
|
+
}
|
706
|
+
|
707
|
+
#contact .button input:hover {
|
708
|
+
|
709
|
+
color: #000;
|
710
|
+
|
711
|
+
background-color: #fff;
|
712
|
+
|
713
|
+
border: 1px solid #000;
|
714
|
+
|
715
|
+
}
|
716
|
+
|
717
|
+
#footer {
|
718
|
+
|
719
|
+
margin-top: 130px;
|
720
|
+
|
721
|
+
font-size: 10px;
|
722
|
+
|
723
|
+
text-align: center;
|
724
|
+
|
725
|
+
height: 40px;
|
726
|
+
|
727
|
+
line-height: 40px;
|
728
|
+
|
729
|
+
background-color: #202529;
|
730
|
+
|
731
|
+
color: #fff;
|
732
|
+
|
733
|
+
}
|
734
|
+
|
735
|
+
|
736
|
+
|
125
737
|
```
|
126
738
|
|
127
739
|
|