/*==== Guestbook Table ====*/
.gbtable {
    background: var(--c-page-pg);
    color: var(--c-page-fg);
}

/*==== Note styles ====*/
div.note {
    border-width: 1px;
    border-style: solid;
    border-color: var(--c-page-fg);
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
}
div.note > h2 {
    margin-bottom: 0px;
}
/* Notes titles */
i.note {
    font-style: normal;
}
i.note::after {
    content: "Note";
    color: var(--c-pre-fg);
}
i.reply {
    font-style: normal;
}
i.reply::after {
    content: "Reply";
    color: var(--c-pre-fg);
}
i.like {
    font-style: normal;
}
i.like::before {
    content: "Like";
    color: var(--c-pre-fg);
}
i.repost {
    font-style: normal;
}
i.repost::before {
    content: "Repost";
    color: var(--c-pre-fg);
}
i.bookmark {
    font-style: normal;
}
i.bookmark::before {
    content: "Bookmark";
    color: var(--c-pre-fg);
}
/* Hide note type as plain text in strong element */
h2 > strong {
    color: #00A000;
}

.notementions {
    overflow: hidden;
}
div.mention {
    margin: 0px 10px 10px 0px;
    display: block;
    border-width: 0px;
    float: left;
    display: grid;
    justify-items: center;
    text-align: center
}
div.mention div {
    margin: 0;
    padding: 0;
    font-size: 0.7em;
    white-space: nowrap;
}
div.mention img {
    display: block;
    width: 100px;
    border-radius: 50%;
    border-width: 0px;
}

/*==== Blog Styles and webmentions ====*/
/* blog image (not needed) */
.blog-image {
    border-color: var(--c-page-fg);
    border-width: 1px;
    border-style: solid;
    max-width: 60ch;
}

/* blog table */
.blog-table {
    border-width: 1px;
    border-style: solid;
    background: var(--c-page-bg);
    color: var(--c-page-fg);
}
.blog-table tr:nth-child(odd) {
    background: var(--c-alt-bg);
}

.blog-table td, .blog-table th {
    border-width: 1px;
    border-style: solid;
    padding: 10px;
}

/*==== Webmention styles ====*/
#webmentions {
    max-width: 80ch;
    width: 100%;
    display: block;
    /* min-width: 0; */
}
#webmentions .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-width: 1px;
    border-style: solid;
    gap: 0px;
}
#webmentions .bottom {
    width: 100%;
    text-align: left;
    margin-top: 0px;
    margin-left: 10px;
}
#webmentions .left {
    flex: 0 0 auto;
}
#webmentions .left img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-width: 0px;
    display: block;
    margin: 5px 20px 5px 5px;
    padding: 0;
}
#webmentions .right {
    flex: 1 1 auto;
}
#webmentions .right ul {
    list-style-type: disc;
    width: 50ch;
    padding: 0;
    margin: 0;
}
#webmentions li {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*==== Universal classes ====*/
.small {
    font-size: 0.7em;
}
.inv {
    visibility: hidden;
}
.hidden {
    display: none;
}
.center {
    text-align: center;
}
.inline {
    display: inline;
}

/*==== Special styles ====*/
img.contact {
    width: 110px;
    float: left;
    border-radius: 50%;
    border-width: 0px;
    margin-right: 20px;
}
img.cc {
    vertical-align: middle;
    height: 1.6rem;
}
pre.netlayout {
    width: 60ch;
}
div.note-links {
    padding-top: 10px;
}
