Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

html and style fixes#4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coolreader18 merged 2 commits intoRustPython:masterfrommireille-raad:master
Mar 21, 2020
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion_config.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,12 +23,13 @@ description: "An open source Python-3 (CPython >= 3.5.0) Interpreter written in
# baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://rustpython.github.io" # the base hostname & protocol for your site, e.g. http://example.com
github_username: RustPython
disclaimer: "The disclaimer not to use thisin production. Update this in the config.yml file attheroot."
disclaimer: "RustPython is in a development phase and should not be usedin production or a fault intolerant setting. Our current build supports only about half ofthePython standard library."
github: https://github.com/RustPython/RustPython/
docs: https://github.com/RustPython/docs/
gitter: https://gitter.im/rustpython/Lobby
show_excerpts: true
contributor_excerpt: "" # TODO: write something here, goes right under "Contributors" heading
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>

navigation:
- title: Blog
Expand Down
4 changes: 2 additions & 2 deletions_includes/header.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
<header>
<nav class="menu w-100 text-center border-bottom">
<ul class="list-inline">
<li class="m-smallfloat-left"><a href="{{ site.baseurl }}">Home</a></li>
<li class="float-left pl-1 pr-1"><a href="{{ site.url }}">Home</a></li>
{% for item in site.navigation %}
<li class="m-smallfloat-left"><a href="{{ item.url | relativeurl }}">{{item.title}}</a></li>
<li class="float-left pr-1"><a href="{{ item.url | relativeurl }}">{{item.title}}</a></li>
{% endfor %}
</ul>
</nav>
Expand Down
12 changes: 8 additions & 4 deletions_layouts/archive.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,27 +3,31 @@
---

<section>
<div class="w-80 m-auto mt-md-4 mt-sm-2">
<div class="w-80 m-auto mt-2">
<div class="d-md-flex">
<div class="d-sm-none">
<img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo">
</div>
<div class="pl-md-2">
<div class="section-title">Archive</div>
<div class="title">{{ site.title }} {{ page.title | escape }}</div>
<small>{{ site.blog-intro }}</small>
</div>
</div>
</div>
</section>

<div class="w-80 m-auto mt-md-4 mt-sm-2">
<div class="w-80 m-auto mt-2">
<div class="blog-intro">
{{ content }}
</div>
{%- if site.posts.size > 0 -%}
<ul class="list-unstyled ">
{%- for post in site.posts -%}
<li class="blog-entry mt-4">
<li class="blog-entry mt-4">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<!-- flex container -->
<div class="d-md-flex">
<div class="d-md-flex">
<div class="pl-md-2 mt-1">
<mark class="post-date">{{ post.date | date: date_format }}</mark>
</div>
Expand Down
46 changes: 24 additions & 22 deletions_layouts/home.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,14 +5,14 @@
<!-- site title, logo and description -->
<!-- to update, edit the global site config.yaml -->
<section>
<div class="w-md-50 m-auto mt-md-4 mt-sm-2">
<div class="d-md-flexml-lg-20-percent">
<div class="pl-2d-sm-none"><img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo">
<div class="w-100 m-auto mt-2">
<div class="d-md-flexjustify-center">
<div class="d-sm-none"><img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo">
</div>
<div class="pl-2">
<div class="w-md-25pl-2">
<div class="title">{{ site.title }}</div>
<div class="">
<p class="w-80">
<p>
{{ site.description }}
</p>
</div>
Expand All@@ -23,45 +23,47 @@

<!-- explainer image, paragraph and links to demos -->
<!-- to update, edit index.markdown file in the root folder -->
<section class="p-2">
<div class="m-auto w-md-30 mt-md-4">
<section>
<div class="m-auto w-md-25 mt-2">
<img class="img-fluid" src="{{site.baseurl}}/assets/img/explainer.jpg" alt="RustPython Explainer">
</div>
<div class="mt-md-4 mt-sm-2 w-md-50 m-auto">
<p class="mt-md-4 text-justify">
<p class="mt-md-4">
{{ page.explainer }}
</p>
</div>
<div class="text-md-center">
<ul class="list-inline">
{% for demo in page.demo %}
<li class="float-leftm-small"><a rel="noopener" rel="noreferrer" href="{{ demo.url }}" target="_blank">{{ demo.label }}</a></li>
<li class="float-leftpr-1 mt-1"><a rel="noopener" rel="noreferrer" href="{{ demo.url }}" target="_blank">{{ demo.label }}</a></li>
{% endfor %}
</ul>
</div>
</section>

<!-- installation instructions -->
<!-- to update, edit the parameters in the index.markdown file -->
<section class="p-2">
<section>
<div class="text-center">
<div class="section-title"> Installation</div>
{% for install in page.installation %}
<mark class="code m-auto"> {{ install.command }} </mark>
<mark class="coded-tablem-auto mt-1"> {{ install.command }} </mark>
{% endfor %}
<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>
</div>
</section>

<!-- goals and why rustpython -->
<!-- to update, edit the parameters in the index.markdown file -->
<section class="bg-light">
<div class="w-80 m-auto p-2">
<section class="bg-light mt-2">
<div class="w-md-80 m-auto">
<div class="section-title">Goals</div>
<divid="goals"class="d-md-flex ">
<div class="d-md-flex ">
{% for goals in page.goals %}
<div class="bg-rust text-white p-2 w-md-30 mt-2 goal">
{{ goals.goal }}
<div class="w-md-50 mt-2 goal bg-rust">
<div class=" text-white p-2">
{{ goals.goal }}
</div>
</div>
{% endfor %}
</div>
Expand All@@ -70,8 +72,7 @@
{{ content }}
</div>
<div class="w-md-50 mt-2">
<div class="border p-2 w-lg-30 w-md-50 m-auto mt-2">
<div>
<div class="border w-md-50 float-md-right mt-md-4 p-2">
<strong> Learn more </strong>
<!-- list of posts where category is "featured" -->
<ul class="list-unstyled">
Expand All@@ -81,7 +82,6 @@
{% endif %}
{%- endfor -%}
</ul>
</div>
</div>
</div>
</div>
Expand All@@ -91,15 +91,17 @@
<!-- contributor list -->
<!-- to edit, update _data/contributors.json -->
<section>
<div class="w-80 m-auto p-2">
<div class="w-md-80 m-auto">
<div class="section-title"> Contributors </div>
<p class="w-80">{{ site.contributor_excerpt}}</p>
<ul class="list-contributors">
{% for contributor in site.data.contributors %}
<li><a rel="noopener" rel="noreferrer" href="https://github.com/{{ contributor.github_username }}" target="_blank">{{ contributor.github_username }}</a></li>
{% endfor %}
</ul>
<div><small><a href="https://github.com/RustPython/RustPython/graphs/contributors">VIEW MORE</a></small></div>
<div><small><a href="https://github.com/RustPython/RustPython/#contributing">HOW TO CONTRIBUTE</a></small></div>
<div class="d-md-flex">
<div class="pr-1 mt-1"><small><a href="https://github.com/RustPython/RustPython/graphs/contributors">VIEW MORE</a></small></div>
<div class="mt-1"><small><a href="https://github.com/RustPython/RustPython/#contributing">HOW TO CONTRIBUTE</a></small></div>
</div>
</div>
</section>
28 changes: 12 additions & 16 deletions_layouts/post.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,26 +3,22 @@
---

<!-- header section -->
<section>
<div class="w-80 m-auto mt-md-4 mt-sm-2">
<div class="d-md-flex">
<div class="">
<div class="section-title">{{ site.title }} Blog</div>
<div class="titlew-80mt-sm-1">{{page.title| escape }}</div>
</div>
</div>
</div>
<section class="bg-light">
<div class="w-80 m-auto">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<mark class="post-date">{{ page.date | date: date_format }}</mark>

<div class="section-title mt-1">{{site.title}} Blog</div>
<div class="title mt-sm-1"> {{ page.title | escape }}</div>
<small>{{ site.blog-intro }}</small>
</div>
</section>

<!--date and content -->
<!-- content -->
<section>
<div class="w-80 m-auto mt-2">
<div class="w-md-75 d-flex">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<mark class="post-date">{{ page.date | date: date_format }}</mark>
<div class="w-md-75">
<div class="w-md-80 m-auto">
<div class="w-md-80">
{{ content }}
</div>
</div>
</div>
</section>
8 changes: 0 additions & 8 deletions_posts/2020-03-12-welcome-to-jekyll.markdown
View file
Open in desktop

This file was deleted.

19 changes: 12 additions & 7 deletionsassets/media.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -44,25 +44,30 @@
width: 50%;
}

.w-md-30 {
width:30%;
.w-md-25 {
width:25%;
}

.w-md-75 {
width:75%;
.w-md-80 {
width:80%;
}

.text-md-center {
text-align: center;
}

.goal:last-child{
margin-left: 2em;
}

.float-md-right {
float: right;
}

}

/* fixes for ipad */
@media (min-width: 992px) {
.ml-lg-20-percent {
margin-left: 20%;
}

.w-lg-30 {
width: 30%;
Expand Down
Binary file addedassets/media/bytecode.jpg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addedassets/media/python-larpop.jpg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addedassets/media/tokenizing-with-errors.jpg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addedassets/media/tokenizing.jpg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

[8]ページ先頭

©2009-2025 Movatter.jp