Browse Source

Remove 'position: fixed' in mathjax.css, see #9

master
Menci 8 years ago
parent
commit
7bb17a67bd
  1. 1
      static/mathjax.css
  2. 2
      views/header.ejs

1
static/mathjax.css

@ -48,7 +48,6 @@
.mjx-chartest {display: block; visibility: hidden; position: absolute; top: 0; line-height: normal; font-size: 500%} .mjx-chartest {display: block; visibility: hidden; position: absolute; top: 0; line-height: normal; font-size: 500%}
.mjx-chartest .mjx-char {display: inline} .mjx-chartest .mjx-char {display: inline}
.mjx-chartest .mjx-box {padding-top: 1000px} .mjx-chartest .mjx-box {padding-top: 1000px}
.MJXc-processing {visibility: hidden; position: fixed; width: 0; height: 0; overflow: hidden}
.MJXc-processed {display: none} .MJXc-processed {display: none}
.mjx-test {display: block; font-style: normal; font-weight: normal; font-size: 100%; font-size-adjust: none; text-indent: 0; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow: hidden; height: 1px} .mjx-test {display: block; font-style: normal; font-weight: normal; font-size: 100%; font-size-adjust: none; text-indent: 0; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow: hidden; height: 1px}
.mjx-ex-box-test {position: absolute; width: 1px; height: 60ex} .mjx-ex-box-test {position: absolute; width: 1px; height: 60ex}

2
views/header.ejs

@ -7,7 +7,7 @@
<title><%= title %> - <%= syzoj.config.title %></title> <title><%= title %> - <%= syzoj.config.title %></title>
<link href="/libs/semantic-ui/semantic.min.css" rel="stylesheet"> <link href="/libs/semantic-ui/semantic.min.css" rel="stylesheet">
<link href="/tomorrow.css" rel="stylesheet"> <link href="/tomorrow.css" rel="stylesheet">
<link href="/mathjax.css" rel="stylesheet"> <link href="/mathjax.css?20170713" rel="stylesheet">
<link href="/libs/KaTeX/katex.min.css" rel="stylesheet"> <link href="/libs/KaTeX/katex.min.css" rel="stylesheet">
<link href="/libs/morris.js/morris.css" rel="stylesheet"> <link href="/libs/morris.js/morris.css" rel="stylesheet">
<link href="/style.css?20170706" rel="stylesheet"> <link href="/style.css?20170706" rel="stylesheet">

Loading…
Cancel
Save