| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0be7a39 commit 0ab6d8c
14 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,12 +23,13 @@ description: "An open source Python-3 (CPython >= 3.5.0) Interpreter written in | |||
| 23 | 23 | # baseurl: "/" # the subpath of your site, e.g. /blog | |
| 24 | 24 | url: "https://rustpython.github.io" # the base hostname & protocol for your site, e.g. http://example.com | |
| 25 | 25 | github_username: RustPython | |
| 26 | - disclaimer: "The disclaimer not to use this in production. Update this in the config.yml file at the root." | ||
| 26 | + disclaimer: "RustPython is in a development phase and should not be used in production or a fault intolerant setting. Our current build supports only a subset of Python syntax." | ||
| 27 | 27 | github: https://github.com/RustPython/RustPython/ | |
| 28 | 28 | docs: https://github.com/RustPython/docs/ | |
| 29 | 29 | gitter: https://gitter.im/rustpython/Lobby | |
| 30 | 30 | show_excerpts: true | |
| 31 | 31 | contributor_excerpt: "" # TODO: write something here, goes right under "Contributors" heading | |
| 32 | + blog-intro: Create an issue if you read something wrong. Edit posts or create new ones via PR on <a target="_blank" href="https://github.com/RustPython/rustpython.github.io">github.com/RustPython/rustpython.github.io</a> | ||
| 32 | 33 | ||
| 33 | 34 | navigation: | |
| 34 | 35 | - title: Blog | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,9 @@ | |||
| 1 | 1 | <header> | |
| 2 | 2 | <nav class="menu w-100 text-center border-bottom"> | |
| 3 | 3 | <ul class="list-inline"> | |
| 4 | - <li class="m-small float-left"><a href="{{ site.baseurl }}">Home</a></li> | ||
| 4 | + <li class="float-left pl-1 pr-1"><a href="{{ site.url }}">Home</a></li> | ||
| 5 | 5 | {% for item in site.navigation %} | |
| 6 | - <li class="m-small float-left"><a href="{{ item.url | relativeurl }}">{{item.title}}</a></li> | ||
| 6 | + <li class="float-left pr-1"><a href="{{ item.url | relativeurl }}">{{item.title}}</a></li> | ||
| 7 | 7 | {% endfor %} | |
| 8 | 8 | </ul> | |
| 9 | 9 | </nav> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,27 +3,31 @@ | |||
| 3 | 3 | --- | |
| 4 | 4 | ||
| 5 | 5 | <section> | |
| 6 | - <div class="w-80 m-auto mt-md-4 mt-sm-2"> | ||
| 6 | + <div class="w-80 m-auto mt-2"> | ||
| 7 | 7 | <div class="d-md-flex"> | |
| 8 | 8 | <div class="d-sm-none"> | |
| 9 | 9 | <img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo"> | |
| 10 | 10 | </div> | |
| 11 | 11 | <div class="pl-md-2"> | |
| 12 | 12 | <div class="section-title">Archive</div> | |
| 13 | 13 | <div class="title">{{ site.title }} {{ page.title | escape }}</div> | |
| 14 | + <small>{{ site.blog-intro }}</small> | ||
| 14 | 15 | </div> | |
| 15 | 16 | </div> | |
| 16 | 17 | </div> | |
| 17 | 18 | </section> | |
| 18 | 19 | ||
| 19 | - <div class="w-80 m-auto mt-md-4 mt-sm-2"> | ||
| 20 | + <div class="w-80 m-auto mt-2"> | ||
| 21 | + <div class="blog-intro"> | ||
| 22 | + {{ content }} | ||
| 23 | + </div> | ||
| 20 | 24 | {%- if site.posts.size > 0 -%} | |
| 21 | 25 | <ul class="list-unstyled "> | |
| 22 | 26 | {%- for post in site.posts -%} | |
| 23 | - <li class="blog-entry mt-4"> | ||
| 27 | + <li class="blog-entry mt-4 "> | ||
| 24 | 28 | {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} | |
| 25 | 29 | <!-- flex container --> | |
| 26 | - <div class="d-md-flex"> | ||
| 30 | + <div class="d-md-flex "> | ||
| 27 | 31 | <div class="pl-md-2 mt-1"> | |
| 28 | 32 | <mark class="post-date">{{ post.date | date: date_format }}</mark> | |
| 29 | 33 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,14 +5,14 @@ | |||
| 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,45 +23,47 @@ | |||
| 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,8 +72,7 @@ | |||
| 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,7 +82,6 @@ | |||
| 81 | 82 | {% endif %} | |
| 82 | 83 | {%- endfor -%} | |
| 83 | 84 | </ul> | |
| 84 | - </div> | ||
| 85 | 85 | </div> | |
| 86 | 86 | </div> | |
| 87 | 87 | </div> | |
@@ -91,15 +91,17 @@ | |||
| 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> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,26 +3,22 @@ | |||
| 3 | 3 | --- | |
| 4 | 4 | ||
| 5 | 5 | <!-- header section --> | |
| 6 | - <section> | ||
| 7 | - <div class="w-80 m-auto mt-md-4 mt-sm-2"> | ||
| 8 | - <div class="d-md-flex"> | ||
| 9 | - <div class=""> | ||
| 10 | - <div class="section-title">{{ site.title }} Blog</div> | ||
| 11 | - <div class="title w-80 mt-sm-1"> {{ page.title | escape }}</div> | ||
| 12 | - </div> | ||
| 13 | - </div> | ||
| 14 | - </div> | ||
| 6 | + <section class="bg-light"> | ||
| 7 | + <div class="w-80 m-auto"> | ||
| 8 | + {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} | ||
| 9 | + <mark class="post-date">{{ page.date | date: date_format }}</mark> | ||
| 10 | + | ||
| 11 | + <div class="section-title mt-1">{{ site.title }} Blog</div> | ||
| 12 | + <div class="title mt-sm-1"> {{ page.title | escape }}</div> | ||
| 13 | + <small>{{ site.blog-intro }}</small> | ||
| 14 | + </div> | ||
| 15 | 15 | </section> | |
| 16 | 16 | ||
| 17 | - <!-- date and content --> | ||
| 17 | + <!-- content --> | ||
| 18 | 18 | <section> | |
| 19 | - <div class="w-80 m-auto mt-2"> | ||
| 20 | - <div class="w-md-75 d-flex"> | ||
| 21 | - {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} | ||
| 22 | - <mark class="post-date">{{ page.date | date: date_format }}</mark> | ||
| 23 | - <div class="w-md-75"> | ||
| 19 | + <div class="w-md-80 m-auto"> | ||
| 20 | + <div class="w-md-80"> | ||
| 24 | 21 | {{ content }} | |
| 25 | - </div> | ||
| 26 | 22 | </div> | |
| 27 | 23 | </div> | |
| 28 | 24 | </section> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,25 +44,30 @@ | |||
| 44 | 44 | width: 50%; | |
| 45 | 45 | } | |
| 46 | 46 | ||
| 47 | - .w-md-30 { | ||
| 48 | - width: 30%; | ||
| 47 | + .w-md-25 { | ||
| 48 | + width: 25%; | ||
| 49 | 49 | } | |
| 50 | 50 | ||
| 51 | - .w-md-75 { | ||
| 52 | - width: 75%; | ||
| 51 | + .w-md-80 { | ||
| 52 | + width: 80%; | ||
| 53 | 53 | } | |
| 54 | 54 | ||
| 55 | 55 | .text-md-center { | |
| 56 | 56 | text-align: center; | |
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | + .goal:last-child{ | ||
| 60 | + margin-left: 2em; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + .float-md-right { | ||
| 64 | + float: right; | ||
| 65 | + } | ||
| 66 | + | ||
| 59 | 67 | } | |
| 60 | 68 | ||
| 61 | 69 | /* fixes for ipad */ | |
| 62 | 70 | @media (min-width: 992px) { | |
| 63 | - .ml-lg-20-percent { | ||
| 64 | - margin-left: 20%; | ||
| 65 | - } | ||
| 66 | 71 | ||
| 67 | 72 | .w-lg-30 { | |
| 68 | 73 | width: 30%; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments