body {
    background-color: #181A26;
    color: white;
    line-height: 1.6;
    font-size: 18px;
    letter-spacing: .6px;
    font-size-adjust: .5;
    max-width: 650px;
    margin: 40px auto;
    padding: 0 10px;
    font-family: Verdana;
}

nav a {
    margin-right: 8px;
    font-size: 20px;
}

h1, h2, h3 {
    line-height: 1.2;
}

pre {
    color: #C3A27A;
    font-family: monospace;
    font-size: initial;
    line-height: initial;
    overflow-x: auto;
}

a:link {
    color: #01B9F7;
}

a:visited {
    color: #01B9F7;
}

td {
    vertical-align: top;
}

input, textarea {
    -webkit-appearance: none;
    padding: 5px 8px;
    font-size: 16px;
    font: inherit;
    background-color: #e1dfdf;
    border: 1px solid #444;
    border-radius: 0;
}

.posts-table td {
    padding: 2px;
    border-bottom: 1px solid;
}

input[type=file] {
    background-color: initial;
    border: initial;
}

blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
    border-left: .2em solid;
}

img {
    max-width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    padding-right: 8px;
}

.post h1,
.post label,
.post #field-slug {
    display: none;
}

.post input,
.post textarea {
    background-color: #181A26;
    color: white;
    outline: none;
    border: none;
}

.post #title {
    position: fixed !important;
    font-weight: 700;
    top: 1rem;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    height: 3rem;
    padding-top: 1rem;
    font-size: 36px;
    letter-spacing: .6px;
    box-sizing: border-box;
    padding-left: calc((100% - 650px)/2);
    padding-right: calc((100% - 650px)/2);
}

.post #content {
    position: fixed !important;
    top: 4em;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4rem - 8px);
    padding: 1rem 2rem 2rem;
    letter-spacing: .6px;
    box-sizing: border-box;
    resize: none;
    padding-left: calc((100% - 650px)/2);
    padding-right: calc((100% - 650px)/2);
}

.post input[type=submit] {
    position: absolute;
    top: 1em;
    right: 1em;
    border: 1px solid;
}

/* Классы */

.field { margin-bottom: 1rem; }
.field > label { margin-bottom: .25rem; }
.field > * { display: block; width: 100%; box-sizing: border-box; }

.editor { height: 500px; }
.about { height: 150px; }
.auth-form { max-width: 400px; }

.posts-title {
    padding-left: 8px;
}

.posts-date {
    white-space: nowrap;
}

@media (max-width: 650px) {
    .post #content,
    .post #title {
    padding-left: 10px;
    padding-right: 10px;
    }
}
