|
4 | 4 | <style> |
5 | 5 | @font-face { |
6 | 6 | font-family: Inter; |
7 | | - src: url('Inter.ttf'); |
| 7 | + src: url('Inter-VariableFont_slnt,wght.ttf'); |
8 | 8 | } |
9 | 9 |
|
10 | | - video.center { |
11 | | - display: block; |
12 | | - margin-left: auto; |
13 | | - margin-right: auto; |
| 10 | + div { |
| 11 | + position: relative; |
14 | 12 | } |
15 | 13 |
|
16 | | - p { |
17 | | - color: gray; |
18 | | - text-align: center; |
| 14 | + h1 { |
| 15 | + color: white; |
| 16 | + font-family: Inter; |
| 17 | + font-weight: bolder; |
| 18 | + font-size: clamp(24px, 8vw, 72px); |
| 19 | + line-height: 0; |
| 20 | + } |
| 21 | + |
| 22 | + p { |
| 23 | + color: white; |
19 | 24 | font-family: Inter; |
20 | | - font-size: 18px; |
| 25 | + font-size: clamp(12px, 5vw, 18px); |
21 | 26 | } |
22 | 27 |
|
23 | 28 | a { |
24 | 29 | color :white; |
25 | 30 | } |
| 31 | + |
| 32 | + img { |
| 33 | + width:100%; |
| 34 | + } |
| 35 | + |
| 36 | + #nav img{ |
| 37 | + width: clamp(250px, 35vw, 35vw); |
| 38 | + padding-top: 20px; |
| 39 | + display: block; |
| 40 | + margin-left: auto; |
| 41 | + margin-right: auto; |
| 42 | + } |
| 43 | + |
| 44 | + .text-block { |
| 45 | + position: absolute; |
| 46 | + left: 5vw; |
| 47 | + top: 3vw; |
| 48 | + } |
| 49 | + |
| 50 | + .notice { |
| 51 | + background-color: red; |
| 52 | + position: absolute; |
| 53 | + top: 5vw; |
| 54 | + left: clamp(100px, 60vw, 560px); |
| 55 | + padding-left: 10px; |
| 56 | + padding-right: 10px; |
| 57 | + font-weight: bolder; |
| 58 | + line-height: 0; |
| 59 | + } |
| 60 | + .notice p { |
| 61 | + font-size: clamp(2px, 3vw, 18px); |
| 62 | + } |
26 | 63 | </style> |
27 | 64 | </head> |
28 | 65 |
|
29 | 66 | <link rel="icon" type="image/png" href="favicon.png" > |
30 | 67 |
|
31 | | - <video class="center" width="75%" autoplay muted loop> |
32 | | - <source src="coming_soon.mp4" type="video/mp4"> |
33 | | - </video> |
34 | | - |
35 | | - <p> |
36 | | - <a href="https://github.com/devansoliman">github</a>   |   |
37 | | - <a href="https://www.linkedin.com/in/devansoliman/">linkedin</a>   |   |
38 | | - <a href="https://devansoliman.github.io/resume.pdf">resume</a> |
39 | | - </p> |
| 68 | + <div id="nav"> |
| 69 | + <img src="logo.png"> |
| 70 | + <p style="color: grey; text-align: center;"> |
| 71 | + <a href="https://github.com/devansoliman">github</a>   |   |
| 72 | + <a href="https://www.linkedin.com/in/devansoliman/">linkedin</a>   |   |
| 73 | + <a href="https://devansoliman.github.io/resume.pdf">resume</a> |
| 74 | + </p> |
| 75 | + </div> |
| 76 | + |
| 77 | + <div id="actionpi"> |
| 78 | + <a href="https://github.com/devansoliman/ActionPi"> |
| 79 | + <img src="actionpi.jpg"> |
| 80 | + </a> |
| 81 | + <div class="text-block"> |
| 82 | + <h1>ActionPi</h1> |
| 83 | + <p style="width: clamp(100px, 30vw, 600px);">The world's smallest open-source action camera.</p> |
| 84 | + </div> |
| 85 | + </div> |
| 86 | + |
| 87 | + <div id="bruiser"> |
| 88 | + <a href="https://github.com/devansoliman/Bruiser"> |
| 89 | + <img src="bruiser.jpg"> |
| 90 | + </a> |
| 91 | + <div class="text-block"> |
| 92 | + <h1 style="color: black;">Bruiser</h1> |
| 93 | + <p style="color: black; width: clamp(100px, 40vw, 600px);"">3D-printable skateboards.</p> |
| 94 | + </div> |
| 95 | + </div> |
| 96 | + |
| 97 | + <div id="openportable"> |
| 98 | + <img src="openportable.jpg"> |
| 99 | + <div class="text-block"> |
| 100 | + <h1>openPortable</h1> |
| 101 | + <p>A series of open-source mobile computing platforms.</p> |
| 102 | + </div> |
| 103 | + <div class="notice"> |
| 104 | + <p>COMING SOON</p> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + |
| 108 | + |
40 | 109 | </html> |
0 commit comments