Skip to content
Snippets Groups Projects
Commit 6cda618d authored by Maciej Topyla's avatar Maciej Topyla
Browse files

Merge branch 'enablingsearch' into 'master'

Fixing floating inline math mode

See merge request !37
parents 76435b99 fb1b5964
No related branches found
No related tags found
1 merge request!37Fixing floating inline math mode
Pipeline #121571 passed
MathJax.Hub.Config({
jax: ["input/TeX", "output/CommonHTML" , "output/SVG"],
jax: ["input/TeX" , "output/SVG"],
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
......
.mjx-chtml {
overflow-x: auto; /* Horizontally scroll long equations. */
overflow-y: hidden;
overflow-y: hidden;
overflow-x: auto;
}
.thebelab-cell .thebelab-input pre {
z-index: 0;
}
.thebelab-code, .thebelab-init-code {
display: none;
}
.thebelab-button {
position: relative;
display: inline-block;
box-sizing: border-box;
border: none;
border-radius: .1rem;
padding: 0 2rem;
margin: .5rem .1rem;
min-width: 64px;
height: 1.6rem;
vertical-align: middle;
text-align: center;
font-size: 0.8rem;
color: rgba(0, 0, 0, 0.8);
background-color: rgba(0, 0, 0, 0.07);
overflow: hidden;
outline: none;
cursor: pointer;
transition: background-color 0.2s;
}
.thebelab-button:hover {
background-color: rgba(0, 0, 0, 0.12);
}
.thebelab-button:active {
background-color: rgba(0, 0, 0, 0.15);
color: rgba(0, 0, 0, 1)
}
#thebelab-activate-button {
font-size: 1rem;
margin-left: 0.4rem;
}
#thebelab-activate-button.thebelab-active {
color: rgb(83, 109, 254);
}
.thebelab-button.thebelab-restart-button {
display: none;
}
......@@ -56,7 +56,7 @@ extra_css:
- 'styles/mathjax_overflowfix.css'
extra_javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML'
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_SVG'
- 'scripts/mathjaxhelper.js'
copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment