:root {
    --content-max-width: 1600px
}

code, pre {
    font-size: 1.1em;
}

.date {
    color: var(--col-secondary);
}

.date {
    margin-top: 7px;
    margin-bottom: -7px;
    font-style: italic;
}

#banner {
    position: fixed;
    top: 0;
    left: 0;
    height: 0;

    padding: 0.7em 0.4em;

    /*background-color: var(--bg-primary);*/
}

#banner a {
    padding: 0.3em;
    background: var(--bg-primary);
    border-radius: 0.5em;
}

li {
    padding-bottom: 0.2em;
}

.gallery {
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4em;

    width: 13em;
    height: 15em;

    padding: 0.4em 0.5em;

    background: var(--bg-secondary);
    border-radius: 0.3em;

    transition: all var(--trans-out) ease-in-out;
    transition-property: background;
}

.gallery-card:hover {
    transition: all var(--trans-in) ease-in-out;
    transition-property: background;

    background: var(--bg-tertiary);
}

.gallery-link {
    position: absolute;

    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gallery-title {
    margin: 0;

    width: 100%;
    text-align: center;
}

.gallery-description {
    margin: 0.3em;

    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 100%;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em;
    row-gap: 0.4em;
}

.gallery-date {
    width: 100%;
    text-align: center;

    margin: 0;

    color: var(--col-secondary);
    font-size: 0.9em;
}

.tag {
    color: var(--col-secondary);
    font-size: 0.85em;
    text-wrap: nowrap;
}