Fix: styling (#2523)

* remove vercel favicon and logo, remove empty space on top due to Head

* adds a negative margin-top to compensate for svg-assets

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Agusti Fernandez 2022-04-16 03:58:07 +02:00 committed by GitHub
parent 7e392da78a
commit d03038d976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,7 @@
@charset "UTF-8"; @charset "UTF-8";
.swagger-ui {
margin-top: -180px;
}
.model-box-control { .model-box-control {
border-radius: 0; border-radius: 0;
background: black; background: black;
@ -184,13 +187,13 @@
color: #fff; color: #fff;
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
.swagger-ui .opblock .opblock-summary-method { .swagger-ui .opblock .opblock-summary-method {
margin-right: -5px; margin-right: -5px;
} }
.swagger-ui .opblock .opblock-summary-path, .swagger-ui .opblock .opblock-summary-path,
.swagger-ui .opblock .opblock-summary-path__deprecated { .swagger-ui .opblock .opblock-summary-path__deprecated {
margin-top: 20px; margin-top: 20px;
} }
} }
.swagger-ui .opblock .opblock-summary-path, .swagger-ui .opblock .opblock-summary-path,
.swagger-ui .opblock .opblock-summary-path__deprecated { .swagger-ui .opblock .opblock-summary-path__deprecated {
@ -243,7 +246,7 @@
.swagger-ui .opblock .opblock-summary-description { .swagger-ui .opblock .opblock-summary-description {
margin: auto; margin: auto;
margin-top: 10px; margin-top: 10px;
} }
} }
.swagger-ui .opblock .opblock-summary { .swagger-ui .opblock .opblock-summary {
display: -webkit-box; display: -webkit-box;
@ -771,9 +774,9 @@
border: none; border: none;
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
.swagger-ui button { .swagger-ui button {
display: grid; display: grid;
} }
} }
.swagger-ui select { .swagger-ui select {
font-size: 14px; font-size: 14px;