~xdavidwu/xdavidwu.link

a103e7e8da0862895e6ca71e5d007c270e181fe4 — Michael Rose 7 years ago 6fd580e + 8ab7c47
Merge branch 'release/3.4.5'
5 files changed, 51 insertions(+), 10 deletions(-)

M CHANGELOG.md
M _config.yml
M _includes/author-profile.html
M _sass/_syntax.scss
M package.json
M CHANGELOG.md => CHANGELOG.md +18 -0
@@ 1,3 1,21 @@
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)

### Enhancements

- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)

### Bug Fixes

- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)

### Maintenance

- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
- Add `{% highlight %}` code block examples to demo site.
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)

## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)

### Enhancements

M _config.yml => _config.yml +1 -1
@@ 97,7 97,7 @@ author:
  linkedin         :
  pinterest        :
  soundcloud       :
  stackoverflow    : # http://stackoverflow.com/users/123456/username
  stackoverflow    : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
  steam            :
  tumblr           :
  twitter          :

M _includes/author-profile.html => _includes/author-profile.html +1 -1
@@ 20,7 20,7 @@
  </div>

  <div class="author__urls-wrapper">
    <button class="btn btn--inverse">Follow</button>
    <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
    <ul class="author__urls social-icons">
      {% if author.location %}
        <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>

M _sass/_syntax.scss => _sass/_syntax.scss +30 -7
@@ 2,9 2,13 @@
   Syntax highlighting
   ========================================================================== */

div.highlighter-rouge, figure.highlight {
div.highlighter-rouge,
figure.highlight {
  position: relative;
  margin-bottom: 1em;
  font-family: $monospace;
  font-size: $type-size-7;
  line-height: 1.8;
  border: 1px solid $border-color;
  border-radius: $border-radius;
  background-color: $code-background-color;


@@ 18,7 22,6 @@ div.highlighter-rouge, figure.highlight {
    background-color: $lighter-gray;
    content: "\f121";
    font-family: "fontawesome" !important;
    font-size: $type-size-6;
    line-height: 1;
    text-transform: none;
    speak: none;


@@ 27,15 30,35 @@ div.highlighter-rouge, figure.highlight {
  .highlight {
    margin: 0;
    padding: 1em;
    font-family: $monospace;
    font-size: $type-size-7;
    line-height: 1.8;
  }
}

.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
figure.highlight {
  padding-left: 1em;
  padding-right: 1em;
}

.highlight table {
  font-size: 1em;
  border: 0;

  td {
    padding: 5px;
    border: 0;

    // line numbers
    &.gutter {
      padding-right: 1em;
      color: $light-gray;
    }
  }

  pre {
    margin: 0;
  }
}

.highlight pre { width: 100%; }

/*
   Solarized Light

M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "minimal-mistakes",
  "version": "3.4.4",
  "version": "3.4.5",
  "description": "Minimal Mistakes Jekyll theme npm build scripts",
  "repository": {
    "type": "git",