rtdtbb8

again

...@@ -4,23 +4,33 @@ ...@@ -4,23 +4,33 @@
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="/index.css"> 7 + <link rel="stylesheet" href="/EMO-SSAGE/EMO-SSAGE.css">
8 - <!-- <link rel="stylesheet" href="/EMO-SSAGE/EMO-SSAGE.css"> -->
9 - <link rel="stylesheet" href="/EMO-SSAGE/emossage.css">
10 <script src="/EMO-SSAGE/emossage.js" type="text/javascript"></script> 8 <script src="/EMO-SSAGE/emossage.js" type="text/javascript"></script>
11 <link rel="icon" type="image/x-icon" href="/src/rainbow_1f308.png"> 9 <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">
13 <style> 10 <style>
14 - 11 + /* body {
15 - 12 + background-image: url("emossage-03.png");
16 - body { 13 + background-repeat: no-repeat;
14 + background-size: 100%;
17 font-family: Noto Sans KR, regular; 15 font-family: Noto Sans KR, regular;
18 text-align: center; 16 text-align: center;
19 } 17 }
20 - h1 {font-size: 50px;} 18 +
21 - p1 {font-size: 24px;} 19 + h1 {
22 - p2 {font-size: 14px} 20 + font-size: 50px;
23 - p2.small {line-height: 0.7;} 21 + }
22 +
23 + p1 {
24 + font-size: 24px;
25 + }
26 +
27 + p2 {
28 + font-size: 14px
29 + }
30 +
31 + p2.small {
32 + line-height: 0.7;
33 + } */
24 </style> 34 </style>
25 <div style="height: 100px; overflow: auto"> 35 <div style="height: 100px; overflow: auto">
26 </div> 36 </div>
...@@ -28,15 +38,14 @@ ...@@ -28,15 +38,14 @@
28 38
29 </head> 39 </head>
30 40
31 -<body style="margin: 0 auto"> 41 +<body>
32 -<!-- 큰 묶음은 배경임 --> 42 +
33 -<div id="gradient-bg">
34 <!-- 내비게이션 --> 43 <!-- 내비게이션 -->
35 - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"><!--bootstrap--> 44 + <link rel="stylesheet" href="/external/bootstrap.min.css"><!--bootstrap-->
36 <!--css link--> 45 <!--css link-->
37 - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><!--for icons--> 46 + <link rel="stylesheet" href="/external/font-awesome.min.css"><!--for icons-->
38 - <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script><!--jquery script--> 47 + <script src="/external/ajax/jquery.min.js"></script><!--jquery script-->
39 - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script><!--bootstrap script--> 48 + <script src="/external/bootstrap/bootstrap.min.js"></script><!--bootstrap script-->
40 49
41 <body id="page-top"> 50 <body id="page-top">
42 <!--creating a navigation bar--> 51 <!--creating a navigation bar-->
...@@ -57,57 +66,65 @@ ...@@ -57,57 +66,65 @@
57 <li><a href="/EMO-TI/EMO-TI.html">EMO-TI</a></li> 66 <li><a href="/EMO-TI/EMO-TI.html">EMO-TI</a></li>
58 <li><a href="/EMO-SSAGE/EMO-SSAGE.html">EMO-SSAGE</a></li> 67 <li><a href="/EMO-SSAGE/EMO-SSAGE.html">EMO-SSAGE</a></li>
59 </ul> 68 </ul>
60 - </div> 69 + </div><!--end of collapse-->
61 </div> 70 </div>
62 </nav> 71 </nav>
63 <!-- 내비게이션 --> 72 <!-- 내비게이션 -->
64 73
65 74
66 -<body> 75 +
76 +
67 <form action="#"> 77 <form action="#">
68 78
69 - <header> 79 + <!-- <header>
70 <h1>Message + EMOJI<span>= Emossage</span></h1> 80 <h1>Message + EMOJI<span>= Emossage</span></h1>
71 <p1>Emoti는 이모지 중심 메세지입니다</p1> 81 <p1>Emoti는 이모지 중심 메세지입니다</p1>
72 <br> 82 <br>
73 <p2> 83 <p2>
74 <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br> 84 <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br>
75 - 여러분만의 이모지 편지를 적어보세요<br> </p2> 85 + 여러분만의 이모지 편지를 적어보세요<br>
86 + </p2>
76 </p> 87 </p>
77 - </header> 88 + </header> -->
78 89
79 - <div> 90 + <p id="p1" class="animated fadeOutUp">Message + EMOJI<span>= Emossage</p>
80 - <label class="desc" id="title1" for="Field1">Full Name</label> 91 + <br>
81 - <div> 92 + <p id="p2" class="animated fadeOutUp">Emoti는 이모지 중심 메세지입니다</p>
82 - <input id="Field1" name="Field1" type="text" class="field text fn" value="" size="8" tabindex="1">
83 - </div>
84 - </div>
85 93
86 - <div> 94 + <br>
87 - <label class="desc" id="title3" for="Field3"> 95 + <br>
88 - Email 96 + <br>
89 - </label> 97 + <p id="p3" class="animated2 fadeIn">글자 중 일부가 이모지로 변환됩니다.</p>
90 - <div> 98 + <p id="p4" class="animated2 fadeIn">여러분만의 이모지 편지를 적어보세요</p>
91 - <input id="Field3" name="Field3" type="email" spellcheck="false" value="" maxlength="255" tabindex="3">
92 - </div>
93 - </div>
94 99
95 - <div> 100 +
101 + <br>
102 + <br>
103 + <br>
104 + <br>
105 + <div style="position: relative; left: 37.5%; top: 50%;">
96 <label class="desc" id="title4" for="Field4"> 106 <label class="desc" id="title4" for="Field4">
97 Message 107 Message
98 </label> 108 </label>
99 109
100 <div> 110 <div>
101 - <textarea id="Field4" name="Field4" spellcheck="true" rows="10" cols="50" tabindex="4"></textarea> 111 + <textarea style="resize: none;" id="Field4" name="Field4" placeholder="이모지로 변환할 문장을 입력해보세요!" spellcheck="true" rows="10" cols="50" tabindex="4"></textarea>
102 </div> 112 </div>
103 113
104 <div> 114 <div>
105 - <input id="saveForm" name="saveForm" type="submit" value="Submit"> 115 + <button type="button" onclick="convertToEmoji()">Submit</button>
106 </div> 116 </div>
107 </div> 117 </div>
108 118
109 - </form> 119 + <div style="position: relative; left: 37.5%; top: 50%;">
110 - 120 + <label class="desc" id="title5" for="Field5">
121 + Result
122 + </label>
111 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>
112 128
129 + </form>
113 </body> 130 </body>
...\ No newline at end of file ...\ No newline at end of file
......
This diff is collapsed. Click to expand it.
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 -
163 /* 내비 */ 1 /* 내비 */
164 body { 2 body {
165 - font-family: Noto Sans Kr, Bold; 3 + font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
166 overflow-x: hidden; 4 overflow-x: hidden;
167 } 5 }
168 .center 6 .center
...@@ -183,7 +21,7 @@ a:active { ...@@ -183,7 +21,7 @@ a:active {
183 h2, 21 h2,
184 h3 22 h3
185 { 23 {
186 - font-family: Noto Sans Kr, Bold; 24 + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
187 text-transform: uppercase; 25 text-transform: uppercase;
188 font-weight: 700; 26 font-weight: 700;
189 font-size: 30px; 27 font-size: 30px;
...@@ -232,7 +70,7 @@ header .container { ...@@ -232,7 +70,7 @@ header .container {
232 } 70 }
233 header .intro .name { 71 header .intro .name {
234 display: block; 72 display: block;
235 - font-family: Noto Sans Kr, Bold; 73 + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
236 text-transform: uppercase; 74 text-transform: uppercase;
237 font-weight: 700; 75 font-weight: 700;
238 font-size: 2em; 76 font-size: 2em;
...@@ -255,7 +93,7 @@ header .intro .skills { ...@@ -255,7 +93,7 @@ header .intro .skills {
255 } 93 }
256 .navbar-custom { 94 .navbar-custom {
257 background: #2C3E50; 95 background: #2C3E50;
258 - font-family: Noto Sans Kr, Bold; 96 + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
259 text-transform: uppercase; 97 text-transform: uppercase;
260 font-weight: 700; 98 font-weight: 700;
261 border: none; 99 border: none;
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 <!-- 내비게이션 --> 46 <!-- 내비게이션 -->
47 47
48 <div style="float: left; width: 100%;"> 48 <div style="float: left; width: 100%;">
49 - <img src="/src/3d_crossword-01.png" style="display: block; margin: 0 auto; width: 750px; height:750px;"> 49 + <img src="/src/3d_crossword-01.png" style="display: block; margin: 0 auto; width: 720px; height:720px;">
50 </div> 50 </div>
51 51
52 <!-- 이모지 레인 --> 52 <!-- 이모지 레인 -->
......