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 (23 years, 7 months 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.

/*
 * 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>
 */

body {
  background-color: white;
  margin: 1cm;
}

blockquote, dl {background-color: #FFFFEE}

doc{display: block; margin-left: 1cm; margin-right: 1cm}

p {
display: block;
}

math, math[mode="inline"] {
  display: inline;
  font-family: Symbol, Times;
  font-style: normal;
/*   font-weight: bold; */
/*   font-size: 40pt; */
}

math[mode="display"] {
  display: block;
  margin-top: 0.75ex;
  padding-top: 0.75ex;
  margin-bottom: 0.75ex;
  padding-bottom: 0.75ex;
  margin-left: 25%;
  margin-right: 25%;
  text-align: center;
  font-family: Symbol, Times;
  font-style: normal;
  border: none;
  background-color: #F0F4FF;
/*   font-weight: bold; */
/*   font-size: 12pt; */
}

/* math[mode="display"] * {background-color: #EEEEFF} */


math[mode="display"] > mtable {
  text-color: blue;
}

*[fontstyle="normal"] {
  font-style: normal;
}

*[fontstyle="italic"] {
  font-style: italic;
}

*[fontweight="normal"] {
  font-weight: normal;
}

*[fontweight="bold"] {
  font-weight: bold;
}

/*
mmultiscripts {
   background-color: yellow;
}
*/

mtext {
   color: purple;
 /*  border: 1px solid purple; */
}

/*
mstyle {
   background-color: yellow;
   border: 1px solid black;
}
*/

ms {
   color: blue;
}

ms:before {
  content: open-quote;
}

ms:after {
  content: close-quote;
}

/*
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 solid black; */
  font-size: smaller; 
}


mn {
/*  border: 1px solid black; */
}


mi {
  color: red;
/*  font-style: normal; */
/*  border: 1px solid blue; */
/*  background-color: yellow; */
}


mo {
/*  font-style: normal; */
/*  border: 1px solid black; */
/*  background-color: blue; */
}


/*
munder, mover, munderover {
  background-color: yellow;
  border: 1px solid black;
}
*/

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;
  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;
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>