@font-face {
    font-family: Vazir;
    src: url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir.eot');
    src: url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir.eot?#iefix') format('embedded-opentype'),
         url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir.woff') format('woff'),
         url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir-Bold.eot');
    src: url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
         url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir-Bold.woff') format('woff'),
         url('https://rawcdn.githack.com/rastikerdar/vazir-font/v19.1.0/dist/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
  font-family: "Vazir Code";
  src: url('https://rawcdn.githack.com/rastikerdar/vazir-code-font/v1.1.1/dist/Vazir-Code.eot');
  src: url('https://rawcdn.githack.com/rastikerdar/vazir-code-font/v1.1.1/dist/Vazir-Code.eot?#iefix') format('embedded-opentype'),
       url('https://rawcdn.githack.com/rastikerdar/vazir-code-font/v1.1.1/dist/Vazir-Code.woff') format('woff'),
       url('https://rawcdn.githack.com/rastikerdar/vazir-code-font/v1.1.1/dist/Vazir-Code.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

html *,
html *::after,
html *::before {
  box-sizing: border-box;
}

html,
body,
#pad {
  margin: 0;
  height: 100%;
  font-family: Vazir, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

textarea,
#pad > div {
  display: inline-block;
  width: 49.98%;
  height: 100%;
  vertical-align: top;
  padding: 0 20px;
  overflow-y: scroll;
}

textarea {
  border: none;
  border-right: 1px solid #ccc;
  resize: none;
  outline: none;
  background-color: #f6f6f6;
  font-size: 14px;
  font-family: "Vazir Code", monospaced;
  line-height: 1.4;
  padding: 20px;
}

code {
  color: #f66;
}

#pad > div {
  float: left;
}

#pad > div ol {
  list-style-type: persian;
}
