Skip to content

Commit 707f235

Browse files
committed
Tabs to spaces
1 parent b7f1cd2 commit 707f235

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

static/sass/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2588,6 +2588,13 @@ p.quote-by-organization {
25882588
font-size: 0.875em; }
25892589
.active-release-list-widget .list-row-container {
25902590
margin-bottom: .5em; }
2591+
.active-release-list-widget .release-cycle-chart img {
2592+
display: block;
2593+
margin: 0 auto;
2594+
width: 80%; }
2595+
@media screen and (max-width: 860px) {
2596+
.active-release-list-widget .release-cycle-chart img {
2597+
width: 100%; } }
25912598

25922599
.download-list-widget {
25932600
/*modernizr*/ }

static/sass/style.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,14 @@ $colors: $blue, $psf, $yellow, $green, $purple, $red;
16901690

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

1693+
.release-cycle-chart img {
1694+
display: block;
1695+
margin: 0 auto;
1696+
width: 80%;
1697+
@media screen and (max-width: 860px) {
1698+
width: 100%;
1699+
}
1700+
}
16931701
}
16941702

16951703
.download-list-widget {

templates/downloads/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ <h1 class="call-to-action">Download the latest version of Python</h1>
5353
<h2 class="widget-title">Active Python releases</h2>
5454
<p class="success-quote"><a href="https://devguide.python.org/versions/#versions">For more information visit the Python Developer's Guide</a>.</p>
5555

56+
<p class="release-cycle-chart"><img src="https://hugovk-devguide.readthedocs.io/en/standalone-svg/release-cycle.svg" alt="Python release cycle"></p>
57+
5658
{% box 'downloads-active-releases' %}
5759
</div>
5860

@@ -89,9 +91,9 @@ <h2 class="widget-title">Looking for a specific release?</h2>
8991
</div>
9092
</div>
9193

92-
<div class="row">
94+
<div class="row">
9395

94-
<div class="small-widget download-widget1">
96+
<div class="small-widget download-widget1">
9597
{% box 'download-widget1' %}
9698

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

102104
</div>
103105

104-
<div class="small-widget download-widget3">
106+
<div class="small-widget download-widget3">
105107
{% box 'download-widget3' %}
106108

107109
</div>

0 commit comments

Comments
 (0)