html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, 'Helvetica', 'Arial', sans-serif;
}
body {
    background: #f8f8f8;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    min-height: 100vh;
    position: relative; /* to size ::before to full height */
}
main::before {
    content: '';
    display: block;
    height: 100%;
    width: 440px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    line-height: 1.3em;
}
.line {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    font-size: 16px;
}
.line:first-child .doc {
    padding-top: 64px;
}
.line:last-child .doc {
    padding-bottom: 64px;
    height: 100%;
}
.line:last-child {
    align-items: flex-start;
    flex-grow: 1;
}
.doc {
    min-height: 24px;
    box-sizing: border-box;
    width: 440px;
    line-height: 1.5em;
    flex-shrink: 0;
    flex-grow: 0;
    padding-left: 32px;
    padding-right: 32px;
}
.doc p {
    margin: 0;
}
pre {
    margin: 0;
    margin-left: 8px;
    line-height: 1.5em;
    font-size: 14px;
}
/* Inline code styling (in markdown) */
.doc code {
    font-size: .9em;
    background: #f8f8f8;
    box-sizing: border-box;
    padding: 2px 4px;
    border: 1px solid #aaa;
}
pre,
code {
    font-family: 'Menlo', 'Monaco', monospace;
    overflow: hidden !important; /* override hljs's scroll style */
}
/* Code block styling - no border or padding */
pre.source code,
pre.source code.hljs {
    font-size: 1em;
    background: transparent;
    padding: 0;
    border: none;
    display: inline !important; /* Override hljs display: block */
    overflow-x: visible !important; /* Override hljs overflow-x: auto */
}
.lineNumber {
    font-weight: normal;
    opacity: .2;
    margin-right: 18px;
    width: 36px;
    text-align: right;
    display: inline-block;
}
.hljs {
    padding: 0 !important;
    background: transparent !important;
}
.fade {
    opacity: .35;
}
a {
    opacity: .8;
    color: #777;
    display: inline-block;
    margin-bottom: 18px;
}
p a {
    display: inline;
}
a:hover {
    opacity: 1;
}
.doc .sourceLink {
    margin-top: 8px;
}
