body {
  min-width: 300px;
}

.section {
  padding: 0;
}

.shortcuts-list {
  padding: 0 0.75rem;
}

.content dl.shortcuts-list.general-commands-list:not(:last-child) {
  margin-top: 0.3rem;
}

.shortcuts-list dt,
.modifier-key {
  background-color: #eee;
  box-shadow: 1px 1px 0 0 #ddd;
  font-family: "Consolas", "Menlo", "Monaco", "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif;
}

.shortcuts-list dt {
  float: left;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.25em;
  border-radius: 3px;
  padding: 0.2em 0.5em;
  font-weight: 700;
  line-height: 1;
}

.shortcut {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.shortcut:hover {
  text-decoration: underline;
}

.shortcut.active-context {
  background-color: #F8FFDA;
}

.shortcuts-list dd {
  margin-left: 1.9em;
  border-radius: 3px;
  padding: 0.3em 0.4em 0.1em 0.4em;
}

.shortcuts-list dd:not(:last-child) {
  margin-bottom: 0.3rem;
}

.shortcuts-list dd .modifier {
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.modifier-key {
  padding: 0.15em 0.3em;
  border-radius: 1px;
}

.repository,
.organization {
  font-weight: 700;
}

.shortcut.highlighted,
.modifier.highlighted,
.modifier.highlighted .modifier-key {
  background-color: #edfea2;
  color: #111;
  box-shadow: inset 1px 1px 0 0 #cffea2;
}

.content h2:not(:first-child) {
  margin-top: 0;
}

.content dl:last-child,
.content dl:not(:last-child) {
  margin-bottom: 0;
}

.title:not(:last-child) {
  margin-bottom: 0.3rem;
}

.subtitle:not(:last-child) {
  margin-bottom: 0.3rem;
}

.title.is-6 {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  margin-right: 5px;
}

.subtitle.is-6 {
  font-size: 0.9em;
  font-weight: 500;
  display: flex;
  align-items: center;
  line-height: 1;
  padding: 0.2em 0.75rem;
  background-color: #efefef;
}

.subtitle span {
  font-weight: inherit;
}

.user-logo {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: middle;
}

.content {
  line-height: 1.3;
}

.context-switch,
.context-switch .subtitle.is-6 {
  font-size: 0.875rem;
}

.context-switch {
  margin-top: 0.5rem;
  clear: left;
  padding-bottom: 0.5rem;
  background-color: #fbfbfb;
  border-top: 1px solid #ddd;
}

.context-switch .subtitle.is-6 {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  font-style: italic;
}

.context-switch .shortcuts-list {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 3px;
}

.context-switch .shortcuts-list + .shortcuts-list {
  margin-top: 0.3rem;
}

.context-switch .shortcuts-list dd:not(:last-child) {
  margin-bottom: 0.1rem;
}

.content .context-switch dl.shortcuts-list:not(:last-child) {
  margin-bottom: 0;
}

.shortcut .octicon {
  color: #777;
  margin-top: 1px;
}

.context-switch-header {
  justify-content: space-between;
}

.subtitle .shortcut.option-shortcut {
  font-style: normal;
  font-weight: normal;
}

.grow {
  flex-grow: 1;
}

.letter,
.subtitle span.letter {
  font-weight: 700;
}

.welcome p {
  padding: 0 0.75rem;
}

.welcome p + p {
  margin-top: 0.5rem;
}

.content .welcome p:not(:last-child) {
  margin-bottom: 0;
}

.welcome p:last-child {
  margin-bottom: 0.5rem;
}

.shortcut-body {
  justify-content: space-between;
}
