UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
custom.scss 2.07 KiB
Newer Older
Graham Smith's avatar
Graham Smith committed
@import "@/scss/_variables.scss";
@import "@/scss/utilities.scss";

// Include Bootstrap and BootstrapVue SCSS files
@import "~bootstrap/scss/bootstrap.scss";
@import "~bootstrap-vue/src/index.scss";

html {
  // rubber-band overscroll color and determines the scrollbar color on chrome for mac
  background-color: $light-bg-color;
  font-size: 16px;
}

// General style overrides and custom classes
body {
  font-family: "Open Sans";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  letter-spacing: normal;
  line-height: 1.5;
  font-size: 1rem;
  text-align: center;
  color: $text-color;
Graham Smith's avatar
Graham Smith committed
  margin: 0;
Graham Smith's avatar
Graham Smith committed

  a {
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5rem;
    &:hover,
    &:active,
    &:focus {
      text-decoration: none;
    }
  }

  button.btn {
    font-size: 1rem;
    font-weight: 500;
    height:40px;
    min-width:160px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    border: 0.5px solid $button-border-color;

    .b-icon.bi {
      position: relative;
      top: -2px;
    }
  }

  // to dissuade use
  h5,
  h6 {
    background-color: magenta;
  }

  h1 {
    font-size: 5rem;
    line-height: 6rem;
    letter-spacing: 3.2px;
  }
  h2 {
    font-size: 2rem;
    line-height: 2.375rem;
    letter-spacing: 1.1px;
  }
  h3 {
    font-size: 1.5rem;
    line-height: 1.8125rem;
    letter-spacing: 1.1px;
  }
  h4 {
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 1.1px;
  }

  h1,
  h2,
  h3,
  h4 {
    text-transform: uppercase;
    margin-left: 1rem;
    margin-right: 1rem;
    color: $header-text-color;
    font-weight: 800;
  }

  .dark {
    color: $light-text-color;
    background-color: $dark-bg-color;

    h1,
    h2,
    h3,
    h4,
    p {
      color: $light-text-color;
    }
  }

  @include media-breakpoint-only(xs) {
    h1 {
      font-size: 3rem;
      line-height: 4rem;
    }
    h2 {
      font-size: 1.25rem;
    }
    h3 {
      font-size: 1.125rem;
    }
    h4 {
      font-size: 1rem;
    }
    font-size: 1rem;
  }
}