Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚚 Move Keyboard Shortcuts #904

Merged
merged 13 commits into from
Oct 10, 2019
16 changes: 16 additions & 0 deletions src/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ hr,
@include clearfix();
}

// Keyboard shortcuts

kbd {
display: inline-block;
padding: 3px 5px;
simurai marked this conversation as resolved.
Show resolved Hide resolved
font: 11px $mono-font;
line-height: 10px;
color: $gray-700;
vertical-align: middle;
background-color: $bg-gray-light;
border: $border-style $border-width $gray-300;
simurai marked this conversation as resolved.
Show resolved Hide resolved
border-bottom-color: darken($gray-300, 4%);
simurai marked this conversation as resolved.
Show resolved Hide resolved
border-radius: $border-radius;
box-shadow: inset 0 -1px 0 darken($gray-300, 4%);
simurai marked this conversation as resolved.
Show resolved Hide resolved
}

//
// Remove most spacing between table cells.
//
Expand Down
4 changes: 2 additions & 2 deletions src/markdown/markdown-body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@
color: $gray-700;
vertical-align: middle;
background-color: $gray-000;
border: solid 1px darken($gray-300, 4%);
border: $border-style $border-width darken($gray-300, 4%);
simurai marked this conversation as resolved.
Show resolved Hide resolved
border-bottom-color: $gray-400;
border-radius: 3px;
border-radius: $border-radius;
box-shadow: inset 0 -1px 0 $gray-400;
}
}