summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/help.scss
blob: a48b4c65db8ea6af15b13e28a2f2ed1c224ca6b2 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.documentation-index {
  h1 {
    margin: 0;
  }

  h2 {
    font-size: 20px;
  }

  li {
    line-height: 24px;
    color: #888;

    a {
      margin-right: 3px;
    }
  }
}


.shortcut-mappings {
  font-size: 12px;
  color: #555;

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

  th {
    padding-top: 15px;
    line-height: 1.5;
    color: #333;
    text-align: left;
  }

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

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

  .key {
    @extend .label;
    @extend .label-inverse;
    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 $table-border-gray;
    padding: 5px;
    margin: 5px;
    max-height: calc(100vh - 100px);
  }
}