/* Basic stylesheet for MathML elements */ math { font-family: 'Times New Roman', Times, serif; font-size: 1em; line-height: 1.2; } mrow, mfrac, msqrt, mroot, mi, mo, mn, ms, mtext, mtable, mtr, mtd, mstyle { display: inline-block; vertical-align: middle; } mi { font-style: italic; } mo { margin: 0 0.2em; } mfrac { display: inline-flex; flex-direction: column; align-items: center; } mfrac>* { display: block; text-align: center; } mfrac> :first-child { border-bottom: 1px solid currentColor; } msqrt { border-top: 1px solid currentColor; padding-left: 0.2em; } mroot { display: inline-flex; align-items: flex-start; } mroot> :first-child { border-top: 1px solid currentColor; padding-left: 0.2em; } mroot> :last-child { font-size: 0.6em; vertical-align: 0.4em; } mtable { border-collapse: collapse; margin: 0.5em 0; } mtr { display: table-row; } mtd { display: table-cell; padding: 0.2em; text-align: center; } mstyle { display: inline-block; }