Skip to content

Remove link to facebook and add LinkedIn in the Python.org socialize menu #2327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified static/fonts/Pythonicon.eot
Binary file not shown.
117 changes: 73 additions & 44 deletions static/fonts/Pythonicon.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion static/fonts/Pythonicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/fonts/Pythonicon.ttf
Binary file not shown.
Binary file modified static/fonts/Pythonicon.woff
Binary file not shown.
20 changes: 17 additions & 3 deletions static/fonts/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="style.css"></head>
<body>
<div class="bgc1 clearfix">
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> Pythonicon <small class="fgc1">(Glyphs:&nbsp;40)</small></h1>
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> Pythonicon <small class="fgc1">(Glyphs:&nbsp;41)</small></h1>
</div>
<div class="clearfix mhl ptl">
<h1 class="mvm mtn fgc1">Grid Size: 16</h1>
Expand Down Expand Up @@ -568,8 +568,22 @@ <h1 class="mvm mtn fgc1">Grid Size: Unknown</h1>
<span class="mls"> icon-mastodon</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e900" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe900;" class="unitRight size1of2 talign-right" />
<input type="text" readonly value="e628" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe628;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-true">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="icon-linkedin"></span>
<span class="mls"> icon-linkedin</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e629" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe629;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-true">
<span class="unit pvs fgc1">liga: </span>
Expand Down
22 changes: 13 additions & 9 deletions static/fonts/style.css

Large diffs are not rendered by default.

26 changes: 15 additions & 11 deletions static/sass/_fonts.scss

Large diffs are not rendered by default.

274 changes: 139 additions & 135 deletions static/sass/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2407,7 +2407,7 @@ span.highlighted {
/* ! ===== ICONS ===== */

/* Look inside _fonts.scss for most of the code. We declare this here so we can adjust as needed for specific elements. */
.icon-megaphone, .icon-python-alt, .icon-pypi, .icon-news, .icon-moderate, .icon-mercurial, .icon-jobs, .icon-help, .icon-download, .icon-documentation, .icon-community, .icon-code, .icon-close, .icon-calendar, .icon-beginner, .icon-advanced, .icon-sitemap, .icon-search, .icon-search-alt, .icon-python, .icon-github, .icon-get-started, .icon-feed, .icon-facebook, .icon-email, .icon-arrow-up, .icon-arrow-right, .icon-arrow-left, .icon-arrow-down, .icon-freenode, .icon-alert, .icon-versions, .icon-twitter, .icon-thumbs-up, .icon-thumbs-down, .icon-text-resize, .icon-success-stories, .icon-statistics, .icon-stack-overflow, .icon-mastodon {
.icon-megaphone, .icon-python-alt, .icon-pypi, .icon-news, .icon-moderate, .icon-mercurial, .icon-jobs, .icon-help, .icon-download, .icon-documentation, .icon-community, .icon-code, .icon-close, .icon-calendar, .icon-beginner, .icon-advanced, .icon-sitemap, .icon-search, .icon-search-alt, .icon-python, .icon-github, .icon-get-started, .icon-feed, .icon-facebook, .icon-email, .icon-arrow-up, .icon-arrow-right, .icon-arrow-left, .icon-arrow-down, .icon-freenode, .icon-alert, .icon-versions, .icon-twitter, .icon-thumbs-up, .icon-thumbs-down, .icon-text-resize, .icon-success-stories, .icon-statistics, .icon-stack-overflow, .icon-mastodon, .icon-linkedin {
font-family: 'Pythonicon';
speak: none;
font-style: normal;
Expand Down
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ <h1 class="site-headline">
<li class="tier-1 last" aria-haspopup="true">
<a href="#" class="action-trigger">Socialize</a>
<ul class="subnav menu">
<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>
<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>
<li class="tier-2 element-1" role="treeitem"><a href="https://fosstodon.org/@ThePSF"><span aria-hidden="true" class="icon-mastodon"></span>Mastodon</a></li>
<li class="tier-2 element-2" role="treeitem"><a href="https://www.linkedin.com/company/thepsf/"><span aria-hidden="true" class="icon-linkedin"></span>Linkedin</a></li>
<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>
<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>
</ul>
Expand Down