Skip to content

Commit 88dc128

Browse files
committed
chore: improve openapi styles
1 parent fa625e0 commit 88dc128

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/css/custom.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,3 +827,28 @@ a.footer__link-item:hover {
827827
box-sizing: border-box;
828828
}
829829
}
830+
831+
/* openapi */
832+
833+
.openapi-params__list-item {
834+
padding-bottom: 1rem;
835+
}
836+
837+
.openapi-params__list-item>strong {
838+
display: inline-block;
839+
padding-top: 0.5rem;
840+
}
841+
842+
.openapi-tabs__schema-tabs-container {
843+
border-bottom: 1px solid var(--ifm-color-emphasis-200);
844+
margin-bottom: -0.5rem;
845+
}
846+
847+
.openapi-tabs__schema-tabs-container .openapi-tabs__schema-item {
848+
border-radius: var(--ifm-global-radius) var(--ifm-global-radius) 0 0;
849+
}
850+
851+
.openapi-tabs__schema-tabs-container .openapi-tabs__schema-item.active {
852+
border-color: var(--ifm-color-primary);
853+
color: var(--ifm-color-primary);
854+
}

0 commit comments

Comments
 (0)