Skip to content

Commit 670f80e

Browse files
committed
space out the server/client slide
1 parent 7324c26 commit 670f80e

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

site/_css/index.less

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -256,17 +256,24 @@ body.index {
256256

257257
.app-to-server {
258258
width: 476px;
259-
height: 370px;
259+
height: 430px;
260260
position: relative;
261261
pointer-events: none;
262262

263-
& > img {
263+
.phone, .server {
264264
position: absolute;
265-
top: -35px;
266265
left: -10px;
267266
right: -10px;
268267
}
269268

269+
.phone {
270+
bottom: -35px;
271+
}
272+
273+
.server {
274+
top: -35px;
275+
}
276+
270277
.prism {
271278
background: none;
272279
box-shadow: none;
@@ -285,7 +292,7 @@ body.index {
285292
@keyframes query-up {
286293
from {
287294
opacity: 0;
288-
top: 170px;
295+
top: 200px;
289296
}
290297

291298
5%, 25% {
@@ -297,20 +304,20 @@ body.index {
297304
}
298305

299306
50%, 100% {
300-
top: 100px;
307+
top: 120px;
301308
opacity: 0;
302309
}
303310
}
304311
}
305312

306313
.response {
307-
animation: response-down 6s 2.3s infinite ease-out both;
314+
animation: response-down 6s 2.3s infinite ease-in both;
308315
left: 125px;
309316

310317
@keyframes response-down {
311318
0% {
312319
opacity: 0;
313-
top: 80px;
320+
top: 100px;
314321
}
315322

316323
10% {
@@ -323,7 +330,7 @@ body.index {
323330

324331
50%, 100% {
325332
opacity: 0;
326-
top: 140px;
333+
top: 170px;
327334
}
328335
}
329336
}

site/index.html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ var index = React.createClass({
192192
network&nbsp;connections.</p>
193193
</div>
194194
<div className="app-to-server" aria-hidden>
195-
<img src="/img/phone.svg" width="496" height="440" />
195+
<img src="/img/phone.svg" width="496" height="440" className="phone" />
196196
<div className="query">
197197
<Prism>
198198
{`{
@@ -220,7 +220,7 @@ var index = React.createClass({
220220
}`}
221221
</Prism>
222222
</div>
223-
<img src="/img/server.svg" width="496" height="440" />
223+
<img src="/img/server.svg" width="496" height="440" className="server" />
224224
</div>
225225
</section>
226226
</div>

0 commit comments

Comments
 (0)