ripcrypt/templates/css/elements/lists.css

46 lines
718 B
CSS

.ripcrypt.popover.frameless,
.ripcrypt.hud,
.ripcrypt > .window-content {
ol {
list-style-type: none;
margin: 0;
padding: 0;
counter-reset: list-index 0;
> li {
margin: 0;
display: flex;
flex-direction: row;
gap: 8px;
align-items: center;
counter-increment: list-index 1;
position: relative;
padding: 0 4px;
border-radius: 999px;
}
&.num-before > li::before,
&.num-after > li::after {
content: counter(list-index);
display: block;
position: absolute;
font-size: var(--font-size-12);
}
&.num-before > li::before {
position: revert;
}
&.num-after > li::after {
right: 4px;
}
}
ul {
margin: 0;
padding: 0;
> li {
margin: 0;
}
}
}