Skip to content

Instantly share code, notes, and snippets.

@nexxos
Last active December 12, 2015 06:38
Show Gist options
  • Save nexxos/4730456 to your computer and use it in GitHub Desktop.
Save nexxos/4730456 to your computer and use it in GitHub Desktop.
Button "Download Flyer rtk-russia.de" – Button für den Download des Flyers auf der Startseite von www.rtk-russia.de. Code auch auf Codepen: http://codepen.io/nexxos/pen/ICFHm
<!-- Button fuer den Download des Flyers auf der Startseite rtk-russia.de -->
<p align="center">
<a class="btn" href="http://rtk-russia.de/images/pdf/Flyer_rtk_russia.pdf" target="_blank">
<em class="icon-download-alt"> </em>
Infomaterial herunterladen
</a>
</p>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333333;
}
a {
color: #0088cc;
text-decoration: none;
}
.btn {
display: inline-block;
padding: 4px 14px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: #f5f5f5;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #bbbbbb;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-bottom-color: #a2a2a2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn [class^="icon-"], .btn [class*=" icon-"] {
line-height: .9em;
}
a [class^="icon-"], a [class*=" icon-"] {
display: inline-block;
text-decoration: inherit;
}
.icon-download-alt {
background-position: -96px -24px;
}
[class^="icon-"], [class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-top: 1px;
line-height: 14px;
vertical-align: text-top;
background-image: url("http://rtk-russia.de/templates/strapped/img/glyphicons-halflings.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}
[class^="icon-"]::before, [class*=" icon-"]::before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment