-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapidoc.scss
106 lines (85 loc) · 1.49 KB
/
apidoc.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*fix elements sliding away from view when clicking links in documentation.*/
html {
scroll-padding-top: 5em;
}
div.overFlowHidden {
overflow: hidden;
}
div.apidocContentWrapper {
overflow: hidden;
word-wrap: break-word;
max-width: 85vw;
table {
font-size: 0.8em;
}
tr {
vertical-align: top;
}
td {
padding: 5px;
}
tr:nth-child(even) {
background: #EFEFEF
}
th {
text-align: left;
}
}
.apidocSidebarLink {
padding-bottom: 0.5rem;
color: #428bca;
font-size: 1rem;
}
.apidocSidebarDesc {
padding: 0 2rem;
font-size: 0.9rem;
overflow: hidden;
word-wrap: break-word;
}
.sidebarMainDiv {
top: 2em;
}
.sidebarCheckboxesTitle {
font-size: 1.125rem;
}
/*badges*/
span.label.label-primary {
margin-left: 4px;
margin-right: 4px;
&.add {
background-color : green;
}
&.mod {
background-color : orange;
}
&.rem {
background-color : red;
}
&.breaking {
background-color : red;
}
}
.label-primary {
background-color: #428bca;
}
.label {
display: inline;
padding: .4em .6em .2em .6em;
font-size: 75%;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
code:not(.hljs) {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
overflow: hidden;
word-wrap: break-word;
}