|
2 | 2 | layout: default |
3 | 3 | --- |
4 | 4 |
|
5 | | -<!-- site title, logo and description --> |
6 | | -<!-- to update, edit the global site config.yaml --> |
7 | 5 | <section> |
| 6 | + <!-- site title, logo and description --> |
| 7 | + <!-- to update, edit the global site config.yaml --> |
8 | 8 | <div class="w-100 m-auto mt-2"> |
9 | 9 | <div class="d-md-flex justify-center"> |
10 | 10 | <div class="d-sm-none"><img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" |
11 | 11 | alt="RustPython Logo"> |
12 | 12 | </div> |
13 | | - <div class="w-md-25 pl-2"> |
| 13 | + <div class="w-md-50 w-lg-25 pl-2"> |
14 | 14 | <div class="title">{{ site.title }}</div> |
15 | 15 | <div class=""> |
16 | 16 | <p> |
|
20 | 20 | </div> |
21 | 21 | </div> |
22 | 22 | </div> |
23 | | -</section> |
24 | 23 |
|
25 | | -<!-- explainer image, paragraph and links to demos --> |
26 | | -<!-- to update, edit index.markdown file in the root folder --> |
27 | | -<section> |
28 | | - <div class="m-auto w-md-25 mt-2"> |
29 | | - <img class="img-fluid" src="{{site.baseurl}}/assets/img/explainer.jpg" alt="RustPython Explainer"> |
| 24 | + <!-- explainer table + paragraph and links to demos --> |
| 25 | + <!-- to update, edit index.markdown file in the root folder --> |
| 26 | + <div class="m-auto w-md-50 w-lg-25 mt-2"> |
| 27 | + <table class="w-100"> |
| 28 | + <tr> |
| 29 | + <td class="valign-center vpad-small"> |
| 30 | + <img class="explainer-icon" src="{{site.baseurl}}/assets/img/python-logo.svg" alt="Python Logo"> |
| 31 | + Python |
| 32 | + </td> |
| 33 | + <td></td><td></td> |
| 34 | + </tr> |
| 35 | + <tr> |
| 36 | + <td class="valign-center vpad-small"> |
| 37 | + ↓ |
| 38 | + </td> |
| 39 | + <td></td><td></td> |
| 40 | + </tr> |
| 41 | + <tr> |
| 42 | + <td><div class="padding-small text-center"> |
| 43 | + <!-- inline css to get it to look like one word, despite the padding classes --> |
| 44 | + <span class="bg-rust rustpy-name text-white" style="padding-right: 1px;">Rust</span |
| 45 | + ><span class="color-py rustpy-name" style="padding-left: 0;">Python</span> |
| 46 | + </div></td> |
| 47 | + <td class="text-center padding-small"> |
| 48 | + → |
| 49 | + </td> |
| 50 | + <td><div class="valign-center padding-small text-center">Python embedded in Rust apps</div></td> |
| 51 | + </tr> |
| 52 | + <tr> |
| 53 | + <td class="valign-center vpad-small"> |
| 54 | + ↓ |
| 55 | + </td> |
| 56 | + <td></td><td></td> |
| 57 | + </tr> |
| 58 | + <tr> |
| 59 | + <td><div class="valign-center vpad-small"> |
| 60 | + <img class="explainer-icon" src="{{site.baseurl}}/assets/img/wasm-logo.svg" alt="WebAssembly Logo"> |
| 61 | + WebAssembly |
| 62 | + </div></td> |
| 63 | + <td class="text-center padding-small"> |
| 64 | + → |
| 65 | + </td> |
| 66 | + <td><div class="valign-center padding-small text-center">Python on the Web</div></td> |
| 67 | + </tr> |
| 68 | + </table> |
30 | 69 | </div> |
31 | 70 | <div class="mt-md-4 mt-sm-2 w-md-50 m-auto"> |
32 | 71 | <p class="mt-md-4"> |
|
0 commit comments