Add fixes to ::cue identified by Simon Pieters.
--- a/608toVTT/608toVTT.html Tue Sep 25 22:27:55 2012 +1000
+++ b/608toVTT/608toVTT.html Wed Sep 26 07:59:40 2012 +1000
@@ -714,29 +714,44 @@
::cue(c.bg_black) {
background-color: black;
}
-::cue(c.transparent) {
+::cue(c.bg_white.semi-transparent) {
+ background-color: rgba(255, 255, 255, 0.5);
+}
+::cue(c.bg_green.semi-transparent) {
+ background-color: rgba(0, 128, 0, 0.5);
+}
+::cue(c.bg_blue.semi-transparent) {
+ background-color: rgba(0, 0, 255, 0.5);
+}
+::cue(c.bg_cyan.semi-transparent) {
+ background-color: rgba(0, 255, 255, 0.5);
+}
+::cue(c.bg_red.semi-transparent) {
+ background-color: rgba(255, 0, 0, 0.5);
+}
+::cue(c.bg_yellow.semi-transparent) {
+ background-color: rgba(255, 255, 0, 0.5);
+}
+::cue(c.bg_magenta.semi-transparent) {
+ background-color: rgba(255, 0, 255, 0.5);
+}
+::cue(c.bg_black.semi-transparent) {
+ background-color: rgba(0, 0, 0, 0.5);
+}
+::cue(c.transparent.transparent) {
background-color: transparent;
}
/* need to set this before changing color, otherwise the color is lost */
::cue(c.semi-transparent) {
- background-color: rbga(0, 0, 0, 0.5);
+ background-color: rgba(0, 0, 0, 0.5);
}
/* need to set this before changing color, otherwise the color is lost */
::cue(c.opaque) {
- background-color: rbga(0, 0, 0, 1);
+ background-color: rgba(0, 0, 0, 1);
}
::cue(c.blink) {
text-decoration: blink;
}
-::cue(c.underline) {
- text-decoration: underline;
-}
-::cue(c.italics) {
- font-style: italic;
-}
-::cue(c.bold) {
- font-weight: bold;
-}
</pre>
<p>
@@ -780,5 +795,13 @@
<li><a href="http://www.cpcweb.com/hdtv/708.htm">708 information</a></li>
</ul>
</section>
+
+ <section class='appendix'>
+ <h2>Contributors</h2>
+ <p>Thanks go to:</p>
+ <ul>
+ <li>Simon Pieters, Opera</li>
+ <li>David Singer, Apple</li>
+ </ul>
</body>
</html>