-
Notifications
You must be signed in to change notification settings - Fork 975
/
documentation.scss
62 lines (60 loc) · 1.43 KB
/
documentation.scss
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
@import "../../../globals";
$documentation-h1-size: 3.4 * $unit;
$documentation-h2-size: 2.4 * $unit;
$documentation-h-offset: 4 * $unit;
$documentation-v-offset: ($documentation-h-offset / 2);
$documentation-code-background: rgba(0, 0, 0, .0588235);
$documentation-code-font-family: Consolas, Monaco, 'Andale Mono', monospace;
$documentation-code-font-size: 13px;
.documentation {
max-height: 100%;
flex-grow: 1;
overflow-y: scroll;
font-size: $font-size-normal;
color: $color-text;
background-color: $color-content;
> *:not(pre) {
margin: $documentation-v-offset $documentation-h-offset;
}
h1 {
font-size: $documentation-h1-size;
text-transform: capitalize;
+ p {
font-size: $font-size-big;
}
}
h2 {
font-size: $documentation-h2-size;
}
h3, h4, h5, h6 {
font-size: inherit;
font-weight: $font-weight-bold;
}
h1, h2 {
padding-top: $documentation-v-offset;
color: $color-primary-dark;
}
p {
font-size: inherit;
&:first-child {
background-color: red;
}
}
pre {
padding: $documentation-v-offset $documentation-h-offset;
font-family: $documentation-code-font-family;
font-size: $documentation-code-font-size;
background-color: $documentation-code-background;
}
table {
width: auto;
background-color: white;
thead th {
font-size: $font-size-tiny;
color: $color-text;
}
th, td {
padding: $unit;
}
}
}