Skip to content

Instantly share code, notes, and snippets.

@proframework
Last active December 21, 2015 19:48
Show Gist options
  • Save proframework/6356459 to your computer and use it in GitHub Desktop.
Save proframework/6356459 to your computer and use it in GitHub Desktop.
Turn the portfolio link into a nice button.
a.portfolio-more {
text-align: center;
text-decoration: none;
padding: 4px 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
color: #222 !important;
border: 1px solid #b7b7b7;
background: #fff;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
background: -moz-linear-gradient(top, #fff, #ededed);
font-size:11px;
font-family:'Lucida Grande',Tahoma,Verdana,Arial,sans-serif;
font-weight:bold;
text-shadow:1px 1px 0 #FFF;
}
a.portfolio-more:hover {
text-decoration: none;
color: #606060 !important;
background: #ededed;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
background: -moz-linear-gradient(top, #fff, #dcdcdc);
}
a.portfolio-more:active {
color: #999 !important;
background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
background: -moz-linear-gradient(top, #ededed, #fff);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment