$doc-width: 550px;


#liquid-docs {

  & > p {
    font-size: 120%;
  }

  table {
    @extend .data;
    th {
      border-top: 1px solid $border-color;
      border-bottom: 1px solid $border-color;
    }
  }

  & > h1, & > h2, & > h3 {
    font-weight: normal;
  }

  & > h1 {
    font-size: 1.8em;
    border-bottom: 1px solid gray;
    max-width: 10em;
    margin-bottom: 0;
    margin-top: 20px;
  }

  pre {
    border: 1px solid $border-color;
    padding: 1px 14px;
    font-family: 'Monaco', 'Courier New', 'Terminal', monospace;
    font-size: 0.9em  !important;
    background-color: rgb(231, 231, 231);

    code {
      @include border-radius(none);
      margin: 0;
      padding: 0.5em;
    }
  }

  hr {
    border: 1px dashed #ddd;
    margin: 1em 0;
}

  ul {
    padding-left: 2.5em;
  }

  #table-of-contents {
    li{
      margin-top: 12px;
      ul{
        li{
          margin-top: 2px;
        }
      }
    }

    margin-left: 2em;
    float: right;

//    width: 953px - $doc-width;
//    overflow-y: scroll;
//    @include box-sizing(border-box);
//
//    &.sticked {
//      margin-left: $doc-width;
//    }

    background-color: white;
    padding: 1.5em;
    border: 1px solid $border-color;

    list-style: none;

    & > li > a {
      font-size: 2.0em;
    }

    & > li > ul {
      list-style: square;
      padding-left: 3em;
      a { font-size: 1.2em; }
    }
  }

  ul.h2-toc {
    list-style: square;
    padding-left: 3em;

    & > li {
    }
  }

  & > h1 {
    font-size: 3.5em;
    font-weight: normal;
    border-bottom: 0;
    margin-top: 20px;
  }

  & > h2 {
    font-size: 2em;
    font-weight: normal;
    display: inline-block;
    margin-top: 18px;
  }

  & > h3 {
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 15px;
  }

  & > h4 {
    margin-top: 13px;
    font-size: 1.2em;
  }

  .up{
    font-size: 2em;
  }
}
