Return to mathml.css CVS log | Up to [LON-CAPA] / loncom / MathML |
1.1 harris41 1: /*
2: * The contents of this file are subject to the Mozilla Public
3: * License Version 1.1 (the "License"); you may not use this file
4: * except in compliance with the License. You may obtain a copy of
5: * the License at http://www.mozilla.org/MPL/
6: *
7: * Software distributed under the License is distributed on an "AS
8: * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9: * implied. See the License for the specific language governing
10: * rights and limitations under the License.
11: *
12: * The Original Code is Mozilla MathML Project.
13: *
14: * The Initial Developer of the Original Code is The University Of
15: * Queensland. Portions created by The University Of Queensland are
16: * Copyright (C) 1999 The University Of Queensland. All Rights Reserved.
17: *
18: * Contributor(s):
19: * Roger B. Sidje <rbs@maths.uq.edu.au>
20: */
21:
22: body {
23: background-color: white;
24: }
25:
26: blockquote, dl {background-color: #FFFFEE}
27:
1.2 ! albertel 28: doc{display: block; }
1.1 harris41 29:
30: p {
31: display: block;
32: }
33:
34: math, math[mode="inline"] {
35: display: inline;
36: font-family: Symbol, Times;
37: font-style: normal;
38: /* font-weight: bold; */
39: /* font-size: 40pt; */
40: }
41:
42: math[mode="display"] {
43: display: block;
44: margin-top: 0.75ex;
45: padding-top: 0.75ex;
46: margin-bottom: 0.75ex;
47: padding-bottom: 0.75ex;
48: margin-left: 25%;
49: margin-right: 25%;
50: text-align: center;
51: font-family: Symbol, Times;
52: font-style: normal;
53: border: none;
54: background-color: #F0F4FF;
55: /* font-weight: bold; */
56: /* font-size: 12pt; */
57: }
58:
59: /* math[mode="display"] * {background-color: #EEEEFF} */
60:
61:
62: math[mode="display"] > mtable {
63: text-color: blue;
64: }
65:
66: *[fontstyle="normal"] {
67: font-style: normal;
68: }
69:
70: *[fontstyle="italic"] {
71: font-style: italic;
72: }
73:
74: *[fontweight="normal"] {
75: font-weight: normal;
76: }
77:
78: *[fontweight="bold"] {
79: font-weight: bold;
80: }
81:
82: /*
83: mmultiscripts {
84: background-color: yellow;
85: }
86: */
87:
88: mtext {
89: color: purple;
90: /* border: 1px solid purple; */
91: }
92:
93: /*
94: mstyle {
95: background-color: yellow;
96: border: 1px solid black;
97: }
98: */
99:
100: ms {
101: color: blue;
102: }
103:
104: ms:before {
105: content: open-quote;
106: }
107:
108: ms:after {
109: content: close-quote;
110: }
111:
112: /*
113: mspace {
114: }
115: */
116:
117: /*
118: msqrt {
119: border: 1px solid red;
120: }
121: */
122:
123: mrow {
124: /* border: 1px solid black; */
125: /* font-style: italic; */
126: }
127:
128: /*
129: mphantom {
130: }
131: */
132:
133: mfrac {
134: /* background-color: blue; */
135: /* font-size: smaller */
136: /* border: 1px solid black; */
137: }
138:
139: msub, msup {
140: /* background-color: yellow; */
141: /* border: 1px solid black; */
142: font-size: smaller;
143: }
144:
145:
146: mn {
147: /* border: 1px solid black; */
148: }
149:
150:
151: mi {
152: color: red;
153: /* font-style: normal; */
154: /* border: 1px solid blue; */
155: /* background-color: yellow; */
156: }
157:
158:
159: mo {
160: /* font-style: normal; */
161: /* border: 1px solid black; */
162: /* background-color: blue; */
163: }
164:
165:
166: /*
167: munder, mover, munderover {
168: background-color: yellow;
169: border: 1px solid black;
170: }
171: */
172:
173: merror {
174: display: block;
175: font-family: sans-serif;
176: font-weight: bold;
177: white-space: pre;
178: margin: 1em;
179: padding: 1em;
180: border-width: thin;
181: border-style: inset;
182: border-color: red;
183: font-size: 14pt;
184: background-color: lightyellow;
185: }
186:
187:
188: mtable {
189: /* display: inline-table; */
190: display: table;
191: /* border-style: outset; */
192: /* border-color: #c0c0c0; */
193: border-spacing: 0;
194: margin-top: 0;
195: margin-bottom: 0;
196: background: transparent;
197: }
198:
199: /* must never set padding in td, th */
200: mtd {
201: vertical-align: inherit;
202: background-color: inherit;
203: text-align: center;
204: /* border-style: inset; */
205: /* border-color: #c0c0c0; */
206: display: table-cell;
207: }
208:
209: mtr {
210: display: table-row;
211: vertical-align: middle;
212: background-color: inherit;
213: }
214:
215: mi {
216: font-style: italic;
217: }
218:
219: mstyle[fontstyle="normal"] mi {
220: font-style: normal;
221: }
222:
223: :-moz-math-font-style-normal {
224: font-style: normal;
225: }
226:
227: /*
228: :-moz-math-font-style-italic {
229: font-style: italic;
230: }
231: */
232:
233: :-moz-math-font-size-smaller {
234: font-size: smaller;
235: }
236:
237: :-moz-math-font-size-larger {
238: font-size: larger;
239: }