File:
[LON-CAPA] /
loncom /
MathML /
mathml.css
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Sat Sep 23 23:59:43 2000 UTC (24 years ago) by
harris41
Branches:
MAIN
CVS tags:
version_0_6_2,
version_0_6,
version_0_5_1,
version_0_5,
version_0_4,
stable_2002_spring,
stable_2002_july,
stable_2002_april,
stable_2001_fall,
STABLE,
HEAD
Adding MathML html/adm files.
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: margin: 1cm;
25: }
26:
27: blockquote, dl {background-color: #FFFFEE}
28:
29: doc{display: block; margin-left: 1cm; margin-right: 1cm}
30:
31: p {
32: display: block;
33: }
34:
35: math, math[mode="inline"] {
36: display: inline;
37: font-family: Symbol, Times;
38: font-style: normal;
39: /* font-weight: bold; */
40: /* font-size: 40pt; */
41: }
42:
43: math[mode="display"] {
44: display: block;
45: margin-top: 0.75ex;
46: padding-top: 0.75ex;
47: margin-bottom: 0.75ex;
48: padding-bottom: 0.75ex;
49: margin-left: 25%;
50: margin-right: 25%;
51: text-align: center;
52: font-family: Symbol, Times;
53: font-style: normal;
54: border: none;
55: background-color: #F0F4FF;
56: /* font-weight: bold; */
57: /* font-size: 12pt; */
58: }
59:
60: /* math[mode="display"] * {background-color: #EEEEFF} */
61:
62:
63: math[mode="display"] > mtable {
64: text-color: blue;
65: }
66:
67: *[fontstyle="normal"] {
68: font-style: normal;
69: }
70:
71: *[fontstyle="italic"] {
72: font-style: italic;
73: }
74:
75: *[fontweight="normal"] {
76: font-weight: normal;
77: }
78:
79: *[fontweight="bold"] {
80: font-weight: bold;
81: }
82:
83: /*
84: mmultiscripts {
85: background-color: yellow;
86: }
87: */
88:
89: mtext {
90: color: purple;
91: /* border: 1px solid purple; */
92: }
93:
94: /*
95: mstyle {
96: background-color: yellow;
97: border: 1px solid black;
98: }
99: */
100:
101: ms {
102: color: blue;
103: }
104:
105: ms:before {
106: content: open-quote;
107: }
108:
109: ms:after {
110: content: close-quote;
111: }
112:
113: /*
114: mspace {
115: }
116: */
117:
118: /*
119: msqrt {
120: border: 1px solid red;
121: }
122: */
123:
124: mrow {
125: /* border: 1px solid black; */
126: /* font-style: italic; */
127: }
128:
129: /*
130: mphantom {
131: }
132: */
133:
134: mfrac {
135: /* background-color: blue; */
136: /* font-size: smaller */
137: /* border: 1px solid black; */
138: }
139:
140: msub, msup {
141: /* background-color: yellow; */
142: /* border: 1px solid black; */
143: font-size: smaller;
144: }
145:
146:
147: mn {
148: /* border: 1px solid black; */
149: }
150:
151:
152: mi {
153: color: red;
154: /* font-style: normal; */
155: /* border: 1px solid blue; */
156: /* background-color: yellow; */
157: }
158:
159:
160: mo {
161: /* font-style: normal; */
162: /* border: 1px solid black; */
163: /* background-color: blue; */
164: }
165:
166:
167: /*
168: munder, mover, munderover {
169: background-color: yellow;
170: border: 1px solid black;
171: }
172: */
173:
174: merror {
175: display: block;
176: font-family: sans-serif;
177: font-weight: bold;
178: white-space: pre;
179: margin: 1em;
180: padding: 1em;
181: border-width: thin;
182: border-style: inset;
183: border-color: red;
184: font-size: 14pt;
185: background-color: lightyellow;
186: }
187:
188:
189: mtable {
190: /* display: inline-table; */
191: display: table;
192: /* border-style: outset; */
193: /* border-color: #c0c0c0; */
194: border-spacing: 0;
195: margin-top: 0;
196: margin-bottom: 0;
197: background: transparent;
198: }
199:
200: /* must never set padding in td, th */
201: mtd {
202: vertical-align: inherit;
203: background-color: inherit;
204: text-align: center;
205: /* border-style: inset; */
206: /* border-color: #c0c0c0; */
207: display: table-cell;
208: }
209:
210: mtr {
211: display: table-row;
212: vertical-align: middle;
213: background-color: inherit;
214: }
215:
216: mi {
217: font-style: italic;
218: }
219:
220: mstyle[fontstyle="normal"] mi {
221: font-style: normal;
222: }
223:
224: :-moz-math-font-style-normal {
225: font-style: normal;
226: }
227:
228: /*
229: :-moz-math-font-style-italic {
230: font-style: italic;
231: }
232: */
233:
234: :-moz-math-font-size-smaller {
235: font-size: smaller;
236: }
237:
238: :-moz-math-font-size-larger {
239: font-size: larger;
240: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>