While working on this website:
I customized the right sidebar navigation using:
.sidenav a:after {
display: block;
position: relative;
z-index: 0;
top: -3.6em;
left: 0.15em;
width: 90%;
content: ".";
font-family: 'Ropa Sans', helvetica, arial, sans-serif !important;
font-size:1.5em;
padding-top:1em;
padding-bottom:1em;
padding-left:0.7em;
margin-bottom:1.16em;
background-color: rgba(51,50,48,0.9);
background-image: url('http://uweb.txstate.edu/~j_f166/codepen/images/notch.png');
background-position: top right;
background-repeat:no-repeat;
}
.sidenav a:nth-child(n+2) li{
margin-top: -4.4em;
}
In Firefox 3.6.17 it shows up as follows:
(Please allow a moment for loading...Unfortunately, I am unable to provide a screenshot as I'm new here).
Interestingly, these pseudo-classes should be supported from version 3.5 onwards according to caniuse.
To make things more complicated, I am constrained by our university's Magnolia content management system and cannot insert JavaScript in the header.
This leads me to three questions:
Is there a CSS workaround to make these pseudo-classes function properly in this and similar versions of Firefox?
Is there a polyfill available?
If so, where can I implement such a polyfill without access to the HTML head?
Thank you in advance. Unfortunately, this issue was only noticed during random colleague testing and not captured in BrowserShots. The website is scheduled to launch tomorrow at the University.
Excitedly,
Jill