@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
54 lines (53 loc) • 968 B
CSS
esl-footnotes {
display: block;
}
esl-footnotes .esl-footnotes-items {
list-style-type: none;
}
esl-footnotes .esl-footnotes-index {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
top: -0.5em;
}
esl-footnotes .esl-footnotes-text {
padding-left: 0.5em;
padding-right: 0.5em;
}
esl-footnotes .esl-footnotes-back-to-note {
position: relative;
font-size: 66%;
line-height: 0;
vertical-align: baseline;
top: -0.5em;
cursor: pointer;
}
esl-footnotes .esl-footnotes-back-to-note::before {
content: '[ ^ ]';
}
esl-note {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
top: -0.5em;
cursor: pointer;
}
esl-note::before {
content: '[';
}
esl-note::after {
content: ']';
}
esl-note[active] {
text-decoration: underline;
}
esl-note.highlight {
font-weight: bold;
}
esl-note .esl-note-link,
esl-note .esl-note-link:hover {
color: inherit;
text-decoration: none;
}