
body {
    padding-top: 70px;
}

/* MD .output + MD .editor-preview  */

.editor-preview,
.editor-preview-side {
    background: #fff;
}

.editor-preview-side img,
.editor-preview img,
.output img {
    max-width: 100%;
}
.editor-preview-side code,
.editor-preview code,
.output code {
    background: #e3e6e8;
    color: #000;
    padding: 2px 5px;
}

.editor-preview-side pre,
.editor-preview pre,
.output pre {
    background-color: #f6f6f6;
    padding: 15px;
}

.editor-preview-side pre code,
.editor-preview pre code,
.output pre code {
    color: #000;
    background-color: transparent;
    padding: 0;
}

.editor-preview-side blockquote,
.editor-preview blockquote,
.answercell blockquote {
    position: relative;
    margin: 0 1em 1.1em 1em;
    padding: .8em .8em .8em 1em;
    color: hsl(210, 8%, 35%);
}

.editor-preview-side blockquote :last-child,
.editor-preview blockquote :last-child,
.answercell blockquote :last-child {
    margin-bottom: 0;
}

.editor-preview-side blockquote::before,
.editor-preview blockquote::before,
.answercell blockquote::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    border-radius: 7px;
    background: hsl(210, 8%, 80%);
}

/* ******************* */

.footer {
    min-height: 200px;
}

.editor-toolbar.fullscreen {
    top: 56px;
}

.editor-preview-side,
.CodeMirror-fullscreen {
    top: 106px;
}

a.tag {
    background-color: rgb(225, 236, 244);
    color: rgb(57, 115, 157);
    padding: 5px 6px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
}

.post-layout {
    display: grid;
    grid-template-columns: max-content 1fr;
}

.post-layout--left {
    grid-column: 1;
    width: auto;
    text-align: center;
    padding-right: 1em;
}

.post-layout--right {
    grid-column: 2;
    width: auto;
    min-width: 0;
}

div.is-invalid .CodeMirror{
    border-color: #dc3545;
}

.navbar svg {
    width: 1rem;
}

.bookmark svg {
    width: 12px;
}

.thumbnail {
    width: 200px;
    height: 160px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    position: relative;
}
.btn-xs {
    padding: 0.3rem 0.25rem;
    font-size: 0.7rem;
    border-radius: 0.25rem;
}
.thumbnail .js-copy-button {
    position: absolute;
    top:0;
    right:0;
    z-index: 10;
}

.popover-body {
    padding:5px;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

svg {
    fill: currentColor;
}

.votecell {
    color: hsl(210, 8%, 45%);
}
.votecell a {
    color: #babfc4
}

