html, body {
    height: 100%;
}

body {
    padding: 2em 0;
    > .container-fluid {
        height: 100%;
    }
}

pre:not(.no-bg) {
    margin-left: -1000px;
    margin-right: -1000px;
    padding: 5px 1000px;
    background-color: #fafafa;
    box-shadow: 0 2px 8px -4px rgba(0,0,0,.4);
}
.dark pre:not(.no-bg) {
    background-color: #151d21;
    box-shadow: 0 2px 8px -4px rgba(255,255,255,.6);
}
pre:not(.no-bg) code {
    color: #343a40;
    background-color: #fff;
    font-size: 15px;
}
.dark pre:not(.no-bg) code {
    color: #f2f2f2;
    background-color: #151d21;
}

.preview-bar {
    padding: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background-color: white;
}
.preview-content {
    padding-top: 2rem;
    overflow: hidden;
    min-height: calc(100% - 48px);
}

.toggle-switch { width: 50px; padding: .25rem; font-size: 1.75rem; outline: 0; }
.toggle-switch > .fa-toggle-on { display: none; }
.toggle-switch > .fa-toggle-off { display: inline-block; }
.toggle-switch.active > .fa-toggle-on { display: inline-block; }
.toggle-switch.active > .fa-toggle-off { display: none; }
.toggle-switch > .fal, .toggle-switch.active > .fal { color: #2a3a42; }
.toggle-switch:hover > .fal { color: #c56b45; }

.breakpoints {
    padding: .5rem;
    font-size: .875rem;
}