.doc {
    max-width: 60rem;
}

/* START fix for scrolling to fragment links from https://gitlab.com/antora/antora-ui-default/-/merge_requests/166/diffs */

/* Keep fragment targets visible below the fixed navbar and toolbar. */
.doc [id] {
  scroll-margin-top: 6rem;  /* size of the top bar plus toolbar heights, fixed value bc variable like in MR not available in this version of the UI bundle */
}

/* The navigation script sets scrollTop directly; do not animate that update. */
.nav-panel-menu,
.nav-panel-explore .components {
  scroll-behavior: auto;
}

/* END fix for scrolling to fragment links */

pre {
    text-wrap-mode: wrap;
}

.doc .exampleblock > .content {
    border-width: 0.1rem; /* smaller border for better visual distinction with rule blocks */
}

/* rule block css */

.rule.exampleblock > .content {
    background-color: #fffef7;
    border-color: #b71818;
    border-width: 0.2rem;
}

.rule.exampleblock > .title {
    color: black;
    font-weight: bold;
    font-style: normal;
    font-size: 110%;
}

/* add text color support; copied from asciidoctor default css */

.aqua{color:#00bfbf}
.aqua-background{background:#00fafa}
.black{color:#000}
.black-background{background:#000}
.blue{color:#0000bf}
.blue-background{background:#0000fa}
.fuchsia{color:#bf00bf}
.fuchsia-background{background:#fa00fa}
.gray{color:#606060}
.gray-background{background:#7d7d7d}
.green{color:#006000}
.green-background{background:#007d00}
.lime{color:#00bf00}
.lime-background{background:#00fa00}
.maroon{color:#600000}
.maroon-background{background:#7d0000}
.navy{color:#000060}
.navy-background{background:#00007d}
.olive{color:#606000}
.olive-background{background:#7d7d00}
.purple{color:#600060}
.purple-background{background:#7d007d}
.red{color:#bf0000}
.red-background{background:#fa0000}
.silver{color:#909090}
.silver-background{background:#bcbcbc}
.teal{color:#006060}
.teal-background{background:#007d7d}
.white{color:#bfbfbf}
.white-background{background:#fafafa}
.yellow{color:#bfbf00}
.yellow-background{background:#fafa00}