forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix collapsed white-space above pagination links * Improve `page` and `archive` layout - Center main content on page - Harmonize sidebar columns to be equal widths Fixes mmistakes#1155 * Update CHANGELOG and history * Position and align right sidebar with the top of the main content * Offset right sidebar at `$large` viewport * Add TOC bottom include test post * Add right sidebar styling edits to documentation site * Add TOC bottom include test post
- Loading branch information
Showing
14 changed files
with
259 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ | |
|
||
.pagination { | ||
@include clearfix(); | ||
float: left; | ||
margin-top: 1em; | ||
padding-top: 1em; | ||
width: 100%; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
docs/_posts/2012-01-03-layout-table-of-contents-bottom-post.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
title: "Layout: Post with Table Of Contents Included at Bottom" | ||
header: | ||
image: assets/images/unsplash-image-9.jpg | ||
caption: "Photo credit: [**Unsplash**](https://unsplash.com)" | ||
tags: | ||
- table of contents | ||
--- | ||
|
||
Testing Kramdown auto-generated table of contents included near the end of post content. If positioned correctly with CSS, it should appear in aligned (and to the right) of the main content. | ||
|
||
```liquid | ||
{% raw %}{% include toc title="Unique Title" icon="file-text" %}{% endraw %} | ||
``` | ||
|
||
## HTML Elements | ||
|
||
Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs. | ||
|
||
<h1>Heading 1</h1> | ||
<h2>Heading 2</h2> | ||
<h3>Heading 3</h3> | ||
<h4>Heading 4</h4> | ||
<h5>Heading 5</h5> | ||
<h6>Heading 6</h6> | ||
|
||
## Body text | ||
|
||
Lorem ipsum dolor sit amet, test link adipiscing elit. **This is strong**. Nullam dignissim convallis est. Quisque aliquam. | ||
|
||
![Smithsonian Image]({{ site.url }}{{ site.baseurl }}/assets/images/3953273590_704e3899d5_m.jpg) | ||
{: .image-right} | ||
|
||
*This is emphasized*. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline.Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. | ||
|
||
HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. | ||
|
||
### Blockquotes | ||
|
||
> Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. | ||
## List Types | ||
|
||
### Ordered Lists | ||
|
||
1. Item one | ||
1. sub item one | ||
2. sub item two | ||
3. sub item three | ||
2. Item two | ||
|
||
### Unordered Lists | ||
|
||
* Item one | ||
* Item two | ||
* Item three | ||
|
||
## Tables | ||
|
||
| Header1 | Header2 | Header3 | | ||
|:--------|:-------:|--------:| | ||
| cell1 | cell2 | cell3 | | ||
| cell4 | cell5 | cell6 | | ||
|---- | ||
| cell1 | cell2 | cell3 | | ||
| cell4 | cell5 | cell6 | | ||
|===== | ||
| Foot1 | Foot2 | Foot3 | ||
{: rules="groups"} | ||
|
||
## Code Snippets | ||
|
||
```css | ||
#container { | ||
float: left; | ||
margin: 0 -240px 0 0; | ||
width: 100%; | ||
} | ||
``` | ||
|
||
## Buttons | ||
|
||
Make any link standout more when applying the `.btn` class. | ||
|
||
```html | ||
<a href="#" class="btn btn-success">Success Button</a> | ||
``` | ||
|
||
<div markdown="0"><a href="#" class="btn">Primary Button</a></div> | ||
<div markdown="0"><a href="#" class="btn btn--success">Success Button</a></div> | ||
<div markdown="0"><a href="#" class="btn btn--warning">Warning Button</a></div> | ||
<div markdown="0"><a href="#" class="btn btn--danger">Danger Button</a></div> | ||
<div markdown="0"><a href="#" class="btn btn--info">Info Button</a></div> | ||
|
||
## Notices | ||
|
||
**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph. | ||
{: .notice} | ||
|
||
{% include toc title="Unique Title" icon="file-text" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ | |
|
||
.pagination { | ||
@include clearfix(); | ||
float: left; | ||
margin-top: 1em; | ||
padding-top: 1em; | ||
width: 100%; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.