From 707f23508123c67ba6f2d293206feaee827b663e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:42:29 +0200 Subject: [PATCH 1/2] Tabs to spaces --- static/sass/style.css | 7 +++++++ static/sass/style.scss | 8 ++++++++ templates/downloads/index.html | 8 +++++--- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/static/sass/style.css b/static/sass/style.css index 894cd6214..48719cd0b 100644 --- a/static/sass/style.css +++ b/static/sass/style.css @@ -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*/ } diff --git a/static/sass/style.scss b/static/sass/style.scss index 5988b00d1..0bdfe1a62 100644 --- a/static/sass/style.scss +++ b/static/sass/style.scss @@ -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 { diff --git a/templates/downloads/index.html b/templates/downloads/index.html index 303fad87b..86d7558f3 100644 --- a/templates/downloads/index.html +++ b/templates/downloads/index.html @@ -53,6 +53,8 @@

Download the latest version of Python

Active Python releases

For more information visit the Python Developer's Guide.

+

Python release cycle

+ {% box 'downloads-active-releases' %} @@ -89,9 +91,9 @@

Looking for a specific release?

-
+
-
+
{% box 'download-widget1' %}
@@ -101,7 +103,7 @@

Looking for a specific release?

-
+
{% box 'download-widget3' %}
From 38a227da8ce12561970fd538f4e4c56dc7ff17a3 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 30 Nov 2025 21:25:30 +0200 Subject: [PATCH 2/2] Update test link to match updated devguide PR --- templates/downloads/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/downloads/index.html b/templates/downloads/index.html index 86d7558f3..a7f8fea01 100644 --- a/templates/downloads/index.html +++ b/templates/downloads/index.html @@ -53,7 +53,7 @@

Download the latest version of Python

Active Python releases

For more information visit the Python Developer's Guide.

-

Python release cycle

+

Python release cycle

{% box 'downloads-active-releases' %}