Skip to content

Commit 698e491

Browse files
committed
Revert "Add banners for the 2018 edition of Python survey"
This reverts commit f10cd3c. Conflicts: templates/community/post_list.html
1 parent 8c5a2a9 commit 698e491

File tree

9 files changed

+8
-79
lines changed

9 files changed

+8
-79
lines changed
Binary file not shown.
-11.1 KB
Binary file not shown.

static/sass/_layout.scss

-14
Original file line numberDiff line numberDiff line change
@@ -1143,11 +1143,6 @@
11431143

11441144
a { padding: 0.3em 0.75em; }
11451145
}
1146-
1147-
#python-jetbrains-survey {
1148-
display: block;
1149-
}
1150-
11511146
}
11521147

11531148

@@ -1204,11 +1199,6 @@
12041199
.job-description {
12051200
@include pad( 1,1 );
12061201
}
1207-
1208-
#python-jetbrains-survey {
1209-
display: block;
1210-
}
1211-
12121202
}
12131203

12141204

@@ -1241,8 +1231,4 @@
12411231
}
12421232

12431233
.community-banner { background-position: 90% 0; }
1244-
1245-
#python-jetbrains-survey {
1246-
display: block;
1247-
}
12481234
}

static/sass/mq.css

+2-11
Original file line numberDiff line numberDiff line change
@@ -2322,9 +2322,6 @@ html[xmlns] .slides { display: block; }
23222322
.footer-links a {
23232323
padding: 0.3em 0.75em; }
23242324

2325-
#python-jetbrains-survey {
2326-
display: block; }
2327-
23282325
.flex-slideshow.home-slideshow .caption-wrapper {
23292326
float: left;
23302327
width: 49%; }
@@ -2484,10 +2481,7 @@ html[xmlns] .slides { display: block; }
24842481
.event-description,
24852482
.job-description {
24862483
padding-left: 8.51064%;
2487-
padding-right: 8.51064%; }
2488-
2489-
#python-jetbrains-survey {
2490-
display: block; } }
2484+
padding-right: 8.51064%; } }
24912485
/* - - - Larger than 1200px - - - */
24922486
@media (min-width: 75em) {
24932487
body:after {
@@ -2520,10 +2514,7 @@ html[xmlns] .slides { display: block; }
25202514
margin-right: 17.3913%; }
25212515

25222516
.community-banner {
2523-
background-position: 90% 0; }
2524-
2525-
#python-jetbrains-survey {
2526-
display: block; } }
2517+
background-position: 90% 0; } }
25272518
/* http://dev.w3.org/csswg/css-device-adapt/
25282519
* http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
25292520
* for IE10 Snap Mode on Metro

static/sass/style.css

+3-14
Original file line numberDiff line numberDiff line change
@@ -3065,20 +3065,9 @@ div.sidebar {
30653065
margin-top: 0.625em;
30663066
margin-bottom: 0; }
30673067

3068-
#python-jetbrains-survey {
3069-
display: none; }
3070-
#python-jetbrains-survey > img {
3071-
display: block;
3072-
margin: auto; }
3073-
3074-
.python-jetbrains-survey-index-page {
3075-
margin: -0.3125em 0 2.1875em 0; }
3076-
3077-
.python-jetbrains-survey-community-page {
3078-
margin: 0.625em 0 1.5625em 0; }
3079-
3080-
.python-jetbrains-survey-downloads-page {
3081-
margin: 0.3125em 0 1.5625em 0; }
3068+
img.align-right {
3069+
float: right;
3070+
margin-left: 1.25em; }
30823071

30833072
span.highlighted {
30843073
background-color: yellow; }

static/sass/style.scss

+3-19
Original file line numberDiff line numberDiff line change
@@ -2284,27 +2284,11 @@ div.sidebar {
22842284
}
22852285
}
22862286

2287-
// For Python survey
2288-
2289-
#python-jetbrains-survey {
2290-
display: none;
2291-
> img {
2292-
display: block;
2293-
margin: auto;
2294-
}
2295-
}
2296-
2297-
.python-jetbrains-survey-index-page {
2298-
margin: px2em( -5px ) 0 px2em( 35px ) 0;
2299-
}
2300-
2301-
.python-jetbrains-survey-community-page {
2302-
margin: px2em( 10px ) 0 px2em( 25px ) 0;
2287+
img.align-right {
2288+
float: right;
2289+
margin-left: px2em( 20px );
23032290
}
23042291

2305-
.python-jetbrains-survey-downloads-page {
2306-
margin: px2em( 5px ) 0 px2em( 25px ) 0;
2307-
}
23082292

23092293
// For django-haystack's highlighter
23102294

templates/community/post_list.html

-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@
2222

2323
<div class="row">
2424

25-
<div id="python-jetbrains-survey" class="python-jetbrains-survey-community-page">
26-
<a href="https://surveys.jetbrains.com/s3/c9-python-developers-survey-2018"
27-
title="Join the official Python Developers Survey 2018 and win valuable prizes!">
28-
<img src="{{ STATIC_URL }}img/survey/jb_2018_banner_download_community_page.png">
29-
</a>
30-
</div>
31-
3225
<div class="small-widget community-widget1">
3326
{% box 'community-widget1' %}
3427
</div>

templates/downloads/index.html

-7
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ <h1 class="call-to-action">Download the latest version of Python</h1>
3838
{% block content %}
3939
<div class="row download-list-widget">
4040

41-
<div id="python-jetbrains-survey" class="python-jetbrains-survey-downloads-page">
42-
<a href="https://surveys.jetbrains.com/s3/c8-python-developers-survey-2018"
43-
title="Join the official Python Developers Survey 2018 and win valuable prizes!">
44-
<img src="{{ STATIC_URL }}img/survey/jb_2018_banner_download_community_page.png">
45-
</a>
46-
</div>
47-
4841
<h2 class="widget-title">Looking for a specific release?</h2>
4942
<p class="success-quote">Python releases by version number:</p>
5043

templates/python/index.html

-7
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@
3636

3737
{% block content %}
3838

39-
<div id="python-jetbrains-survey" class="python-jetbrains-survey-index-page">
40-
<a href="https://surveys.jetbrains.com/s3/c7-python-developers-survey-2018"
41-
title="Join the official Python Developers Survey 2018 and win valuable prizes!">
42-
<img src="{{ STATIC_URL }}img/survey/jb_2018_banner_index_page.png">
43-
</a>
44-
</div>
45-
4639
<div class="row">
4740

4841
<div class="small-widget get-started-widget">

0 commit comments

Comments
 (0)