Skip to content

Commit b5a5301

Browse files
committed
add linked-in to socialize
Closes #2365
1 parent cde08ed commit b5a5301

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

static/sass/style.css

+17
Original file line numberDiff line numberDiff line change
@@ -3405,6 +3405,23 @@ span.highlighted {
34053405
.icon-megaphone span, .icon-python-alt span, .icon-pypi span, .icon-news span, .icon-moderate span, .icon-mercurial span, .icon-jobs span, .icon-help span, .icon-download span, .icon-documentation span, .icon-community span, .icon-code span, .icon-close span, .icon-calendar span, .icon-beginner span, .icon-advanced span, .icon-sitemap span, .icon-search span, .icon-search-alt span, .icon-python span, .icon-github span, .icon-get-started span, .icon-feed span, .icon-facebook span, .icon-email span, .icon-arrow-up span, .icon-arrow-right span, .icon-arrow-left span, .icon-arrow-down span, .errorlist:before span, .icon-freenode span, .icon-alert span, .icon-versions span, .icon-twitter span, .icon-thumbs-up span, .icon-thumbs-down span, .icon-text-resize span, .icon-success-stories span, .icon-statistics span, .icon-stack-overflow span, .icon-mastodon span {
34063406
display: none; }
34073407

3408+
.fa {
3409+
speak: none;
3410+
font-style: normal;
3411+
font-weight: normal;
3412+
font-variant: normal;
3413+
text-transform: none;
3414+
line-height: 1;
3415+
margin-right: .5em;
3416+
/* Better Font Rendering =========== */
3417+
-webkit-font-smoothing: antialiased;
3418+
-moz-osx-font-smoothing: grayscale;
3419+
/* Hide a unicode fallback character when we supply it by default.
3420+
* In fonts.scss, we hide the icon and show the fallback when other conditions are not met
3421+
*/ }
3422+
.fa {
3423+
display: none; }
3424+
34083425
/* Keep this at the bottom since it will create a huge set of data */
34093426
/*
34103427
* Would have liked to use Compass' built-in font-face mixin with the inline-font-files() helper, but it seems to be BROKEN in older versions!

static/sass/style.scss

+18
Original file line numberDiff line numberDiff line change
@@ -2426,6 +2426,24 @@ span.highlighted {
24262426
*/
24272427
span { display: none; }
24282428
}
2429+
.fa {
2430+
speak: none;
2431+
font-style: normal;
2432+
font-weight: normal;
2433+
font-variant: normal;
2434+
text-transform: none;
2435+
line-height: 1;
2436+
margin-right: .5em;
2437+
2438+
/* Better Font Rendering =========== */
2439+
-webkit-font-smoothing: antialiased;
2440+
-moz-osx-font-smoothing: grayscale;
2441+
2442+
/* Hide a unicode fallback character when we supply it by default.
2443+
* In fonts.scss, we hide the icon and show the fallback when other conditions are not met
2444+
*/
2445+
span { display: none; }
2446+
}
24292447

24302448
/* Keep this at the bottom since it will create a huge set of data */
24312449
@import "fonts";

templates/base.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
{% stylesheet 'style' %}
4343
{% stylesheet 'mq' %}
44+
{% stylesheet 'font-awesome' %}
4445
{% comment %}
4546
{# equivalent to: #}
4647
<link rel="stylesheet" href="{{ STATIC_URL }}stylesheets/style.css" title="default">
@@ -235,10 +236,10 @@ <h1 class="site-headline">
235236
<li class="tier-1 last" aria-haspopup="true">
236237
<a href="#" class="action-trigger">Socialize</a>
237238
<ul class="subnav menu">
238-
<li class="tier-2 element-1" role="treeitem"><a href="https://www.facebook.com/pythonlang?fref=ts"><span aria-hidden="true" class="icon-facebook"></span>Facebook</a></li>
239+
<li class="tier-2 element-1" role="treeitem"><a href="https://www.linkedin.com/company/python-software-foundation/"><i aria-hidden="true" class="fa fa-linkedin-square"></i></span>LinkedIn</a></li>
239240
<li class="tier-2 element-2" role="treeitem"><a href="https://fosstodon.org/@ThePSF"><span aria-hidden="true" class="icon-mastodon"></span>Mastodon</a></li>
240-
<li class="tier-2 element-3" role="treeitem"><a href="https://twitter.com/ThePSF"><span aria-hidden="true" class="icon-twitter"></span>Twitter</a></li>
241-
<li class="tier-2 element-4" role="treeitem"><a href="/community/irc/"><span aria-hidden="true" class="icon-freenode"></span>Chat on IRC</a></li>
241+
<li class="tier-2 element-3" role="treeitem"><a href="/community/irc/"><span aria-hidden="true" class="icon-freenode"></span>Chat on IRC</a></li>
242+
<li class="tier-2 element-4" role="treeitem"><a href="https://twitter.com/ThePSF"><span aria-hidden="true" class="icon-twitter"></span>Twitter</a></li>
242243
</ul>
243244
</li>
244245
</ul>

0 commit comments

Comments
 (0)