1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Added donation button

This commit is contained in:
Dan Leech 2015-10-18 19:20:19 +01:00
parent fa7310b4ac
commit 44a6935d84
4 changed files with 55 additions and 2 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Simple Icons
SVG icons for popular brands. https://simpleicons.org

View File

@ -102,6 +102,7 @@
height: 2rem;
margin: -0.5rem 0.75rem 0 0;
padding: 0.5rem 0.5rem 0;
width: 2rem;
}
.hex {
opacity: 0.5;
@ -124,6 +125,26 @@
text-align: center;
text-transform: uppercase;
}
.donate-form {
margin: 1.5rem 0;
text-align: center;
}
.donate-button {
background: #999;
border: 0;
border-radius: 1.5rem;
color: #FFF;
cursor: pointer;
font-family: inherit;
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0.05rem;
padding: 0.75rem 1.5rem;
text-transform: uppercase;
}
.donate-button:focus, .donate-button:hover {
background: #333;
}
</style>
</head>
@ -240,7 +261,11 @@
</main>
<footer class="footer" role="contentinfo">
<p>Distributed for free by <a href="https://twitter.com/bathtype">Dan Leech</a> under the Free Art License. Company logos in icons are copyright of their respective owners. Contributions, corrections and requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>.</p>
<!-- <p><a href="#">“Buy me a coffee?”</a> — Dan Leech</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>
</body>
</html>

View File

@ -2,7 +2,11 @@
</main>
<footer class="footer" role="contentinfo">
<p>Distributed for free by <a href="https://twitter.com/bathtype">Dan Leech</a> under the Free Art License. Company logos in icons are copyright of their respective owners. Contributions, corrections and requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>.</p>
<!-- <p><a href="#">“Buy me a coffee?”</a> — Dan Leech</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>
</body>
</html>

View File

@ -102,6 +102,7 @@
height: 2rem;
margin: -0.5rem 0.75rem 0 0;
padding: 0.5rem 0.5rem 0;
width: 2rem;
}
.hex {
opacity: 0.5;
@ -124,6 +125,26 @@
text-align: center;
text-transform: uppercase;
}
.donate-form {
margin: 1.5rem 0;
text-align: center;
}
.donate-button {
background: #999;
border: 0;
border-radius: 1.5rem;
color: #FFF;
cursor: pointer;
font-family: inherit;
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0.05rem;
padding: 0.75rem 1.5rem;
text-transform: uppercase;
}
.donate-button:focus, .donate-button:hover {
background: #333;
}
</style>
</head>