Compare commits

...
29 Commits
Author SHA1 Message Date
Michael Rose e9a7679b47 Merge branch 'release/1.2.0' 2013-12-09 09:38:28 -05:00
Michael Rose 855ca19f2c Decrease spacing between footnotes 2013-12-09 09:32:40 -05:00
Michael Rose 5e92dddf9f Change footer from dark to light 2013-12-09 09:29:15 -05:00
Michael Rose 9990bc0441 Rename article-author-top class to article-author-side 2013-12-09 09:19:05 -05:00
Michael Rose b527a83e54 Rename _includes 2013-12-09 09:16:56 -05:00
Michael Rose df55210149 Update nav links 2013-12-09 09:00:49 -05:00
Michael Rose d281a0ba8f Remove category limit on post index 2013-12-09 09:00:39 -05:00
Michael Rose 4526f3ffa7 Replace bio photo with generic image 2013-12-09 09:00:23 -05:00
Michael Rose 96a7c4aebd Remove all CAPS styling on post headlines in index listing 2013-12-09 08:45:49 -05:00
Michael Rose 41470fa117 Update permalink 2013-12-09 08:44:48 -05:00
Michael Rose 460b251a15 Replace site.url with localhost server 2013-12-09 08:41:58 -05:00
Michael Rose a253f65bd0 Merge branch 'hotfix/table-width' 2013-12-09 08:37:32 -05:00
Michael Rose 4a69bbfcce Merge branch 'hotfix/table-width' into develop 2013-12-09 08:37:32 -05:00
Michael Rose dcab265971 Size tables to fill content container 2013-12-09 08:37:17 -05:00
Michael Rose 9c9643e769 Merge pull request #13 from dhruvbhatia/patch-1
Make Markdown tables take 100% width
2013-12-09 05:34:08 -08:00
Dhruv Bhatia babf712cdc Make Markdown tables take 100% width 2013-12-08 01:31:58 +11:00
Michael Rose 0366c15464 Merge branch 'hotfix/navigation-links' into develop 2013-10-14 08:16:16 -04:00
Michael Rose 99bbc51cf3 Merge branch 'hotfix/navigation-links' 2013-10-14 08:16:16 -04:00
Michael Rose 69101c2ae9 Clear floats 2013-10-14 08:15:44 -04:00
Michael Rose 92431b42e8 Merge branch 'hotfix/navigation-bug' into develop 2013-10-11 11:07:36 -04:00
Michael Rose 5ee64d1ee8 Merge branch 'hotfix/navigation-bug' 2013-10-11 11:07:36 -04:00
Michael Rose 3623452823 Remove line-wrap on top navigation links that may span two lines 2013-10-11 11:06:38 -04:00
Michael Rose 435e600e1e Correct top navigation link bug, fixes #10 2013-10-11 11:05:23 -04:00
Michael Rose 86bfa8a6c3 Update README.md 2013-09-15 00:55:40 -04:00
Michael Rose f8d136b513 Merge branch 'hotfix/screenshot' into develop 2013-09-15 00:42:01 -04:00
Michael Rose 597408d402 Merge branch 'hotfix/screenshot' 2013-09-15 00:42:01 -04:00
Michael Rose 378a3aa9df Update screenshot 2013-09-15 00:41:52 -04:00
Michael Rose 8462771c15 Update README.md 2013-09-12 22:30:00 -04:00
Michael Rose fee64f30d6 Merge branch 'release/1.1.2' into develop 2013-09-09 12:21:08 -04:00
25 changed files with 70 additions and 76 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
* Large feature images for posts and pages.
* Simple and clear permalink structure.
* [Custom 404 page](http://mmistakes.github.io/minimal-mistakes/404.html) to get you started.
* Stylesheets for Pygments and Coderay [syntax highlighting](http://mmistakes.github.io/articles/minimal-mistakes/code-highlighting-post/) to make your code examples look snazzy.
* Stylesheets for Pygments and Coderay [syntax highlighting](http://mmistakes.github.io/minimal-mistakes/articles/code-highlighting-post/) to make your code examples look snazzy.
![screenshot of Minimal Mistakes theme](http://mmistakes.github.io/minimal-mistakes/images/mm-theme-post-600.jpg)
@@ -25,7 +25,7 @@ General notes and suggestions for customizing Minimal Mistakes.
5. Check out the sample posts in `_posts` to see examples for pulling in large feature images, tags, and other YAML data.
6. Read the documentation below for further customization pointers and documentation.
[Download the Theme](https://github.com/mmistakes/minimal-mistakes)
[Demo the Theme](http://mmistakes.github.io/minimal-mistakes)
**Pro-tip:** Delete the `gh-pages` branch after cloning and start fresh by branching off `master`. There is a bunch of garbage in `gh-pages` used for the theme's demo site that I'm guessing you don't want on your site.
+5 -5
View File
@@ -1,8 +1,8 @@
title: Site Title
tagline: A short tagline
description: Describe your website.
#Comment out url when working locally to resolve base urls correctly
url: http://your-site.com
# Your site's domain goes here. Leave localhost server or blank when working locally.
url: http://localhost:4000
# Owner/author information
owner:
@@ -31,11 +31,11 @@ bing_verify:
# For external links add external: true
links:
- title: About
url: /about
url: /about/
- title: Articles
url: /articles
url: /articles/
- title: Theme Setup
url: /theme-setup
url: /theme-setup/
- title: Made Mistakes
url: http://mademistakes.com
external: true
+9 -9
View File
@@ -4,27 +4,27 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>
<body class="home" itemscope itemtype="http://schema.org/WebPage">
{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}
{% include navigation.html %}
{% include _navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<h3><a href="{{ site.url}}/articles">Articles</a></h3>
{% for post in site.categories.articles limit:5 %}
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
{% for post in site.posts limit:5 %}
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
@@ -34,11 +34,11 @@
<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
{% include _scripts.html %}
</body>
</html>
+7 -7
View File
@@ -4,14 +4,14 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>
<body class="page" itemscope itemtype="http://schema.org/WebPage">
{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}
{% include navigation.html %}
{% include _navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
@@ -19,8 +19,8 @@
</div><!-- /.image-wrap -->{% endif %}
<div id="main" role="main" itemprop="mainContentOfPage">
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<article itemscope itemtype="http://schema.org/CreativeWork">
<h1 itemprop="name">{{ page.title }}</h1>
@@ -32,11 +32,11 @@
<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
{% include _scripts.html %}
</body>
</html>
+7 -7
View File
@@ -4,22 +4,22 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>
<body class="articles" itemscope itemtype="http://schema.org/WebPage">
{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}
{% include navigation.html %}
{% include _navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
@@ -43,11 +43,11 @@
<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
{% include _scripts.html %}
</body>
</html>
+8 -8
View File
@@ -4,14 +4,14 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>
<body class="article" itemscope itemtype="http://schema.org/WebPage">
{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}
{% include navigation.html %}
{% include _navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
@@ -19,8 +19,8 @@
</div><!-- /.image-wrap -->{% endif %}
<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="headline-wrap">
@@ -32,7 +32,7 @@
<hr />
<footer role="contentinfo">
<div class="article-author-bottom">
{% include author-bio.html %}
{% include _author-bio.html %}
</div>
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}" itemprop="dateModified">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %} by <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name"><a href="{{ site.url }}/about" title="About {{ site.owner.name }}" itemprop="url">{{ site.owner.name }}</a></span></span>.</p>
</footer>
@@ -59,11 +59,11 @@
<hr />
</div><!-- /.related-articles -->{% endif %}
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
{% include _scripts.html %}
</body>
</html>
+5 -2
View File
@@ -17,10 +17,13 @@ Jekyll is pretty rad and figured releasing a cleaned up version of [my site](htt
* Responsive templates. Looking good on mobile, tablet, and desktop.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Minimal embellishments. Content first --- other widget nonsense never.
* Minimal embellishments --- content first.
* Large feature images for posts and pages.
* Author sidebar to pimp your bio, photo[^2], and social media links.
* Simple and clear permalink structure *(ie: domain.com/category/post-title)*
<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>
[^1]: Since open sourcing this theme I have released a couple other Jekyll themes. My website [Made Mistakes](http://mademistakes.com) is currently using a modified version of my [So Simple Theme](http://mmistakes.github.io/so-simple-theme/).
[^1]: Since open sourcing this theme I have released a couple other Jekyll themes. My website [Made Mistakes](http://mademistakes.com) is currently using a modified version of my [So Simple Theme](http://mmistakes.github.io/so-simple-theme/).
[^2]: Fancy avatars provided by [Brandon Mathis](http://brandonmathis.com/projects/fancy-avatars/demo/) under a [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/).
+1 -1
View File
@@ -1,6 +1,6 @@
---
layout: post-index
permalink: /articles/index.html
permalink: /articles/
title: Articles
tagline: A List of Posts
tags: [blog, graphic design]
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -37,7 +37,7 @@
.prefix(12,4);
.suffix(12,3.5);
}
.article-author-top {
.article-author-side {
.grid(12,1.5);
.prefix(12,2);
}
+1 -1
View File
@@ -40,7 +40,7 @@
.prefix(12,3);
.suffix(12,3);
}
.article-author-top {
.article-author-side {
display: block;
.grid(12,2);
.prefix(12,0.5);
+1 -1
View File
@@ -3,7 +3,7 @@
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.article-author-top,
.article-author-side,
.article-author-bottom {
h3,
.bio-photo,
+1
View File
@@ -394,4 +394,5 @@ table {
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 1.5em;
width: 100%; /* make full width */
}
+9 -20
View File
@@ -5,24 +5,27 @@ body {
}
.navigation-wrapper {
.container();
padding: 2em 0 3em;
padding: 2em 0 0;
font-family: @heading-font;
font-weight: 700;
text-transform: uppercase;
.clearfix();
}
.site-name {
.container();
.grid(12,10);
.prefix(12,1);
.suffix(12,1);
margin-bottom: 1em;
float: none;
display: block;
}
.top-navigation {
.container();
.grid(12,10);
.prefix(12,1);
.suffix(12,1);
margin-bottom: 1em;
float: none;
display: block;
}
.top-navigation {
ul {
@@ -34,6 +37,7 @@ body {
list-style-type: none;
display: inline;
margin-right: 25px;
white-space: nowrap;
a {
decoration: none;
border-bottom: 0 solid transparent;
@@ -71,7 +75,6 @@ body {
h2 {
margin-bottom: 4px;
.font-rem(20);
text-transform: uppercase;
}
p {
.font-rem(14);
@@ -114,7 +117,7 @@ body {
clear: both;
font-size: 80%;
}
.article-author-top,
.article-author-side,
.article-author-bottom {
h3 {
margin-bottom: 0;
@@ -147,7 +150,7 @@ body {
.translate(0, 2px);
}
}
.article-author-top {
.article-author-side {
display: none;
}
.article-author-bottom {
@@ -290,10 +293,7 @@ body {
.container();
.clearfix();
clear: both;
margin-top: 1em;
padding-top: 2em;
padding-bottom: 3em;
background-color: @black;
a,
a:active,
a:visited,
@@ -301,19 +301,9 @@ body {
h4,
h5,
h6,
span {
color: darken(@white, 25);
}
span {
.font-rem(14);
}
a {
border-bottom: 0 solid transparent;
&:hover {
color: @white;
border-bottom: 0 solid transparent;
}
}
footer {
.grid(12,10);
.prefix(12,1);
@@ -332,7 +322,6 @@ body {
}
li {
margin-bottom: 0;
color: @white;
}
}
.footer-icons {
+2 -1
View File
@@ -103,7 +103,8 @@ blockquote {
// --------------------------------------------------
.footnotes {
ol, li, p {
.font-size(14);
margin-bottom: 0;
.font-rem(14);
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

+9 -9
View File
@@ -33,12 +33,12 @@ General notes and suggestions for customizing Minimal Mistakes.
{% highlight text %}
minimal-mistakes/
├── _includes/
| ├── author-bio.html #bio stuff goes here
| ├── browser-upgrade.html #displays on IE8 and less
| ├── footer.html #site footer
| ├── head.html #site head
| ├── navigation.html #site top nav
| └── scripts.html #jQuery, plugins, GA, etc.
| ├── _author-bio.html #bio stuff goes here
| ├── _browser-upgrade.html #displays on IE8 and less
| ├── _footer.html #site footer
| ├── _head.html #site head
| ├── _navigation.html #site top nav
| └── _scripts.html #jQuery, plugins, GA, etc.
├── _layouts/
| ├── home.html #homepage layout
| ├── page.html #page layout
@@ -69,7 +69,7 @@ Most of the variables found here are used in the .html files found in `_includes
#### Owner/Author Information
Change your name, bio, and avatar photo (100x100 pixels or larger), Twitter url, email, and Google+ url. If you want to link to an external image on Gravatar or something similiar you'll need to edit the path in `author-bio.html` since it assumes it is located in `\images`.
Change your name, bio, and avatar photo (100x100 pixels or larger), Twitter url, email, and Google+ url. If you want to link to an external image on Gravatar or something similiar you'll need to edit the path in `_author-bio.html` since it assumes it is located in `\images`.
Including a link to your Google+ profile has the added benefit of displaying [Google Authorship](https://plus.google.com/authorship) in Google search results if you've went ahead and applied for it. Don't have a Google+ account? Just leave it blank.
@@ -122,7 +122,7 @@ image:
#### Thumbnails for OG and Twitter Cards
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in *head.html*. If you don't assign a thumbnail the default graphic *(default-thumb.png)* is used. I'd suggest changing this to something more meaningful --- your logo or avatar are good options.
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in *_head.html*. If you don't assign a thumbnail the default graphic *(default-thumb.png)* is used. I'd suggest changing this to something more meaningful --- your logo or avatar are good options.
#### Table of Contents
@@ -180,6 +180,6 @@ Having a problem getting something to work or want to know why I setup something
This theme is free and open source software, distributed under the [GNU General Public License]({{ site.url }}/LICENSE) version 2 or later. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.
[^1]: Used to generate absolute urls in `sitemap.xml`, `feed.xml`, and for canonical urls in `head.html`. Don't include a trailing `/` in your base url ie: `http://mademistakes.com`. When developing locally remove or comment out this line so local .css, .js, and images are used.
[^1]: Used to generate absolute urls in `sitemap.xml`, `feed.xml`, and for canonical urls in `_head.html`. Don't include a trailing `/` in your base url ie: `http://mademistakes.com`. When developing locally remove or comment out this line so local .css, .js, and images are used.
[^2]: If you're using GitHub Pages to host your site be aware that plugins are disabled. So you'll need to build your site locally and then manually deploy if you want to use this sweet plugin.