Sha256: 8487cfbf181624f658a15290bb81f7640dd6d900b3047d250829d2a6d2d5d4c5

Contents?: true

Size: 1.7 KB

Versions: 31

Compression:

Stored size: 1.7 KB

Contents

// Rules for styling links
// =========================================

.links__kcc-logo {
  display: inline;
  float: left;
  width: 120px;
  height:80px;
}

// use the 'link__offset' class to offset jump-links via CSS only method.
// Links need to be offset to clear the fixed navigation bar at the top.
// =========================================
.links__offset::before {
  // mobile devices get slightly different offset b/c of different sized fixed header
  content: " ";
  display: block;
  height: 171px; // defining a height pushes the element down the page
  margin-top: -171px; // negative margin is needed to push it back to its original position
  pointer-events: none; // w/ out this it will interfere with the sites navigation links
  visibility: hidden;
}

@media screen and (min-width: 768px) {
    .links__offset::before {
      height: 150px;
      margin-top: -150px;
  }
}

.links__darker-link {
  color: $darker-link;
}

// Rules to override bootstrap 4's "nav-link" color
// =========================================
.navbar-light .navbar-nav .links__nav-link--color { // Ugly (chain of) selectors needed to overide bootstrap's "nav-link" color:
  color: $primary-blue;
}

.navbar-light .navbar-nav .active>.nav-link {
  border-bottom-color: $primary-red;
  border-bottom-style: solid;
  border-bottom-width: thick;
  color: $primary-blue;
  padding-bottom: 0;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: $primary-red;
}

.links__phone--span {
  color: $white;
  text-decoration: none;
  &:visited {
    color: $white;
  }
  &:hover {
    text-decoration: none;
  }
}

.links__no-underline {
  text-decoration: none;
  &:hover {
    text-decoration: none;
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
kcc-gem-theme-1.0.14 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.13 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.12 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.11 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.10 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.9 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.8 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.7 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.6 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.5 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.4 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.3 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.2 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.1 assets/scss/1-base/_links.scss
kcc-gem-theme-1.0.0 assets/scss/1-base/_links.scss
kcc-gem-theme-0.7.73 assets/scss/1-base/_links.scss
kcc-gem-theme-0.7.72 assets/scss/1-base/_links.scss
kcc-gem-theme-0.7.71 assets/scss/1-base/_links.scss
kcc-gem-theme-0.7.70 assets/scss/1-base/_links.scss
kcc-gem-theme-0.7.69 assets/scss/1-base/_links.scss