rtdtbb8

Merge branch 'temp1' of http://khuhub.khu.ac.kr/2020104743/EMOJI-HUMAN into temp1

1 +<!DOCTYPE html>
2 +<html lang="en" >
3 +<head>
4 + <meta charset="UTF-8">
5 + <title>CodePen - Demo: CSS scroll down button</title>
6 + <link rel="stylesheet" href="./style.css">
7 +
8 + <!-- 메세지 버블 -->
9 + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
10 +
11 +</head>
12 +<body>
13 +<!-- partial:index.partial.html -->
14 +
15 +<!-- 배경 스크롤 -->
16 + <section id="section01" class="demo">
17 + <h1 class="animated fadeOutUp">Emoji Human, Who are you?</h1>
18 + <h2 class="animated fadeOutUp">이모지 인간의 정체가 궁금해요.</h2>
19 + <h3 class="animated2 fadeIn">이모지일까요, 인간일까요?<br>
20 + 직접 대화하면서 차근차근 알아가봅시다!</h3>
21 + <a href="#section02"><span></span></a>
22 + </section>
23 +
24 +
25 + <section id="section02" class="demo">
26 + <!-- 1번 대화 -->
27 + <section>
28 + <br>
29 + <br>
30 + <br>
31 + <br>
32 + <br>
33 + <br>
34 + <br>
35 + <br>
36 + <br>
37 + <br>
38 + <div class="from-them">
39 + <p>안녕하세요!!<br>
40 + 저는 이모지 인간이라고 해요 @.@ <br>
41 + 당신을 만나게 되어서 매우 반가워요 :)
42 + </p>
43 + </div>
44 + <div class="clear"></div>
45 +
46 + <div class="from-me slam">
47 + <p>말풍선을 눌러 이모지 인간에게 인사하기</p>
48 + </div>
49 + <div class="clear"></div>
50 + </section>
51 + <!-- 1번 대화 -->
52 + </section>
53 +
54 +
55 + <section id="section03" class="demo">
56 + <!-- 2번 대화 -->
57 + <section>
58 + <div class="from-me gentle">
59 + <p>이모지 인간은 뭔가요...?</p>
60 + </div>
61 + <div class="clear"></div>
62 +
63 + <div class="from-them">
64 + <p>이모지 인간은 말그대로
65 + “이모지”로 이루어진 인격체입니다.
66 + 여러분이 알고 계시는 다양한 이모지들이 있죠?
67 + 저는 그 어떤 모습의 이모지든 다 될 수 있어요.
68 + 이모지 자체가 저의 몸이라고 생각하시면 됩니다.
69 + 예를 들어, 옆의 태양이나 파라솔까지도요!
70 + (하지만, 저는 인격체이기 때문에 말도 할 수 있어요V) </p>
71 + </div>
72 + </section>
73 + <!-- 2번 대화 -->
74 + </section>
75 +
76 + <section id="section04" class="demo">
77 + <!-- 3번 대화 -->
78 + <section>
79 + <div class="from-me gentle">
80 + <p>어...이모지 인간은 어떻게 생겨났나요?</p>
81 + </div>
82 + <div class="clear"></div>
83 +
84 + <div class="from-them">
85 + <p>요즘 10대-20대들은 SNS 사용시,
86 + 주로 이모지를 사용하여 대화를 하곤 합니다.
87 + 문자로 길게 설명을 하는 것보다 표정이나 감정들을
88 + 직관적으로 전달할 수 있는 이모지가
89 + 더 간편하기에 그렇습니다.
90 + 이에 현대인들의 일상은 이모지로 가득 찬,
91 +<이모지 인간>이 아닐까”
92 + 하는 발상에서 제가 생겨나게 되었답니다.</p>
93 + </div>
94 + </section>
95 + <!-- 3번 대화 -->
96 + </section>
97 +
98 + <section id="section05" class="demo">
99 + <!-- 4번 대화 -->
100 + <section>
101 + <div class="from-me gentle">
102 + <p>그럼 이모지 인간은 뭘할 수 있나요?</p>
103 + </div>
104 + <div class="clear"></div>
105 +
106 + <div class="from-them">
107 + <p>첫째, 저와의 간단한 대화!
108 + 둘째, 이모지로 보내는 문자!
109 + 셋째, 이모지 MBTI 카드!</p>
110 + </div>
111 + <br>
112 + <br>
113 + <br>
114 + <br>
115 + <br>
116 + <br>
117 + <br>
118 + <br>
119 + <br>
120 + <br>
121 + <br>
122 + <br>
123 + <div class="from-them">
124 + <p>첫번째...보다는
125 + 두번째와 세번째에 대한 설명을 더 해볼께요...
126 + 이모지로 보내는 문자는 Emo-ssage라고 해요.
127 + 아무에게나, 혹은 특정 상대에게 자유롭게 문자를 보내면,
128 + 대화 중 일부를 이모지로 채워줄 거랍니다.
129 + 작성이 완료되면 여러분만의 emo-ssage를
130 + 이미지로 저장할 수 있어요!</p>
131 + </div>
132 + <br>
133 + <br>
134 + <br>
135 + <br>
136 + <br>
137 + <br>
138 + <br>
139 + <br>
140 + <br>
141 + <br>
142 + <br>
143 + <br>
144 + <br>
145 + <br>
146 + <br>
147 + <br>
148 + <br>
149 + <br>
150 + <br>
151 + <br>
152 + <br>
153 + <br>
154 + <br>
155 + <br>
156 + <div class="from-them">
157 + <p>이모지 MBTI 카드는 EMOTI라고 해요.
158 + 여러 이모지들을 활용해서 각 16개 mbti
159 + 고유의 이모지들을 탄생시켰어요.
160 + 아, 그리고 각 mbti 카드를 넘길 때마다
161 + 어울리는 노래도 흘러나온답니다! </p>
162 + </div>
163 + </section>
164 + <!-- 4번 대화 -->
165 + </section>
166 +
167 + <section id="section06" class="demo">
168 + <!-- 5번 대화 -->
169 + <section>
170 + <div class="from-me gentle">
171 + <p>네...아, 아까 정의가 조금 헷갈리는데, 이모지 인간은 이모지인가요 인간인가요?</p>
172 + </div>
173 + <div class="clear"></div>
174 +
175 + <div class="from-them">
176 + <p>This page cannot be found</p>
177 + </div>
178 + </section>
179 + <!-- 5번 대화 -->
180 + </section>
181 +
182 + <!-- partial -->
183 + <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script><script src="./script.js"></script>
184 +<!-- 배경 스크롤 -->
185 +
186 + <!-- 메세지 버블 -->
187 + <script src="./script.js"></script>
188 +
189 +</body>
190 +</html>
1 +$(function() {
2 + $('a[href*=#]').on('click', function(e) {
3 + e.preventDefault();
4 + $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top}, 500, 'linear');
5 + });
6 +});
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
...@@ -4,127 +4,110 @@ ...@@ -4,127 +4,110 @@
4 <head> 4 <head>
5 <meta charset="UTF-8"> 5 <meta charset="UTF-8">
6 <title>EMOJI-HUMAN</title> 6 <title>EMOJI-HUMAN</title>
7 - <link rel="stylesheet" href="/EMO-SSAGE/EMO-SSAGE.css"> 7 + <link rel="stylesheet" href="/index.css">
8 + <!-- <link rel="stylesheet" href="/EMO-SSAGE/EMO-SSAGE.css"> -->
9 + <link rel="stylesheet" href="/EMO-SSAGE/emossage.css">
8 <script src="/EMO-SSAGE/emossage.js" type="text/javascript"></script> 10 <script src="/EMO-SSAGE/emossage.js" type="text/javascript"></script>
9 <link rel="icon" type="image/x-icon" href="/src/rainbow_1f308.png"> 11 <link rel="icon" type="image/x-icon" href="/src/rainbow_1f308.png">
12 + <meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
10 <style> 13 <style>
11 - /* body { 14 +
12 - background-image: url("emossage-03.png"); 15 +
13 - background-repeat: no-repeat; 16 + body {
14 - background-size: 100%;
15 font-family: Noto Sans KR, regular; 17 font-family: Noto Sans KR, regular;
16 text-align: center; 18 text-align: center;
17 } 19 }
18 - 20 + h1 {font-size: 50px;}
19 - h1 { 21 + p1 {font-size: 24px;}
20 - font-size: 50px; 22 + p2 {font-size: 14px}
21 - } 23 + p2.small {line-height: 0.7;}
22 - 24 + </style>
23 - p1 { 25 + <div style="height: 100px; overflow: auto">
24 - font-size: 24px; 26 + </div>
25 - } 27 +
26 - 28 +
27 - p2 {
28 - font-size: 14px
29 - }
30 -
31 - p2.small {
32 - line-height: 0.7;
33 - } */
34 - </style>
35 - <div style="height: 100px; overflow: auto">
36 - </div>
37 -
38 -
39 </head> 29 </head>
40 30
41 -<body> 31 +<body style="margin: 0 auto">
42 - 32 +<!-- 큰 묶음은 배경임 -->
43 - <!-- 내비게이션 --> 33 +<div id="gradient-bg">
44 - <link rel="stylesheet" href="/external/bootstrap.min.css"><!--bootstrap--> 34 + <!-- 내비게이션 -->
45 - <!--css link--> 35 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"><!--bootstrap-->
46 - <link rel="stylesheet" href="/external/font-awesome.min.css"><!--for icons--> 36 + <!--css link-->
47 - <script src="/external/ajax/jquery.min.js"></script><!--jquery script--> 37 + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><!--for icons-->
48 - <script src="/external/bootstrap/bootstrap.min.js"></script><!--bootstrap script--> 38 + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script><!--jquery script-->
49 - 39 + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script><!--bootstrap script-->
50 - <body id="page-top"> 40 +
51 - <!--creating a navigation bar--> 41 + <body id="page-top">
52 - <nav id="main-nav" class="navbar navbar-default navbar-fixed-top navbar-custom"><!--navigation bar with default view fixed on top specific class nav-bar custom--> 42 + <!--creating a navigation bar-->
53 - <div class="container"><!--gives padding of 16px on LHS and RHS--> 43 + <nav id="main-nav" class="navbar navbar-default navbar-fixed-top navbar-custom"><!--navigation bar with default view fixed on top specific class nav-bar custom-->
54 - <div class="navbar-header page-scroll"><!--navigation bar header having proprty to scroll --> 44 + <div class="container"><!--gives padding of 16px on LHS and RHS-->
55 - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> 45 + <div class="navbar-header page-scroll"><!--navigation bar header having proprty to scroll -->
56 - <span></span> Menu <i class="fa fa-bars"></i> 46 + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
57 - </button> 47 + <span></span> Menu <i class="fa fa-bars"></i>
58 - </div><!--end of button--> 48 + </button>
59 - <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!--to collapse--> 49 + </div><!--end of button-->
60 - <ul class="nav navbar-nav"> 50 + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!--to collapse-->
61 - <li><a href="/index.html">Home</a></li> 51 + <ul class="nav navbar-nav">
62 - </ul> 52 + <li><a href="/index.html">Home</a></li>
63 - <ul class="nav navbar-nav navbar-right page-scroll"><!--second UL to go to right having proprty to scroll page--> 53 + </ul>
64 - <li> <a href="/About Us/About Us.html">About Us</a></li> 54 + <ul class="nav navbar-nav navbar-right page-scroll"><!--second UL to go to right having proprty to scroll page-->
65 - <li><a href="/EMOJI-HUMAN/EMOJI-HUMAN.html">EMOJI-HUMAN</a></li> 55 + <li> <a href="/About Us/About Us.html">About Us</a></li>
66 - <li><a href="/EMO-TI/EMO-TI.html">EMO-TI</a></li> 56 + <li><a href="/EMOJI-HUMAN/EMOJI-HUMAN.html">EMOJI-HUMAN</a></li>
67 - <li><a href="/EMO-SSAGE/EMO-SSAGE.html">EMO-SSAGE</a></li> 57 + <li><a href="/EMO-TI/EMO-TI.html">EMO-TI</a></li>
68 - </ul> 58 + <li><a href="/EMO-SSAGE/EMO-SSAGE.html">EMO-SSAGE</a></li>
69 - </div><!--end of collapse--> 59 + </ul>
70 - </div> 60 + </div>
71 - </nav> 61 + </div>
72 - <!-- 내비게이션 --> 62 + </nav>
73 - 63 + <!-- 내비게이션 -->
74 - 64 +
75 -
76 65
77 - <form action="#"> 66 +<body>
78 - 67 + <form action="#">
79 - <!-- <header>
80 - <h1>Message + EMOJI<span>= Emossage</span></h1>
81 - <p1>Emoti는 이모지 중심 메세지입니다</p1>
82 - <br>
83 - <p2>
84 - <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br>
85 - 여러분만의 이모지 편지를 적어보세요<br>
86 - </p2>
87 - </p>
88 - </header> -->
89 68
90 - <p id="p1" class="animated fadeOutUp">Message + EMOJI<span>= Emossage</p> 69 + <header>
91 - <br> 70 + <h1>Message + EMOJI<span>= Emossage</span></h1>
92 - <p id="p2" class="animated fadeOutUp">Emoti는 이모지 중심 메세지입니다</p> 71 + <p1>Emoti는 이모지 중심 메세지입니다</p1>
93 -
94 - <br>
95 <br> 72 <br>
96 - <br> 73 + <p2>
97 - <p id="p3" class="animated2 fadeIn">글자 중 일부가 이모지로 변환됩니다.</p> 74 + <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br>
98 - <p id="p4" class="animated2 fadeIn">여러분만의 이모지 편지를 적어보세요</p> 75 + 여러분만의 이모지 편지를 적어보세요<br> </p2>
76 + </p>
77 + </header>
78 +
79 + <div>
80 + <label class="desc" id="title1" for="Field1">Full Name</label>
81 + <div>
82 + <input id="Field1" name="Field1" type="text" class="field text fn" value="" size="8" tabindex="1">
83 + </div>
84 + </div>
85 +
86 + <div>
87 + <label class="desc" id="title3" for="Field3">
88 + Email
89 + </label>
90 + <div>
91 + <input id="Field3" name="Field3" type="email" spellcheck="false" value="" maxlength="255" tabindex="3">
92 + </div>
93 + </div>
94 +
95 + <div>
96 + <label class="desc" id="title4" for="Field4">
97 + Message
98 + </label>
99 +
100 + <div>
101 + <textarea id="Field4" name="Field4" spellcheck="true" rows="10" cols="50" tabindex="4"></textarea>
102 + </div>
103 +
104 + <div>
105 + <input id="saveForm" name="saveForm" type="submit" value="Submit">
106 + </div>
107 + </div>
108 +
109 + </form>
110 +
111 +
99 112
100 -
101 - <br>
102 - <br>
103 - <br>
104 - <br>
105 - <div style="position: relative; left: 37.5%; top: 50%;">
106 - <label class="desc" id="title4" for="Field4">
107 - Message
108 - </label>
109 -
110 - <div>
111 - <textarea style="resize: none;" id="Field4" name="Field4" placeholder="이모지로 변환할 문장을 입력해보세요!" spellcheck="true" rows="10" cols="50" tabindex="4"></textarea>
112 - </div>
113 -
114 - <div>
115 - <button type="button" onclick="convertToEmoji()">Submit</button>
116 - </div>
117 - </div>
118 -
119 - <div style="position: relative; left: 37.5%; top: 50%;">
120 - <label class="desc" id="title5" for="Field5">
121 - Result
122 - </label>
123 -
124 - <div>
125 - <textarea style="resize: none;" id="Field5" name="Field5" readonly spellcheck="true" rows="10" cols="50" tabindex="4"></textarea>
126 - </div>
127 - </div>
128 -
129 - </form>
130 </body> 113 </body>
...\ No newline at end of file ...\ No newline at end of file
......
This diff is collapsed. Click to expand it.
...@@ -248,7 +248,7 @@ img { ...@@ -248,7 +248,7 @@ img {
248 248
249 /* 내비 */ 249 /* 내비 */
250 body { 250 body {
251 - font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; 251 + font-family: Noto Sans Kr, Bold;
252 overflow-x: hidden; 252 overflow-x: hidden;
253 } 253 }
254 .center 254 .center
...@@ -269,7 +269,7 @@ a:active,{ ...@@ -269,7 +269,7 @@ a:active,{
269 h2, 269 h2,
270 h3, 270 h3,
271 { 271 {
272 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 272 + font-family: Noto Sans Kr, Bold;
273 text-transform: uppercase; 273 text-transform: uppercase;
274 font-weight: 700; 274 font-weight: 700;
275 font-size: 30px; 275 font-size: 30px;
...@@ -318,7 +318,7 @@ header .container { ...@@ -318,7 +318,7 @@ header .container {
318 } 318 }
319 header .intro .name { 319 header .intro .name {
320 display: block; 320 display: block;
321 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 321 + font-family: Noto Sans Kr, Bold;
322 text-transform: uppercase; 322 text-transform: uppercase;
323 font-weight: 700; 323 font-weight: 700;
324 font-size: 2em; 324 font-size: 2em;
...@@ -341,7 +341,7 @@ header .intro .skills { ...@@ -341,7 +341,7 @@ header .intro .skills {
341 } 341 }
342 .navbar-custom { 342 .navbar-custom {
343 background: #2C3E50; 343 background: #2C3E50;
344 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 344 + font-family: Noto Sans Kr, Bold;
345 text-transform: uppercase; 345 text-transform: uppercase;
346 font-weight: 700; 346 font-weight: 700;
347 border: none; 347 border: none;
...@@ -433,7 +433,7 @@ body { ...@@ -433,7 +433,7 @@ body {
433 433
434 434
435 /* text fade in */ 435 /* text fade in */
436 -@import url(/external/raleway); 436 +@import url(https://fonts.googleapis.com/css?family=Raleway:400,900,500,600,700);
437 437
438 .animated{ 438 .animated{
439 -webkit-animation-fill-mode:both; 439 -webkit-animation-fill-mode:both;
...@@ -480,10 +480,6 @@ body { ...@@ -480,10 +480,6 @@ body {
480 /* text fade in */ 480 /* text fade in */
481 481
482 482
483 -
484 -
485 -
486 -
487 /* 텍스트 */ 483 /* 텍스트 */
488 #p1 { 484 #p1 {
489 font-size: 50px; 485 font-size: 50px;
......
1 +:root {
2 + --FACE_WIDTH: 450px;
3 + --FACE_HEIGHT: 450px;
4 + --SHINE_WIDTH: calc(calc(194/230) * var(--FACE_WIDTH));
5 + --SHINE_HEIGHT: calc(calc(206/230) * var(--FACE_HEIGHT));
6 + --EYE_WIDTH: calc(calc(24/230) * var(--FACE_WIDTH));
7 + --EYE_HEIGHT: calc(calc(38/230) * var(--FACE_HEIGHT));
8 + --EYE_LEFT_RIGHT: calc(calc(70/230) * var(--FACE_WIDTH));
9 + --EYE_LEFT_BOTTOM: calc(calc(40/230) * var(--FACE_HEIGHT));
10 + --EYE_RIGHT_BOTTOM: calc(calc(40/230) * var(--FACE_HEIGHT));
11 + --EYE_RIGHT_LEFT: calc(calc(70/230) * var(--FACE_WIDTH));
12 + --MOUTH_TOP: calc(calc(88/230) * var(--FACE_HEIGHT));
13 + --MOUTH_WIDTH: calc(calc(94/230) * var(--FACE_WIDTH));
14 + --MOUTH_HEIGHT: calc(calc(48/230) * var(--FACE_HEIGHT));
15 + --MOUTH_BEFORE_BOTTOM: calc(calc(10/230) * var(--FACE_HEIGHT));
16 + --MOUTH_AFTER_BOTTOM: calc(calc(26/230) * var(--FACE_HEIGHT));
17 +}
18 +
19 +/* 이모지 얼굴 */
20 +body {
21 + display: flex;
22 + align-items: center;
23 + justify-content: center;
24 + height: 100vh;
25 + }
26 +
27 + #emoji {
28 + position: relative;
29 + width: var(--FACE_WIDTH);
30 + height: var(--FACE_HEIGHT);
31 + transform: translate3d(0, 0, 0);
32 + }
33 +
34 + .layer {
35 + position: absolute;
36 + width: 100%;
37 + height: 100%;
38 + }
39 +
40 + .face {
41 + position: absolute;
42 + top: 0;
43 + right: 0;
44 + bottom: 0;
45 + left: 0;
46 + margin: auto;
47 + width: var(--FACE_WIDTH);
48 + height: var(--FACE_HEIGHT);
49 + background-color: #FECA32;
50 + border-radius: 100%;
51 + box-shadow: inset rgba(0, 0, 0, 0.4) 0 0 30px;
52 + }
53 +
54 + .shine {
55 + position: absolute;
56 + top: 0;
57 + right: 0;
58 + bottom: 0;
59 + left: 0;
60 + margin: auto;
61 + width: var(--SHINE_WIDTH);
62 + height: var(--SHINE_HEIGHT);
63 + background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
64 + border-radius: 100%;
65 + opacity: 0.8;
66 + }
67 +
68 + .eye {
69 + width: var(--EYE_WIDTH);
70 + height: var(--EYE_HEIGHT);
71 + background-color: #A1620F;
72 + border-radius: 100%;
73 + box-shadow: inset rgba(0, 0, 0, 0.5) 0 6px 12px, rgba(255, 255, 255, 0.2) 0 2px 0 2px;
74 + -webkit-animation: blink 5s infinite;
75 + animation: blink 5s infinite;
76 + }
77 + .eye.left {
78 + position: absolute;
79 + top: 0;
80 + right: var(--EYE_LEFT_RIGHT);
81 + bottom: var(--EYE_LEFT_BOTTOM);
82 + left: 0;
83 + margin: auto;
84 + }
85 + .eye.right {
86 + position: absolute;
87 + top: 0;
88 + right: 0;
89 + bottom: var(--EYE_RIGHT_BOTTOM);
90 + left: var(--EYE_RIGHT_LEFT);
91 + margin: auto;
92 + }
93 +
94 + .mouth {
95 + position: absolute;
96 + top: var(--MOUTH_TOP);
97 + right: 0;
98 + bottom: 0;
99 + left: 0;
100 + margin: auto;
101 + overflow: hidden;
102 + width: var(--MOUTH_WIDTH);
103 + height: var(--MOUTH_HEIGHT);
104 + transform: translate3d(0, 0, 0);
105 + }
106 + .mouth:before {
107 + position: absolute;
108 + top: 0;
109 + right: 0;
110 + bottom: var(--MOUTH_BEFORE_BOTTOM);
111 + left: 0;
112 + margin: auto;
113 + content: "";
114 + width: 100%;
115 + height: 100%;
116 + background-color: #6E440B;
117 + border-radius: 100%;
118 + box-shadow: rgba(255, 255, 255, 0.25) 0 3px 0;
119 + transform: scale(1);
120 + }
121 + .mouth:after {
122 + position: absolute;
123 + top: 0;
124 + right: 0;
125 + bottom: var(--MOUTH_AFTER_BOTTOM);
126 + left: 0;
127 + margin: auto;
128 + content: "";
129 + width: calc(100% - 20px);
130 + height: 100%;
131 + background-color: #FECA32;
132 + border-radius: 100%;
133 + box-shadow: rgba(0, 0, 0, 0.8) 0 4px 4px -4px;
134 + transform-origin: 50% 100%;
135 + transform: scale(1.6);
136 + }
137 +
138 + @-webkit-keyframes blink {
139 + 0%, 96% {
140 + transform: scaleY(1);
141 + }
142 + 98% {
143 + transform: scaleY(0.1);
144 + }
145 + 100% {
146 + transform: scaleY(1);
147 + }
148 + }
149 +
150 + @keyframes blink {
151 + 0%, 96% {
152 + transform: scaleY(1);
153 + }
154 + 98% {
155 + transform: scaleY(0.1);
156 + }
157 + 100% {
158 + transform: scaleY(1);
159 + }
160 + }
161 + /* 이모지 얼굴 */
162 +
1 /* 내비 */ 163 /* 내비 */
2 body { 164 body {
3 - font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; 165 + font-family: Noto Sans Kr, Bold;
4 overflow-x: hidden; 166 overflow-x: hidden;
5 } 167 }
6 .center 168 .center
...@@ -21,7 +183,7 @@ a:active { ...@@ -21,7 +183,7 @@ a:active {
21 h2, 183 h2,
22 h3 184 h3
23 { 185 {
24 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 186 + font-family: Noto Sans Kr, Bold;
25 text-transform: uppercase; 187 text-transform: uppercase;
26 font-weight: 700; 188 font-weight: 700;
27 font-size: 30px; 189 font-size: 30px;
...@@ -70,7 +232,7 @@ header .container { ...@@ -70,7 +232,7 @@ header .container {
70 } 232 }
71 header .intro .name { 233 header .intro .name {
72 display: block; 234 display: block;
73 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 235 + font-family: Noto Sans Kr, Bold;
74 text-transform: uppercase; 236 text-transform: uppercase;
75 font-weight: 700; 237 font-weight: 700;
76 font-size: 2em; 238 font-size: 2em;
...@@ -93,7 +255,7 @@ header .intro .skills { ...@@ -93,7 +255,7 @@ header .intro .skills {
93 } 255 }
94 .navbar-custom { 256 .navbar-custom {
95 background: #2C3E50; 257 background: #2C3E50;
96 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 258 + font-family: Noto Sans Kr, Bold;
97 text-transform: uppercase; 259 text-transform: uppercase;
98 font-weight: 700; 260 font-weight: 700;
99 border: none; 261 border: none;
......
...@@ -116,171 +116,11 @@ ...@@ -116,171 +116,11 @@
116 } 116 }
117 /*-----------배경 그라디언트-----------*/ 117 /*-----------배경 그라디언트-----------*/
118 118
119 -:root {
120 - --FACE_WIDTH: 450px;
121 - --FACE_HEIGHT: 450px;
122 - --SHINE_WIDTH: calc(calc(194/230) * var(--FACE_WIDTH));
123 - --SHINE_HEIGHT: calc(calc(206/230) * var(--FACE_HEIGHT));
124 - --EYE_WIDTH: calc(calc(24/230) * var(--FACE_WIDTH));
125 - --EYE_HEIGHT: calc(calc(38/230) * var(--FACE_HEIGHT));
126 - --EYE_LEFT_RIGHT: calc(calc(70/230) * var(--FACE_WIDTH));
127 - --EYE_LEFT_BOTTOM: calc(calc(40/230) * var(--FACE_HEIGHT));
128 - --EYE_RIGHT_BOTTOM: calc(calc(40/230) * var(--FACE_HEIGHT));
129 - --EYE_RIGHT_LEFT: calc(calc(70/230) * var(--FACE_WIDTH));
130 - --MOUTH_TOP: calc(calc(88/230) * var(--FACE_HEIGHT));
131 - --MOUTH_WIDTH: calc(calc(94/230) * var(--FACE_WIDTH));
132 - --MOUTH_HEIGHT: calc(calc(48/230) * var(--FACE_HEIGHT));
133 - --MOUTH_BEFORE_BOTTOM: calc(calc(10/230) * var(--FACE_HEIGHT));
134 - --MOUTH_AFTER_BOTTOM: calc(calc(26/230) * var(--FACE_HEIGHT));
135 -}
136 119
137 -/* 이모지 얼굴 */
138 -body {
139 - display: flex;
140 - align-items: center;
141 - justify-content: center;
142 - height: 100vh;
143 - }
144 -
145 - #emoji {
146 - position: relative;
147 - width: var(--FACE_WIDTH);
148 - height: var(--FACE_HEIGHT);
149 - transform: translate3d(0, 0, 0);
150 - }
151 -
152 - .layer {
153 - position: absolute;
154 - width: 100%;
155 - height: 100%;
156 - }
157 -
158 - .face {
159 - position: absolute;
160 - top: 0;
161 - right: 0;
162 - bottom: 0;
163 - left: 0;
164 - margin: auto;
165 - width: var(--FACE_WIDTH);
166 - height: var(--FACE_HEIGHT);
167 - background-color: #FECA32;
168 - border-radius: 100%;
169 - box-shadow: inset rgba(0, 0, 0, 0.4) 0 0 30px;
170 - }
171 -
172 - .shine {
173 - position: absolute;
174 - top: 0;
175 - right: 0;
176 - bottom: 0;
177 - left: 0;
178 - margin: auto;
179 - width: var(--SHINE_WIDTH);
180 - height: var(--SHINE_HEIGHT);
181 - background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
182 - border-radius: 100%;
183 - opacity: 0.8;
184 - }
185 -
186 - .eye {
187 - width: var(--EYE_WIDTH);
188 - height: var(--EYE_HEIGHT);
189 - background-color: #A1620F;
190 - border-radius: 100%;
191 - box-shadow: inset rgba(0, 0, 0, 0.5) 0 6px 12px, rgba(255, 255, 255, 0.2) 0 2px 0 2px;
192 - -webkit-animation: blink 5s infinite;
193 - animation: blink 5s infinite;
194 - }
195 - .eye.left {
196 - position: absolute;
197 - top: 0;
198 - right: var(--EYE_LEFT_RIGHT);
199 - bottom: var(--EYE_LEFT_BOTTOM);
200 - left: 0;
201 - margin: auto;
202 - }
203 - .eye.right {
204 - position: absolute;
205 - top: 0;
206 - right: 0;
207 - bottom: var(--EYE_RIGHT_BOTTOM);
208 - left: var(--EYE_RIGHT_LEFT);
209 - margin: auto;
210 - }
211 -
212 - .mouth {
213 - position: absolute;
214 - top: var(--MOUTH_TOP);
215 - right: 0;
216 - bottom: 0;
217 - left: 0;
218 - margin: auto;
219 - overflow: hidden;
220 - width: var(--MOUTH_WIDTH);
221 - height: var(--MOUTH_HEIGHT);
222 - transform: translate3d(0, 0, 0);
223 - }
224 - .mouth:before {
225 - position: absolute;
226 - top: 0;
227 - right: 0;
228 - bottom: var(--MOUTH_BEFORE_BOTTOM);
229 - left: 0;
230 - margin: auto;
231 - content: "";
232 - width: 100%;
233 - height: 100%;
234 - background-color: #6E440B;
235 - border-radius: 100%;
236 - box-shadow: rgba(255, 255, 255, 0.25) 0 3px 0;
237 - transform: scale(1);
238 - }
239 - .mouth:after {
240 - position: absolute;
241 - top: 0;
242 - right: 0;
243 - bottom: var(--MOUTH_AFTER_BOTTOM);
244 - left: 0;
245 - margin: auto;
246 - content: "";
247 - width: calc(100% - 20px);
248 - height: 100%;
249 - background-color: #FECA32;
250 - border-radius: 100%;
251 - box-shadow: rgba(0, 0, 0, 0.8) 0 4px 4px -4px;
252 - transform-origin: 50% 100%;
253 - transform: scale(1.6);
254 - }
255 -
256 - @-webkit-keyframes blink {
257 - 0%, 96% {
258 - transform: scaleY(1);
259 - }
260 - 98% {
261 - transform: scaleY(0.1);
262 - }
263 - 100% {
264 - transform: scaleY(1);
265 - }
266 - }
267 -
268 - @keyframes blink {
269 - 0%, 96% {
270 - transform: scaleY(1);
271 - }
272 - 98% {
273 - transform: scaleY(0.1);
274 - }
275 - 100% {
276 - transform: scaleY(1);
277 - }
278 - }
279 - /* 이모지 얼굴 */
280 120
281 /* 내비 */ 121 /* 내비 */
282 body { 122 body {
283 - font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; 123 + font-family: Noto Sans Kr, Bold;
284 overflow-x: hidden; 124 overflow-x: hidden;
285 } 125 }
286 .center 126 .center
...@@ -301,7 +141,7 @@ a:active,{ ...@@ -301,7 +141,7 @@ a:active,{
301 h2, 141 h2,
302 h3, 142 h3,
303 { 143 {
304 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 144 + font-family: Noto Sans Kr, Bold;
305 text-transform: uppercase; 145 text-transform: uppercase;
306 font-weight: 700; 146 font-weight: 700;
307 font-size: 30px; 147 font-size: 30px;
...@@ -350,7 +190,7 @@ header .container { ...@@ -350,7 +190,7 @@ header .container {
350 } 190 }
351 header .intro .name { 191 header .intro .name {
352 display: block; 192 display: block;
353 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 193 + font-family: Noto Sans Kr, Bold;
354 text-transform: uppercase; 194 text-transform: uppercase;
355 font-weight: 700; 195 font-weight: 700;
356 font-size: 2em; 196 font-size: 2em;
...@@ -373,7 +213,7 @@ header .intro .skills { ...@@ -373,7 +213,7 @@ header .intro .skills {
373 } 213 }
374 .navbar-custom { 214 .navbar-custom {
375 background: #2C3E50; 215 background: #2C3E50;
376 - font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; 216 + font-family: Noto Sans Kr, Bold;
377 text-transform: uppercase; 217 text-transform: uppercase;
378 font-weight: 700; 218 font-weight: 700;
379 border: none; 219 border: none;
...@@ -444,7 +284,7 @@ body{ ...@@ -444,7 +284,7 @@ body{
444 width: 100%; 284 width: 100%;
445 height: 100vh; 285 height: 100vh;
446 background: #000; 286 background: #000;
447 - font-family: 'Oswald', sans-serif; 287 + font-family: Noto Sans Kr, Bold;
448 } 288 }
449 289
450 #text { 290 #text {
......
...@@ -45,30 +45,9 @@ ...@@ -45,30 +45,9 @@
45 </nav> 45 </nav>
46 <!-- 내비게이션 --> 46 <!-- 내비게이션 -->
47 47
48 - 48 + <div style="float: left; width: 100%;">
49 - <!-- 이모지 얼굴 --> 49 + <img src="/src/3d_crossword-01.png" style="display: block; margin: 0 auto; width: 750px; height:750px;">
50 - <div style="width: 100%; display: flex; justify-content: space-around; margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); z-index: 2;">
51 - <ul id="emoji">
52 - <li class="layer" data-depth="0.2">
53 - <div class="face"></div>
54 - </li>
55 - <li class="layer" data-depth="0.3">
56 - <div class="shine"></div>
57 - </li>
58 - <li class="layer" data-depth="0.8">
59 - <div class="eye left"></div>
60 - </li>
61 - <li class="layer" data-depth="0.8">
62 - <div class="eye right"></div>
63 - </li>
64 - <li class="layer" data-depth="0.8">
65 - <div class="mouth"></div>
66 - </li>
67 - </ul>
68 -
69 - <script src='/external/ajax/parallax.min.js'></script><script src="/face.js"></script>
70 </div> 50 </div>
71 - <!-- 이모지 얼굴 -->
72 51
73 <!-- 이모지 레인 --> 52 <!-- 이모지 레인 -->
74 <div style="z-index: 1;"> 53 <div style="z-index: 1;">
......