* { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: #ff3502 }
input, button, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
em { font-style: normal !important; }
html, body {
  height: 100%;
  font-family: 'PingFang SC', BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}
.el-message__icon { display: none }
.container {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.top {
  height: 60px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}
.top .logo {
  margin-right: 20px;
}
#editor {
  height: 100%;
  display: block;
  border: none;
  width: 100%;
  padding: 10px;
}
section {
  height: 100%;
}
.main-body {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 10px;
}
.ctrl {
  flex-basis: 60px;
  display: flex;
  flex: 1;
  align-items: center;
}
.preview-wrapper {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  padding: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  /* height: 100%; */
  overflow: scroll;
}
.main-section {
  display: flex;
  height: 100%;
}
.hint {
  opacity: 0.6;
  margin: 20px 0;
}
.preview {
  margin: 0 -20px;
  width: 375px;
  padding: 20px;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 60px rgba(0,0,0,0.1);
}
.preview ul, .preview ol {
  padding-left: 40px !important;
}
.CodeMirror {
  height: 100%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  font-size: 16px;
  padding: 20px;
  width: 100%;
  font-family: 'PingFang SC', BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}
/* ele ui */
.el-form-item {
  margin-bottom: 0px !important;
}
