Sha256: cc9c3092698ef99c2776bc0d43de64686fd4a723f5f71801261fba98ea9e235d

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

/* Lists */

.slide ol,
.slide ul {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 1em;
    list-style: none;
    counter-reset: list;
}

/* Marker */

.slide li::before {
    position: absolute;
    width: 3em;
    color: var(--color-grey);
    text-align: right;
    opacity: 0.75;
    transform:
        translateX(
            calc(-100% - 0.5em)
        );
}

.slide li ol,
.slide li ul {
    margin-bottom: 0;
    margin-left: 2em;
}

/* Markers */

.slide ol > li::before {
    counter-increment: list;
    content: counter(list) '.';
}

.slide ul > li::before {
    content: '•';
}

.slide ul > li:lang(ru)::before {
    content: '—';
}

/* Custom */

.slide ol > li[value]::before {
    content: attr(value) '.';
}

.slide ul > li[value]::before {
    content: attr(value);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slippery-0.4.2 assets/shower/themes/ribbon/styles/slide/content/lists.css