
@font-face {
  font-family: 'Source Code Pro';
  font-weight: 200 900;
  font-display: swap;
  src: url(https://docs.diarkis.io/fonts/SourceCodePro-Regular.ttf.woff2) format('woff2');
}

body {
  margin: 1em 2em;
  font-family: Helvetica, sans-serif;
  background-color: #f8f8f8;
  font-size: 1em;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
h1, h2, h3, h4 { font-weight: 500; }
h2 { font-size: 1.75em }
h3 { font-size: 1.5em }
h4 { font-size: 1.33em }
h5 { font-size: 1em }

a {
  text-decoration: none;
  color: #0366a5;
}
a:hover {
  text-decoration: underline;
}

a.permalink { display: none; }
a.permalink:hover {
  text-decoration: none;
}
*:hover > a.permalink { display: inline; }

nav {
  padding: 1em;
  background-color: #eee;
  border-radius: 0.5em;
  display: flex;
  flex-wrap: wrap;
}

nav .navbar-right {
  margin-left: auto;
}

/* Remove first level of nesting for a package's index section. */
#pkg-index + ul, #pkg-examples + ul  {
  list-style-type: none;
  padding: 0;
}

code, kbd, pre {
  font-family: Consolas, monospace;
}

pre {
  color: #222;
  overflow-x: auto;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  background-color: #eee;
  padding: 0.75em;
  font-size: 0.9em;
}

details.example > summary {
  color: #0366a5;
  cursor: pointer;
}

details.deprecated > summary {
  list-style: none;
}

span.deprecated-tag {
  color: #eee;
  background-color: #999;
  padding: 0.125rem 0.3rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  vertical-align: middle;
  cursor: pointer;
}

#search { margin: 0.3em 0; }

#generated-by-footer { font-size: x-small; }

/* Background */ .bg { background-color: #f8f8f8; }
/* PreWrapper */ .chroma { background-color: #f8f8f8; }
/* Other */ .chroma .x { color: #000000 }
/* Error */ .chroma .err { color: #a40000 }
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #dfdfdf }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #204a87; font-weight: bold }
/* KeywordConstant */ .chroma .kc { color: #204a87; font-weight: bold }
/* KeywordDeclaration */ .chroma .kd { color: #204a87; font-weight: bold }
/* KeywordNamespace */ .chroma .kn { color: #204a87; font-weight: bold }
/* KeywordPseudo */ .chroma .kp { color: #204a87; font-weight: bold }
/* KeywordReserved */ .chroma .kr { color: #204a87; font-weight: bold }
/* KeywordType */ .chroma .kt { color: #204a87; font-weight: bold }
/* Name */ .chroma .n { color: #000000 }
/* NameAttribute */ .chroma .na { color: #c4a000 }
/* NameBuiltin */ .chroma .nb { color: #204a87 }
/* NameBuiltinPseudo */ .chroma .bp { color: #3465a4 }
/* NameClass */ .chroma .nc { color: #000000 }
/* NameConstant */ .chroma .no { color: #000000 }
/* NameDecorator */ .chroma .nd { color: #5c35cc; font-weight: bold }
/* NameEntity */ .chroma .ni { color: #ce5c00 }
/* NameException */ .chroma .ne { color: #cc0000; font-weight: bold }
/* NameFunction */ .chroma .nf { color: #000000 }
/* NameFunctionMagic */ .chroma .fm { color: #000000 }
/* NameLabel */ .chroma .nl { color: #f57900 }
/* NameNamespace */ .chroma .nn { color: #000000 }
/* NameOther */ .chroma .nx { color: #000000 }
/* NameProperty */ .chroma .py { color: #000000 }
/* NameTag */ .chroma .nt { color: #204a87; font-weight: bold }
/* NameVariable */ .chroma .nv { color: #000000 }
/* NameVariableClass */ .chroma .vc { color: #000000 }
/* NameVariableGlobal */ .chroma .vg { color: #000000 }
/* NameVariableInstance */ .chroma .vi { color: #000000 }
/* NameVariableMagic */ .chroma .vm { color: #000000 }
/* Literal */ .chroma .l { color: #000000 }
/* LiteralDate */ .chroma .ld { color: #000000 }
/* LiteralString */ .chroma .s { color: #4e9a06 }
/* LiteralStringAffix */ .chroma .sa { color: #4e9a06 }
/* LiteralStringBacktick */ .chroma .sb { color: #4e9a06 }
/* LiteralStringChar */ .chroma .sc { color: #4e9a06 }
/* LiteralStringDelimiter */ .chroma .dl { color: #4e9a06 }
/* LiteralStringDoc */ .chroma .sd { color: #8f5902; font-style: italic }
/* LiteralStringDouble */ .chroma .s2 { color: #4e9a06 }
/* LiteralStringEscape */ .chroma .se { color: #4e9a06 }
/* LiteralStringHeredoc */ .chroma .sh { color: #4e9a06 }
/* LiteralStringInterpol */ .chroma .si { color: #4e9a06 }
/* LiteralStringOther */ .chroma .sx { color: #4e9a06 }
/* LiteralStringRegex */ .chroma .sr { color: #4e9a06 }
/* LiteralStringSingle */ .chroma .s1 { color: #4e9a06 }
/* LiteralStringSymbol */ .chroma .ss { color: #4e9a06 }
/* LiteralNumber */ .chroma .m { color: #0000cf; font-weight: bold }
/* LiteralNumberBin */ .chroma .mb { color: #0000cf; font-weight: bold }
/* LiteralNumberFloat */ .chroma .mf { color: #0000cf; font-weight: bold }
/* LiteralNumberHex */ .chroma .mh { color: #0000cf; font-weight: bold }
/* LiteralNumberInteger */ .chroma .mi { color: #0000cf; font-weight: bold }
/* LiteralNumberIntegerLong */ .chroma .il { color: #0000cf; font-weight: bold }
/* LiteralNumberOct */ .chroma .mo { color: #0000cf; font-weight: bold }
/* Operator */ .chroma .o { color: #ce5c00; font-weight: bold }
/* OperatorWord */ .chroma .ow { color: #204a87; font-weight: bold }
/* Punctuation */ .chroma .p { color: #000000; font-weight: bold }
/* Comment */ .chroma .c { color: #8f5902; font-style: italic }
/* CommentHashbang */ .chroma .ch { color: #8f5902; font-style: italic }
/* CommentMultiline */ .chroma .cm { color: #8f5902; font-style: italic }
/* CommentSingle */ .chroma .c1 { color: #8f5902; font-style: italic }
/* CommentSpecial */ .chroma .cs { color: #8f5902; font-style: italic }
/* CommentPreproc */ .chroma .cp { color: #8f5902; font-style: italic }
/* CommentPreprocFile */ .chroma .cpf { color: #8f5902; font-style: italic }
/* Generic */ .chroma .g { color: #000000 }
/* GenericDeleted */ .chroma .gd { color: #a40000 }
/* GenericEmph */ .chroma .ge { color: #000000; font-style: italic }
/* GenericError */ .chroma .gr { color: #ef2929 }
/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
/* GenericInserted */ .chroma .gi { color: #00a000 }
/* GenericOutput */ .chroma .go { color: #000000; font-style: italic }
/* GenericPrompt */ .chroma .gp { color: #8f5902 }
/* GenericStrong */ .chroma .gs { color: #000000; font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
/* GenericTraceback */ .chroma .gt { color: #a40000; font-weight: bold }
/* GenericUnderline */ .chroma .gl { color: #000000; text-decoration: underline }
/* TextWhitespace */ .chroma .w { color: #f8f8f8; text-decoration: underline }


code, kbd, pre {
  font-family: "Source Code Pro", Consolas, monospace;
  font-optical-sizing: auto;
  font-weight: 500;
}

/* markdown table */
table.md-table {
  border-collapse: collapse;
}

table.md-table thead th, table.md-table tbody td {
  border: 1px solid;
  padding: 10px;
}
table.md-table tbody tr:nth-child(2n) {
  background: #f5f7fa;
}
table.md-table tbody tr {
  border-bottom-color: rgb(128, 128, 128);
  border-left-color: rgb(128, 128, 128);
  border-right-color: rgb(128, 128, 128);
  border-top-color: rgb(128, 128, 128);
}

/* note */
.md-alert {
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-left: .25em solid #f8f8f8;
}

.md-alert > :first-child {
  margin-top: 0;
}

.md-alert .md-alert-title {
  display: flex;
  align-items: baseline;
  font-size: 1.4rem;
  margin-bottom: 0.6em;
}

.md-alert-info {
  border-left-color: #0068da;
}
.md-alert-info .md-alert-title {
  color: #0068da;
}

.md-alert-important {
  border-left-color: #814edf;
}
.md-alert-important .md-alert-title {
  color: #814edf;
}

.md-alert-warning {
  border-left-color: #996600;
}
.md-alert-warning .md-alert-title {
  color: #996600;
}

.md-alert-caution {
  border-left-color: #cf222e;
}
.md-alert-caution .md-alert-title {
    display: flex;
    color: #cf222e;
}

.md-alert .md-alert-title .icon {
  display: inline-block;
  fill: currentColor;
  margin-right: 0.5rem !important;
}
.md-alert > :last-child {
  margin-bottom: 0;
}
