/* Heavily borrowed from John Sundell's Splash example CSS. Copyright below. */

/**
 *  Example CSS file that can be used to style Splash HTML output
 *  Copyright (c) John Sundell 2018
 *  MIT license - see LICENSE.md
 */

pre {
    margin-bottom: 1.5em;
    padding: 16px 0;
    border-radius: 16px;
}

code {
    background: var(--code-block-bg);
    color: var(--code-block-fg);
    border-radius: 4px;
    padding: 0 4px;
}

pre code {
    display: block;
    padding: 8px 20px;
    font-size: 1.1em;
    line-height: 1.4em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

code {
    font-family: monospace;
    white-space: pre;
}

pre code .swift-keyword {
    color: #e73289;
}

pre code .swift-typeName {
    color: #b0ffc7;
}

pre code .swift-functionName {
    color: #45a5ff;
}

pre code .swift-property {
    color: #2ae1cf;
}

pre code .swift-number {
    color: #db6f57;
}

pre code .swift-string {
    color: #fa641e;
}

pre code .swift-comment {
    color: #6b8a94;
}

pre code .swift-dotAccess {
    color: #92b300;
}

pre code .swift-preprocessing {
    color: #b68a00;
}
