Skip to content

Commit

Permalink
Merge branch 'release/3.4.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Sep 9, 2016
2 parents 50c1dfe + 3889ff3 commit 233dcde
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 10 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down
2 changes: 1 addition & 1 deletion _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3 class="author__name">{{ author.name }}</h3>
</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>
Expand Down
37 changes: 30 additions & 7 deletions _sass/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 233dcde

Please sign in to comment.