Created
May 26, 2012 08:49
-
-
Save AntoineAugusti/2792962 to your computer and use it in GitHub Desktop.
Keyboard shortcut style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.keyboard_key { | |
display:inline-block; | |
min-width:10px; | |
height:18px; | |
padding:0 4px; | |
font-size:11px; | |
line-height:18px; | |
color:#555; | |
text-align:center; | |
background-color:#EEE; | |
background-repeat:repeat-x; | |
background-image:-moz-linear-gradient(top,whiteSmoke 0,#EEE 100%); | |
background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,whiteSmoke),color-stop(100%,#EEE)); | |
background-image:-webkit-linear-gradient(top,whiteSmoke 0,#EEE 100%); | |
background-image:-ms-linear-gradient(top,whiteSmoke 0,#EEE 100%); | |
background-image:-o-linear-gradient(top,whiteSmoke 0,#EEE 100%); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#eeeeee',GradientType=0); | |
background-image:linear-gradient(top,whiteSmoke 0,#EEE 100%); | |
border:1px solid #CCC; | |
-webkit-border-radius:3px; | |
-moz-border-radius:3px; | |
border-radius:3px; | |
-webkit-box-shadow:inset 0 1px 0 white,0 1px 0 #CCC; | |
-moz-box-shadow:inset 0 1px 0 #fff,0 1px 0 #ccc; | |
box-shadow:inset 0 1px 0 white,0 1px 0 #CCC; | |
margin-right: 5px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment