aboutsummaryrefslogtreecommitdiff
path: root/www/index.html
blob: 81da9d989ad1f09d41cfaf8bd5bba62b6c12a1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSTea</title>
  </head>
  <style>
html, body {
  margin: 0;
}
.grid-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.syntax-node {
  padding-left: 5px;
  margin-left: 20px;
  border-left: 2px solid #2c313a;
}
.syntax-node:hover {
  border-left: 2px solid #545c69;
}
.syntax-err {
  color: #e06c75;
}
#cst, #source-code {
  background-color: #2c313a;
  color: #a3aab6;
  height: 100vh;
  overflow: scroll;
}
pre {
  padding: 0px;
  margin: 0px
}
  </style>
  <body>
    <noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
    <script src="./bootstrap.js"></script>
    <div class="grid-container">
      <div id="source-code"></div>
      <div id="cst">
      </div>
    </div>
  </body>
</html>