body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, iframe {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-weight: normal;
}

body {
  font-family: 'Helvetica Neue', Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',SimSun,sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-color: #f8f8f8;
}

a {
  color: #4078c0;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

code.hljs {
  line-height: 1.5;
  font-family: Source Code Pro, Menlo, Monaco, Consolas, Courier, monospace;
  font-size: 12px;
  padding: 20px;
  background-color: #f5f7fa;;
  border: solid 1px #E5E5E5;
  margin-bottom: 25px;
  border-radius: 4px;
  -webkit-font-smoothing: auto;
}

.clearfix {
  &::before {
    display: table;
    content: "";
  }

  &::after {
    display: table;
    content: "";
    clear: both;
  }
}

.main-content {
  margin: 80px 20px 40px;
  border: 1px solid #f2f2f2;
  .page-tip {
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: #0067ed;
  }
}

.page-container {
  background-color: #fff;
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.page-content {
  box-sizing: border-box;
  flex: 1;
  overflow-y: auto;
  margin-right: 400px;
  section {
    padding: 0 40px;

    > h1,
    > h2,
    > h3,
    > h4,
    > h5,
    > h6 {
      color: #333;
      line-height: 1.5;
      margin: 20px 0;
      font-weight: normal;

      &:hover a {
        opacity: .4;
      }

      a {
        float: left;
        margin-left: -20px;
        opacity: 0;
        cursor: pointer;

        &:hover {
          opacity: .4;
        }
      }
    }

    > h1 {
      font-size: 34px;
    }

    > h2 {
      font-size: 28px;
    }

    > h3 {
      font-size: 22px;
    }

    > h4 {
      font-size: 18px;
    }

    > h5 {
      font-size: 16px
    }

    > h6 {
      font-size: 14px;
      color: #666;
    }

    > p {
      font-size: 14px;
      line-height: 20px;
      color: #666;
      margin: 14px 0;
      a {
        color: #38f;
      }
    }

    > ul li,
    > ol li {
      color: #666;
      font-size: 14px;
      line-height: 20px;
      margin: 10px 0 10px 20px;
      padding-left: 20px;
      position: relative;
      a {
        color: #38f;
      }

      &::before {
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        box-sizing: border-box;
        border: 2px solid #999;
        border-radius: 50%;
        top: 6px;
        left: 0;
      }

      li {
        margin-left: 0;
      }
    }
  }

  p > code,
  .table code,
  li > code {
    background-color: #F2F2F2;
    display: inline-block;
    border: 1px solid #E5E5E5;
		border-radius: 3px;
    padding: 1px 3px;
    color: #333;
    margin: 0 2px;
  }
}

.table {
  border-collapse: collapse;
  width: 100%;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  margin-bottom: 45px;

  th {
    text-align: left;
    border: 1px solid #E5E5E5;
    background-color: #F2F2F2;
    padding: 10px;

    &:first-child {
      padding-left: 10px;
    }
  }

  td {
    border: 1px solid #E5E5E5;
    padding: 10px;
  }
}

.l {
	float: left;
}

.r {
	float: right;
}

.gray {
	color: #999;
}

.placeholder {
	font-size: 14px;
	color: #CCC
}

.jui-intro {
  text-align: center;
  &__logo {
    img {
      margin: 0 auto;
    }
  }
  &__title {
    font-size: 45px;
    line-height: 60px;
    font-weight: 400;
    font-family: monospace;
  }
  &__subtitle {
    font-size: 15px;
    color: #455a64;
  }
}

.hljs {
  display: block;
  overflow-x: auto;
  color: #525252;
  padding: 15px;
  -webkit-text-size-adjust: none
}

.hljs-doctype {
  color: #999
}

.hljs-tag {
  color: #3e76f6
}

.hljs-attribute {
  color: #e96900
}

.hljs-value {
  color: #42b983
}

.hljs-keyword {
  color: #e96900
}

.hljs-string {
  color: #42b983
}

.hljs-comment {
  color: #b3b3b3
}

.hljs-operator .hljs-comment {
  color: #525252
}

.hljs-regexp {
  color: #af7dff
}

.hljs-built_in {
  color: #2db7f5
}

.hljs-class,
.hljs-selector-class {
  color: #e96900
}

.hljs-number,.javascript .hljs-number {
  color: #fc1e70
}

.hljs-attribute {
  color: #af7dff
}

.hljs-important {
  color: red
}

.actionscript .hljs-literal,.javascript .hljs-literal {
  color: #fc1e70
}

pre {
  padding: 0;
  margin: 0
}

code {
  display: inline-block;
  background: #f7f7f7;
  font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
  margin: 0 3px;
  padding: 1px 5px;
  border-radius: 3px;
  color: #666;
  border: 1px solid #eee
}

pre code {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent
}

pre.bg code {
  background: #f7f7f7
}
