mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2024-11-30 09:10:27 +01:00
90 lines
3.2 KiB
HTML
90 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
|
|
|
|
<!-- Bootstrap -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
|
|
|
|
<!-- KaTeX -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css"
|
|
integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
|
|
<!-- The loading of KaTeX is deferred to speed up page rendering -->
|
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.js"
|
|
integrity="sha384-VQ8d8WVFw0yHhCk5E8I86oOhv48xLpnDZx5T9GogA/Y84DcCKWXDmSDfn13bzFZY"
|
|
crossorigin="anonymous"></script>
|
|
<!-- To automatically render math in text elements, include the auto-render extension: -->
|
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/contrib/auto-render.min.js"
|
|
integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"
|
|
onload="renderMathInElement(document.body);"></script>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style type="text/css">
|
|
body {
|
|
background-color: #eee;
|
|
font-family: "Helvetica", sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.height {
|
|
height: 100vh
|
|
}
|
|
|
|
.canvas {
|
|
display: inline-block;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100vh;
|
|
vertical-align: top;
|
|
overflow: hidden;
|
|
border: 1mm black;
|
|
}
|
|
.svg-content {
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.math {
|
|
position: absolute;
|
|
top: 2px;
|
|
}
|
|
|
|
.foreground {
|
|
opacity: 1;
|
|
filter: sepia(0.0);
|
|
}
|
|
|
|
.search-field {
|
|
position: relative;
|
|
/* width: 30%; */
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="canvas">
|
|
<!-- <div class="container">
|
|
<div class="search-field">
|
|
<label for="exampleDataList" class="form-label">Datalist example</label>
|
|
<input class="form-control" list="datalistOptions" id="exampleDataList" placeholder="Type to search...">
|
|
<datalist id="datalistOptions">
|
|
</datalist>
|
|
</div>
|
|
</div> -->
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="../math_render.js"></script>
|
|
|
|
<script type="text/javascript" src="js/d3_visualisation.js"></script>
|
|
<script type="text/javascript" src="js/morphisms.js"></script>
|
|
|
|
</html>
|