summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/help.scss
blob: 0350fe5752e43c2b89a3548dd2ac41f74d057eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.shortcut-mappings {
  font-size: 12px;
  color: $help-shortcut-mapping-color;

  tbody:first-child tr:first-child {
    padding-top: 0;
  }

  th {
    padding-top: 15px;
    line-height: 1.5;
    color: $help-shortcut-header-color;
    text-align: left;
  }

  td {
    padding-top: 3px;
    padding-bottom: 3px;
    vertical-align: top;
    line-height: 20px;
  }

  .shortcut {
    padding-right: 10px;
    color: $help-shortcut-color;
    text-align: right;
    white-space: nowrap;
  }

  .key {
    @extend .badge.badge-pill;
    background-color: $label-inverse-bg;
    font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
    padding: 3px 5px;
  }
}

.documentation {
  padding: 7px;

  // Border around images in the help pages.
  img:not(.emoji) {
    border: 1px solid $white-normal;
    padding: 5px;
    margin: 5px;
    max-height: calc(100vh - 100px);
  }
}