Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

2.1 KB
Raw Blame
@use "variables";

.about-page {
  background-color: #282828;
  padding: 10px 15px 0 10px;
  max-width: 600px;
  margin: auto;

  div,
  h1,
  h2,
  li,
  p {
    color: #eee;
    font-weight: 300;
    font-family: "Public Sans", sans-serif;
  }

  div,
  li,
  p {
    font-size: 14px;
    line-height: 22px;
  }

  .version {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 200;
    float: right;
  }

  h1 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1em;
  }

  h2 {
    font-size: 18px;
    margin: 0.75em 0;
    font-weight: 600;
  }

  p {
    margin: 1.12em 0;

    &:first-of-type {
      display: inline-block;
      margin-bottom: 0;
    }
  }

  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #404040;
    margin: 1em 0;
    padding: 0;
  }

  ul { margin-left: 2em; }

  li { display: list-item; }

  a {
    color: #7bf;
    text-decoration: none;

    &:hover {
      color: #7df;
      text-decoration: none;
    }
  }

  .right {
    float: right;
    margin: 0.4em 0.2em 0;

    &:first-of-type {
      width: 100%;

      a {
        float: right;
      }
    }

    &:last-of-type {
      margin: 1.4em 0.2em 0;
    }
  }

  .caption {
    font-size: 12px;
    line-height: 18px;
  }

  .gibs-caption {
    margin-top: 3px;
    width: 64px;
    font-style: italic;
    text-align: center;
  }

  .keyboard-shortcuts-table {
    width: 100%;
    margin-top: 20px;

    thead tr th {
      padding-bottom: 8px;
    }

    tr {
      &:not(:last-of-type) {
        border-bottom: 1px solid #404040;
      }

      :first-child {
        text-align: left;
      }

      :last-child {
        text-align: right;
      }
    }

    td {
      padding: 11px 0;
    }

    code {
      color: #f60;
      padding: 1px 8px;
      border: thin solid;
    }
  }
}

/* Override default modal CSS */
.about-page-modal .modal-body {
  padding: 0;
}

/* Keyboard shortcuts section */
@media (min-width: variables.$tablet-min-width) {
  .about-page .keyboard-shortcuts-section {
    display: block;
  }
}

@media (min-width: 576px) {
  .about-page .version {
    margin-top: 0;
  }
}