Showing
4 changed files
with
116 additions
and
261 deletions
... | @@ -4,110 +4,127 @@ | ... | @@ -4,110 +4,127 @@ |
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;} | ||
21 | - p1 {font-size: 24px;} | ||
22 | - p2 {font-size: 14px} | ||
23 | - p2.small {line-height: 0.7;} | ||
24 | - </style> | ||
25 | - <div style="height: 100px; overflow: auto"> | ||
26 | - </div> | ||
27 | - | ||
28 | - | ||
29 | -</head> | ||
30 | 18 | ||
31 | -<body style="margin: 0 auto"> | 19 | + h1 { |
32 | -<!-- 큰 묶음은 배경임 --> | 20 | + font-size: 50px; |
33 | -<div id="gradient-bg"> | 21 | + } |
34 | - <!-- 내비게이션 --> | 22 | + |
35 | - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"><!--bootstrap--> | 23 | + p1 { |
36 | - <!--css link--> | 24 | + font-size: 24px; |
37 | - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><!--for icons--> | 25 | + } |
38 | - <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script><!--jquery script--> | 26 | + |
39 | - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script><!--bootstrap script--> | 27 | + p2 { |
40 | - | 28 | + font-size: 14px |
41 | - <body id="page-top"> | 29 | + } |
42 | - <!--creating a navigation bar--> | 30 | + |
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--> | 31 | + p2.small { |
44 | - <div class="container"><!--gives padding of 16px on LHS and RHS--> | 32 | + line-height: 0.7; |
45 | - <div class="navbar-header page-scroll"><!--navigation bar header having proprty to scroll --> | 33 | + } */ |
46 | - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | 34 | + </style> |
47 | - <span></span> Menu <i class="fa fa-bars"></i> | 35 | + <div style="height: 100px; overflow: auto"> |
48 | - </button> | 36 | + </div> |
49 | - </div><!--end of button--> | 37 | + |
50 | - <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!--to collapse--> | 38 | + |
51 | - <ul class="nav navbar-nav"> | 39 | +</head> |
52 | - <li><a href="/index.html">Home</a></li> | ||
53 | - </ul> | ||
54 | - <ul class="nav navbar-nav navbar-right page-scroll"><!--second UL to go to right having proprty to scroll page--> | ||
55 | - <li> <a href="/About Us/About Us.html">About Us</a></li> | ||
56 | - <li><a href="/EMOJI-HUMAN/EMOJI-HUMAN.html">EMOJI-HUMAN</a></li> | ||
57 | - <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> | ||
59 | - </ul> | ||
60 | - </div> | ||
61 | - </div> | ||
62 | - </nav> | ||
63 | - <!-- 내비게이션 --> | ||
64 | - | ||
65 | 40 | ||
66 | <body> | 41 | <body> |
67 | - <form action="#"> | ||
68 | 42 | ||
69 | - <header> | 43 | + <!-- 내비게이션 --> |
70 | - <h1>Message + EMOJI<span>= Emossage</span></h1> | 44 | + <link rel="stylesheet" href="/external/bootstrap.min.css"><!--bootstrap--> |
71 | - <p1>Emoti는 이모지 중심 메세지입니다</p1> | 45 | + <!--css link--> |
46 | + <link rel="stylesheet" href="/external/font-awesome.min.css"><!--for icons--> | ||
47 | + <script src="/external/ajax/jquery.min.js"></script><!--jquery script--> | ||
48 | + <script src="/external/bootstrap/bootstrap.min.js"></script><!--bootstrap script--> | ||
49 | + | ||
50 | + <body id="page-top"> | ||
51 | + <!--creating a navigation bar--> | ||
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--> | ||
53 | + <div class="container"><!--gives padding of 16px on LHS and RHS--> | ||
54 | + <div class="navbar-header page-scroll"><!--navigation bar header having proprty to scroll --> | ||
55 | + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||
56 | + <span></span> Menu <i class="fa fa-bars"></i> | ||
57 | + </button> | ||
58 | + </div><!--end of button--> | ||
59 | + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!--to collapse--> | ||
60 | + <ul class="nav navbar-nav"> | ||
61 | + <li><a href="/index.html">Home</a></li> | ||
62 | + </ul> | ||
63 | + <ul class="nav navbar-nav navbar-right page-scroll"><!--second UL to go to right having proprty to scroll page--> | ||
64 | + <li> <a href="/About Us/About Us.html">About Us</a></li> | ||
65 | + <li><a href="/EMOJI-HUMAN/EMOJI-HUMAN.html">EMOJI-HUMAN</a></li> | ||
66 | + <li><a href="/EMO-TI/EMO-TI.html">EMO-TI</a></li> | ||
67 | + <li><a href="/EMO-SSAGE/EMO-SSAGE.html">EMO-SSAGE</a></li> | ||
68 | + </ul> | ||
69 | + </div><!--end of collapse--> | ||
70 | + </div> | ||
71 | + </nav> | ||
72 | + <!-- 내비게이션 --> | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + <form action="#"> | ||
78 | + | ||
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 | + | ||
90 | + <p id="p1" class="animated fadeOutUp">Message + EMOJI<span>= Emossage</p> | ||
72 | <br> | 91 | <br> |
73 | - <p2> | 92 | + <p id="p2" class="animated fadeOutUp">Emoti는 이모지 중심 메세지입니다</p> |
74 | - <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br> | 93 | + |
75 | - 여러분만의 이모지 편지를 적어보세요<br> </p2> | 94 | + <br> |
76 | - </p> | 95 | + <br> |
77 | - </header> | 96 | + <br> |
78 | - | 97 | + <p id="p3" class="animated2 fadeIn">글자 중 일부가 이모지로 변환됩니다.</p> |
79 | - <div> | 98 | + <p id="p4" class="animated2 fadeIn">여러분만의 이모지 편지를 적어보세요</p> |
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 | |||
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 | - | ||
112 | 99 | ||
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> | ||
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 | <!-- 이모지 레인 --> | ... | ... |
-
Please register or login to post a comment