/*
Theme Name: Bacon on 2016
Template: twentysixteen
Version: 1.0
*/

/* Add your CSS overrides below */

pre {
  overflow-x: auto;
  white-space: pre;
  word-wrap: normal;
  max-width: 100%;
}

pre code {
  white-space: pre;
  word-break: normal;
  word-wrap: normal;
}

pre:has(> code.hljs) {
    font-size: 0;
    margin: 0 0 1.75rem;
	padding: 1.75rem;

    code.hljs {
        font-size: 1rem;
    }
}

/* This is the size at which the sidebar appears */
@media screen and (max-width: 56.875em) {

    pre:has(> code.hljs) {
        padding: 5px;

        code.hljs {
            padding: 5px;
            font-size: 0.85rem;
        }
    }

}

/* This is the size at which the black border appears */
@media screen and (max-width: 44.375em) {
    :root {
        --shave-edge: 5%;
    }
    .site-header, .sidebar, .site-footer {
        padding-inline: var(--shave-edge);
    }
    .entry-content, .entry-header, .entry-footer, .comments-area, .post-navigation {
        margin-inline: var(--shave-edge);
    }
}

@media screen and (max-width: 400px) {
    :root {
        --shave-edge: 3%;
    }
}