main.post {
    display: flex;
    gap: 1rem;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

header,
.right-pad {
    max-width: 128px;
    padding: 1rem;
    text-align: right;
}

header .logo {
    height: 3em;
}

header h1 {
    font-size: large;
}

header h1 a {
    color: var(--accent);
    text-decoration-line: none;
}

header h1 a:hover {
    text-decoration-line: underline;
}

header h1 a:visited {
    color: var(--accent);
}

header .links {
    list-style: none;
    padding: 0;
}

.links a {
    text-decoration-line: none;
}

.links .link {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.links .label {
    text-decoration-line: underline;
}

article#main-content {
    max-width: 768px;
    line-height: 1.4;
}

pre:has(code) {
    line-height: unset;
}

@media screen and (max-width: 768px) {
    main.post {
        flex-direction: column;
    }

    header {
        max-width: unset;
        text-align: center;
    }

    header h1 {
        font-size: unset;
    }

    header .links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .links .link {
        margin: 0;
    }

    /*header .links .label {
        display: none;
    }*/
}
