turtle 1.0.0-rc.3

Learn the Rust language by creating animated drawings!
Documentation
---
---

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@import '{{ site.theme }}';

@import 'monokai';
@import 'buttons';

html,
body {
  background: #424242;
  color: #212121;
  font-family: 'Open Sans', sans-serif;
  min-height: 100%;
}

main {
  background: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.browser-not-supported {
  background: #f44336;
  color: #fff;
  font-weight: bold;
  padding: 30px;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);

  a {
    color: #fff;
    text-decoration: underline;
    transition: text-shadow 200ms;

    &:hover {
      text-shadow: 0 0 25px rgb(255, 255, 255);
    }
  }

  @supports (grid-area: auto) {
    display: none;
  }
}

.wrapper {
  max-width: 900px;
}

.highlighter-rouge + p {
  margin-top: 10px;
}

.highlight {
  background: none;
  margin-bottom: 0;
  overflow-x: auto;

  .highlighter-rouge & {
    background: none;
  }

  .highlighter-rouge & > pre,
  > pre {
    background: #424242;
    border: 0;
    border-radius: 5px;
    margin-bottom: 0;
    padding: 2px;
    text-align: left;

    > code {
      background: none;
      display: block;
    }

    .rouge-table {
      border: 0;
      color: #9e9e9e;
      margin-bottom: 0;
      width: 100%;

      tr {
        display: flex;
      }

      td {
        border: 0;
        padding: 0;
      }

      .code,
      .rouge-code {
        flex-grow: 1;
      }
    }

    .rouge-code > pre,
    .code > pre,
    .lineno {
      border-color: #424242;
      margin-bottom: 0;
    }

    .lineno {
      background: #424242;
      padding-right: 5px;
      text-align: right;
    }
  }
}

.site-footer {
  border: 0;

  &,
  a,
  a:visited,
  a:hover {
    color: inherit;
  }

  .copyright {
    text-align: center;
    width: 100%;
  }

  .footer-col-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;

    @media (min-width: 768px) {
      flex-direction: row;
    }

    .footer-col-1,
    .footer-col-2,
    .footer-col-3 {
      width: auto;
    }
  }
}

.site-header {
  background: #4caf50;

  .page-link {
    color: #fff;

    @media (min-width: 768px) {
      margin: 0;
      padding: 18px;

      &:not(:last-child) {
        margin-right: 0;
      }

      &:hover {
        background: #1b5e20;
        text-decoration: none;
      }
    }
  }

}

.site-title,
.site-title:visited {
  color: #fff;
}

@media screen and (max-width: 600px) {
  .site-nav {
    background: #2e7d32;
    border-color: #4caf50;
    text-align: left;
    z-index: 5;

    input:checked ~ .trigger {
      min-width: 250px;
    }

    .page-link {
      margin-left: 0;
    }
  }
}