-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
77 lines (64 loc) · 1.47 KB
/
custom.css
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
/* Hide the top bar */
.swagger-ui .topbar {
display: none;
}
.swagger-ui .topbar-wrapper {
display: none;
}
/* Customize the page title */
.swagger-ui .info .title {
font-size: 32px;
color: #1abc9c;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}
/* Customize the description */
.swagger-ui .info .description {
font-size: 18px;
color: #2c3e50;
text-align: center;
margin-bottom: 20px;
}
/* Customize the main wrapper */
.swagger-ui .swagger-container {
background-color: #ecf0f1;
padding: 20px;
border-radius: 10px;
}
/* Customize the tags */
.swagger-ui .opblock-tag {
background-color: #34495e;
color: #ecf0f1;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
}
.swagger-ui .opblock-tag:hover {
background-color: #2c3e50;
}
/* Customize the operations */
.swagger-ui .opblock.opblock-post {
border-color: #1abc9c;
}
.swagger-ui .opblock.opblock-get {
border-color: #3498db;
}
.swagger-ui .opblock.opblock-put {
border-color: #f39c12;
}
.swagger-ui .opblock.opblock-delete {
border-color: #e74c3c;
}
/* Customize the operation summary */
.swagger-ui .opblock-summary {
font-size: 18px;
color: #2c3e50;
}
/* Customize response code and description */
.swagger-ui .response-col_status {
font-weight: bold;
}
.swagger-ui .response-col_description {
color: #34495e;
}