@import url('https://smol.pub/style.css');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap');

body {
    background-color: #181A26;
    color: white;
    line-height: 1.6;
    font-size: 18px;
    letter-spacing: .6px;
    font-size-adjust: .5;
}

pre {
    color: #C3A27A;
}

a:link {
    color: #01B9F7;
}

a:visited {
    color: #008DBD;
}

.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;
}

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