forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-reference.scss
More file actions
68 lines (54 loc) · 1.14 KB
/
api-reference.scss
File metadata and controls
68 lines (54 loc) · 1.14 KB
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
---
# Docker Documentation Theme
---
@import "variables";
@import "typography";
/**
* Styles for the Swagger API documentation (engine/api/v1.x/index.html)
*/
/* ReDoc doesn't change outer page styles */
body {
margin: 0;
padding: 0;
}
api-logo {
background-color: $bg-header;
height: 60px;
text-align: left !important;
img {
width: 160px !important;
margin: 15px 20px;
}
}
redoc {
h1 {
font-size: 32px !important;
}
h1,h2,h3,h4,h5,h6 {
font-family: $headings !important;
color: inherit !important;
}
p, a, .menu-item-title {
font-family: $font !important;
}
a, .menu-item-title {
color: $primary-links !important;
}
.menu-item-title {
text-transform: none;
}
// Disable request-type badges, see https://github.com/Rebilly/ReDoc/issues/61
.operation-type {
display: none !important;
}
}
// Hub API docs uses tag groups.
redoc.hub-api {
// tag group name
.menu-item-depth-0 > .menu-item-header:first-child .menu-item-title {
color: $body-text !important;
}
.menu-item-for-operation .menu-item-header .menu-item-title {
padding-left: 1em !important;
}
}