Skip to content

Instantly share code, notes, and snippets.

@venetucci
Created September 21, 2014 05:03
Show Gist options
  • Save venetucci/fa0347ff220a5c89c052 to your computer and use it in GitHub Desktop.
Save venetucci/fa0347ff220a5c89c052 to your computer and use it in GitHub Desktop.
basic button for open source thanksgiving
@mixin button($button-type) {
padding: 10px;
margin: 10px;
display: inline-block;
border: solid 3px;
cursor: pointer;
user-select: none;
vertical-align: middle;
white-space: nowrap;
font-weight: 600;
text-align: center;
&:hover {
color: white;
}
@if ($button-type == "primary") {
border-color: #ef7d4b;
background-color: white;
color: #ef7d4b;
}
&:hover {
background-color: #ef7d4b;
}
}
.learn-more {
@include button("primary");
@include span-columns(2);
@include shift(5);
margin-top: $buffer-lg;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment