~alcinnz/rhapsode

b22f65557f1ab3370ba96ad6ef3251a2138a01f2 — Adrian Cochrane 9 months ago a891e46
Improve useragent stylesheet to use counters.
1 files changed, 3 insertions(+), 5 deletions(-)

M useragent.css
M useragent.css => useragent.css +3 -5
@@ 37,7 37,7 @@ td, th {
    counter-increment: -rhaps-tablecol;
}
td::before, th::before {
    content: counter(-rhaps-tablerow) " " counter(-rhaps-tablecol)
    content: counter(-rhaps-tablerow) " " counter(-rhaps-tablecol, upper-latin)
}
table caption {voice-volume: soft}



@@ 95,10 95,8 @@ li li li li li li, dd dd dd dd dd dt, dd dd dd dd dd dd {
    cue-before: url(about:bulletpoint.wav) -0.5db
}

ol {counter-reset: -rhaps-ol}
ol li::before {
    counter-increment: -rhaps-ol;
    content: counters(-rhaps-ol, " ") " ";
ol li::marker {
    content: counters(list-item, " ") " ";
}
ul, ol {-rhaps-marker: -rhaps-section}