# 最終状態(仕上げ)
最後に、テンプレートとして残しておいたカードをコメント(または削除)して完成です。 以下に、ポートフォリオの完成状態のコードを掲載しておきます。
# index.html
~~/public/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Yumi's Portfolio</title>
<link rel="stylesheet" href="./assets/main.css" />
<link
rel="stylesheet"
href="https://unpkg.com/swiper@8/swiper-bundle.min.css"
/>
</head>
<body>
<img
src="./assets/decorations/lt.svg"
alt="背景デザイン画像1"
class="page-bg-icon page-bg-icon-lt"
/>
<img
src="./assets/decorations/rb.svg"
alt="背景デザイン画像2"
class="page-bg-icon page-bg-icon-rb"
/>
<div class="page-cover bg-3 text-dark">
<h1 class="page-title text-1">Portfolio</h1>
<!-- <div class="card-cover bg-white">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">English Title</div>
<div class="card-subtitle">日本語タイトル</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents">内容</div>
</div> -->
<!-- <div style="height: 20px"></div> -->
<div class="card-cover bg-white">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">Self-Introduction</div>
<div class="card-subtitle">自己紹介</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents">
<div class="card-basic-info-layout">
<div>
<img src="./assets/me.png" alt="顔写真" class="my-photo" />
</div>
<div style="flex-grow: 1">
<div style="display: flex; gap: 1em; align-items: flex-end">
<h3 style="margin: 0; font-size: 2rem">須賀 優美</h3>
<span style="padding-bottom: 4px">すが ゆみ</span>
</div>
<div class="bg-2" style="height: 2px"></div>
<div class="text-2" style="font-size: 0.95rem">Yumi SUGA</div>
<div
class="text-1"
style="display: flex; gap: 0.5em; align-items: center"
>
<img src="./assets/icons/email.svg" alt="Email のアイコン" />
<span>su-yumi-public [at] email.example.com</span>
</div>
<div>テックセレクト大学 情報工学部 情報工学科 3 年生</div>
</div>
</div>
</div>
<div class="card-contents">
<span class="card-basic-info-label bg-1 text-light">自己紹介</span>
<p>
はじめまして、須賀 優美
といいます。このサイトは、私の趣味やスキルなどを紹介するポートフォリオです。
このポートフォリオが、Web の
初めての制作物です。どうぞご覧ください。
</p>
<span class="card-basic-info-label bg-1 text-light">重要</span>
<p>
このページは Web 制作の学習のためのページです。
掲載されている情報はすべて架空の設定であり、実際とは異なります。
また、プロフィール画像は
<a href="https://www.photo-ac.com/">写真AC</a> の AI Generator
で生成した架空の人物です。
</p>
</div>
</div>
<div style="height: 20px"></div>
<div class="app-bar">
<div class="app-bar-title">MENU</div>
<div class="app-bar-button-cover">
<button onclick="scroller('#hobby')">趣味</button>
<button onclick="scroller('#skill')">スキル</button>
<button onclick="scroller('#mywork')">制作物</button>
<button onclick="scroller('#licence')">帰属</button>
</div>
</div>
<div style="height: 20px"></div>
<div class="card-cover bg-white" id="hobby">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">Hobby</div>
<div class="card-subtitle">趣味</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents">
旅行と写真を取ることが趣味です。スマートフォンで気軽に撮影したものです。
パノラマ撮影が気に入っています。
</div>
<div
class="swiper-area"
style="
--swiper-navigation-color: #fff;
--swiper-pagination-color: #fff;
"
>
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="swiper-title">静岡県 熱海市 熱海城前</div>
<img src="./assets/photos/1.jpg" alt="静岡県 熱海市 熱海城前" />
</div>
<div class="swiper-slide">
<div class="swiper-title">夕方の大学</div>
<img
src="./assets/photos/2.jpg"
alt="夕方の大学"
style="width: auto"
/>
</div>
<div class="swiper-slide">
<div class="swiper-title">高知県 四万十川 沈下橋</div>
<img src="./assets/photos/3.jpg" alt="高知県 四万十川 沈下橋" />
</div>
<div class="swiper-slide">
<div class="swiper-title">石川県 能登半島 聖域の岬</div>
<img src="./assets/photos/4.jpg" alt="石川県 能登半島 聖域の岬" />
</div>
<div class="swiper-slide">
<div class="swiper-title">長野県 軽井沢町 白糸の滝</div>
<img src="./assets/photos/5.jpg" alt="長野県 軽井沢町 白糸の滝" />
</div>
<div class="swiper-slide">
<div class="swiper-title">新潟県 糸魚川 白馬大仏前</div>
<img src="./assets/photos/6.jpg" alt="新潟県 糸魚川 白馬大仏前" />
</div>
</div>
<div class="swiper-pagination"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div>
<div style="height: 20px"></div>
<div class="card-cover bg-white" id="skill">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">Skill</div>
<div class="card-subtitle">スキル</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents tile-grid-cover">
<div class="card-tile">
<div class="card-tile-title">
<img
src="./assets/logos/html5.png"
width="80"
alt="HTML5 Powered with CSS3 / Styling"
/>
<span>HTML / CSS</span>
<small>1年</small>
</div>
<div class="card-tile-text">
Web のフロントサイドの言語です。
大学の講義では習わないため、学習サイト等で学び
ポートフォリオサイトを作成しました。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<img
src="./assets/logos/nodejs.svg"
alt="Node.jsロゴ"
width="80"
/>
<span>JavaScript / Node.js</span>
<small>1年</small>
</div>
<div class="card-tile-text">
Web 系で最も有名な言語です。
フロントサイドでは、動きのある動作を作るために使用しました。
Node.js は、ビルドに使用したことがあります。 TypeScript
も合わせて勉強しています。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<img src="./assets/logos/php.png" alt="PHPロゴ" />
<span>PHP</span>
<small>1年</small>
</div>
<div class="card-tile-text">
Web のサーバーサイドの言語です。Laravel というフレームワークで
データベースを操作する、アプリケーションを制作しました。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>MySQL</span>
<small>1年</small>
</div>
<div class="card-tile-text">
データベースです。 少しリレーションが必要な
クエリを使用するときに思うようにいかず、苦戦しています。
PostgreSQL 等の他のデータベースも挑戦しようと思っています。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Python</span>
<small>1年</small>
</div>
<div class="card-tile-text">
大学の講義で学習しました。 TensorFlow
を使った機械学習を行いました。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Java (Android)</span>
<small>2年</small>
</div>
<div class="card-tile-text">
大学の講義で学習しました。 自主的に Android
のアプリを作成したこともあります。 オブジェクト指向が難しいです。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Adobe CC Photoshop</span>
<small>1年</small>
</div>
<div class="card-tile-text">
趣味で撮影している写真を加工する際に使用しています。
電線を削除したり、好みの色合いに簡単に変更できて楽しいです。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Adobe CC Illustrator</span>
<small>1年</small>
</div>
<div class="card-tile-text">
イラスト描画のためのドロー系ソフトウェアです。
絵はうまくありませんが、時々使用しています。
オリジナルの名刺を作成したり、文化祭のポスターを作成しました。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Adobe CC Premiere Pro</span>
<small>1年</small>
</div>
<div class="card-tile-text">
映像編集ソフトです。
最近はオンラインであることが多くなり、動画による紹介の機会が増えてきました。
研究室の紹介動画を作成しました。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Adobe CC After Effects</span>
<small>1年</small>
</div>
<div class="card-tile-text">
映像作成ソフトです。四角や丸のオブジェクト(パーティクル)を使用すると
全く何も素材がないところから、1本の動画を作ることができて楽しいです。
他の人が作成している映像を参考に、挑戦していますが未熟さを感じています。
</div>
</div>
<div class="card-tile">
<div class="card-tile-title">
<span>Adobe XD</span>
<small>1年</small>
</div>
<div class="card-tile-text">
Web 、 アプリ などの UI/UX デザインソフトです。 Web
サイトを作成したり、チラシを作成する前の設計に使用しています。
クリックしたときのエフェクトやページの変更をアニメーションすることもできて
本格的です。
</div>
</div>
</div>
</div>
<div style="height: 20px"></div>
<div class="card-cover bg-white" id="mywork">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">My Work</div>
<div class="card-subtitle">制作物</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents">
<div class="work">
<div class="work-title">1. ポートフォリオサイト</div>
<div class="work-image">
<img src="./assets/works/work1.png" alt="ポートフォリオ" />
</div>
<div class="work-text">
<p>
現在表示しているサイトです。
学習サイトを参考にしながら、制作しました。 初めて自分の手で Web
ページを作成することを知りました。
</p>
<small>こだわりのポイント</small>
<ul>
<li>
<div>配色</div>
柔らかい印象を持っていただけるように、ベースとなる色を、
色の参考書から 3 色選択し、使用しました。
</li>
<li>
<div>ナビゲーション</div>
スマートフォン等、小さい画面で見たときに、セクションの移動が
簡単にできるように、メニューを上部に固定しました。
スクロールするまでは、ページの一部になるようにする部分に苦戦しました。
</li>
<li>
<div>レスポンシブレイアウト</div>
画面幅に応じてレイアウトが変わるようにし、崩れないように細かい部分まで調整しました。
</li>
</ul>
<small>使用した言語・ツール等</small>
<ul>
<li>HTML / CSS</li>
<li>JavaScript</li>
<li>
<a
href="https://swiperjs.com/"
target="_blank"
rel="noopener noreferrer"
>Swiper</a
>
<small>(画像スライドショー)</small>
</li>
</ul>
<small>参考にしたサイト</small>
<ul>
<li>
<a
href="https://techselect-study.careerselect.jp/"
target="_blank"
rel="noopener noreferrer"
>
Tech Select 学習サイト
</a>
</li>
<li>
<a
href="https://developer.mozilla.org/ja/docs/Web/"
target="_blank"
rel="noopener noreferrer"
>
MDN
</a>
</li>
</ul>
</div>
</div>
<div class="work">
<div class="work-title">2. 匿名掲示板</div>
<div class="work-image">
<video controls autoplay muted loop>
<source src="./assets/works/work2.mp4" type="video/mp4" />
Sorry, your browser doesn't support embedded videos.
</video>
</div>
<div class="work-text">
<p>
サーバーサイドの練習のために、
誰でも利用可能な掲示板を作成しました。
書き込みをデータベースに保存し、他のユーザーからも閲覧できるようにしました。
</p>
<small>こだわりのポイント</small>
<ul>
<li>
<div>投稿内容</div>
自由なニックネームと投稿内容の 2 つだけのシンプルな構成です。
</li>
<li>
<div>コンテナ化</div>
Docker で PHP と MySQL を実行できるように構成しました。
</li>
</ul>
<small>実装したいこと</small>
<ul>
<li>
<div>ログイン機能</div>
誰でも削除できてしまうため、ログイン機能やパスワード保護機能で投稿を管理できるようにしたいです。
</li>
</ul>
<small>使用した言語・ツール等</small>
<ul>
<li>HTML / CSS</li>
<li>PHP</li>
<li>MySQL</li>
<li>Docker</li>
</ul>
<small>参考にしたサイト</small>
<ul>
<li>
<a
href="https://techselect-study.careerselect.jp/"
target="_blank"
rel="noopener noreferrer"
>
Tech Select 学習サイト
</a>
</li>
</ul>
</div>
</div>
<div class="work">
<div class="work-title">3. To Do アプリ</div>
<div class="work-image">
<img src="./assets/works/work3.png" alt="To Do アプリ" />
</div>
<div class="work-text">
<p>
PHP フレームワークの Laravel を使用して To Do
アプリを作成しました。
ログイン機能があり、ユーザーごとにタスクを管理できます。
シンプルな Web
アプリケーションですが、初期生成されたファイルが多く、大変でした。
</p>
<small>使用した言語・ツール等</small>
<ul>
<li>HTML / CSS</li>
<li>PHP</li>
<li>Laravel</li>
<li>MySQL</li>
<li>Docker</li>
</ul>
<small>参考にしたサイト</small>
<ul>
<li>
<a
href="https://techselect-study.careerselect.jp/"
target="_blank"
rel="noopener noreferrer"
>
Tech Select 学習サイト
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div style="height: 20px"></div>
<div class="card-cover bg-white" id="licence">
<h2 class="card-title-cover bg-2 text-light">
<div class="card-title">Licence</div>
<div class="card-subtitle">帰属</div>
<div class="card-title-line"></div>
</h2>
<div class="card-contents">
<ul>
<li>
<span>
HTML5 Logo by
<a href="https://www.w3.org/"
><abbr title="World Wide Web Consortium">W3C</abbr></a
> </span
>.
</li>
<li>
<span>
Node.js<sup>®</sup> Logo by
<a href="https://nodejs.org/">OpenJS Foundation</a> </span
>.
</li>
<li>
<span>
PHP Logo by
<a href="https://www.php.net/credits.php">PHP Group</a> </span
>.
</li>
<li>
<span>
写真AC
<a href="https://www.photo-ac.com/main/genface">
AI人物素材(ベータ版)
</a> </span
>.
</li>
</ul>
</div>
</div>
<div style="height: 40px"></div>
<footer class="footer-cover bg-2 text-light">
<div style="height: 4px; background-color: rgba(0, 0, 0, 0.1)"></div>
<div class="footer-contents">© Yumi's web page.</div>
</footer>
</div>
<script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
<script>
var swiper = new Swiper(".swiper-area", {
direction: "horizontal",
spaceBetween: 30,
autoplay: { delay: 10 * 1000, disableOnInteraction: false },
loop: true,
pagination: { el: ".swiper-pagination" },
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
var TOP_BAR_OFFSET = 48;
function scroller(query) {
var elements = document.querySelectorAll(query);
if (elements.length == 0) {
console.error(
"Selected query:",
query,
"are not found on this page."
);
return;
}
var rect = elements[0].getBoundingClientRect();
window.scrollTo({
top: rect.top + window.pageYOffset - TOP_BAR_OFFSET,
behavior: "smooth",
});
}
</script>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
# main.css
~~/public/assets/main.css
@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
/* ===== BASIC BEGIN ===== */
html,
body {
font-family: Roboto, "Noto Sans JP", sans-serif;
font-weight: 400;
margin: 0;
padding: 0;
font-size: 18px;
}
button {
background-color: initial;
border: initial;
cursor: pointer;
outline: initial;
padding: initial;
appearance: initial;
-webkit-appearance: none;
border-radius: initial;
font-size: inherit;
}
li,
p {
text-align: justify;
}
p {
margin: 8px 0;
}
a {
color: #e8aaa3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* ===== BASIC END ===== */
/* ===== COMMON PARTS BEGIN ===== */
.text-dark {
color: #101841;
}
.text-light {
color: #fefefe;
}
.text-1 {
color: #e8aaa3;
}
.text-2 {
color: #aeac78;
}
.text-3 {
color: #f3deb9;
}
.bg-1 {
background-color: #e8aaa3;
}
.bg-2 {
background-color: #aeac78;
}
.bg-3 {
background-color: #f3deb9;
}
/* ===== COMMON PARTS END ===== */
/* ===== OVERALL BEGIN ===== */
.page-cover {
min-height: 100vh;
}
.page-title {
margin: 0;
height: 80px;
line-height: 80px;
text-align: center;
font-size: 40px;
font-weight: 800;
}
.page-bg-icon {
position: fixed;
width: 32px;
}
.page-bg-icon-lt {
top: 16px;
left: 16px;
}
.page-bg-icon-rb {
right: 16px;
bottom: 16px;
}
/* ===== OVERALL END ===== */
/* ===== FOOTER BEGIN ===== */
.footer-cover {
max-width: 1000px;
margin: 0 auto;
box-shadow: 0px 0px 20px -7px rgba(0, 0, 0, 0.56);
box-sizing: border-box;
position: relative;
}
.footer-contents {
padding: 16px;
font-size: 0.875rem;
}
/* ===== FOOTER END ===== */
/* ===== CARD COMMON BEGIN ===== */
.card-cover {
max-width: 1000px;
margin: 0 auto;
box-shadow: 0px 0px 20px -7px rgba(0, 0, 0, 0.56);
box-sizing: border-box;
position: relative;
background-color: #ffffff;
}
@media screen and (min-width: 1001px) {
.card-cover {
border-radius: 16px;
overflow: hidden;
}
}
.card-title-cover {
margin: 0 0 0 16px;
display: inline-block;
padding: 8px 16px;
position: relative;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
min-width: 100px;
z-index: 1;
}
.card-title-cover::before {
content: "";
z-index: -1;
position: absolute;
background-color: rgba(0, 0, 0, 0.1);
top: 4px;
right: -4px;
bottom: -4px;
left: 4px;
}
.card-title {
font-family: "Pacifico", Roboto, "Noto Sans JP", sans-serif;
font-size: 1.4rem;
line-height: 1.5em;
}
.card-subtitle {
font-size: 0.7rem;
line-height: 2em;
}
.card-title-line {
background-color: rgba(0, 0, 0, 0.1);
height: 4px;
}
.card-contents {
padding: 16px;
font-size: 0.875rem;
}
/* ===== CARD COMMON END ===== */
/* ===== CARD | SELF-INTRODUCTION BEGIN ===== */
.card-basic-info-layout {
display: flex;
flex-direction: column;
}
@media screen and (min-width: 500px) {
.card-basic-info-layout {
flex-direction: row-reverse;
}
}
.my-photo {
display: block;
border-radius: 50%;
box-shadow: 0 0 16px -4px rgba(0, 0, 0, 0.7);
max-width: 120px;
padding: 4px;
background-color: white;
}
@media screen and (max-width: 500px) {
.my-photo {
margin: 16px auto;
}
}
@media screen and (min-width: 500px) {
.my-photo {
margin: 0 16px;
}
}
.card-basic-info-label {
font-size: 0.8rem;
font-weight: 500;
padding: 4px;
}
/* ===== CARD | SELF-INTRODUCTION END ===== */
/* ===== CARD | HOBBY BEGIN ===== */
.swiper-area {
position: relative;
width: 100%;
height: 400px;
overflow: hidden;
}
.swiper-slide {
background-color: #212121;
}
.swiper-slide img {
display: block;
margin: 0 auto;
width: 100%;
height: 100%;
object-fit: cover;
}
.swiper-slide .swiper-title {
margin-top: 4px;
position: absolute;
line-height: 1.5em;
font-size: 14px;
font-weight: 500;
background-color: #00000080;
color: #ffffffdd;
padding: 0 0.5em;
}
/* ===== CARD | HOBBY END ===== */
/* ===== CARD | SKILL BEGIN ===== */
.tile-grid-cover {
display: grid;
grid-auto-rows: minmax(100px, auto);
gap: 10px;
}
@media screen and (max-width: 699px) {
.tile-grid-cover {
grid-template-columns: 1fr;
}
}
@media screen and (min-width: 700px) {
.tile-grid-cover {
grid-template-columns: 1fr 1fr 1fr;
}
}
.card-tile {
border: 1px solid #cccccc;
padding: 16px;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 10px;
}
.card-tile-title {
display: flex;
flex-direction: column;
align-items: center;
font-weight: 500;
color: #5d4037;
gap: 10px;
text-align: center;
justify-content: center;
}
.card-tile-text {
color: #5f574f;
text-align: justify;
}
/* ===== CARD | SKILL END ===== */
/* ===== CARD | MY WORK BEGIN ===== */
.work {
display: grid;
gap: 16px;
grid-template-columns: 1fr;
}
.work-title {
font-weight: 500;
}
@media screen and (min-width: 500px) {
.work {
grid-template-columns: 1fr 2fr;
}
.work-title {
grid-column-start: 1;
grid-column-end: 3;
}
}
.work-image img {
width: 100%;
box-shadow: 5px 5px 0 -2px #a57575;
border: 2px solid #e8aaa3;
}
.work-image video {
width: 100%;
box-shadow: 5px 5px 0 -2px #a57575;
border: 2px solid #e8aaa3;
}
/* ===== CARD | MY WORK END ===== */
/* ===== APP BAR BEGIN ===== */
.app-bar {
position: sticky;
top: 0;
height: 40px;
max-width: 1000px;
margin: 0 auto;
z-index: 15;
background-color: #fefefe;
box-shadow: 0px 0px 20px -7px rgba(0, 0, 0, 0.56);
box-sizing: border-box;
}
.app-bar .app-bar-button-cover {
display: grid;
padding-top: calc(6px / 2);
padding-left: 20px;
padding-right: 20px;
gap: 0 6px;
}
.app-bar .app-bar-button-cover {
grid-template-columns: repeat(4, 1fr);
}
@media screen and (min-width: 600px) {
.app-bar .app-bar-button-cover {
grid-template-columns: repeat(6, 1fr);
}
}
.app-bar .app-bar-title {
transform: translateX(-50%) translateY(-50%) rotate(-90deg) translateX(-50%)
translateY(calc(50% + 2px));
font-size: 12px;
font-weight: 500;
color: #aeac78;
width: 40px;
position: absolute;
text-align: center;
}
.app-bar button {
height: calc(40px - 6px);
padding: 0 12px;
background-color: #aeac78;
color: #ffffff;
font-weight: 500;
border-radius: calc((40px - 6px) / 2);
}
.app-bar button:hover {
opacity: 0.8;
}
/* ===== APP BAR END ===== */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343