diff --git a/css/api-reference.css b/css/api-reference.css new file mode 100644 index 0000000000..bd67b28405 --- /dev/null +++ b/css/api-reference.css @@ -0,0 +1,25 @@ +/** + * 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-image: linear-gradient(0deg, #15A4D7 0%, #1488C6 100%); + height: 100px; + text-align: left !important; +} +api-logo img { + width: 136px !important; + margin: 32px 0 0 50px; +} +/** + * Disable request-type badges, see https://github.com/Rebilly/ReDoc/issues/61 + */ +redoc .operation-type { + display: none !important; +} diff --git a/engine/api/v1.25/index.html b/engine/api/v1.25/index.html index 970c22733a..2a76997bb3 100644 --- a/engine/api/v1.25/index.html +++ b/engine/api/v1.25/index.html @@ -11,27 +11,10 @@ redirect_from: - - +