﻿@import "../libraries/chota/dist/chota.min.css";
@import "../libraries/xterm/xterm.min.css";
@import "../libraries/font-awesome/css/all.min.css";

@import "c-progress.css";
@import "c-dots-wave-loader.css";
@import "code-highlight.css";
@import "img-zoom-in-out.css";
@import "custom-scrollbars.css";

@import "c-blazored-toast.css";
@import "c-top-scroller.css";
@import "c-box.css";
@import "c-table.css";
@import "c-tabs.css";
@import "m-header.css";
@import "m-footer.css";
@import "m-log-viewer.css";

@font-face {
    font-family: 'CascadiaCode';
    src: url('../fonts/CascadiaCode.woff2') format('woff2')
}

body {
    --grid-maxWidth: 120rem;
    --grid-gutter: 2rem;
    --font-size: 1.6rem;
    --font-size-small-multiplier: .82;
    --font-size-tiny-multiplier: .7;
    --font-family-sans: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-family-mono: "CascadiaCode", monaco, "Consolas", "Lucida Console", monospace;
}

    body.dark {
        /*Chota overrides*/
        --bg-color: #080a0a;
        --bg-secondary-color: #082542;
        --page-column-bg-color: #0f3952;
        --font-color: #f5f5f5;
        --color-grey: #bbb;
        --color-darkGrey: #777;
        --color-primary: #17c16f;
        --color-error: #ea4f4f;
        --color-accent: #00d5ff;
        --color-warning: #ffa500;
    }

.is-invisible {
    visibility: hidden;
}

.container {
    padding: 0;
}

    .container.container-bg {
    }

        .container.container-bg main {
            padding: 3rem;
            margin-bottom: 3rem;
            background-color: var(--page-column-bg-color);
        }

.card {
    box-shadow: none;
    border-radius: 0;
}

section {
    margin: 5rem auto;
}

hr {
    margin: 2.75rem 0;
    background-color: transparent;
    border-top: 1px dashed var(--color-lightGrey);
    border-bottom: none;
    border-left: none;
    border-right: none;
}

blockquote > p:last-child {
    margin-bottom: 0;
}

code,
kbd {
    color: var(--color-accent);
}

blockquote code,
blockquote kbd {
    background-color: var(--page-column-bg-color);
}

#grid .card {
    padding: 1rem 0rem;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: rgba(26, 159, 96, 0.2);
    font-size: 1.2rem;
}

.dropdown + .button {
    margin-left: 1rem
}

    .dropdown + .button.is-small,
    .dropdown + .button.is-medium,
    .dropdown + .button.is-large {
        margin-left: 0.5rem
    }

.button + .button {
    margin-left: 1rem
}

    .button + .button.is-small,
    .button + .button.is-medium,
    .button + .button.is-large {
        margin-left: 0.5rem
    }

button:focus {
    outline: none;
}

.button.outline.error {
    border-color: var(--color-error);
    color: var(--color-error);
}

.button.outline.accent {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.button.is-small {
    padding: 0.4rem;
    font-size: 0.75em;
}

.button.is-medium {
    padding: 0.55rem;
    font-size: 0.85em;
}

.button.is-large {
    padding: 0.7rem;
    font-size: 1.125em;
}

.tag.new-example-tag {
    margin-right: 1rem;
}

.text-small {
    font-size: calc(var(--font-size) * var(--font-size-small-multiplier));
}

.text-tiny {
    font-size: calc(var(--font-size) * var(--font-size-tiny-multiplier));
}

.bd-accent {
    border: 1px solid var(--color-accent) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.bg-warning {
    background-color: var(--color-warning) !important;
}

.break-word {
    word-break: break-word;
}

.no-wrap {
    white-space: nowrap;
}

.break-anywhere {
    line-break: anywhere;
}
