Skip to content

Commit fd262a1

Browse files
committed
Keyboard shortcuts Stackoverflow-like
1 parent 886ad89 commit fd262a1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

_sass/_syntax.scss

+18
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,21 @@ code {
112112
.highlight .vg{color:#dcdccc}
113113
.highlight .vi{color:#ffffc7}
114114
.highlight .il{color:#8cd0d3}
115+
116+
kbd {
117+
font-family: Arial,Helvetica,sans-serif;
118+
font-size: 11px;
119+
line-height: 1.4;
120+
display: inline-block;
121+
margin: 0 .1em;
122+
padding: .1em .6em;
123+
white-space: nowrap;
124+
color: #333;
125+
border: 1px solid #ccc;
126+
border-radius: 3px;
127+
background-color: #f7f7f7;
128+
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.2),0 0 0 2px #fff inset;
129+
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.2),0 0 0 2px #fff inset;
130+
box-shadow: 0 1px 0 rgba(0,0,0,.2),0 0 0 2px #fff inset;
131+
text-shadow: 0 1px 0 #fff;
132+
}

0 commit comments

Comments
 (0)