Skip to content

Instantly share code, notes, and snippets.

@tkh44
Created March 27, 2012 18:06
Show Gist options
  • Save tkh44/2218502 to your computer and use it in GitHub Desktop.
Save tkh44/2218502 to your computer and use it in GitHub Desktop.
/** Shortcuts**/
.center{
margin: 0 auto;
}
.shortcut{
min-width: 192px;
min-height: 192px;
max-width: 192px;
max-height: 192px;
text-align: center;
padding: 10px 10px;
text-decoration: none;
border-radius:4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px 4px 4px 4px;
margin: 5px;
color: #6D6D6D;
border: 1px solid #D0D2D4;
position: relative;
display: inline-block;
float: left;
}
.shortcut:hover{
color: #2D2D2D;
/*border: 1px solid #6F7275;*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#f1f1f1');
background:-webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#f1f1f1));
background:-moz-linear-gradient(top, #f6f6f6, #f1f1f1);
background:-o-linear-gradient(top, #f6f6f6, #f1f1f1);
background-color: #DBDCDE;
text-decoration: none;
}
.shortcut a{
text-decoration: none;
}
.shortcut a:hover{
text-decoration: none;
}
.shortcut img{
display: block;
margin: 0 auto 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment