Nope. Sharing buttons are horrid.

This commit is contained in:
Dan Leech 2015-11-11 17:22:19 +00:00
parent f93f3eaa24
commit 467c5385cc
4 changed files with 18 additions and 105 deletions

View File

@ -106,10 +106,6 @@
animation: none;
background: #333;
}
.sharing-buttons {
height: 1.5rem;
padding: 1.5rem;
}
@media (min-width: 800px) {
.navbar {
display: flex;
@ -124,7 +120,7 @@
padding: 1.5rem 0.75rem;
}
.donate-form {
margin: 0 1.5rem 0 0;
margin: -0.5rem 1.5rem 0 0;
padding: 0;
}
}
@ -228,32 +224,13 @@
</head>
<body>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
<div class="sharing-buttons">
<div class="fb-share-button" data-href="https://simpleicons.org" data-layout="button_count"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://simpleicons.org" data-via="bathtype" data-dnt="true">Tweet</a>
</div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</header>
<main role="main">
<p class="hero">167 SVG icons for popular brands <a href="https://github.com/danleech/simple-icons">Download them from GitHub</a></p>
@ -430,11 +407,6 @@
</main>
<footer class="footer" role="contentinfo">
<p>Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners. Distributed for free by <a href="https://twitter.com/bathtype">Dan Leech</a> under the Free Art License.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</footer>
<style>@import url('https://fonts.googleapis.com/css?family=Lato:400&text=ABCDEFGHIJKLMNOPQERSTUVWXYZ.!%20%23%2B%3F%26%2C1234567890');</style>
<script>
@ -466,7 +438,6 @@
}
}
</script>
<div id="fb-root"></div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -106,10 +106,6 @@
animation: none;
background: #333;
}
.sharing-buttons {
height: 1.5rem;
padding: 1.5rem;
}
@media (min-width: 800px) {
.navbar {
display: flex;
@ -124,7 +120,7 @@
padding: 1.5rem 0.75rem;
}
.donate-form {
margin: 0 1.5rem 0 0;
margin: -0.5rem 1.5rem 0 0;
padding: 0;
}
}
@ -228,32 +224,13 @@
</head>
<body>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
<div class="sharing-buttons">
<div class="fb-share-button" data-href="https://simpleicons.org" data-layout="button_count"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://simpleicons.org" data-via="bathtype" data-dnt="true">Tweet</a>
</div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</header>
<main role="main">
<p class="hero">167 SVG icons for popular brands <a href="https://github.com/danleech/simple-icons">Download them from GitHub</a></p>
@ -430,11 +407,6 @@
</main>
<footer class="footer" role="contentinfo">
<p>Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners. Distributed for free by <a href="https://twitter.com/bathtype">Dan Leech</a> under the Free Art License.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</footer>
<style>@import url('https://fonts.googleapis.com/css?family=Lato:400&text=ABCDEFGHIJKLMNOPQERSTUVWXYZ.!%20%23%2B%3F%26%2C1234567890');</style>
<script>
@ -466,7 +438,6 @@
}
}
</script>
<div id="fb-root"></div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -3,11 +3,6 @@
</main>
<footer class="footer" role="contentinfo">
<p>Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners. Distributed for free by <a href="https://twitter.com/bathtype">Dan Leech</a> under the Free Art License.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</footer>
<style>@import url('https://fonts.googleapis.com/css?family=Lato:400&text=ABCDEFGHIJKLMNOPQERSTUVWXYZ.!%20%23%2B%3F%26%2C1234567890');</style>
<script>
@ -39,7 +34,6 @@
}
}
</script>
<div id="fb-root"></div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -106,10 +106,6 @@
animation: none;
background: #333;
}
.sharing-buttons {
height: 1.5rem;
padding: 1.5rem;
}
@media (min-width: 800px) {
.navbar {
display: flex;
@ -124,7 +120,7 @@
padding: 1.5rem 0.75rem;
}
.donate-form {
margin: 0 1.5rem 0 0;
margin: -0.5rem 1.5rem 0 0;
padding: 0;
}
}
@ -228,31 +224,12 @@
</head>
<body>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
<div class="sharing-buttons">
<div class="fb-share-button" data-href="https://simpleicons.org" data-layout="button_count"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://simpleicons.org" data-via="bathtype" data-dnt="true">Tweet</a>
</div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</header>
<main role="main">