div.editor {
    background: #282b2e; /* hard-coded; sue me */
    height: 100%;
    width: calc(50% - 5px);
    position: relative;
    overflow: auto;
    float: left;
}

div.output {
    float: left;
    height: 100%;
    width: calc(50% - 5px);
    position: relative;
    margin-left: 10px;
}

div.output pre {
    height: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}
div.output code {
    height: calc(100% - 2em);
}

.twocolumn:after {
  content: "";
  display: table;
  clear: both;
}

button {
    padding: 5px;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
}
#regedit {
    float: left;
    padding: 10px;
    width: 50%;
    margin-right: 20px;
}
#regcount {
    margin-left: 10px;
}

.editing, .highlighting {
  border: 0px;
  font-size: 1em;
  line-height: 1.4em;
  margin-top: 0px;
  margin-bottom: 0px;

  font-family: Inconsolata, "Courier New", monospace;
  tab-size: 2;

  white-space: pre;

  position: absolute;
  top: 0;
  left: 0;
}

.highlighting-content {
  padding: 1em;
  width: calc(100% - 2em);
  height: calc(100% - 2em);
}

.editing {
  z-index: 1;
  padding: 1em;
  min-width: calc(100% - 2em);
  min-height: calc(100% - 2em);

  color: transparent;
  background: transparent;
  caret-color: white;
}

.highlighting {
  z-index: 0;
  min-width: calc(100%);
  overflow: hidden;
  /* width and height are assigned in JS */
}

table, tr {
    border: none;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
th {
    border-bottom: 1px;
    border-bottom-style: solid;
}
th, td {
    border-right: none;
    border-bottom: none;
    border-left: 1px;
    border-left-style: solid;
    padding: 10px;
}
td:first-child, th:first-child {
    border-left: none;
    text-align: right;
}
