Skip to content
Discussion options

You must be logged in to vote

I got a working solution... Not the most pretty or good IMO but it does what I wanted:

.md-typeset .admonition.api-post,
.md-typeset details.api-post {
  border-color: rgb(0, 200, 83);
}

.md-typeset .api-post > .admonition-title,
.md-typeset .api-post > summary {
  background-color: rgba(0, 200, 83, 0.1);
  padding-left: 4rem !important;
  font-size: .9rem;
}

.md-typeset .api-post > .admonition-title::before,
.md-typeset .api-post > summary::before {
  content: "POST";
  -webkit-mask-image: none;
          mask-image: none;
  background-color: transparent;
  top: auto;
}

Result:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant