~xdavidwu/xdavidwu.link

4b3dd88211e92addf90ce8fa125ccbced4ad1b04 — Michael Rose 6 years ago 8460275
Fix Algolia search link positioning (#1904)

* Add link for testing purposes
* Fix excerpt link positioning in Algolia search results
* Fix Algolia search input color
* Update CHANGELOG and history

Fixes #1903
M CHANGELOG.md => CHANGELOG.md +1 -0
@@ 2,6 2,7 @@

### Enhancements

- Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904)
- Update Lunr to `2.3.3`. [#1885](https://github.com/mmistakes/minimal-mistakes/pull/1885)
- Cache "static" includes to improve build performance. **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
- Make entire feature and archive items "clickable". [#1864](https://github.com/mmistakes/minimal-mistakes/pull/1864)

M _sass/minimal-mistakes/_archive.scss => _sass/minimal-mistakes/_archive.scss +26 -9
@@ 20,15 20,6 @@

.archive__item {
  position: relative;

  a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
}

.archive__subtitle {


@@ 50,6 41,15 @@
  overflow: hidden;
  text-overflow: ellipsis;

  a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }

  a + a {
    opacity: 0.5;
  }


@@ 70,6 70,10 @@
  & + p {
    text-indent: 0;
  }

  a {
    position: relative;
  }
}

.archive__item-teaser {


@@ 281,6 285,10 @@
    clear: both;
    font-size: 1.125em;

    .archive__item {
      float: left;
    }

    .archive__item-teaser {
      margin-bottom: 2em;
    }


@@ 318,6 326,10 @@
    clear: both;
    font-size: 1.125em;

    .archive__item {
      float: left;
    }

    .archive__item-teaser {
      margin-bottom: 2em;
    }


@@ 357,6 369,11 @@
    clear: both;
    font-size: 1.125em;

    .archive__item {
      float: left;
      width: 100%;
    }

    .archive__item-teaser {
      margin-bottom: 2em;
    }

M _sass/minimal-mistakes/_search.scss => _sass/minimal-mistakes/_search.scss +2 -2
@@ 114,12 114,12 @@
}

.archive__item-title .ais-Highlight {
  color: $link-color;
  color: $primary-color;
  font-style: normal;
  text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
  color: $link-color;
  color: $primary-color;
  font-style: normal;
  font-weight: bold;
}

M _sass/minimal-mistakes/skins/_dark.scss => _sass/minimal-mistakes/skins/_dark.scss +4 -0
@@ 40,3 40,7 @@ $base0f: #cc6633 !default;
.page__footer-follow .social-icons .svg-inline--fa {
  color: inherit;
}

.ais-search-box .ais-search-box--input {
  background-color: $form-background-color;
}
\ No newline at end of file

M _sass/minimal-mistakes/skins/_neon.scss => _sass/minimal-mistakes/skins/_neon.scss +4 -0
@@ 51,3 51,7 @@ $base0f: #cc6633 !default;
    color: $text-color;
  }
}

.ais-search-box .ais-search-box--input {
  background-color: $form-background-color;
}
\ No newline at end of file

M _sass/minimal-mistakes/skins/_plum.scss => _sass/minimal-mistakes/skins/_plum.scss +4 -0
@@ 58,3 58,7 @@ $base0f: #cc6633 !default;
    color: $text-color;
  }
}

.ais-search-box .ais-search-box--input {
  background-color: $form-background-color;
}
\ No newline at end of file