|
5 | 5 | <!-- site title, logo and description -->
|
6 | 6 | <!-- to update, edit the global site config.yaml -->
|
7 | 7 | <section>
|
8 |
| - <div class="w-md-50 m-auto mt-md-4 mt-sm-2"> |
9 |
| - <div class="d-md-flex ml-lg-20-percent"> |
10 |
| - <div class="pl-2 d-sm-none"><img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo"> |
| 8 | + <div class="w-100 m-auto mt-2"> |
| 9 | + <div class="d-md-flex justify-center"> |
| 10 | + <div class="d-sm-none"><img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo"> |
11 | 11 | </div>
|
12 |
| - <div class="pl-2"> |
| 12 | + <div class="w-md-25 pl-2"> |
13 | 13 | <div class="title">{{ site.title }}</div>
|
14 | 14 | <div class="">
|
15 |
| - <p class="w-80"> |
| 15 | + <p> |
16 | 16 | {{ site.description }}
|
17 | 17 | </p>
|
18 | 18 | </div>
|
|
23 | 23 |
|
24 | 24 | <!-- explainer image, paragraph and links to demos -->
|
25 | 25 | <!-- to update, edit index.markdown file in the root folder -->
|
26 |
| -<section class="p-2"> |
27 |
| - <div class="m-auto w-md-30 mt-md-4"> |
| 26 | +<section> |
| 27 | + <div class="m-auto w-md-25 mt-2"> |
28 | 28 | <img class="img-fluid" src="{{site.baseurl}}/assets/img/explainer.jpg" alt="RustPython Explainer">
|
29 | 29 | </div>
|
30 | 30 | <div class="mt-md-4 mt-sm-2 w-md-50 m-auto">
|
31 |
| - <p class="mt-md-4 text-justify"> |
| 31 | + <p class="mt-md-4"> |
32 | 32 | {{ page.explainer }}
|
33 | 33 | </p>
|
34 | 34 | </div>
|
35 | 35 | <div class="text-md-center">
|
36 | 36 | <ul class="list-inline">
|
37 | 37 | {% for demo in page.demo %}
|
38 |
| - <li class="float-left m-small"><a rel="noopener" rel="noreferrer" href="{{ demo.url }}" target="_blank">{{ demo.label }}</a></li> |
| 38 | + <li class="float-left pr-1 mt-1"><a rel="noopener" rel="noreferrer" href="{{ demo.url }}" target="_blank">{{ demo.label }}</a></li> |
39 | 39 | {% endfor %}
|
40 | 40 | </ul>
|
41 | 41 | </div>
|
42 | 42 | </section>
|
43 | 43 |
|
44 | 44 | <!-- installation instructions -->
|
45 | 45 | <!-- to update, edit the parameters in the index.markdown file -->
|
46 |
| -<section class="p-2"> |
| 46 | +<section> |
47 | 47 | <div class="text-center">
|
48 | 48 | <div class="section-title"> Installation</div>
|
49 | 49 | {% for install in page.installation %}
|
50 |
| - <mark class="code m-auto"> {{ install.command }} </mark> |
| 50 | + <mark class="code d-table m-auto mt-1"> {{ install.command }} </mark> |
51 | 51 | {% endfor %}
|
52 | 52 | <div class="mt-1"> <small><a rel="noopener" rel="noreferrer" href="{{ page.build-from-source-link }}" target="_blank">OR BUILD FROM SOURCE</a> </small></div>
|
53 | 53 | </div>
|
54 | 54 | </section>
|
55 | 55 |
|
56 | 56 | <!-- goals and why rustpython -->
|
57 | 57 | <!-- to update, edit the parameters in the index.markdown file -->
|
58 |
| -<section class="bg-light"> |
59 |
| - <div class="w-80 m-auto p-2"> |
| 58 | +<section class="bg-light mt-2"> |
| 59 | + <div class="w-md-80 m-auto"> |
60 | 60 | <div class="section-title">Goals</div>
|
61 |
| - <div id="goals" class="d-md-flex "> |
| 61 | + <div class="d-md-flex "> |
62 | 62 | {% for goals in page.goals %}
|
63 |
| - <div class="bg-rust text-white p-2 w-md-30 mt-2 goal"> |
64 |
| - {{ goals.goal }} |
| 63 | + <div class="w-md-50 mt-2 goal bg-rust"> |
| 64 | + <div class=" text-white p-2"> |
| 65 | + {{ goals.goal }} |
| 66 | + </div> |
65 | 67 | </div>
|
66 | 68 | {% endfor %}
|
67 | 69 | </div>
|
|
70 | 72 | {{ content }}
|
71 | 73 | </div>
|
72 | 74 | <div class="w-md-50 mt-2">
|
73 |
| - <div class="border p-2 w-lg-30 w-md-50 m-auto mt-2"> |
74 |
| - <div> |
| 75 | + <div class="border w-md-50 float-md-right mt-md-4 p-2"> |
75 | 76 | <strong> Learn more </strong>
|
76 | 77 | <!-- list of posts where category is "featured" -->
|
77 | 78 | <ul class="list-unstyled">
|
|
81 | 82 | {% endif %}
|
82 | 83 | {%- endfor -%}
|
83 | 84 | </ul>
|
84 |
| - </div> |
85 | 85 | </div>
|
86 | 86 | </div>
|
87 | 87 | </div>
|
|
91 | 91 | <!-- contributor list -->
|
92 | 92 | <!-- to edit, update _data/contributors.json -->
|
93 | 93 | <section>
|
94 |
| - <div class="w-80 m-auto p-2"> |
| 94 | + <div class="w-md-80 m-auto"> |
95 | 95 | <div class="section-title"> Contributors </div>
|
96 | 96 | <p class="w-80">{{ site.contributor_excerpt}}</p>
|
97 | 97 | <ul class="list-contributors">
|
98 | 98 | {% for contributor in site.data.contributors %}
|
99 | 99 | <li><a rel="noopener" rel="noreferrer" href="https://github.com/{{ contributor.github_username }}" target="_blank">{{ contributor.github_username }}</a></li>
|
100 | 100 | {% endfor %}
|
101 | 101 | </ul>
|
102 |
| - <div><small><a href="https://github.com/RustPython/RustPython/graphs/contributors">VIEW MORE</a></small></div> |
103 |
| - <div><small><a href="https://github.com/RustPython/RustPython/#contributing">HOW TO CONTRIBUTE</a></small></div> |
| 102 | + <div class="d-md-flex"> |
| 103 | + <div class="pr-1 mt-1"><small><a href="https://github.com/RustPython/RustPython/graphs/contributors">VIEW MORE</a></small></div> |
| 104 | + <div class="mt-1"><small><a href="https://github.com/RustPython/RustPython/#contributing">HOW TO CONTRIBUTE</a></small></div> |
| 105 | + </div> |
104 | 106 | </div>
|
105 | 107 | </section>
|
0 commit comments