/* Zusatzregeln für die Dokumentationsseiten; das Layout kommt aus Bootstrap. */

.doku {
  max-width: 920px;
}

.doku h2 {
  margin-top: 2.5rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.doku h3 {
  margin-top: 1.8rem;
  font-size: 1.15rem;
}

/* Ein Endpunkt: Methode + Pfad als Kopfzeile. */
.endpunkt {
  margin: 1.2rem 0 1.6rem;
}

.endpunkt > .kopf {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
  font-family: var(--bs-font-monospace);
  font-size: .95rem;
}

.methode {
  font-weight: 700;
  min-width: 4.2rem;
  display: inline-block;
}

.methode.get { color: var(--bs-success); }
.methode.post { color: var(--bs-primary); }
.methode.put { color: var(--bs-warning-text-emphasis); }
.methode.delete { color: var(--bs-danger); }

.doku pre {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .375rem;
  padding: .75rem 1rem;
  font-size: .85rem;
}

.doku table {
  font-size: .9rem;
}

.inhalt a {
  text-decoration: none;
}
