Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
7 changes: 7 additions & 0 deletions static/sass/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2588,6 +2588,13 @@ p.quote-by-organization {
font-size: 0.875em; }
.active-release-list-widget .list-row-container {
margin-bottom: .5em; }
.active-release-list-widget .release-cycle-chart img {
display: block;
margin: 0 auto;
width: 80%; }
@media screen and (max-width: 860px) {
.active-release-list-widget .release-cycle-chart img {
width: 100%; } }

.download-list-widget {
/*modernizr*/ }
Expand Down
8 changes: 8 additions & 0 deletions static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1690,6 +1690,14 @@ $colors: $blue, $psf, $yellow, $green, $purple, $red;

.list-row-container { margin-bottom: .5em; }

.release-cycle-chart img {
display: block;
margin: 0 auto;
width: 80%;
@media screen and (max-width: 860px) {
width: 100%;
}
}
}

.download-list-widget {
Expand Down
8 changes: 5 additions & 3 deletions templates/downloads/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ <h1 class="call-to-action">Download the latest version of Python</h1>
<h2 class="widget-title">Active Python releases</h2>
<p class="success-quote"><a href="https://devguide.python.org/versions/#versions">For more information visit the Python Developer's Guide</a>.</p>

<p class="release-cycle-chart"><img src="https://hugovk-devguide.readthedocs.io/en/standalone-svg/_static/release-cycle.svg" alt="Python release cycle"></p>

{% box 'downloads-active-releases' %}
</div>

Expand Down Expand Up @@ -89,9 +91,9 @@ <h2 class="widget-title">Looking for a specific release?</h2>
</div>
</div>

<div class="row">
<div class="row">

<div class="small-widget download-widget1">
<div class="small-widget download-widget1">
{% box 'download-widget1' %}

</div>
Expand All @@ -101,7 +103,7 @@ <h2 class="widget-title">Looking for a specific release?</h2>

</div>

<div class="small-widget download-widget3">
<div class="small-widget download-widget3">
{% box 'download-widget3' %}

</div>
Expand Down