~xdavidwu/xdavidwu.link

20db5c9d3861ae129ac5bd54a83bd327dc7baf31 — xdavidwu 4 years ago 0ae0c1d
sass: fix follow button behavior & cleanup
M _sass/minimal-mistakes/_buttons.scss => _sass/minimal-mistakes/_buttons.scss +2 -6
@@ 51,11 51,7 @@
        border: 1px solid #fff;
      }

      &:visited {
        @include yiq-contrasted($color);
      }

      &:hover {
      &:not(label):hover {
        @include yiq-contrasted(mix(#000, $color, 20%));
      }
    }


@@ 94,4 90,4 @@
  &--small {
    font-size: $type-size-7;
  }
}
\ No newline at end of file
}

M _sass/minimal-mistakes/_mixins.scss => _sass/minimal-mistakes/_mixins.scss +2 -4
@@ 43,12 43,10 @@
*/

@mixin clearfix {
  clear: both;

  &::after {
    clear: both;
    content: "";
    display: table;
    display: block;
  }
}



@@ 89,4 87,4 @@
) {
  background-color: $background-color;
  color: yiq-contrast-color($background-color, $dark, $light, $threshold);
}
\ No newline at end of file
}

M _sass/minimal-mistakes/_noscript.scss => _sass/minimal-mistakes/_noscript.scss +3 -0
@@ 15,4 15,7 @@

#follow-button {
  display: none;
  &:checked + label {
    background-color: $primary-color-disabled;
  }
}

M _sass/minimal-mistakes/skins/_custom.scss => _sass/minimal-mistakes/skins/_custom.scss +0 -9
@@ 18,12 18,3 @@ $link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;

.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
  color: inherit;
}

.ais-search-box .ais-search-box--input {
  background-color: $form-background-color;
}