~alcinnz/rhapsode

6e87a147882c03e91ac9ad334eb4b66618247694 — Adrian Cochrane 4 years ago ae78008
Useragent CSS: Add localizations!
1 files changed, 8 insertions(+), 0 deletions(-)

M useragent.css
M useragent.css => useragent.css +8 -0
@@ 10,6 10,7 @@ input[type=submit][value] {speak: always; content: attr(value)}

/** Tables **/
table::before {content: "Table"; voice-volume: x-soft}
table:lang(hu)::before {content: "táblázat"}
table {counter-increment: -rhaps-table; counter-reset: -rhaps-tablerow}
tr {
    cue-before: url(about:bulletpoint.wav);


@@ 44,6 45,7 @@ pre, samp, code {voice: neutral 2; white-space: pre;}
:link {cue-after: url(about:link.wav) !important; voice-pitch: low}
:visited {cue-after: url(about:link.wav) -0.1db !important}
img {content: "Image " attr(src)}
img:lang(hu):not([alt]) {content: "kép " attr(src)}
img[alt] {content: attr(alt)}

b, strong {voice-rate: slow}


@@ 85,7 87,13 @@ cite {voice-stress: reduce}
dialog {speak: never} dialog[open] {speak: always}
kbd {speak-as: spell-out}
progress {content: attr(value) " of " attr(max)}
progress:lang(hu) {content: attr(value) " a " attr(max) "-ból"} /* FIXME depending on number of vowels, should be -ből */
sub {voice-rate: x-fast}
sup {voice-rate: fast}
var {voice-rate: slow}
aside {voice-volume: soft}

/* Localized into:
- English
- French (surprisingly same as English)
- Hungarian */