rbs%maths.uq.edu.au 7ae43c0c2c Added some maction examples
git-svn-id: svn://10.0.0.236/trunk@59989 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 09:35:21 +00:00

288 lines
4.2 KiB
CSS

/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla MathML Project.
*
* The Initial Developer of the Original Code is The University Of
* Queensland. Portions created by The University Of Queensland are
* Copyright (C) 1999 The University Of Queensland. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*/
p {
display: block;
}
math, math[mode="inline"] {
display: inline;
font-family: Symbol, Times;
font-style: normal;
/* font-weight: bold; */
/* font-size: 24pt; */
}
math[mode="display"] {
display: block;
text-align: center;
font-family: Symbol, Times;
font-style: normal;
/* font-weight: bold; */
/* font-size: 14pt; */
}
[bgcolor="yellow"] {
background-color: yellow;
}
[fontstyle="normal"] {
font-style: normal;
}
[fontstyle="italic"] {
font-style: italic;
}
[fontweight="normal"] {
font-weight: normal;
}
[fontweight="bold"] {
font-weight: bold;
}
[fontsize="xx-small"] {
font-size: xx-small;
}
[fontsize="x-small"] {
font-size: x-small;
}
[fontsize="small"], [fontsize="smaller"] {
font-size: smaller;
}
[fontsize="medium"] {
font-size: medium;
}
[fontsize="large"] {
font-size: large;
}
[fontsize="larger"] {
font-size: larger;
}
[fontsize="x-large"] {
font-size: x-large;
}
[fontsize="xx-large"] {
font-size: xx-large;
}
/*
mmultiscripts {
background-color: yellow;
}
*/
/*
mtext {
color: purple;
border: 1px solid purple;
}
*/
/*
mstyle {
background-color: yellow;
border: 1px solid black;
}
*/
ms {
color: blue;
/*
background-color: yellow;
border: 1px solid black;
*/
}
ms:before {
content: open-quote;
}
ms:after {
content: close-quote;
}
/*
mpadded {
background-color: yellow;
border: 1px solid black;
}
*/
/*
mspace {
}
*/
/*
msqrt {
border: 1px solid red;
}
*/
mrow {
/* border: 1px solid black; */
/* font-style: italic; */
}
/*
mphantom {
}
*/
mfrac {
/* background-color: blue; */
/* font-size: smaller */
/* border: 1px solid black; */
}
msub, msup {
/* background-color: yellow; */
/* border: 1px dotted black; */
/* font-size: small; */
}
mn {
/* border: 1px solid black; */
}
mi {
color: red;
/* font-style: normal; */
/* border: 1px dashed green;
/* background-color: yellow; */
}
mo {
/* font-style: normal; */
/* border: 1px solid black; */
/* background-color: blue; */
}
/*
munder, mover, munderover {
background-color: yellow;
border: 1px solid black;
}
*/
/*
maction:focus {
outline: thick solid black;
border: 1px solid black;
}
*/
maction {
background-color: yellow;
/* border: 1px solid black; */
}
maction[actiontype="restyle#background"] {
background-color: #3C6;
border: 1px dotted red;
}
maction[actiontype="restyle#zoom"] {
font-size: 40pt;
}
merror {
display: block;
font-family: sans-serif;
font-weight: bold;
white-space: pre;
margin: 1em;
padding: 1em;
border-width: thin;
border-style: inset;
border-color: red;
font-size: 14pt;
background-color: lightyellow;
}
mtable {
/* display: inline-table; */
display: table;
/* border-style: outset; */
/* border-color: #c0c0c0; */
border-spacing: 0;
margin-top: 0;
margin-bottom: 0;
background: transparent;
}
/* must never set padding in td, th */
mtd {
vertical-align: inherit;
background-color: inherit;
text-align: center;
/* border-style: inset; */
/* border-color: #c0c0c0; */
display: table-cell;
}
mtr {
display: table-row;
vertical-align: middle; /* baseline; */
background-color: inherit;
}
mi {
font-style: italic;
}
mstyle[fontstyle="normal"] mi {
font-style: normal;
}
:-moz-math-font-style-normal {
font-style: normal;
}
/*
:-moz-math-font-style-italic {
font-style: italic;
}
*/
:-moz-math-font-size-smaller {
font-size: smaller;
}
:-moz-math-font-size-larger {
font-size: larger;
}