Skip to content

Commit a31b422

Browse files
committed
Revert "Add link to Microsoft Store application"
This reverts commit dd6e2ce.
1 parent 1342a54 commit a31b422

File tree

3 files changed

+2
-38
lines changed

3 files changed

+2
-38
lines changed

static/sass/style.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -845,17 +845,6 @@ dl {
845845
border-bottom: 1px solid #caccce; }
846846

847847
/* ! ===== Form elements ===== */
848-
div.download-button-container {
849-
overflow: hidden;
850-
*zoom: 1; }
851-
div.download-button-container .microsoft-download-box {
852-
float: right;
853-
padding-top: 0.125em;
854-
width: 16.25em; }
855-
div.download-button-container a > img {
856-
display: inline;
857-
margin: 0; }
858-
859848
.errorlist {
860849
color: #b55863;
861850
margin-bottom: 0; }

static/sass/style.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -185,21 +185,6 @@ form {
185185
ul { @extend .menu; }
186186
}
187187

188-
div.download-button-container {
189-
@include clearfix();
190-
191-
.microsoft-download-box {
192-
float: right;
193-
padding-top: px2em( 2px );
194-
width: px2em( 260px );
195-
}
196-
197-
a > img {
198-
display: inline;
199-
margin: 0;
200-
}
201-
}
202-
203188
.errorlist {
204189
@extend .menu;
205190
color: $red;

templates/downloads/supernav.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,9 @@ <h3>Python Source</h3>
77
{% else %}
88
<h4>Download for {{ data.os.name }}</h4>
99
{% endif %}
10-
<div class="download-button-container">
11-
{% if data.os.slug == 'windows' %}
12-
<div class="microsoft-download-box">
13-
<a href="https://www.microsoft.com/store/apps/9NJ46SX7X90P?ocid=badge">
14-
<img
15-
alt="Get it from Microsoft"
16-
src="https://assets.windowsphone.com/85864462-9c82-451e-9355-a3d5f874397a/English_get-it-from-MS_InvariantCulture_Default.svg"
17-
width="100">
18-
</a>
19-
</div>
20-
{% endif %}
10+
<p>
2111
<a class="button" href="{{ data.python3.url }}">{{ data.python3.release.name }}</a>
22-
</div>
12+
</p>
2313
{% if data.os.slug == 'windows' %}<p><strong>Note that Python 3.5+ <em>cannot</em> be used on Windows XP or earlier.</strong></p>{% endif %}
2414
<p>Not the OS you are looking for? Python can be used on many operating systems and environments. <a href="{% url 'download:download' %}">View the full list of downloads</a>.</p>
2515
</div>

0 commit comments

Comments
 (0)