/* Clearer boundaries in the mkdocstrings API reference.
 *
 * Each top-level class gets a rule + extra space above it, and a class's
 * members are indented behind a left border, so it's obvious where one object
 * ends and the next begins. */

.doc-class {
  border-top: 0.1rem solid var(--md-default-fg-color--lighter);
  margin-top: 2.2rem;
  padding-top: 0.6rem;
}

/* Indent + left-border the member list (methods, attributes) of each class. */
.doc-children {
  border-left: 0.12rem solid var(--md-default-fg-color--lightest);
  padding-left: 1rem;
  margin-left: 0.35rem;
}

/* A little breathing room above each member heading. */
.doc-function,
.doc-attribute {
  margin-top: 1rem;
}
