Skip to content

Commit

Permalink
Nicer styles for <kbd>
Browse files Browse the repository at this point in the history
It seems #677 never actually got merged into master
  • Loading branch information
Blendify authored Jun 26, 2020
1 parent fd83875 commit 27f8c68
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
font-family: $code-font-family
font-size: 12px
line-height: 1.4

// Do not allow selection of code block prompts
div.highlight .gp
div.highlight .gp
user-select: none
pointer-events: none

Expand Down Expand Up @@ -481,7 +481,16 @@
font-weight: 700
border-radius: $base-line-height / 6
padding: $base-line-height / 10 $base-line-height / 4
margin: auto $base-line-height / 12
margin: auto 0
kbd, .kbd
color: inherit
font-size: 80%
background-color: lighten($text-light, 30%)
border: 1px solid darken($text-light, 5%)
border-radius: $base-line-height / 6
box-shadow: grey 0px $base-line-height / 12
padding: $base-line-height / 10 $base-line-height / 4
margin: auto 0
.versionmodified
font-style: italic

Expand Down

0 comments on commit 27f8c68

Please sign in to comment.