Topic: Styling footnotes and references in the graphical editor with CSS
Hi!
I'm in the process of styling most of the major html elements in the graphical editor with CSS in a collaboration for a related number of expositions. So far, it's going really well, including basic CSS reset and even :root variables.
However, when it comes to footnotes and references using (link?) classes like .x-window-mc I'm totally hitting the wall. I've tried every possible dependency ranging from "#container-weave" to "body", "iframe" and "html", but nothing has any effect whatsoever. I understand that a footnote is rendered as a virtual canvas embedded in the main page canvas, which might be the reason it's so hard to execute. Could you comment on this issue based on the following CSS section for a:link stying? Any other solutions or workarounds are most welcome.
Thanks in advance!! /T
THIS WORKS PERFECTLY:
/* General link beaviour */
#container-weave a {
text-decoration: none;
outline-color: transparent;
padding: 1px;
}
#container-weave a:link, #container-weave a:visited {
color: var(--IASC-2-hex);
}
#container-weave a:focus, #container-weave a:hover {
color: var(--IASC-2-hex);
text-decoration: none;
border-bottom: 1px dotted;
}
#container-weave a:active {
color: var(--IASC-3-hex);
}
THIS DOESN'T WORK AT ALL (despite any other selectors):
/* Footnote link beaviour */
.x-window-mc a {
text-decoration: none;
outline-color: transparent;
padding: 1px;
}
.x-window-mc a:link, .x-window-mc a:visited {
color: var(--IASC-2-hex);
}
.x-window-mc a:focus, .x-window-mc a:hover {
color: var(--IASC-2-hex);
text-decoration: none;
border-bottom: 1px dotted;
}
.x-window-mc a:active {
color: var(--IASC-6-hex);
}