Template:GradientButton/styles.css
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
.gradientbutton {
margin: 10px;
text-decoration: none;
font: bold 1.5em 'Trebuchet MS', Arial, Helvetica;
display: inline-block;
text-align: center;
color: #fff;
border: 1px solid #9c9c9c;
border: 1px solid rgba(0, 0, 0, 0.3);
text-shadow: 0 1px 0 rgba(0,0,0,0.4);
box-shadow: 0 0 .05em rgba(0,0,0,0.4);
}
.gradientbutton,
.gradientbutton span {
border-radius: .3em;
}
.gradientbutton span {
border-top: 1px solid #fff;
border-top: 1px solid rgba(255, 255, 255, 0.5);
display: block;
padding: 0.5em 2.5em;
background-image:
linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%),
linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);
background-size: 3px 3px;
}
.gradientbutton:hover {
box-shadow: 0 0 .1em rgba(0,0,0,0.4);
}
.gradientbutton:active {
position: relative;
top: 1px;
}