ios/AppStore/header.html

59 lines · 2869 bytes

 1<!doctype html>
 2<!-- Product page header. header.html renders the 21:9 header (3840x1646), header.html#wide the
 3     16:9 one (5244x2950), with headless Chromium, then the alpha channel is removed:
 4     Chromium --headless --hide-scrollbars --force-device-scale-factor=1 --window-size=3840,1646 --screenshot=header-21x9.png header.html
 5     Chromium --headless --hide-scrollbars --force-device-scale-factor=1 --window-size=5244,2950 --screenshot=header-16x9.png 'header.html#wide'
 6     magick header-21x9.png -alpha off PNG24:header-21x9.png -->
 7<html>
 8<head>
 9<meta charset="utf-8">
10<style>
11  html, body { margin: 0; width: 3840px; height: 1646px; overflow: hidden; }
12  body {
13    background: linear-gradient(120deg, #21338c 0%, #3a2c9a 45%, #6638b3 100%);
14    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", sans-serif;
15    color: #fff;
16    position: relative;
17  }
18  .glow {
19    position: absolute; left: 50%; top: 58%; width: 2600px; height: 1400px;
20    transform: translate(-50%, -50%);
21    background: radial-gradient(closest-side, rgba(255, 199, 77, 0.22), rgba(255, 199, 77, 0));
22  }
23  h1 {
24    position: absolute; top: 120px; left: 0; right: 0; margin: 0;
25    text-align: center; font-size: 150px; font-weight: 700; letter-spacing: -2px;
26  }
27  h1 span { color: #ffc74d; }
28  .device {
29    position: absolute; background: #0c0c12; box-shadow: 0 60px 140px rgba(0, 0, 0, 0.45);
30  }
31  .device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
32  .ipad { width: 1500px; height: 2000px; left: 1170px; top: 400px; padding: 34px; border-radius: 90px; }
33  .ipad img { border-radius: 58px; }
34  .iphone { width: 600px; height: 1304px; top: 520px; padding: 22px; border-radius: 110px; }
35  .iphone img { border-radius: 90px; }
36  .left { left: 440px; }
37  .right { right: 440px; }
38
39  /* 16:9, 5244x2950. */
40  html.wide, .wide body { width: 5244px; height: 2950px; }
41  .wide .glow { width: 3800px; height: 2400px; }
42  .wide h1 { top: 260px; font-size: 220px; letter-spacing: -3px; }
43  .wide .ipad { width: 2100px; height: 2800px; left: 1524px; top: 680px; padding: 48px; border-radius: 126px; }
44  .wide .ipad img { border-radius: 80px; }
45  .wide .iphone { width: 860px; height: 1869px; top: 900px; padding: 32px; border-radius: 158px; }
46  .wide .iphone img { border-radius: 128px; }
47  .wide .left { left: 560px; }
48  .wide .right { right: 560px; }
49</style>
50<script>if (location.hash === "#wide") document.documentElement.className = "wide";</script>
51</head>
52<body>
53  <div class="glow"></div>
54  <h1>Your org files, <span>wherever you are.</span></h1>
55  <div class="device ipad"><img src="screenshots/ipad/01-agenda.png"></div>
56  <div class="device iphone left"><img src="screenshots/iphone-6.9/02-reader.png"></div>
57  <div class="device iphone right"><img src="screenshots/iphone-6.9/05-capture.png"></div>
58</body>
59</html>