/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #376996;
  --ifm-color-primary-dark: #315e87; /* Darker shade */
  --ifm-color-primary-darker: #2a5378; /* Even darker shade */
  --ifm-color-primary-darkest: #244869; /* Darkest shade */
  --ifm-color-primary-light: #4f7fa6; /* Lighter shade */
  --ifm-color-primary-lighter: #6895b6; /* Even lighter shade */
  --ifm-color-primary-lightest: #81abc6; /* Lightest shade */
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
  --ifm-color-primary: #376996;
  --ifm-color-primary-dark: #315e87;
  --ifm-color-primary-darker: #2a5378;
  --ifm-color-primary-darkest: #244869;
  --ifm-color-primary-light: #4f7fa6;
  --ifm-color-primary-lighter: #6895b6;
  --ifm-color-primary-lightest: #81abc6;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

/* Sidebar Method labels */
.api-method>.menu__link {
  align-items: center;
  justify-content: start;
}

.api-method>.menu__link::before {
  width: 50px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0.25rem;
  border: 1px solid;
  margin-right: var(--ifm-spacing-horizontal);
  text-align: center;
  flex-shrink: 0;
  border-color: transparent;
  color: white;
}

.get>.menu__link::before {
  content: "get";
  background-color: var(--ifm-color-primary);
}

.put>.menu__link::before {
  content: "put";
  background-color: var(--openapi-code-blue);
}

.post>.menu__link::before {
  content: "post";
  background-color: var(--openapi-code-green);
}

.delete>.menu__link::before {
  content: "del";
  background-color: var(--openapi-code-red);
}

.patch>.menu__link::before {
  content: "patch";
  background-color: var(--openapi-code-orange);
}
