Skip to content

Commit e543529

Browse files
committed
update frontpage and some pages for RP
1 parent 499994d commit e543529

File tree

15 files changed

+215
-71
lines changed

15 files changed

+215
-71
lines changed

author/matt-makai.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@
1717
hr{height:0;box-sizing:content-box;margin:21px 0 21px 0;border:0;border-top:1px solid #eee}
1818
h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",sans-serif;font-weight:500;line-height:1.1;color:#000}
1919
h1,h2,h3{margin:32px 0 6px}
20+
h5{margin:6px 0 14px 0}
2021
h1{font-size:40px}
2122
h3{font-size:22px}
23+
h5{font-size:15px}
2224
p{margin:0 0 12px}
2325
.container{padding:0 15px 0 15px;margin-right:auto;margin-left:auto}
2426
.container:before,.container:after{display:table;content:" "}
2527
.container:after{clear:both}
2628
.row:before,.row:after{display:table;content:" "}
2729
.row:after{clear:both}
2830
.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{position:relative;min-height:1px;padding:0 15px 0 15px}
31+
.form-control{display:block;width:100%;height:39px;padding:8px 12px;font-size:14px;color:#777;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
32+
.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}
2933
.btn{display:inline-block;padding:8px 12px;margin-bottom:0;font-size:15px;font-weight:normal;line-height:1.4;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;color:#fff;background-color:#22b24c;border-color:#22b24c}
3034
.btn:active,.btn.active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}
3135
.panel{margin-bottom:21px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.05);border-color:#22b24c}
@@ -114,18 +118,7 @@ <h3>What do you need to learn to create your application?</h3>
114118
</div>
115119
</div> </div>
116120
<div class="col-md-offset-1 col-md-3" id="sidebar">
117-
<div class="panel">
118-
<div class="panel-heading">
119-
<h3 class="panel-head">Sponsored By</h3>
120-
</div>
121-
<div class="panel-body">
122-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
123-
<p style="font-size: .8em;">If you're searching for step-by-step Python
124-
web development tutorials then I highly recommend
125-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage'); return false;">checking out Real Python</a>.
126-
</p>
127-
</div>
128-
</div> <div class="panel">
121+
<div class="panel">
129122
<div class="panel-heading"><h3 class="panel-head">Full Stack Python</h3></div>
130123
<div class="panel-body">
131124
<a href="/">Full Stack Python</a> is an open book that explains
@@ -136,7 +129,23 @@ <h3 class="panel-head">Sponsored By</h3>
136129
all Python topics.
137130
</div>
138131
</div>
139-
</div></div>
132+
<div class="panel">
133+
<div class="panel-heading">
134+
<h3 class="panel-head">Email Updates</h3>
135+
</div>
136+
<div class="panel-body">
137+
<div id="mc_embed_signup">
138+
<form action="//mattmakai.us2.list-manage.com/subscribe/post?u=b7e774f0c4f05dcebbfee183d&amp;id=b22335388d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
139+
<div id="mc_embed_signup_scroll">
140+
<h5>Sign up to get a monthly email with Python tutorials and major updates to this site.</h5>
141+
<input type="email" value="" name="EMAIL" class="email form-control" id="mce-EMAIL" placeholder="email address" required>
142+
<div style="position: absolute; left: -5000px;"><input type="text" name="b_b7e774f0c4f05dcebbfee183d_b22335388d" tabindex="-1" value=""></div>
143+
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success" style="font-family: 'Helvetica Neue'; margin-top: 5px;">
144+
</div>
145+
</form>
146+
</div>
147+
</div>
148+
</div></div></div>
140149
<hr/>
141150
</div>
142151
<div class="container">

best-python-resources.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,14 +360,15 @@ <h4>Sign up here to receive a monthly email with major updates to this site, tut
360360
<h3 class="panel-head">Sponsored By</h3>
361361
</div>
362362
<div class="panel-body">
363-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
363+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources'); return false;"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
364364
<p style="font-size: .8em;">If you want to learn Python then
365365
I highly recommend
366-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources'); return false;">checking out Real Python</a>'s
366+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bestresources'); return false;">checking out Real Python</a>'s
367367
courses.
368368
</p>
369369
</div>
370370
</div>
371+
371372
<div class="panel">
372373
<div class="panel-heading">
373374
<h3 class="panel-head">Email Updates</h3>

bottle.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,19 @@ <h4>Sign up here to receive a monthly email with major updates to this site, tut
281281
</div>
282282
<div class="col-md-offset-1 col-md-3" id="sidebar">
283283
<div class="panel">
284+
<div class="panel-heading">
285+
<h3 class="panel-head">Sponsored By</h3>
286+
</div>
284287
<div class="panel-body">
285-
<a href="http://www.deploypython.com/"><img src="/img/sponsored/fsp-deployment-guide.png" alt="The Full Stack Python Guide to Deployments" width="100%"></a>
286-
<p style="font-size: .8em; margin-top: 10px;">Searching for a complete, step-by-step deployment walkthrough? Learn more about <a href="http://www.deploypython.com/">The Full Stack Python Guide to Deployments book</a>.
288+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bottle"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
289+
<p style="font-size: .8em;">If you're searching for step-by-step web
290+
development tutorials then I highly recommend
291+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bottle" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=bottle'); return false;">checking out Real Python</a>.
287292
</p>
288293
</div>
289-
</div><div class="panel">
294+
</div>
295+
296+
<div class="panel">
290297
<div class="panel-heading">
291298
<h3 class="panel-head">Email Updates</h3>
292299
</div>

category/post.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@
1717
hr{height:0;box-sizing:content-box;margin:21px 0 21px 0;border:0;border-top:1px solid #eee}
1818
h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",sans-serif;font-weight:500;line-height:1.1;color:#000}
1919
h1,h2,h3{margin:32px 0 6px}
20+
h5{margin:6px 0 14px 0}
2021
h1{font-size:40px}
2122
h3{font-size:22px}
23+
h5{font-size:15px}
2224
p{margin:0 0 12px}
2325
.container{padding:0 15px 0 15px;margin-right:auto;margin-left:auto}
2426
.container:before,.container:after{display:table;content:" "}
2527
.container:after{clear:both}
2628
.row:before,.row:after{display:table;content:" "}
2729
.row:after{clear:both}
2830
.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{position:relative;min-height:1px;padding:0 15px 0 15px}
31+
.form-control{display:block;width:100%;height:39px;padding:8px 12px;font-size:14px;color:#777;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
32+
.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}
2933
.btn{display:inline-block;padding:8px 12px;margin-bottom:0;font-size:15px;font-weight:normal;line-height:1.4;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;color:#fff;background-color:#22b24c;border-color:#22b24c}
3034
.btn:active,.btn.active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}
3135
.panel{margin-bottom:21px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.05);border-color:#22b24c}
@@ -114,18 +118,7 @@ <h3>What do you need to learn to create your application?</h3>
114118
</div>
115119
</div> </div>
116120
<div class="col-md-offset-1 col-md-3" id="sidebar">
117-
<div class="panel">
118-
<div class="panel-heading">
119-
<h3 class="panel-head">Sponsored By</h3>
120-
</div>
121-
<div class="panel-body">
122-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
123-
<p style="font-size: .8em;">If you're searching for step-by-step Python
124-
web development tutorials then I highly recommend
125-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage'); return false;">checking out Real Python</a>.
126-
</p>
127-
</div>
128-
</div> <div class="panel">
121+
<div class="panel">
129122
<div class="panel-heading"><h3 class="panel-head">Full Stack Python</h3></div>
130123
<div class="panel-body">
131124
<a href="/">Full Stack Python</a> is an open book that explains
@@ -136,7 +129,23 @@ <h3 class="panel-head">Sponsored By</h3>
136129
all Python topics.
137130
</div>
138131
</div>
139-
</div></div>
132+
<div class="panel">
133+
<div class="panel-heading">
134+
<h3 class="panel-head">Email Updates</h3>
135+
</div>
136+
<div class="panel-body">
137+
<div id="mc_embed_signup">
138+
<form action="//mattmakai.us2.list-manage.com/subscribe/post?u=b7e774f0c4f05dcebbfee183d&amp;id=b22335388d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
139+
<div id="mc_embed_signup_scroll">
140+
<h5>Sign up to get a monthly email with Python tutorials and major updates to this site.</h5>
141+
<input type="email" value="" name="EMAIL" class="email form-control" id="mce-EMAIL" placeholder="email address" required>
142+
<div style="position: absolute; left: -5000px;"><input type="text" name="b_b7e774f0c4f05dcebbfee183d_b22335388d" tabindex="-1" value=""></div>
143+
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success" style="font-family: 'Helvetica Neue'; margin-top: 5px;">
144+
</div>
145+
</form>
146+
</div>
147+
</div>
148+
</div></div></div>
140149
<hr/>
141150
</div>
142151
<div class="container">

django.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,14 @@ <h4>Sign up here to receive a monthly email with major updates to this site, tut
522522
<h3 class="panel-head">Sponsored By</h3>
523523
</div>
524524
<div class="panel-body">
525-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
525+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
526526
<p style="font-size: .8em;">If you're searching for step-by-step Django
527527
tutorials then I highly recommend
528-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django'); return false;">checking out Real Python</a>.
528+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=django'); return false;">checking out Real Python</a>.
529529
</p>
530530
</div>
531531
</div>
532+
532533
<div class="panel">
533534
<div class="panel-heading">
534535
<h3 class="panel-head">Email Updates</h3>

flask.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,14 @@ <h4>Sign up here to receive a monthly email with major updates to this site, tut
433433
<h3 class="panel-head">Sponsored By</h3>
434434
</div>
435435
<div class="panel-body">
436-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
436+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
437437
<p style="font-size: .8em;">If you're searching for step-by-step Flask
438438
tutorials then I highly recommend
439-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask'); return false;">checking out Real Python</a>.
439+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=flask'); return false;">checking out Real Python</a>.
440440
</p>
441441
</div>
442442
</div>
443+
443444
<div class="panel">
444445
<div class="panel-heading">
445446
<h3 class="panel-head">Email Updates</h3>

index.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@
1717
hr{height:0;box-sizing:content-box;margin:21px 0 21px 0;border:0;border-top:1px solid #eee}
1818
h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",sans-serif;font-weight:500;line-height:1.1;color:#000}
1919
h1,h2,h3{margin:32px 0 6px}
20+
h5{margin:6px 0 14px 0}
2021
h1{font-size:40px}
2122
h3{font-size:22px}
23+
h5{font-size:15px}
2224
p{margin:0 0 12px}
2325
.container{padding:0 15px 0 15px;margin-right:auto;margin-left:auto}
2426
.container:before,.container:after{display:table;content:" "}
2527
.container:after{clear:both}
2628
.row:before,.row:after{display:table;content:" "}
2729
.row:after{clear:both}
2830
.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{position:relative;min-height:1px;padding:0 15px 0 15px}
31+
.form-control{display:block;width:100%;height:39px;padding:8px 12px;font-size:14px;color:#777;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
32+
.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}
2933
.btn{display:inline-block;padding:8px 12px;margin-bottom:0;font-size:15px;font-weight:normal;line-height:1.4;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;color:#fff;background-color:#22b24c;border-color:#22b24c}
3034
.btn:active,.btn.active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}
3135
.panel{margin-bottom:21px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.05);border-color:#22b24c}
@@ -114,18 +118,7 @@ <h3>What do you need to learn to create your application?</h3>
114118
</div>
115119
</div> </div>
116120
<div class="col-md-offset-1 col-md-3" id="sidebar">
117-
<div class="panel">
118-
<div class="panel-heading">
119-
<h3 class="panel-head">Sponsored By</h3>
120-
</div>
121-
<div class="panel-body">
122-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
123-
<p style="font-size: .8em;">If you're searching for step-by-step Python
124-
web development tutorials then I highly recommend
125-
<a href="https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=frontpage'); return false;">checking out Real Python</a>.
126-
</p>
127-
</div>
128-
</div> <div class="panel">
121+
<div class="panel">
129122
<div class="panel-heading"><h3 class="panel-head">Full Stack Python</h3></div>
130123
<div class="panel-body">
131124
<a href="/">Full Stack Python</a> is an open book that explains
@@ -136,7 +129,23 @@ <h3 class="panel-head">Sponsored By</h3>
136129
all Python topics.
137130
</div>
138131
</div>
139-
</div></div>
132+
<div class="panel">
133+
<div class="panel-heading">
134+
<h3 class="panel-head">Email Updates</h3>
135+
</div>
136+
<div class="panel-body">
137+
<div id="mc_embed_signup">
138+
<form action="//mattmakai.us2.list-manage.com/subscribe/post?u=b7e774f0c4f05dcebbfee183d&amp;id=b22335388d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
139+
<div id="mc_embed_signup_scroll">
140+
<h5>Sign up to get a monthly email with Python tutorials and major updates to this site.</h5>
141+
<input type="email" value="" name="EMAIL" class="email form-control" id="mce-EMAIL" placeholder="email address" required>
142+
<div style="position: absolute; left: -5000px;"><input type="text" name="b_b7e774f0c4f05dcebbfee183d_b22335388d" tabindex="-1" value=""></div>
143+
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success" style="font-family: 'Helvetica Neue'; margin-top: 5px;">
144+
</div>
145+
</form>
146+
</div>
147+
</div>
148+
</div></div></div>
140149
<hr/>
141150
</div>
142151
<div class="container">

javascript.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,19 @@ <h4>Sign up here to receive a monthly email with major updates to this site, tut
248248
</div>
249249
<div class="col-md-offset-1 col-md-3" id="sidebar">
250250
<div class="panel">
251+
<div class="panel-heading">
252+
<h3 class="panel-head">Sponsored By</h3>
253+
</div>
251254
<div class="panel-body">
252-
<a href="http://www.deploypython.com/"><img src="/img/sponsored/fsp-deployment-guide.png" alt="The Full Stack Python Guide to Deployments" width="100%"></a>
253-
<p style="font-size: .8em; margin-top: 10px;">Searching for a complete, step-by-step deployment walkthrough? Learn more about <a href="http://www.deploypython.com/">The Full Stack Python Guide to Deployments book</a>.
255+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=javascript"><img src="/img/sponsored/realpython.jpg" alt="Real Python logo" width="100%"></a>
256+
<p style="font-size: .8em;">If you're searching for step-by-step web
257+
development tutorials then I highly recommend
258+
<a href="https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=javascript" onclick="trackOutboundLink('https://realpython.com/courses/?utm_source=fsp&amp;utm_medium=promo&amp;utm_campaign=javascript'); return false;">checking out Real Python</a>.
254259
</p>
255260
</div>
256-
</div><div class="panel">
261+
</div>
262+
263+
<div class="panel">
257264
<div class="panel-heading">
258265
<h3 class="panel-head">Email Updates</h3>
259266
</div>

0 commit comments

Comments
 (0)