Debian Codegraph @

terps/tads/tads3/lib/webuires/tads.css

raw symbols SCIP
1 /*
2 * TADS Web UI - global style sheet.
3 */
4
5 body {
6 line-height: 140%;
7
8 /* the following can be changed by the player via the preference
9 settings mechanism */
10 font-family: Georgia, Times New Roman, Times, New York, serif;
11 font-size: 10pt;
12 color: #000000;
13 background-color: #ffffff;
14 }
15
16 /* generic font styles for the preferences mechanism */
17 .serifFont {
18 font-family: Georgia, Times New Roman, Times, New York, serif;
19 }
20 .sansFont {
21 font-family: Verdana, Arial, Helvetica, sans-serif;
22 }
23 .scriptFont {
24 font-family: Comic Sans MS, Zapf Chancery, ZapfChancery, cursive;
25 }
26 .ttFont {
27 font-family: Courier New, Courier, monospace;
28 }
29 tt {
30 font-family: Courier New, Courier, monospace;
31 }
32
33 /* note - the extra .plain selectors are to increase the specificity
34 of this item, so that it overrides other regular A items we might
35 define later */
36 a.plain:link {
37 text-decoration: none;
38 color: inherit;
39
40 /* IE hack - works around lack of support for 'inherit' */
41 color: expression(this.parentNode.currentStyle
42 ? this.parentNode.currentStyle.color : "normal");
43 }
44
45 a:link {
46 /* color: preference setting */
47 color: #0000ff;
48 text-decoration: underline;
49 }
50
51 a:hover, a.plain:hover {
52 /* color: preference setting */
53 color: #ff00ff;
54 text-decoration: underline;
55 }
56
57 a:active, a.plain:active, a:focus, a.plain:focus {
58 /* color: preference setting */
59 color: #ff0000;
60 text-decoration: underline;
61 }
62
63 div.combobox {
64 display: inline-block;
65 zoom: 1; * display: inline;
66 border: 1px solid #0000ff;
67 background: #c0e0e0;
68 margin: 0px;
69 vertical-align: middle;
70 }
71
72 div.combobox input {
73 margin: 1px;
74 padding: 2px;
75 vertical-align: middle;
76 border: none;
77 background: #ffffff;
78 color: #000000;
79 }
80
81 div.combobox img {
82 vertical-align: middle;
83 margin: 0px;
84 border: none;
85 }
86
87 select.comboPopup {
88 position: absolute;
89 z-index: 19900;
90 display: none;
91 padding: 0px;
92 margin: 0px;
93 }
94
95 /*
96 * replacement for <HR> - this looks like a horizontal rule, but works
97 * an IE bug. IE uses the wrong containing box to calculate the auto
98 * width of a real <HR> when used in an inline-block box. IE goes up
99 * to the parent block box, bypassing the inline-block box. This makes
100 * an embedded HR expand the inline-block box to the full width of the
101 * parent, which is often not what we want. Using the <DIV> avoids
102 * the bug and looks basically the same. To use, simply write
103 * <DIV CLASS="HR"></DIV> in place of a regular <HR> element.
104 */
105 div.hr {
106 border-top: 1px solid #808080;
107 margin: 1ex 0px;
108 }