html[data-theme="gitea-dark"] {
    --epic-color: #f10dff;
    --resolved-color: #008000;
}

html[data-theme="gitea-dark"] .issue-dependency-title[href^="/inaudito/epics"] {
    background: var(--epic-color);
    border-radius: 3px;
    padding: 8px;
    display: block;
    font-weight: bold;
    white-space: wrap !important;
}

html[data-theme="gitea-dark"] .issue-dependency-title[href^="/inaudito/epics"]:hover {
    color: white;
    text-decoration: none;
}

html[data-theme="gitea-dark"] .issue-dependency-title[href^="/inaudito/epics"]::before {
    content: "EPIC";
    display: block;
    font-size: 0.8em;
}

html[data-theme="gitea-dark"] .depending .item {
    order: -1;
}

html[data-theme="gitea-dark"] .depending .item.is-closed {
    order: 10;
}

html[data-theme="gitea-dark"] .depending .item.is-closed .item-left {
    color: var(--resolved-color);
}

html[data-theme="gitea-dark"] a.item[href="/inaudito/epics/issues"] {
    background: var(--epic-color) !important;
}

html[data-theme="gitea-dark"] a.item[href="/inaudito/epics/issues"] * {
    color: white;
}

html[data-theme="gitea-dark"] a.item[href="/inaudito/epics/issues"] :nth-child(2)::before {
    margin-right: 6px;
    content: "Epic";
    display: inline-block;
    visibility: visible;
    height: 20px;
}

html[data-theme="gitea-dark"] a.item[href="/inaudito/epics/issues"] :first-child {
    display: none;
}
