website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

website/src/styles/frame/help.css (912B)


/* *Help*: the keys and commands, opened with ? or SPC h h */

.help {
  width: min(780px, calc(100% - 32px));
  max-height: calc(100% - 64px);
  padding: 24px 28px;
  border: 1px solid var(--faint);
  background: var(--bg);
  color: var(--fg);
  font-size: 12.5px;
}

.help::backdrop {
  background: rgb(0 0 0 / 0.5);
}

.help .winbar {
  margin-bottom: 28px;
}

.help-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.help h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
}

.help dl {
  margin: 0;
}

.help dl div {
  display: grid;
  grid-template-columns: 13ch 1fr;
  gap: 2ch;
  padding: 3px 0;
}

.help dl div[hidden] {
  display: none;
}

.help dt {
  color: var(--fg);
}

.help dd {
  margin: 0;
  color: var(--dim);
}

.help form {
  margin-top: 28px;
}

@media (max-width: 640px) {
  .help-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}