File tree 9 files changed +80
-9
lines changed
9 files changed +80
-9
lines changed Original file line number Diff line number Diff line change 1143
1143
1144
1144
a { padding : 0.3em 0.75em ; }
1145
1145
}
1146
+
1147
+ #python-jetbrains-survey {
1148
+ display : block ;
1149
+ }
1150
+
1146
1151
}
1147
1152
1148
1153
1199
1204
.job-description {
1200
1205
@include pad ( 1 ,1 );
1201
1206
}
1207
+
1208
+ #python-jetbrains-survey {
1209
+ display : block ;
1210
+ }
1211
+
1202
1212
}
1203
1213
1204
1214
1231
1241
}
1232
1242
1233
1243
.community-banner { background-position : 90% 0 ; }
1244
+
1245
+ #python-jetbrains-survey {
1246
+ display : block ;
1247
+ }
1234
1248
}
Original file line number Diff line number Diff line change @@ -2322,6 +2322,9 @@ html[xmlns] .slides { display: block; }
2322
2322
.footer-links a {
2323
2323
padding : 0.3em 0.75em ; }
2324
2324
2325
+ # python-jetbrains-survey {
2326
+ display : block; }
2327
+
2325
2328
.flex-slideshow .home-slideshow .caption-wrapper {
2326
2329
float : left;
2327
2330
width : 49% ; }
@@ -2481,7 +2484,10 @@ html[xmlns] .slides { display: block; }
2481
2484
.event-description ,
2482
2485
.job-description {
2483
2486
padding-left : 8.51064% ;
2484
- padding-right : 8.51064% ; } }
2487
+ padding-right : 8.51064% ; }
2488
+
2489
+ # python-jetbrains-survey {
2490
+ display : block; } }
2485
2491
/* - - - Larger than 1200px - - - */
2486
2492
@media (min-width : 75em ) {
2487
2493
body : after {
@@ -2514,7 +2520,10 @@ html[xmlns] .slides { display: block; }
2514
2520
margin-right : 17.3913% ; }
2515
2521
2516
2522
.community-banner {
2517
- background-position : 90% 0 ; } }
2523
+ background-position : 90% 0 ; }
2524
+
2525
+ # python-jetbrains-survey {
2526
+ display : block; } }
2518
2527
/* http://dev.w3.org/csswg/css-device-adapt/
2519
2528
* http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
2520
2529
* for IE10 Snap Mode on Metro
Original file line number Diff line number Diff line change @@ -3065,9 +3065,20 @@ div.sidebar {
3065
3065
margin-top : 0.625em ;
3066
3066
margin-bottom : 0 ; }
3067
3067
3068
- img .align-right {
3069
- float : right;
3070
- margin-left : 1.25em ; }
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 ; }
3071
3082
3072
3083
span .highlighted {
3073
3084
background-color : yellow; }
Original file line number Diff line number Diff line change @@ -2284,11 +2284,27 @@ div.sidebar {
2284
2284
}
2285
2285
}
2286
2286
2287
- img .align-right {
2288
- float : right ;
2289
- margin-left : px2em ( 20px );
2287
+ // For Python survey
2288
+
2289
+ #python-jetbrains-survey {
2290
+ display : none ;
2291
+ > img {
2292
+ display : block ;
2293
+ margin : auto ;
2294
+ }
2290
2295
}
2291
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 ;
2303
+ }
2304
+
2305
+ .python-jetbrains-survey-downloads-page {
2306
+ margin : px2em ( 5px ) 0 px2em ( 25px ) 0 ;
2307
+ }
2292
2308
2293
2309
// For django-haystack's highlighter
2294
2310
Original file line number Diff line number Diff line change 21
21
{% block content %}
22
22
23
23
< div class ="row ">
24
-
24
+
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_banner_download_community_page.png ">
29
+ </ a >
30
+ </ div >
31
+
25
32
< div class ="small-widget community-widget1 ">
26
33
{% box 'community-widget1' %}
27
34
</ div >
Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ <h1 class="call-to-action">Download the latest version of Python</h1>
38
38
{% block content %}
39
39
< div class ="row download-list-widget ">
40
40
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
+
41
48
< h2 class ="widget-title "> Looking for a specific release?</ h2 >
42
49
< p class ="success-quote "> Python releases by version number:</ p >
43
50
Original file line number Diff line number Diff line change 36
36
37
37
{% block content %}
38
38
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
+
39
46
< div class ="row ">
40
47
41
48
< div class ="small-widget get-started-widget ">
You can’t perform that action at this time.
0 commit comments