@charset "UTF-8";

/* Resets. */
body, header, div, span, p, pre, ul, li {
    margin: 0;
    padding: 0
}

article, aside, footer, header, nav, section, time {
    display: block;
}

/* Misc. elements. */
html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 62.5%;
    letter-spacing: 0.0625rem;
}

body {
    min-height: 100%;

    background-color: #121418;
    background-image: url("/assets/images/body-background.png");
    background-repeat: repeat;
    color: #40C4FF;

    font-family: "Share Tech Mono", Monospace, Courier;
    font-size: 1.6rem;
    font-weight: 400;
}

pre {
    margin-bottom: 2rem;
}

li {
    list-style: none;
    padding-bottom: 1.4rem;
}

img {
    max-width: 100%;
}

a {
    color: #40C4FF;
    text-decoration: none;
    transition-duration: 0.4s;
}

a:hover {
    color: #9BD8FF;
}

header, footer {
    letter-spacing: 0;
}

article > header {
    display: inline-block;
    margin-bottom: 1.4rem;
}

/* Containers. */
div.page-container {
    max-width: 78rem;
    min-height: 100%;
    margin: auto;
    padding: 5rem 6rem;

    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;

    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

main.page-content {
    margin: 2rem 1rem 1rem 1rem;
}

/* Page header/foodter. */
header.page-zenith, footer.page-nadir {
    width: 100%;
    max-height: 100%;
    overflow: hidden;
}

header.page-zenith {
    border-bottom: 0.0625rem solid #40C4FF;
    padding-bottom: 1.4rem;
}

header.page-zenith nav {
    display: inline-block;
    font-size: 1.6rem;
}

footer.page-nadir {
    border-top: 0.0625rem solid #40C4FF;
    font-size: 1.2rem;
    text-align: center;
}

footer.page-nadir p {
    margin: 0.125rem;
    padding: 0;
}

/* Article/page classes. */
div .articles-list {
    max-width: 100%;
    font-size: 1.6rem;
}

article .article-details {
    font-size: 1rem;
}

article .article-content {
    font-size: 1.2rem;
    line-height: 2.4rem;
}

article .article-content a, footer.page-nadir p a {
    text-decoration: underline;
}

article .article-content p {
    padding-bottom: 1.6rem;
}

/* Text modifiers. */
.glow {
    text-shadow: 0 0 0.8rem rgba(64, 196, 255, 0.9);
}

/* Dragons in need of much tweaking below. */
code, article .article-content > .highlight {
	display: inline-block;
    margin: 0rem 1rem;
    padding-left: 1rem;
    width: 100%;
	background: rgba(155, 216, 255, 0.05);
    border-left: 0.0625rem solid #40C4FF;
}

img.align-center {
    display: block;
    margin: 0 auto;
}

img.align-left {
    float: left;
}

img.align-right {
    float: right;
}
