Files
docker-docs/css/api-reference.scss
Sebastiaan van Stijn 56e601033a Some tweaks to the API styling
- Update the logo
- Make fonts and colors a bit more consistent with the rest of the docs
- Don't uppercase TOC menu items
- Update _fetch_upstream_resources script to make the logo-URL relative
  to the current website.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-09 17:14:58 +02:00

52 lines
876 B
SCSS

---
# 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;
}
}