Showing
56 changed files
with
1321 additions
and
0 deletions
About Us/About Us.css
0 → 100644
1 | +/*---------텍스트 부분---------*/ | ||
2 | +#p1{ | ||
3 | + font-size: 200%; | ||
4 | + color: rgb(235, 123, 123); | ||
5 | + font-family: Noto Sans KR; | ||
6 | + text-align: center; | ||
7 | +} | ||
8 | +#p2{ | ||
9 | + font-size: 200%; | ||
10 | + color: rgb(235, 123, 123); | ||
11 | + font-family: Noto Sans KR; | ||
12 | + text-align: center; | ||
13 | +} | ||
14 | +#p3{ | ||
15 | + font-size: 200%; | ||
16 | + color: rgb(235, 123, 123); | ||
17 | + font-family: Noto Sans KR; | ||
18 | + text-align: center; | ||
19 | +} | ||
20 | +#p4{ | ||
21 | + font-size: 200%; | ||
22 | + color: rgb(235, 123, 123); | ||
23 | + font-family: Noto Sans KR; | ||
24 | + text-align: center; | ||
25 | +} | ||
26 | +#p5{ | ||
27 | + font-size: 200%; | ||
28 | + color: rgb(235, 123, 123); | ||
29 | + font-family: Noto Sans KR; | ||
30 | + text-align: center; | ||
31 | +} | ||
32 | +/*---------텍스트 부분---------*/ | ||
33 | + | ||
34 | + | ||
35 | +/*---------버튼 부분---------*/ | ||
36 | +@keyframes fall { | ||
37 | + from { | ||
38 | + top: -10px; | ||
39 | + -webkit-transform: rotate(0); | ||
40 | + -moz-transform: rotate(0); | ||
41 | + -ms-transform: rotate(0); | ||
42 | + -o-transform: rotate(0); | ||
43 | + transform: rotate(0); | ||
44 | + } | ||
45 | + to { | ||
46 | + top: 110vh; | ||
47 | + -webkit-transform: rotate(360deg); | ||
48 | + -moz-transform: rotate(360deg); | ||
49 | + -ms-transform: rotate(360deg); | ||
50 | + -o-transform: rotate(360deg); | ||
51 | + transform: rotate(360deg); | ||
52 | + } | ||
53 | + } | ||
54 | + .confetti { | ||
55 | + position: absolute; | ||
56 | + -webkit-transition: all 0.1s ease; | ||
57 | + -moz-transition: all 0.1s ease; | ||
58 | + transition: all 0.1s ease; | ||
59 | + pointer-events: none; | ||
60 | + width: 10px; | ||
61 | + height: 10px; | ||
62 | + font-size: 25px; | ||
63 | + animation: fall 2s cubic-bezier(0.05, 0.46, 1, 1); | ||
64 | + } | ||
65 | + | ||
66 | + .mui-button { | ||
67 | + position: relative; | ||
68 | + padding: 0; | ||
69 | + margin: 0; | ||
70 | + width: 150px; | ||
71 | + height: 50px; | ||
72 | + border: none; | ||
73 | + background: #F85F73; | ||
74 | + color: #FBE8D3; | ||
75 | + box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0); | ||
76 | + -webkit-transition: all 0.15s linear; | ||
77 | + -moz-transition: all 0.15s linear; | ||
78 | + transition: all 0.15s linear; | ||
79 | + } | ||
80 | + .mui-button:hover { | ||
81 | + box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0.2); | ||
82 | + -webkit-transform: scale(0.98); | ||
83 | + -moz-transform: scale(0.98); | ||
84 | + -ms-transform: scale(0.98); | ||
85 | + -o-transform: scale(0.98); | ||
86 | + transform: scale(0.98); | ||
87 | + background: #ec5a6d; | ||
88 | + cursor: pointer; | ||
89 | + } | ||
90 | + .mui-button:active, .mui-button:focus { | ||
91 | + outline: none; | ||
92 | + } | ||
93 | + .mui-button .ripple { | ||
94 | + position: absolute; | ||
95 | + top: 0; | ||
96 | + left: 0; | ||
97 | + width: 100%; | ||
98 | + height: 100%; | ||
99 | + overflow: hidden; | ||
100 | + } | ||
101 | + @keyframes ripple { | ||
102 | + from { | ||
103 | + -webkit-transform: scale(0); | ||
104 | + -moz-transform: scale(0); | ||
105 | + -ms-transform: scale(0); | ||
106 | + -o-transform: scale(0); | ||
107 | + transform: scale(0); | ||
108 | + opacity: 1; | ||
109 | + } | ||
110 | + to { | ||
111 | + opacity: 0; | ||
112 | + -webkit-transform: scale(250); | ||
113 | + -moz-transform: scale(250); | ||
114 | + -ms-transform: scale(250); | ||
115 | + -o-transform: scale(250); | ||
116 | + transform: scale(250); | ||
117 | + } | ||
118 | + } | ||
119 | + .mui-button .ripple .circle { | ||
120 | + position: absolute; | ||
121 | + background: rgba(251, 232, 211, 0.2); | ||
122 | + border: 1px solid transparent; | ||
123 | + border-radius: 50%; | ||
124 | + pointer-events: none; | ||
125 | + animation: ripple 0.75s 1; | ||
126 | + top: 50%; | ||
127 | + left: 50%; | ||
128 | + } | ||
129 | + .mui-button p { | ||
130 | + z-index: 1; | ||
131 | + } | ||
132 | +/*---------버튼 부분---------*/ | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | +/*---------scroll snap 부분---------*/ | ||
137 | +body { | ||
138 | + overflow: hidden; | ||
139 | + font-family: Noto Sans KR, Bold; | ||
140 | +} | ||
141 | +/* Scroll down */ | ||
142 | +#container{ | ||
143 | + width:100%; | ||
144 | + height:100vh; | ||
145 | + overflow: auto; | ||
146 | + scroll-behavior: smooth; | ||
147 | + scroll-snap-type: y mandatory; | ||
148 | +} | ||
149 | + | ||
150 | +.list{ | ||
151 | + width:100%; | ||
152 | + height:100vh; | ||
153 | + display: flex; | ||
154 | + justify-content: center; | ||
155 | + align-items: center; | ||
156 | + scroll-snap-align: center; | ||
157 | +} | ||
158 | + | ||
159 | +/* .list:nth-child(1){ | ||
160 | + background-color: rgb(0, 0, 0); | ||
161 | + background-size: cover; | ||
162 | + background-attachment: fixed; | ||
163 | + background-position: center; | ||
164 | +} */ | ||
165 | + | ||
166 | +.list:nth-child(1){ | ||
167 | + background-color: #25fdcb; | ||
168 | + background-size: cover; | ||
169 | + background-attachment: fixed; | ||
170 | + background-position: center; | ||
171 | +} | ||
172 | + | ||
173 | +.list:nth-child(2){ | ||
174 | + background-color: #000000; | ||
175 | + background-size: cover; | ||
176 | + background-attachment: fixed; | ||
177 | + background-position: center; | ||
178 | +} | ||
179 | + | ||
180 | +.list:nth-child(3){ | ||
181 | + background-color: #eeff2e; | ||
182 | + background-size: cover; | ||
183 | + background-attachment: fixed; | ||
184 | + background-position: center; | ||
185 | +} | ||
186 | +/*---------scroll snap 부분---------*/ | ||
187 | + | ||
188 | + | ||
189 | +/*---------프로필 부분---------*/ | ||
190 | +body, ul, h2, p { | ||
191 | + margin: 0; | ||
192 | + padding: 0; | ||
193 | +} | ||
194 | + | ||
195 | +li { | ||
196 | + list-style-type: none; | ||
197 | +} | ||
198 | + | ||
199 | +body { | ||
200 | + background-color: #111; | ||
201 | + color: #999; | ||
202 | +} | ||
203 | + | ||
204 | +.wrapper { | ||
205 | + display: flex; | ||
206 | + height: 100vh; | ||
207 | + justify-content: center; | ||
208 | + align-items: center; | ||
209 | +} | ||
210 | + | ||
211 | +.team { | ||
212 | + display: flex; | ||
213 | + justify-content: center; | ||
214 | + align-items: center; | ||
215 | +} | ||
216 | + | ||
217 | +.team-item { | ||
218 | + flex-basis: 100px; | ||
219 | + flex-shrink: 0; | ||
220 | + margin: 0 4px; | ||
221 | + opacity: 0.4; | ||
222 | + transition: all .4s; | ||
223 | +} | ||
224 | + | ||
225 | +.team-item:hover { | ||
226 | + opacity: 1; | ||
227 | + flex-basis: 160px; | ||
228 | + margin: 0 20px; | ||
229 | +} | ||
230 | + | ||
231 | +.team-item img { | ||
232 | + width: 100%; | ||
233 | +} | ||
234 | + | ||
235 | +.profile { | ||
236 | + background-color: #222; | ||
237 | + position: relative; | ||
238 | + overflow: hidden; | ||
239 | +} | ||
240 | + | ||
241 | +.profile:before { | ||
242 | + content: ' '; | ||
243 | + /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.95+100 */ | ||
244 | +background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%); /* FF3.6-15 */ | ||
245 | +background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); /* Chrome10-25,Safari5.1-6 */ | ||
246 | +background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ | ||
247 | +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#f2000000',GradientType=0 ); /* IE6-9 */ | ||
248 | + position: absolute; | ||
249 | + left: 0; | ||
250 | + right: 0; | ||
251 | + bottom: 0; | ||
252 | + height: 200px; | ||
253 | +} | ||
254 | + | ||
255 | +.profile_red { | ||
256 | + color: #ff4949; | ||
257 | +} | ||
258 | + | ||
259 | +.profile_beige { | ||
260 | + color: beige; | ||
261 | +} | ||
262 | + | ||
263 | +.profile_green { | ||
264 | + color: darkseagreen; | ||
265 | +} | ||
266 | + | ||
267 | +.profile_pink { | ||
268 | + color: pink; | ||
269 | +} | ||
270 | + | ||
271 | +.profile_purple { | ||
272 | + color: violet; | ||
273 | +} | ||
274 | + | ||
275 | +.profile-contents { | ||
276 | + position: absolute; | ||
277 | + left: 0; | ||
278 | + bottom: 0; | ||
279 | + padding: 10px; | ||
280 | +} | ||
281 | + | ||
282 | +.profile-contents h2 { | ||
283 | + font-size: 17px; | ||
284 | +} | ||
285 | + | ||
286 | +.profile-contents h2 span { | ||
287 | + display: block; | ||
288 | + font-size: 10px; | ||
289 | +} | ||
290 | + | ||
291 | +.profile-contents p { | ||
292 | + color: white; | ||
293 | + font-size: 10px; | ||
294 | + min-width: 140px; | ||
295 | + max-height: 0; | ||
296 | + overflow: hidden; | ||
297 | + line-height: 1.2; | ||
298 | + transition: all 1s; | ||
299 | + opacity: 0; | ||
300 | +} | ||
301 | + | ||
302 | +.team-item:hover .profile-contents p { | ||
303 | + opacity: 1; | ||
304 | + transition-delay: .4s; | ||
305 | + max-height: 6em; | ||
306 | + margin-top: 0.4em; | ||
307 | +} | ||
308 | +/*---------프로필 부분---------*/ | ||
309 | + | ||
310 | + | ||
311 | + | ||
312 | + | ||
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | ||
317 | + |
About Us/About Us.html
0 → 100644
1 | +<!doctype html> | ||
2 | +<html> | ||
3 | + <head> | ||
4 | + <title>EMOJI-HUMAN</title> | ||
5 | + <link rel="stylesheet" href="https://odd-mune.github.io/EMOJI-HUMAN/About Us/About Us.css"> | ||
6 | + </head> | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + <body> | ||
11 | + <div id="container"> | ||
12 | + <div class="list"> | ||
13 | + <div class="one"> | ||
14 | + <p id="p1">Hello, Humans!</p> | ||
15 | + <p id="p2">안녕하세요, 우리는 팀 이모지 인간입니다.</p> | ||
16 | + <br/> | ||
17 | + <p id="p3">우리는 이모지 인간이 아닙니다.<br/> | ||
18 | + 진짜 인간이에요! | ||
19 | + </p> | ||
20 | + | ||
21 | + <p id="p4">버튼을 눌러 인사해주세요! 😬</p> | ||
22 | + <button class="mui-button"> | ||
23 | + <div class="ripple"></div> | ||
24 | + <p id="p5">click me!</p> | ||
25 | + </button> | ||
26 | + <!-- partial --> | ||
27 | + <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script><script src="https://odd-mune.github.io/EMOJI-HUMAN/About Us/About Us.js"></script> | ||
28 | + </div> | ||
29 | + </div> | ||
30 | + | ||
31 | + <div class="list"> | ||
32 | + <div class ="two"> | ||
33 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png" style="display: block; margin: 0 auto;"> | ||
34 | + <div class="wrapper"> | ||
35 | + <ul class="team"> | ||
36 | + <li class="team-item"> | ||
37 | + <div class="profile profile_red"> | ||
38 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
39 | + <div class="profile-contents"> | ||
40 | + <h2>Liam <span>CEO</span></h2> | ||
41 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
42 | + </div> | ||
43 | + </div> | ||
44 | + </li> | ||
45 | + <li class="team-item"> | ||
46 | + <div class="profile profile_beige"> | ||
47 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
48 | + <div class="profile-contents"> | ||
49 | + <h2>Coco <span>Mood Maker</span></h2> | ||
50 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
51 | + </div> | ||
52 | + </div> | ||
53 | + </li> | ||
54 | + <li class="team-item"> | ||
55 | + <div class="profile profile_green"> | ||
56 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
57 | + <div class="profile-contents"> | ||
58 | + <h2>Olivia <span>Designer</span></h2> | ||
59 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
60 | + </div> | ||
61 | + </div> | ||
62 | + </li> | ||
63 | + <li class="team-item"> | ||
64 | + <div class="profile profile_pink"> | ||
65 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.pngg"> | ||
66 | + <div class="profile-contents"> | ||
67 | + <h2>James <span>Front-end</span></h2> | ||
68 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
69 | + </div> | ||
70 | + </div> | ||
71 | + </li> | ||
72 | + <li class="team-item"> | ||
73 | + <div class="profile profile_purple"> | ||
74 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
75 | + <div class="profile-contents"> | ||
76 | + <h2>Ella <span>Back-end</span></h2> | ||
77 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
78 | + </div> | ||
79 | + </div> | ||
80 | + </li> | ||
81 | + </ul> | ||
82 | + </div> | ||
83 | + </div> | ||
84 | + </div> | ||
85 | + | ||
86 | + <div class="list"> | ||
87 | + <div class="three"> | ||
88 | + <div class="wrapper"> | ||
89 | + <ul class="team"> | ||
90 | + <li class="team-item"> | ||
91 | + <div class="profile profile_red"> | ||
92 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
93 | + <div class="profile-contents"> | ||
94 | + <h2>Liam <span>CEO</span></h2> | ||
95 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
96 | + </div> | ||
97 | + </div> | ||
98 | + </li> | ||
99 | + <li class="team-item"> | ||
100 | + <div class="profile profile_beige"> | ||
101 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
102 | + <div class="profile-contents"> | ||
103 | + <h2>Coco <span>Mood Maker</span></h2> | ||
104 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
105 | + </div> | ||
106 | + </div> | ||
107 | + </li> | ||
108 | + <li class="team-item"> | ||
109 | + <div class="profile profile_green"> | ||
110 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
111 | + <div class="profile-contents"> | ||
112 | + <h2>Olivia <span>Designer</span></h2> | ||
113 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
114 | + </div> | ||
115 | + </div> | ||
116 | + </li> | ||
117 | + <li class="team-item"> | ||
118 | + <div class="profile profile_pink"> | ||
119 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
120 | + <div class="profile-contents"> | ||
121 | + <h2>James <span>Front-end</span></h2> | ||
122 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
123 | + </div> | ||
124 | + </div> | ||
125 | + </li> | ||
126 | + <li class="team-item"> | ||
127 | + <div class="profile profile_purple"> | ||
128 | + <img src="https://odd-mune.github.io/EMOJI-HUMAN/src/song.png"> | ||
129 | + <div class="profile-contents"> | ||
130 | + <h2>Ella <span>Back-end</span></h2> | ||
131 | + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus</p> | ||
132 | + </div> | ||
133 | + </div> | ||
134 | + </li> | ||
135 | + </ul> | ||
136 | + </div> | ||
137 | + </div> | ||
138 | + </div> | ||
139 | + <div> | ||
140 | + </body> | ||
141 | +</html> |
About Us/About Us.js
0 → 100644
1 | +function createRipple(y, x) { | ||
2 | + const ripple = `<div class="circle" style="top:${y}px;left:${x}px;"></div>`; | ||
3 | + console.log(x); | ||
4 | + const _ripple = $(ripple); | ||
5 | + $('.ripple').append(_ripple); | ||
6 | + setTimeout(() => _ripple.remove(), 900); | ||
7 | +} | ||
8 | + | ||
9 | +function confetti() { | ||
10 | + [{ | ||
11 | + bg: '#b00b00', | ||
12 | + position: Math.random() * $('html').width() }, | ||
13 | + { | ||
14 | + bg: '#de1e7e', | ||
15 | + position: Math.random() * $('html').width() }, | ||
16 | + { | ||
17 | + bg: '#BADA55', | ||
18 | + position: Math.random() * $('html').width() }, | ||
19 | + { | ||
20 | + bg: '#F0FEAF', | ||
21 | + position: Math.random() * $('html').width() }, | ||
22 | + { | ||
23 | + bg: '#ac1d1c', | ||
24 | + position: Math.random() * $('html').width() }, | ||
25 | + { | ||
26 | + bg: '#facade', | ||
27 | + position: Math.random() * $('html').width() }, | ||
28 | + { | ||
29 | + bg: 'transparent', | ||
30 | + position: Math.random() * $('html').width(), | ||
31 | + internal: '😜' }, | ||
32 | + { | ||
33 | + bg: 'transparent', | ||
34 | + position: Math.random() * $('html').width(), | ||
35 | + internal: '🌵' }, | ||
36 | + { | ||
37 | + bg: 'transparent', | ||
38 | + position: Math.random() * $('html').width(), | ||
39 | + internal: '🤑' }, | ||
40 | + { | ||
41 | + bg: 'transparent', | ||
42 | + position: Math.random() * $('html').width(), | ||
43 | + internal: '🐻' }, | ||
44 | + { | ||
45 | + bg: 'transparent', | ||
46 | + position: Math.random() * $('html').width(), | ||
47 | + internal: '💰' }, | ||
48 | + { | ||
49 | + bg: 'transparent', | ||
50 | + position: Math.random() * $('html').width(), | ||
51 | + internal: '🍍' }]. | ||
52 | + map(options => { | ||
53 | + const c = $(`<div class="confetti" style="background:${options.bg};left:${options.position}px;">${options.internal || ''}</div>`); | ||
54 | + $('body').append(c); | ||
55 | + setTimeout(() => c.remove(), 1900); | ||
56 | + }); | ||
57 | +} | ||
58 | + | ||
59 | +$('.mui-button').mousedown(e => { | ||
60 | + const offset = $(e.target).offset(); | ||
61 | + createRipple(e.pageY - offset.top, e.pageX - offset.left); | ||
62 | + confetti(); | ||
63 | +}); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
About Us/About Us.md
0 → 100644
1 | +``` | ||
2 | +Liam | ||
3 | +CEO | ||
4 | +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus | ||
5 | + | ||
6 | +Coco | ||
7 | +Mood Maker | ||
8 | + | ||
9 | +Olivia | ||
10 | +Designer | ||
11 | + | ||
12 | +James | ||
13 | +Front-end | ||
14 | + | ||
15 | +Ella | ||
16 | +Back-end | ||
17 | +``` | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
EMO-SSAGE/EMO-SSAGE.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="ko"> | ||
3 | + | ||
4 | +<head> | ||
5 | + <title>EMOJI-HUMAN</title> | ||
6 | + <link rel="stylesheet" href="https://odd-mune.github.io/EMOJI-HUMAN/index.css"> | ||
7 | + <link rel="icon" type="image/x-icon" href="https://odd-mune.github.io/EMOJI-HUMAN/src/rainbow_1f308.png"> | ||
8 | + <style> | ||
9 | + body { | ||
10 | + background-image: url("emossage-03.png"); | ||
11 | + background-repeat: no-repeat; | ||
12 | + background-size: 100%; | ||
13 | + font-family: Noto Sans KR, regular; | ||
14 | + text-align: center; | ||
15 | + } | ||
16 | + h1 {font-size: 50px;} | ||
17 | + p1 {font-size: 24px;} | ||
18 | + p2 {font-size: 14px} | ||
19 | + p2.small {line-height: 0.7;} | ||
20 | + </style> | ||
21 | + <div style="height: 100px; overflow: auto"> | ||
22 | + </div> | ||
23 | + | ||
24 | + | ||
25 | +</head> | ||
26 | + | ||
27 | +<body> | ||
28 | + <form action="#"> | ||
29 | + | ||
30 | + <header> | ||
31 | + <h1>Message + EMOJI<span>= Emossage</span></h1> | ||
32 | + <p1>Emoti는 이모지 중심 메세지입니다</p1> | ||
33 | + <br> | ||
34 | + <p2> | ||
35 | + <p class="small"> 글자 중 일부가 이모지로 변환됩니다.<br> | ||
36 | + 여러분만의 이모지 편지를 적어보세요<br> </p2> | ||
37 | + </p> | ||
38 | + </header> | ||
39 | + | ||
40 | + <div> | ||
41 | + <label class="desc" id="title1" for="Field1">Full Name</label> | ||
42 | + <div> | ||
43 | + <input id="Field1" name="Field1" type="text" class="field text fn" value="" size="8" tabindex="1"> | ||
44 | + </div> | ||
45 | + </div> | ||
46 | + | ||
47 | + <div> | ||
48 | + <label class="desc" id="title3" for="Field3"> | ||
49 | |||
50 | + </label> | ||
51 | + <div> | ||
52 | + <input id="Field3" name="Field3" type="email" spellcheck="false" value="" maxlength="255" tabindex="3"> | ||
53 | + </div> | ||
54 | + </div> | ||
55 | + | ||
56 | + <div> | ||
57 | + <label class="desc" id="title4" for="Field4"> | ||
58 | + Message | ||
59 | + </label> | ||
60 | + | ||
61 | + <div> | ||
62 | + <textarea id="Field4" name="Field4" spellcheck="true" rows="10" cols="50" tabindex="4"></textarea> | ||
63 | + </div> | ||
64 | + | ||
65 | + <div> | ||
66 | + <input id="saveForm" name="saveForm" type="submit" value="Submit"> | ||
67 | + </div> | ||
68 | + </div> | ||
69 | + | ||
70 | + </form> | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | +</body> |
EMO-SSAGE/emossage-03.png
0 → 100644
1.33 MB
EMO-SSAGE/emossage.css
0 → 100644
1 | +* { | ||
2 | + -webkit-box-sizing: border-box; | ||
3 | + -moz-box-sizing: border-box; | ||
4 | + box-sizing: border-box; | ||
5 | + } | ||
6 | + | ||
7 | + body { | ||
8 | + padding: 20px 15%; | ||
9 | + } | ||
10 | + form header { | ||
11 | + margin: 0 0 20px 0; | ||
12 | + } | ||
13 | + form header div { | ||
14 | + font-size: 90%; | ||
15 | + color: #999; | ||
16 | + } | ||
17 | + form header h2 { | ||
18 | + margin: 0 0 5px 0; | ||
19 | + } | ||
20 | + form > div { | ||
21 | + clear: both; | ||
22 | + overflow: hidden; | ||
23 | + padding: 1px; | ||
24 | + margin: 0 0 10px 0; | ||
25 | + } | ||
26 | + form > div > fieldset > div > div { | ||
27 | + margin: 0 0 5px 0; | ||
28 | + } | ||
29 | + form > div > label, | ||
30 | + legend { | ||
31 | + width: 25%; | ||
32 | + float: left; | ||
33 | + padding-right: 10px; | ||
34 | + } | ||
35 | + form > div > div, | ||
36 | + form > div > fieldset > div { | ||
37 | + width: 75%; | ||
38 | + float: right; | ||
39 | + } | ||
40 | + form > div > fieldset label { | ||
41 | + font-size: 90%; | ||
42 | + } | ||
43 | + fieldset { | ||
44 | + border: 0; | ||
45 | + padding: 0; | ||
46 | + } | ||
47 | + | ||
48 | + input[type=text], | ||
49 | + input[type=email], | ||
50 | + input[type=url], | ||
51 | + input[type=password], | ||
52 | + textarea { | ||
53 | + width: 100%; | ||
54 | + border-top: 1px solid #ccc; | ||
55 | + border-left: 1px solid #ccc; | ||
56 | + border-right: 1px solid #eee; | ||
57 | + border-bottom: 1px solid #eee; | ||
58 | + } | ||
59 | + input[type=text], | ||
60 | + input[type=email], | ||
61 | + input[type=url], | ||
62 | + input[type=password] { | ||
63 | + width: 50%; | ||
64 | + } | ||
65 | + input[type=text]:focus, | ||
66 | + input[type=email]:focus, | ||
67 | + input[type=url]:focus, | ||
68 | + input[type=password]:focus, | ||
69 | + textarea:focus { | ||
70 | + outline: 0; | ||
71 | + border-color: #4697e4; | ||
72 | + } | ||
73 | + | ||
74 | + @media (max-width: 600px) { | ||
75 | + form > div { | ||
76 | + margin: 0 0 15px 0; | ||
77 | + } | ||
78 | + form > div > label, | ||
79 | + legend { | ||
80 | + width: 100%; | ||
81 | + float: none; | ||
82 | + margin: 0 0 5px 0; | ||
83 | + } | ||
84 | + form > div > div, | ||
85 | + form > div > fieldset > div { | ||
86 | + width: 100%; | ||
87 | + float: none; | ||
88 | + } | ||
89 | + input[type=text], | ||
90 | + input[type=email], | ||
91 | + input[type=url], | ||
92 | + input[type=password], | ||
93 | + textarea, | ||
94 | + select { | ||
95 | + width: 100%; | ||
96 | + } | ||
97 | + } | ||
98 | + @media (min-width: 1200px) { | ||
99 | + form > div > label, | ||
100 | + legend { | ||
101 | + text-align: right; | ||
102 | + } | ||
103 | + } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
EMO-SSAGE/emossage.js
0 → 100644
1 | +window.onload = function() { | ||
2 | + // Get the window displayed in the iframe. | ||
3 | + var receiver = document.getElementById('receiver').contentWindow; | ||
4 | + | ||
5 | + // Get a reference to the 'Send Message' button. | ||
6 | + var btn = document.getElementById('send'); | ||
7 | + | ||
8 | + // A function to handle sending messages. | ||
9 | + function sendMessage(e) { | ||
10 | + // Prevent any default browser behaviour. | ||
11 | + e.preventDefault(); | ||
12 | + | ||
13 | + // Send a message with the text 'Hello Treehouse!' to the new window. | ||
14 | + receiver.postMessage('Hello Treehouse!', 'https://odd-mune.github.io'); | ||
15 | + } | ||
16 | + | ||
17 | + // Add an event listener that will execute the sendMessage() function | ||
18 | + // when the send button is clicked. | ||
19 | + btn.addEventListener('click', sendMessage); | ||
20 | +} |
EMO-TI/EMO-TI.css
0 → 100644
1 | +.audio { | ||
2 | + align-content: center; | ||
3 | + margin-right: auto; | ||
4 | + margin-left: auto; | ||
5 | +} | ||
6 | + | ||
7 | +.swiper-container { | ||
8 | + width: 100%; | ||
9 | + height: 70%; | ||
10 | +} | ||
11 | + | ||
12 | +.swiper-slide { | ||
13 | + text-align: center; | ||
14 | + font-size: 18px; | ||
15 | + background: #fff; /* Center slide text vertically */ | ||
16 | + display: -webkit-box; | ||
17 | + display: -ms-flexbox; | ||
18 | + display: -webkit-flex; | ||
19 | + display: flex; | ||
20 | + -webkit-box-pack: center; | ||
21 | + -ms-flex-pack: center; | ||
22 | + -webkit-justify-content: center; | ||
23 | + justify-content: center; | ||
24 | + -webkit-box-align: center; | ||
25 | + -ms-flex-align: center; | ||
26 | + -webkit-align-items: center; | ||
27 | + align-items: center; | ||
28 | + box-shadow: 0px 2px 10px 0px #848484; | ||
29 | +} | ||
30 | + | ||
31 | +.swiper-slide img{ | ||
32 | + display: block; | ||
33 | + width: 100%; | ||
34 | + height: auto; | ||
35 | + object-fit: cover; | ||
36 | +} | ||
37 | + | ||
38 | +.swiper-slide:nth-child(2n) { | ||
39 | + width: 20%; | ||
40 | +} | ||
41 | + | ||
42 | +.swiper-slide:nth-child(3n) { | ||
43 | + width: 40%; | ||
44 | +} | ||
45 | + | ||
46 | +img { | ||
47 | + border: 0; | ||
48 | + content: normal!important; | ||
49 | + -webkit-user-select: none; | ||
50 | + -moz-user-select: none; | ||
51 | + -ms-user-select: none; | ||
52 | + user-select: none | ||
53 | +} | ||
54 | + | ||
55 | +*, | ||
56 | +:after, | ||
57 | +:before { | ||
58 | + -webkit-box-sizing: border-box; | ||
59 | + box-sizing: border-box | ||
60 | +} | ||
61 | + | ||
62 | + | ||
63 | +/* swiper container and slider styles here */ | ||
64 | + | ||
65 | +.swiper-container { | ||
66 | + margin-left: auto; | ||
67 | + margin-right: auto; | ||
68 | + position: relative; | ||
69 | + overflow: hidden; | ||
70 | + z-index: 1 | ||
71 | +} | ||
72 | + | ||
73 | +.swiper-wrapper { | ||
74 | + position: relative; | ||
75 | + width: 100%; | ||
76 | + height: 100%; | ||
77 | + z-index: 1; | ||
78 | + display: -webkit-box; | ||
79 | + display: -ms-flexbox; | ||
80 | + display: -webkit-flex; | ||
81 | + display: flex; | ||
82 | + -webkit-transition-property: -webkit-transform; | ||
83 | + -o-transition-property: transform; | ||
84 | + transition-property: transform; | ||
85 | + transition-property: transform, -webkit-transform; | ||
86 | + -webkit-box-sizing: content-box; | ||
87 | + box-sizing: content-box | ||
88 | +} | ||
89 | + | ||
90 | +.swiper-slide { | ||
91 | + -webkit-flex-shrink: 0; | ||
92 | + -ms-flex: 0 0 auto; | ||
93 | + -ms-flex-negative: 0; | ||
94 | + flex-shrink: 0; | ||
95 | + width: 100%; | ||
96 | + height: 100%; | ||
97 | + position: relative | ||
98 | +} | ||
99 | + | ||
100 | +.slideshow { | ||
101 | + height: 80vh; | ||
102 | + display: -webkit-box; | ||
103 | + display: -webkit-flex; | ||
104 | + display: -ms-flexbox; | ||
105 | + display: flex; | ||
106 | + -webkit-box-orient: vertical; | ||
107 | + -webkit-box-direction: normal; | ||
108 | + -webkit-flex-direction: column; | ||
109 | + -ms-flex-direction: column; | ||
110 | + flex-direction: column; | ||
111 | +} | ||
112 | + | ||
113 | +.slideshow__area { | ||
114 | + background: var(--bg-color-2); | ||
115 | + position: relative; | ||
116 | + -webkit-box-flex: 1; | ||
117 | + -webkit-flex: 1 1 auto; | ||
118 | + -ms-flex: 1 1 auto; | ||
119 | + flex: 1 1 auto | ||
120 | +} | ||
121 | + | ||
122 | +.slideshow__el { | ||
123 | + position: absolute; | ||
124 | + top: 0; | ||
125 | + left: 0; | ||
126 | + height: 100%; | ||
127 | + width: 100% | ||
128 | +} | ||
129 | + | ||
130 | +.slideshow__el[data-cursor=prev]:not([data-progress="0"]) { | ||
131 | + cursor: w-resize | ||
132 | +} | ||
133 | + | ||
134 | +.slideshow__el[data-cursor=next]:not([data-progress="1"]) { | ||
135 | + cursor: e-resize | ||
136 | +} | ||
137 | + | ||
138 | +.slideshow__slide { | ||
139 | + width: auto; | ||
140 | + max-width: 100%; | ||
141 | + display: -webkit-box; | ||
142 | + display: -webkit-flex; | ||
143 | + display: -ms-flexbox; | ||
144 | + display: flex; | ||
145 | + padding: 0 var(--slide-padding-x); | ||
146 | + -webkit-box-orient: vertical; | ||
147 | + -webkit-box-direction: normal; | ||
148 | + -webkit-flex-direction: column; | ||
149 | + -ms-flex-direction: column; | ||
150 | + flex-direction: column; | ||
151 | + -webkit-box-pack: center; | ||
152 | + -webkit-justify-content: center; | ||
153 | + -ms-flex-pack: center; | ||
154 | + justify-content: center; | ||
155 | + -webkit-box-align: center; | ||
156 | + -webkit-align-items: center; | ||
157 | + -ms-flex-align: center; | ||
158 | + align-items: center | ||
159 | +} | ||
160 | + | ||
161 | +@media (max-width:767px) { | ||
162 | + .slideshow__slide { | ||
163 | + padding: var(--slide-padding-y) var(--slide-padding-x); | ||
164 | + } | ||
165 | +} | ||
166 | + | ||
167 | +@media (min-width:768px) and (max-width:1023px) { | ||
168 | + .slideshow__slide { | ||
169 | + padding: var(--slide-padding-y) var(--slide-padding-x); | ||
170 | + } | ||
171 | +} | ||
172 | + | ||
173 | +@media (min-width:1024px) { | ||
174 | + .slideshow__slide { | ||
175 | + padding: var(--slide-padding-y) var(--slide-padding-x); | ||
176 | + } | ||
177 | +} | ||
178 | + | ||
179 | +.slideshow__slide .caption, .slideshow__slide .caption2 { | ||
180 | + display: none | ||
181 | +} | ||
182 | + | ||
183 | +.slideshow__slide img { | ||
184 | + width: auto; | ||
185 | + height: auto; | ||
186 | + max-height: 100%; | ||
187 | + max-width: 100%; | ||
188 | + display: block; | ||
189 | + opacity: 0; | ||
190 | + -webkit-transition: none; | ||
191 | + -o-transition: none; | ||
192 | + transition: none | ||
193 | +} | ||
194 | + | ||
195 | +.slideshow__slide img.lazyloaded { | ||
196 | + opacity: 1 | ||
197 | +} | ||
198 | + | ||
199 | + | ||
200 | +/* this is styling responsible responsive behavior for images in slide */ | ||
201 | + | ||
202 | +.responsive-img { | ||
203 | + position: relative; | ||
204 | + width: 100%; | ||
205 | + height: 100%; | ||
206 | + max-width: 100%; | ||
207 | + display: -webkit-box; | ||
208 | + display: -webkit-flex; | ||
209 | + display: -ms-flexbox; | ||
210 | + display: flex; | ||
211 | + -webkit-box-pack: center; | ||
212 | + -webkit-justify-content: center; | ||
213 | + -ms-flex-pack: center; | ||
214 | + justify-content: center; | ||
215 | + -webkit-box-align: center; | ||
216 | + -webkit-align-items: center; | ||
217 | + -ms-flex-align: center; | ||
218 | + align-items: center | ||
219 | +} | ||
220 | + | ||
221 | +.responsive-img img { | ||
222 | + width: auto; | ||
223 | + height: auto; | ||
224 | + max-height: 100%; | ||
225 | + max-width: 100%; | ||
226 | + display: block; | ||
227 | + -webkit-box-flex: 0; | ||
228 | + -webkit-flex: 0 0 auto; | ||
229 | + -ms-flex: 0 0 auto; | ||
230 | + flex: 0 0 auto | ||
231 | +} | ||
232 | + | ||
233 | + |
EMO-TI/EMO-TI.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | + <head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
7 | + <title>EMOJI-HUMAN</title> | ||
8 | + <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css"/> | ||
9 | + <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css"/> | ||
10 | + <script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script> | ||
11 | + <link rel="stylesheet" href="https://odd-mune.github.io/EMOJI-HUMAN/EMO-TI/EMO-TI.css"> | ||
12 | + <style> | ||
13 | + body { | ||
14 | + background-image: url("shrink-05.png"); | ||
15 | + background-repeat: no-repeat; | ||
16 | + background-size: 100%; | ||
17 | + font-family: Noto Sans KR, regular; | ||
18 | + font-size: 25pt; | ||
19 | + text-align: center; | ||
20 | + } | ||
21 | + h1 {font-size: 50px;} | ||
22 | + p1 {font-size: 24px;} | ||
23 | + p2 {font-size: 14px} | ||
24 | + p2.small {line-height: 0.7;} | ||
25 | + } | ||
26 | + </style> | ||
27 | + <div style="height: 100px; overflow: auto"> | ||
28 | + </div> | ||
29 | + | ||
30 | + </head> | ||
31 | + | ||
32 | + <body> | ||
33 | + | ||
34 | + <h1>MBTI + EMOJI<span>= EMOTI</span></h1> | ||
35 | + <p1>MBTI가 이모지라면? 그건 바로 EMOTI!</p1> | ||
36 | + <br> | ||
37 | + <p2> | ||
38 | + <p class="small"> 당신의 mbti가 이모지로 어떻게 바뀌었을지,<br> | ||
39 | + 아래의 카드에서 한 번 찾아보세요!<br> </p2> | ||
40 | + </p> | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + <div class="swiper-container"> | ||
46 | + <div class="swiper-wrapper"> | ||
47 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ISTP.jpg"></div> <!-- 0 --> | ||
48 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ISTJ.jpg"></div> <!-- 1 --> | ||
49 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ISFP.jpg"></div> <!-- 2 --> | ||
50 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ISFJ.jpg"></div> <!-- 3 --> | ||
51 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/INTP.jpg"></div> <!-- 4 --> | ||
52 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/INTJ.jpg"></div> <!-- 5 --> | ||
53 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/INFP.jpg"></div> <!-- 6 --> | ||
54 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/INFJ.jpg"></div> <!-- 7 --> | ||
55 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ESTP.jpg"></div> <!-- 8 --> | ||
56 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ESTJ.jpg"></div> <!-- 9 --> | ||
57 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ESFP.jpg"></div> <!-- 10 --> | ||
58 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ESFJ.jpg"></div> <!-- 11 --> | ||
59 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ENTP.jpg"></div> <!-- 12 --> | ||
60 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ENTJ.jpg"></div> <!-- 13 --> | ||
61 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ENFP.jpg"></div> <!-- 14 --> | ||
62 | + <div class="swiper-slide"><img src="https://odd-mune.github.io/EMOJI-HUMAN/src/ENFJ.jpg"></div> <!-- 15 --> | ||
63 | + </div> | ||
64 | + <!-- If we need pagination --> | ||
65 | + <div class="swiper-pagination"></div> | ||
66 | + <!-- Add Arrows --> | ||
67 | + <div class="swiper-button-next"></div> | ||
68 | + <div class="swiper-button-prev"></div> | ||
69 | + </div> | ||
70 | + <script src="https://odd-mune.github.io/EMOJI-HUMAN/EMO-TI/EMO-TI.js" type="module"></script> | ||
71 | + <div style="align-content: center;"> | ||
72 | + <audio id="istp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Burn The House Down.mp3" loop controls hidden></audio> | ||
73 | + <audio id="istj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Rise.mp3" loop controls hidden></audio> | ||
74 | + <audio id="isfp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/비밀의 화원.mp3" loop controls hidden></audio> | ||
75 | + <audio id="isfj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/always ill care.mp3" loop controls hidden></audio> | ||
76 | + <audio id="intp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Like That.mp3" loop controls hidden></audio> | ||
77 | + <audio id="intj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Va Va Vis.mp3" loop controls hidden></audio> | ||
78 | + <audio id="infp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/괜찮아도 괜찮아.mp3" loop controls hidden></audio> | ||
79 | + <audio id="infj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Shining.mp3" loop controls hidden></audio> | ||
80 | + <audio id="estp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Break The Rules.mp3" loop controls hidden></audio> | ||
81 | + <audio id="estj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Kings Queens.mp3" loop controls hidden></audio> | ||
82 | + <audio id="esfp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Beautiful Beautiful.mp3" loop controls hidden></audio> | ||
83 | + <audio id="esfj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Slow Ride.mp3" loop controls hidden></audio> | ||
84 | + <audio id="entp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/불꽃놀이.mp3" loop controls hidden></audio> | ||
85 | + <audio id="entj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Boss Bitch.mp3" loop controls hidden></audio> | ||
86 | + <audio id="enfp_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Moonshot.mp3" loop controls hidden></audio> | ||
87 | + <audio id="enfj_audio" src="https://odd-mune.github.io/EMOJI-HUMAN/src/Island Island.mp3" loop controls hidden></audio> | ||
88 | + </div> | ||
89 | +<br> | ||
90 | +<br> | ||
91 | +<br> | ||
92 | +<br> | ||
93 | +<br> | ||
94 | +<br> | ||
95 | +<br> | ||
96 | +<br> | ||
97 | +<br> | ||
98 | +<br> | ||
99 | +<br> | ||
100 | +<br> | ||
101 | +<br> | ||
102 | +<br> | ||
103 | +<br> | ||
104 | +<br> | ||
105 | +<br> | ||
106 | +<br> | ||
107 | +<br> | ||
108 | +<br> | ||
109 | + </body> | ||
110 | + | ||
111 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
EMO-TI/EMO-TI.js
0 → 100644
1 | +/* Javascrip 코드 */ | ||
2 | +const audios = [ | ||
3 | + document.getElementById("istp_audio"), | ||
4 | + document.getElementById("istj_audio"), | ||
5 | + document.getElementById("isfp_audio"), | ||
6 | + document.getElementById("isfj_audio"), | ||
7 | + document.getElementById("intp_audio"), | ||
8 | + document.getElementById("intj_audio"), | ||
9 | + document.getElementById("infp_audio"), | ||
10 | + document.getElementById("infj_audio"), | ||
11 | + document.getElementById("estp_audio"), | ||
12 | + document.getElementById("estj_audio"), | ||
13 | + document.getElementById("esfp_audio"), | ||
14 | + document.getElementById("esfj_audio"), | ||
15 | + document.getElementById("entp_audio"), | ||
16 | + document.getElementById("entj_audio"), | ||
17 | + document.getElementById("enfp_audio"), | ||
18 | + document.getElementById("enfj_audio"), | ||
19 | +]; | ||
20 | +const numMbtis = 16; | ||
21 | + | ||
22 | +/* ======== | ||
23 | +Debugger plugin, simple demo plugin to console.log some of callbacks | ||
24 | +======== */ | ||
25 | +function myPlugin({ swiper, extendParams, on }) { | ||
26 | + extendParams({ | ||
27 | + debugger: false, | ||
28 | + }); | ||
29 | + | ||
30 | + on('init', () => { | ||
31 | + if (!swiper.params.debugger) return; | ||
32 | + console.log('init'); | ||
33 | + }); | ||
34 | + on('click', (swiper, e) => { | ||
35 | + if (!swiper.params.debugger) return; | ||
36 | + console.log('click'); | ||
37 | + }); | ||
38 | + on('tap', (swiper, e) => { | ||
39 | + if (!swiper.params.debugger) return; | ||
40 | + console.log('tap'); | ||
41 | + }); | ||
42 | + on('doubleTap', (swiper, e) => { | ||
43 | + if (!swiper.params.debugger) return; | ||
44 | + console.log('doubleTap'); | ||
45 | + }); | ||
46 | + on('sliderMove', (swiper, e) => { | ||
47 | + if (!swiper.params.debugger) return; | ||
48 | + console.log('sliderMove'); | ||
49 | + }); | ||
50 | + on('slideChange', () => { | ||
51 | + audios[(swiper.previousIndex + numMbtis - 5) % numMbtis].pause(); | ||
52 | + audios[(swiper.previousIndex + numMbtis - 5) % numMbtis].currentTime = 0; | ||
53 | + audios[(swiper.activeIndex + numMbtis - 5) % numMbtis].play(); | ||
54 | + if (!swiper.params.debugger) return; | ||
55 | + console.log('slideChange', swiper.previousIndex, '->', swiper.activeIndex); | ||
56 | + }); | ||
57 | + on('slideChangeTransitionStart', () => { | ||
58 | + if (!swiper.params.debugger) return; | ||
59 | + console.log('slideChangeTransitionStart'); | ||
60 | + }); | ||
61 | + on('slideChangeTransitionEnd', () => { | ||
62 | + if (!swiper.params.debugger) return; | ||
63 | + console.log('slideChangeTransitionEnd'); | ||
64 | + }); | ||
65 | + on('transitionStart', () => { | ||
66 | + if (!swiper.params.debugger) return; | ||
67 | + console.log('transitionStart'); | ||
68 | + }); | ||
69 | + on('transitionEnd', () => { | ||
70 | + if (!swiper.params.debugger) return; | ||
71 | + console.log('transitionEnd'); | ||
72 | + }); | ||
73 | + on('fromEdge', () => { | ||
74 | + if (!swiper.params.debugger) return; | ||
75 | + console.log('fromEdge'); | ||
76 | + }); | ||
77 | + on('reachBeginning', () => { | ||
78 | + if (!swiper.params.debugger) return; | ||
79 | + console.log('reachBeginning'); | ||
80 | + }); | ||
81 | + on('reachEnd', () => { | ||
82 | + if (!swiper.params.debugger) return; | ||
83 | + console.log('reachEnd'); | ||
84 | + }); | ||
85 | + | ||
86 | +} | ||
87 | + | ||
88 | +// Install Plugin To Swiper | ||
89 | +Swiper.use([myPlugin]); | ||
90 | + | ||
91 | + | ||
92 | +let swiper = new Swiper('.swiper-container', { | ||
93 | + loop: true, | ||
94 | + centeredSlides: true, | ||
95 | + slidesPerView: '5', | ||
96 | + navigation: { | ||
97 | + nextEl: '.swiper-button-next', | ||
98 | + prevEl: '.swiper-button-prev', | ||
99 | + }, | ||
100 | + effect: 'coverflow', | ||
101 | + coverflowEffect: { | ||
102 | + rotate: 10, | ||
103 | + depth: 100, | ||
104 | + slideShadows: true, | ||
105 | + // modifier:1, | ||
106 | + // stretch:50 | ||
107 | + }, | ||
108 | + pagination: { | ||
109 | + el: '.swiper-pagination', | ||
110 | + type: 'bullets', | ||
111 | + clickable: true, | ||
112 | + }, | ||
113 | + spaceBetween: 30, | ||
114 | + keyboard: { | ||
115 | + enabled: true, | ||
116 | + }, | ||
117 | + mousewheel: true, | ||
118 | + // Enable debugger | ||
119 | + debugger: true, | ||
120 | +}); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
EMO-TI/emoti-05.png
0 → 100644
1.47 MB
EMO-TI/shrink-05.png
0 → 100644
1.42 MB
EMOJI-HUMAN/EMOJI-HUMAN.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="ko"> | ||
3 | + | ||
4 | +<head> | ||
5 | + <title>EMOJI-HUMAN</title> | ||
6 | + <link rel="stylesheet" href="="https://odd-mune.github.io/EMOJI-HUMAN//index.css"> | ||
7 | + <link rel="icon" type="image/x-icon" href="https://odd-mune.github.io/EMOJI-HUMAN/src/rainbow_1f308.png"> | ||
8 | +/* | ||
9 | + <DIV style="position:absolute; left: 241px; top: 49px;"><A href="https://odd-mune.github.io/EMOJI-HUMAN/About Us/About Us.html"> About us? </A></div> | ||
10 | + <DIV style="position:absolute; left: 964px; top: 49px;"><A href="https://odd-mune.github.io/EMOJI-HUMAN/EMO-TI/EMO-TI.html"> Emoti</A></div> | ||
11 | + <DIV style="position:absolute; left: 1269px; top: 49px;"><A href="https://odd-mune.github.io/EMOJI-HUMAN/EMO-SSAGE/EMO-SSAGE.html"> Emossage</A></div> | ||
12 | + */ | ||
13 | + <style> | ||
14 | + body { | ||
15 | + background-image: url("emojihuman-04.png"); | ||
16 | + background-repeat: no-repeat; | ||
17 | + background-size: 100%; | ||
18 | + font-family: Noto Sans KR, regular; | ||
19 | + text-align: center; | ||
20 | + } | ||
21 | + h1 {font-size: 50px; | ||
22 | + letter-spacing: 10px;} | ||
23 | + p1 {font-size: 24px;} | ||
24 | + p2 {font-size: 14px} | ||
25 | + p2.small {line-height: 0.7;} | ||
26 | + </style> | ||
27 | + <div style="height: 100px; overflow: auto"> | ||
28 | + </div> | ||
29 | +</head> | ||
30 | + | ||
31 | +<body> | ||
32 | + <h1>Emoji Human,<span> Who are you?</span></h1> | ||
33 | + <p1>이모지 인간의 정체가 궁금해요.</p1> | ||
34 | + <br> | ||
35 | + <p2> | ||
36 | + <p class="small"> 이모지일까요, 인간일까요?<br> | ||
37 | + 직접 대화하면서<br> 차근차근 알아가봅시다! </p2> | ||
38 | + </p> | ||
39 | + | ||
40 | + | ||
41 | +</body> |
EMOJI-HUMAN/emojihuman-04.png
0 → 100644
5.41 MB
index.css
0 → 100644
This diff is collapsed. Click to expand it.
index.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="ko"> | ||
3 | + | ||
4 | +<head> | ||
5 | + <title>EMOJI-HUMAN</title> | ||
6 | + <link rel="stylesheet" href="https://odd-mune.github.io/EMOJI-HUMAN/index.css"> | ||
7 | + <link rel="icon" type="image/x-icon" href="https://odd-mune.github.io/EMOJI-HUMAN/src/rainbow_1f308.png"> | ||
8 | +</head> | ||
9 | + | ||
10 | +<body> | ||
11 | + | ||
12 | + <!-- partial:index.partial.html --> | ||
13 | + <div id="gradient-bg"> | ||
14 | + </div> | ||
15 | + <!-- partial --> | ||
16 | + <script src="https://odd-mune.github.io/EMOJI-HUMAN/index.js"></script> | ||
17 | + | ||
18 | + <button id="button1" onclick="document.location='https://odd-mune.github.io/EMOJI-HUMAN/About Us/About Us.html'">About Us</button> | ||
19 | + <button id="button2" onclick="document.location='https://odd-mune.github.io/EMOJI-HUMAN/EMOJI-HUMAN/EMOJI-HUMAN.html'">EMOJI-HUMAN</button> | ||
20 | + <button id="button3" onclick="document.location='https://odd-mune.github.io/EMOJI-HUMAN/EMO-TI/EMO-TI.html'">EMO-TI</button> | ||
21 | + <button id="button4" onclick="document.location='https://odd-mune.github.io/EMOJI-HUMAN/EMO-SSAGE/EMO-SSAGE.html'">EMO-SSAGE</button> | ||
22 | + | ||
23 | + <br /> | ||
24 | + <hr /> | ||
25 | + | ||
26 | + | ||
27 | +</body> |
index.js
0 → 100644
1 | +//the only purpose of this is to generate the CSS keyframes | ||
2 | + | ||
3 | +var str = 0; | ||
4 | + var num = 100; | ||
5 | + var porcents = 100; | ||
6 | + | ||
7 | + for (let i = 0; i < 101; i++) { | ||
8 | + | ||
9 | + console.log(""+ porcents +"% { background-image: radial-gradient(circle at top left, rgb(236, 183, 16) 0%, rgba(225, 243, 97,0) "+ num +"%),radial-gradient(circle at bottom right, rgb(114, 215, 52) 0%, rgba(204, 104, 119, 0) "+ num +"%),radial-gradient(circle at top right, rgb(255, 255, 255) 0%, rgba(155, 221, 240,0) "+ num +"%),radial-gradient(ellipse at bottom center, rgb(232, 186, 186) 0%, rgba(254, 43, 0, 0) "+ num +"%);}"); | ||
10 | + | ||
11 | + str = str + i; | ||
12 | + num = num - 0.5; | ||
13 | + porcents = porcents -1; | ||
14 | + } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/Beautiful Beautiful.mp3
0 → 100644
No preview for this file type
src/Boss Bitch.mp3
0 → 100644
No preview for this file type
src/Break The Rules.mp3
0 → 100644
No preview for this file type
src/Burn The House Down.mp3
0 → 100644
No preview for this file type
src/ENFJ.jpg
0 → 100644
85.3 KB
src/ENFP.jpg
0 → 100644
86.5 KB
src/ENTJ.jpg
0 → 100644
86.5 KB
src/ENTP.jpg
0 → 100644
88 KB
src/ESFJ.jpg
0 → 100644
83.2 KB
src/ESFP.jpg
0 → 100644
85.4 KB
src/ESTJ.jpg
0 → 100644
86.3 KB
src/ESTP.jpg
0 → 100644
84.2 KB
src/INFJ.jpg
0 → 100644
75.8 KB
src/INFP.jpg
0 → 100644
77.9 KB
src/INTJ.jpg
0 → 100644
80.5 KB
src/INTP.jpg
0 → 100644
80 KB
src/ISFJ.jpg
0 → 100644
80.2 KB
src/ISFP.jpg
0 → 100644
81.3 KB
src/ISTJ.jpg
0 → 100644
81.3 KB
src/ISTP.jpg
0 → 100644
78 KB
src/Island Island.mp3
0 → 100644
No preview for this file type
src/Kings Queens.mp3
0 → 100644
No preview for this file type
src/Like That.mp3
0 → 100644
No preview for this file type
src/Moonshot.mp3
0 → 100644
No preview for this file type
src/Rise.mp3
0 → 100644
No preview for this file type
src/Shining.mp3
0 → 100644
No preview for this file type
src/Slow Ride.mp3
0 → 100644
No preview for this file type
src/Va Va Vis.mp3
0 → 100644
No preview for this file type
src/always ill care.mp3
0 → 100644
No preview for this file type
src/emo-ssage.jpg
0 → 100644
3.53 MB
src/kim.png
0 → 100644
75.5 KB
src/rainbow_1f308.png
0 → 100644
18.8 KB
src/song.png
0 → 100644
59.9 KB
src/괜찮아도 괜찮아.mp3
0 → 100644
No preview for this file type
src/불꽃놀이.mp3
0 → 100644
No preview for this file type
src/비밀의 화원.mp3
0 → 100644
No preview for this file type
style/main.css
0 → 100644
1 | +button | ||
2 | +{ | ||
3 | + margin: 30px; | ||
4 | + border: 3x solid black; | ||
5 | + background-color: yellow; | ||
6 | + color: black; | ||
7 | + padding: 5px; | ||
8 | + border-radius: 8px; | ||
9 | +} | ||
10 | + | ||
11 | +<a href="#" class="button1">About Us</a> | ||
12 | + | ||
13 | +.button1 { | ||
14 | + box-shadow: 5px 10px 14px 2px #9fb4f2; | ||
15 | + background:linear-gradient(to bottom, #7892c2 5%, #476e9e 100%); | ||
16 | + background-color:#7892c2; | ||
17 | + border-radius:8px; | ||
18 | + display:inline-block; | ||
19 | + cursor:pointer; | ||
20 | + color:#ffffff; | ||
21 | + font-family:Arial; | ||
22 | + font-size:20px; | ||
23 | + font-weight:bold; | ||
24 | + padding:13px 32px; | ||
25 | + text-decoration:none; | ||
26 | + text-shadow:0px 1px 0px #283966; | ||
27 | +} | ||
28 | +.About Us:hover { | ||
29 | + background:linear-gradient(to bottom, #476e9e 5%, #7892c2 100%); | ||
30 | + background-color:#476e9e; | ||
31 | +} | ||
32 | +.About Us:active { | ||
33 | + position:relative; | ||
34 | + top:1px; | ||
35 | +} | ||
36 | + | ||
37 | + |
-
Please register or login to post a comment