/*
 * style-standard.css — Standard theme.
 * Large thumbnails, colored link buttons, bordered year headings.
 */

@import url('style-base.css');

.thumbnail {
    width: 250px;
    height: 200px;
}

.publication-entry .description {
    padding-top: 1em;
}

.publication-entry .authors,
.publication-entry .title,
.publication-entry .award,
.publication-entry .journal {
    margin-bottom: 0.5em;
}

.publication-entry .links {
    margin-top: 1em;
}

/* Colored pill-shaped link buttons */
.publication-entry .links a {
    color: var(--text);
    height: 2.0em;
    line-height: 2.0em;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 10px;
    font-size: 85%;
}
.publication-entry .links a:hover {
    outline: 2px solid var(--text);
}

.publication-entry .links .hal        { background-color: rgb(213, 246, 255); }
.publication-entry .links .article    { background-color: lightgreen; }
.publication-entry .links .video      { background-color: lightcoral; }
.publication-entry .links .presentation { background-color: lightpink; }
.publication-entry .links .code       { background-color: lightskyblue; }
.publication-entry .links .project    { background-color: lightyellow; }

/* Year heading */
.publication-year {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 145%;
    font-weight: 600;
    margin-top: 2.5em;
    padding-top: 0.3em;
    margin-bottom: 0.8em;
    padding-bottom: 0.3em;
    padding-left: 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.publication-type {
    padding-left: 50px;
    margin-top: 1.0em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 90%;
}

.publication-entry-separator {
    width: 50%;
    border-bottom: 1px solid var(--border);
    margin-left: 100px;
    margin-bottom: 1em;
}

.hal-id {
    margin-top: 1em;
}

@media (max-width: 800px) {
    .thumbnail {
        margin: auto;
    }
}

/* ── DARK MODE ── */

[data-theme="dark"] .publication-entry .links a {
    color: var(--text);
}
[data-theme="dark"] .publication-entry .links a:hover {
    outline-color: var(--border);
}
[data-theme="dark"] .publication-entry .links .hal         { background-color: #0e2d3d; }
[data-theme="dark"] .publication-entry .links .article     { background-color: #0e2d18; }
[data-theme="dark"] .publication-entry .links .video       { background-color: #3d1010; }
[data-theme="dark"] .publication-entry .links .presentation { background-color: #3d1030; }
[data-theme="dark"] .publication-entry .links .code        { background-color: #0e1e3d; }
[data-theme="dark"] .publication-entry .links .project     { background-color: #2a2a0e; }
