Skip to content

Build your personal knowledge base with Trilium Notes

630 B
Raw Blame
.presentation-controls {
    display: contents;

    .tn-overlay-control-group {
        --overlay-group-inset: var(--presentation-stage-padding);
        /* Above the layers of Reveal.js, whose highest is its own controls at 11. */
        z-index: 20;
        transition: opacity 0.3s;
    }

    &.is-idle .tn-overlay-control-group:not(:hover, :has(:focus-visible)) {
        opacity: 0;
    }

    .presentation-slide-counter {
        justify-content: center;
        min-width: 4em;
        padding-inline: 0.5em;
        font-size: var(--overlay-button-text-size, 14px);
        font-variant-numeric: tabular-nums;
    }
}