Compare commits

..
83 Commits
Author SHA1 Message Date
Michael Rose 09fdd3c5a4 Merge pull request #150 from kishore-mohan/facebook_metataf
facebook sharing image meta tag added related #149 issue
2015-06-11 09:41:34 -04:00
kishore-mohan dda901e46d facebook sharing image meta tag added related #149 issue 2015-06-11 17:54:57 +05:30
Michael Rose 3d685a192f Show related posts only when there are 1 or more 2015-04-08 14:49:47 -04:00
Michael Rose 3bbb09770d Merge pull request #131 from thoemmi/patch-1
Update _author-bio.html
2015-03-08 17:01:33 -04:00
Thomas Freudenberg cd47e64b12 Update _author-bio.html
I'm sorry about the double slash 😞
2015-03-08 19:57:59 +01:00
Michael Rose 90830fb86f Merge pull request #130 from thoemmi/xing
In Germany XING is more popular than LinkedIn, so I added a link to the XING profile
2015-03-06 08:27:10 -05:00
Thomas Freudenberg 89271dd67d mis-aligment of email address (all other items have an leading whitespace) 2015-03-05 23:43:59 +01:00
Thomas Freudenberg 4bd0345eda added link to XING profile 2015-03-05 23:42:51 +01:00
Michael Rose f9d59eac80 Update gems 2015-03-03 09:50:22 -05:00
Michael Rose 45c6d84133 Remove http protocol from Google search form 2015-02-24 14:57:16 -05:00
Michael Rose 8c78e2f783 Remove feature image 2015-02-24 14:56:10 -05:00
Michael Rose 9698439543 Display custom 404 page
- Fixes #128
2015-02-24 14:54:55 -05:00
Michael Rose 3b2e58c7d8 Move feed footer to an include 2015-01-30 09:37:42 -05:00
Michael Rose 7811c598b0 Fix social share buttons overlapping on small screens 2015-01-22 12:18:35 -05:00
Michael Rose 87b8d0b129 Add optional social sharing buttons
- Social share buttons appear at the end of every post and page unless you add share: false to their YAML Front Matter
- Fixes #42
2015-01-21 11:21:50 -05:00
Michael Rose 9a1c5ff3e6 Improve table of contents
- Replace html snippet with _includes/toc.html
- Add FA icon to table of contents header
- Display table of contents on small screens
- Add hierarchy to toc with indents
2015-01-21 10:16:48 -05:00
Michael Rose 3688b97b3c Clean up comments 2015-01-21 09:32:22 -05:00
Michael Rose e916231560 Clean up comments in Sass partials 2015-01-20 15:25:57 -05:00
Michael Rose 422c0a467d Remove print styles 2015-01-20 15:20:01 -05:00
Michael Rose 1a538f15ac Fix typo 2015-01-20 14:28:03 -05:00
Michael Rose a41af6b53b Remove duplicate author content 2015-01-20 12:43:53 -05:00
Michael Rose 35761b2e8d Remove Google Authorship
- Fixes #120
- Add person microdata in author sidebar
2015-01-20 12:42:37 -05:00
Michael Rose c8919d2418 Merge pull request #119 from kennonkwok/add_flickr_social_button
add Flickr social button to author-bio.html
2015-01-12 14:25:46 -05:00
Kennon Kwok 050d690113 add Flickr social button to author-bio.html 2015-01-12 09:56:39 -08:00
Michael Rose 15a9ca5497 Merge pull request #116 from YuyingWu/master
add social button in author-bio.html
2015-01-05 13:58:59 -05:00
YuyingWu fad3d095a0 add social button in author-bio.html
sina weibo is a widely-used social community in China
2015-01-03 12:15:50 +08:00
Michael Rose f2f00daea4 Optimize images 2014-12-31 12:03:51 -05:00
Michael Rose 4fba65312f Document $paragraph-indent variable 2014-12-31 12:03:43 -05:00
Michael Rose 967190ebf9 Add grunt images task 2014-12-31 12:03:10 -05:00
Michael Rose 1eac280027 Remove http://localhost:4000 from site.url in _config.yml 2014-12-22 12:25:35 -05:00
Michael Rose 2cd25f2ca0 Fix home linke path 2014-12-22 12:25:03 -05:00
Michael Rose 96e60f2467 Update gemfile 2014-12-22 12:23:35 -05:00
Michael Rose 86146d58a0 Merge pull request #112 from clburlison/master
Missing trail </a>
2014-12-17 15:48:31 -05:00
Clayton Burlison 8b3737cf23 Missing trail </a>
The missing </a> willing cause an issue when someone is customizing the order of "Post then Date" to "Date then Post".
2014-12-17 13:56:10 -06:00
Michael Rose 1dabca2574 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# By unknown
# Via unknown
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  rel="nofollow" footer links
2014-11-23 21:52:43 -05:00
unknown 0ac42ec6f7 rel="nofollow" footer links 2014-11-23 21:52:21 -05:00
unknown 7bcb7412c9 rel="nofollow" footer links 2014-11-20 16:26:37 -05:00
unknown b2b54b8ca7 Add note about running Jekyll with bundle exec 2014-11-11 11:30:05 -05:00
unknown ee94c5d71f Update gems 2014-11-11 09:37:18 -05:00
unknown b6edd3592c Add protocol-relative URL example 2014-11-11 09:37:12 -05:00
Michael Rose 4e4944e6cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# By jeremyvoltz
# Via Michael Rose (1) and jeremyvoltz (1)
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Added youtube and soundcloud for site owner
  Added the fixed width class for font awesome icons
2014-10-20 23:09:52 -04:00
Michael Rose dc06530dd4 Merge pull request #95 from jeremyvoltz/master
Fixed width fa icons for cleaner stacking, plus youtube and soundcloud
2014-10-20 23:09:13 -04:00
Michael Rose 5525242588 Move .image-wrap triangle down a few pixels to cover small gap 2014-10-20 23:09:05 -04:00
jeremyvoltz 6be4d23dab Added youtube and soundcloud for site owner 2014-10-20 13:06:15 -04:00
jeremyvoltz 9f610952b9 Added the fixed width class for font awesome icons
This will allow cleaner stacking of icons that aren’t square
2014-10-20 13:04:49 -04:00
Michael Rose d0313bd423 Fix broken TOC toggle 2014-10-03 15:14:20 -04:00
Michael Rose 80f6c002f5 Reduce size of sample feature images 2014-10-03 14:58:49 -04:00
Michael Rose fd2b2a15d6 Reduce size of feature image triangle
- On smaller screens reduce size of triangle
2014-10-03 14:29:12 -04:00
Michael Rose 3ba1427cca Fix button border color
- Remove bottom borders on links and use text-decoration: underline instead
- Use sans-serif font for button text
2014-09-30 16:35:45 -04:00
Michael Rose 0f0275010e Include new sample images for features 2014-09-30 16:27:36 -04:00
Michael Rose 99d4eee5bb Wrap all page content in #main div to fix #86
- Adjust article styles to correctly display post indexes
- Remove top margin from page titles
2014-09-30 16:07:20 -04:00
Michael Rose 1a837bbdb5 Remove references to .less
- Add Gist example
2014-09-14 14:55:28 -04:00
Michael Rose 5ec4da089a Merge pull request #81 from muhasturk/master
removed unused <a> tag in _author-bio.html
2014-09-12 16:27:31 -04:00
Mustafa Hasturk 88a22037f5 illegal character in query fixed 2014-09-12 08:14:05 +03:00
Mustafa Hasturk fc7aa8f8b8 removed unused <a> tag in _author-bio.html 2014-09-12 08:08:10 +03:00
Michael Rose 91c30a0bf6 Fix typo 2014-09-09 06:34:18 -04:00
Michael Rose 8803c2d53c Merge pull request #80 from cazzar/patch-1
Fix up small spelling mistake in ad code.
2014-09-09 06:30:56 -04:00
Cayde Dixon 285dad5a92 Fix up small spelling mistake in ad code. 2014-09-09 15:08:58 +10:00
Michael Rose 50f46ab257 Make Google AdSense banner in footer conditional 2014-09-04 20:58:32 -04:00
Michael Rose b5cc7d19a0 Remove "layout: none" from feed.xml 2014-09-04 20:57:00 -04:00
Michael Rose 7b24a02e13 Mention that Octopres is optional
- Used to automate the creation of new posts and pages
2014-09-04 20:54:33 -04:00
Michael Rose 43fb2e5688 Fix Google webfonts to load over http and https 2014-08-23 18:10:31 -04:00
Michael Rose 3c73f33311 Change .less to .scss 2014-08-09 13:50:29 -04:00
Michael Rose faf03b2b3f Remove references to .less files 2014-08-09 13:42:51 -04:00
Michael Rose f5a313f703 Update about page 2014-08-08 20:53:23 -04:00
Michael Rose 83b4fde120 Fix Google+ variable in author sidebar 2014-08-08 20:50:46 -04:00
Michael Rose 2c36474aa1 Include examples for social media links 2014-08-08 20:48:04 -04:00
Michael Rose 10300e3d62 Remove extra + 2014-08-08 20:41:43 -04:00
Michael Rose 161585f6ad Only include email if author has an email address specified 2014-08-08 20:37:57 -04:00
Michael Rose 027176b38f Merge pull request #71 from soxyl/feed-author
Author Override for the Feed
2014-08-08 20:35:45 -04:00
Michael Rose f0d24a56d6 Fix typos and grammar 2014-08-08 15:45:24 -04:00
Samuel Wicky 4bfaa6c82f Merge branch 'master' into feed-author 2014-08-08 17:46:57 +03:00
Samuel Wicky f3a937d08e Fixed wrong author name in feed.xml 2014-08-07 19:39:45 +03:00
Michael Rose dc5a28f1c3 Merge pull request #70 from simathur/patch-1
Delete Gemfile.lock
2014-08-07 08:34:05 -04:00
simathur a0b8dcb838 Delete Gemfile.lock
This file was added to the .gitignore recently, but hasn't been deleted from the code line.
2014-08-07 15:48:35 +05:30
Michael Rose 73d41d7277 Change link name from email address to just "Email"
- Fixes #68
2014-08-06 22:56:37 -04:00
Michael Rose 1c008c25a8 Update license 2014-08-06 08:12:33 -04:00
Michael Rose 644586e6ae Make it generic 2014-07-31 16:15:59 -04:00
Michael Rose aba6002f4e Add alternate bio photo for testing purposes 2014-07-31 15:21:30 -04:00
Michael Rose 0236054d34 Add optional email address to author bio and feed.xml
- Fixes #35
- To add additional social network profiles edit _author-bio.html
- Icons come from the Font Awesome webfont. See http://fontawesome.io/icons/ for a complete list
2014-07-31 15:21:11 -04:00
Michael Rose 5a2d0ed5cf Ignore 2014-07-31 15:08:35 -04:00
Michael Rose efcf3c9bb7 Remove 2014-07-31 15:08:03 -04:00
Michael Rose 59f9a27ee9 Update 2014-07-31 15:07:48 -04:00
60 changed files with 1002 additions and 1560 deletions
+1 -2
View File
@@ -5,5 +5,4 @@ _site
*.sublime-workspace
codekit-config.json
node_modules
_asset_bundler_cache
.jekyll-metadata
_asset_bundler_cache
+2 -2
View File
@@ -4,7 +4,7 @@ title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
permalink: /404.html
---
---
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
@@ -14,4 +14,4 @@ Sorry, but the page you were trying to view does not exist --- perhaps you can t
</script>
<script type="text/javascript"
src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script>
</script>
+4 -5
View File
@@ -1,6 +1,5 @@
source "https://rubygems.org"
source 'https://rubygems.org'
gem "jekyll", "~> 3.0"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "octopress"
gem 'jekyll'
gem 'jekyll-sitemap'
gem 'octopress', '~> 3.0.0.rc.12'
+63 -41
View File
@@ -1,70 +1,92 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.3.8)
blankslate (2.1.2.4)
celluloid (0.16.0)
timers (~> 4.0.0)
classifier-reborn (2.0.3)
fast-stemmer (~> 1.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.9.1)
colorator (0.1)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
jekyll (3.1.1)
execjs (2.3.0)
fast-stemmer (1.0.2)
ffi (1.9.6)
ffi (1.9.6-x64-mingw32)
ffi (1.9.6-x86-mingw32)
hitimes (1.2.2)
hitimes (1.2.2-x86-mingw32)
jekyll (2.5.3)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
rouge (~> 1.7)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-sitemap (0.10.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
kramdown (1.9.0)
liquid (3.0.6)
listen (3.0.5)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-gist (1.1.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-sitemap (0.8.0)
jekyll-watch (1.2.1)
listen (~> 2.7)
kramdown (1.6.0)
liquid (2.6.2)
listen (2.8.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
multipart-post (2.0.0)
octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
octopress (3.0.11)
jekyll (>= 2.0)
octopress (3.0.0.rc.34)
jekyll (~> 2.0)
mercenary (~> 0.3.2)
octopress-deploy
octopress-escape-code (~> 2.0)
octopress-hooks (~> 2.0)
redcarpet (~> 3.0)
titlecase
octopress-deploy (1.3.0)
octopress-deploy (1.1.0)
colorator
octopress-escape-code (2.1.1)
jekyll (~> 3.0)
octopress-hooks (2.6.1)
jekyll (>= 2.0)
rb-fsevent (0.9.7)
octopress-escape-code (2.0.6)
octopress-hooks (~> 2.0)
octopress-hooks (2.6.0)
jekyll (~> 2.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.10)
pygments.rb (0.6.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.3.4)
rouge (1.10.1)
redcarpet (3.2.2)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
sass (3.4.13)
timers (4.0.1)
hitimes
titlecase (0.1.1)
toml (0.1.2)
parslet (~> 1.5.0)
yajl-ruby (1.2.1)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
jekyll (~> 3.0)
jekyll-gist
jekyll
jekyll-sitemap
octopress
BUNDLED WITH
1.11.2
octopress (~> 3.0.0.rc.12)
+4 -4
View File
@@ -1,11 +1,11 @@
# Minimal Mistakes
**[Minimal Mistakes](http://mmistakes.github.io/minimal-mistakes)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog built. Compatible with Jekyll 3.0 and up.
**[Minimal Mistakes](http://mmistakes.github.io/minimal-mistakes)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog.
## Minimal Mistakes is all about:
* Responsive templates. Looking good on mobile, tablet, and desktop.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Minimal embellishments -- content first.
* Optional large feature images for posts and pages.
* Simple and clear permalink structure.
@@ -18,6 +18,6 @@ See a [live version of Minimal Mistakes](http://mmistakes.github.io/minimal-mist
## Getting Started
Minimal Mistakes takes advantage of Sass and data files to make customizing easier. These features require [Jekyll 2.x](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.3) and will not work with older versions of Jekyll.
Minimal Mistakes takes advantage of Sass and data files to make customizing easier. These features require Jekyll 2.x and will not work with older versions of Jekyll.
To learn how to install and use this theme check out the [Setup Guide](http://mmistakes.github.io/minimal-mistakes/theme-setup/) for more information.
To learn how to install and use this theme check out the [Setup Guide](http://mmistakes.github.io/minimal-mistakes/theme-setup/) for more information.
+32 -33
View File
@@ -1,61 +1,60 @@
# Site wide configuration
title: Minimal Mistakes
title: Site Title
locale: en_US
url: //mmistakes.github.io/minimal-mistakes
url:
# Jekyll configuration
permalink: /:categories/:title/
markdown: kramdown
highlighter: rouge
highlighter: pygments
sass:
sass_dir: _sass
style: compressed
gems:
- jekyll-sitemap
- jekyll-gist
kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
enable_coderay: false
# Octopress
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true
use_coderay: false
# Site owner
owner:
name: Michael Rose
name: Your Name
avatar: bio-photo.jpg
bio: "Just another boring, time traveling, tattooed, designer from Buffalo New York."
disqus-shortname: minimalmistakes
twitter: mmistakes
facebook: michaelrose
bio: "Describe your self."
email:
disqus-shortname:
twitter: #username
facebook: #username
google:
plus: MichaelRoseDesign
analytics: UA-2011187-3
verify: UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y
ad-client: ca-pub-7328585512091257
ad-slot: 7855747535
bing-verify: D81F4C18A6CB3018F64D7C827D953DFD
github: mmistakes
instagram: mmistakes
plus: #username
analytics:
verify:
ad-client:
ad-slot:
bing-verify:
github: #username
stackoverflow: #http://stackoverflow.com/users/123456/username
linkedin: #username
xing: #username
instagram: #username
lastfm: #username
tumblr: #username
pinterest: #username
foursquare: #username
steam: #username
dribbble: #username
youtube: #username
soundcloud: #username
weibo: #username
flickr: #username
include: [".htaccess"]
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
+4 -1
View File
@@ -7,4 +7,7 @@
url: /posts/
- title: Theme Setup
url: /theme-setup/
url: /theme-setup/
- title: Made Mistakes
url: http://mademistakes.com
-1
View File
@@ -31,5 +31,4 @@
{% if author.soundcloud %}<a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>{% endif %}
{% if author.weibo %}<a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>{% endif %}
{% if author.flickr %}<a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>{% endif %}
{% if author.codepen %}<a href="http://codepen.io/{{ author.codepen }}" class="author-social" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a>{% endif %}
</div>
+2 -1
View File
@@ -19,4 +19,5 @@
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
{% endif %}
+2 -2
View File
@@ -1,7 +1,7 @@
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads">
<!-- 320 x 50 ad -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="{{ site.owner.google.ad-client }}"
@@ -12,4 +12,4 @@
</div><!-- /.google-ads -->
{% endif %}
<span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
<span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="http://mademistakes.com/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a> theme.</span>
+2 -2
View File
@@ -3,7 +3,7 @@
<a href="{{ site.url }}/">{{ site.title }}</a>
</div><!-- /.site-name -->
<div class="top-navigation">
<nav id="site-nav" class="nav">
<nav role="navigation" id="site-nav" class="nav">
<ul>
{% for link in site.data.navigation %}
{% if link.url contains 'http' %}
@@ -16,4 +16,4 @@
</ul>
</nav>
</div><!-- /.top-navigation -->
</div><!-- /.navigation-wrapper -->
</div><!-- /.navigation-wrapper -->
+2 -2
View File
@@ -5,7 +5,7 @@
<!-- Asynchronous Google Analytics snippet -->
<script>
var _gaq = _gaq || [];
var pluginUrl =
var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', '{{ site.owner.google.analytics }}']);
@@ -20,4 +20,4 @@
{% endif %}
{% if page.comments %}
{% include _disqus_comments.html %}
{% endif %}
{% endif %}
+4 -4
View File
@@ -28,16 +28,16 @@
</div><!-- /.image-wrap -->
{% endif %}
<div id="main" role="main">
<div id="main" role="main">
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<div id="index">
<h3><a href="{{ site.url}}/posts/">Recent Posts</a></h3>
{% for post in site.posts limit:5 %}
{% for post in site.posts limit:5 %}
<article>
{% if post.link %}
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
{% else %}
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
@@ -54,6 +54,6 @@
</div><!-- /.footer-wrap -->
{% include _scripts.html %}
</body>
</html>
+2 -2
View File
@@ -53,7 +53,7 @@
</footer>
</div><!-- /.footer-wrap -->
{% include _scripts.html %}
{% include _scripts.html %}
</body>
</html>
</html>
+10 -7
View File
@@ -34,13 +34,16 @@
</div>
<div id="index">
<h1>{{ page.title }}</h1>
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if year != written_year %}
<h3>{{ year }}</h3>
{% capture written_year %}{{ year }}{% endcapture %}
{% endif %}
{% unless post.next %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% endif %}
{% endunless %}
<article>
{% if post.link %}
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
@@ -60,6 +63,6 @@
</div><!-- /.footer-wrap -->
{% include _scripts.html %}
</body>
</html>
+2 -2
View File
@@ -71,7 +71,7 @@
</footer>
</div><!-- /.footer-wrap -->
{% include _scripts.html %}
{% include _scripts.html %}
</body>
</html>
</html>
+10
View File
@@ -0,0 +1,10 @@
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true
+5 -5
View File
@@ -12,11 +12,11 @@ Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater u
## Cupidatat 90's lo-fi authentic try-hard
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
* Sartorial hoodie
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.
@@ -25,7 +25,7 @@ Aesthetic odio dolore, meggings disrupt qui readymade stumptown brunch Terry Ric
## Forage occaecat cardigan qui
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
> Whatever velit occaecat quis deserunt gastropub, leggings elit tousled roof party 3 wolf moon kogi pug blue bottle ea. Fashion axe shabby chic Austin quinoa pickled laborum bitters next level, disrupt deep v accusamus non fingerstache.
@@ -41,4 +41,4 @@ Fingerstache thundercats Williamsburg, deep v scenester Banksy ennui vinyl selfi
Occupy et selvage squid, pug brunch blog nesciunt hashtag mumblecore skateboard yr kogi. Ugh small batch swag four loko. Fap post-ironic qui tote bag farm-to-table american apparel scenester keffiyeh vero, swag non pour-over gentrify authentic pitchfork. Schlitz scenester lo-fi voluptate, tote bag irony bicycle rights pariatur vero Vice freegan wayfarers exercitation nisi shoreditch. Chambray tofu vero sed. Street art swag literally leggings, Cosby sweater mixtape PBR lomo Banksy non in pitchfork ennui McSweeney's selfies. Odd Future Banksy non authentic.
Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.
Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.
+1 -1
View File
@@ -59,4 +59,4 @@ And you'll get something that looks like this:
<img src="http://placehold.it/600x300.jpg">
<img src="http://placehold.it/600x300.jpg">
<figcaption>Three images.</figcaption>
</figure>
</figure>
@@ -12,15 +12,15 @@ image:
This is a sample post with a large feature image[^1] up top and tons of text. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. *Ea fashion axe [Marfa cillum aliquip](#). Retro Bushwick keytar cliche.* Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.
Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.
## Cupidatat 90's lo-fi authentic try-hard
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. **[Terry Richardson](#) shabby chic +1**, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90's.
* Sartorial hoodie
* Sartorial hoodie
* Labore viral forage
* Tote bag selvage
* Tote bag selvage
* DIY exercitation et id ugh tumblr church-key
Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.
@@ -29,7 +29,7 @@ Aesthetic odio dolore, meggings disrupt qui readymade stumptown brunch Terry Ric
## Forage occaecat cardigan qui
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
Fashion axe hella gastropub lo-fi kogi 90's aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.
> Whatever velit occaecat quis deserunt gastropub, leggings elit tousled roof party 3 wolf moon kogi pug blue bottle ea. Fashion axe shabby chic Austin quinoa pickled laborum bitters next level, disrupt deep v accusamus non fingerstache.
@@ -47,4 +47,4 @@ Occupy et selvage squid, pug brunch blog nesciunt hashtag mumblecore skateboard
Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.
[^1]: Texture image courtesty of [Lovetextures](http://www.lovetextures.com/)
[^1]: Texture image courtesty of [Lovetextures](http://www.lovetextures.com/)
+2 -2
View File
@@ -3,7 +3,7 @@ layout: post
title: "Sample Link Post"
excerpt: "Example and code for using link posts."
tags: [sample post, link post]
link: http://mademistakes.com
link: http://mademistakes.com
share: true
---
@@ -11,4 +11,4 @@ This theme supports **link posts**, made famous by John Gruber. To use, just add
> And this is how a quote looks.
Some [link](http://www.mademistakes.com) can also be shown.
Some [link](http://www.mademistakes.com) can also be shown.
+5 -5
View File
@@ -3,7 +3,7 @@ layout: post
title: Syntax Highlighting Post
excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
tags: [sample post, code, highlighting]
modified: 2016-02-01
modified: 2014-09-14
comments: true
---
@@ -11,9 +11,9 @@ Syntax highlighting is a feature that displays source code, in different colors
[^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
### Highlighted Code Blocks
### Pygments Code Blocks
To modify styling and highlight colors edit `/_sass/syntax.scss`.
To modify styling and highlight colors edit `/_sass/_pygments.scss`.
{% highlight css %}
#container {
@@ -73,7 +73,7 @@ end
### Fenced Code Blocks
To modify styling and highlight colors edit `/_sass/coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
To modify styling and highlight colors edit `/_sass/_coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
~~~ css
#container {
@@ -118,4 +118,4 @@ end
An example of a Gist embed below.
{% gist mmistakes/6589546 %}
{% gist mmistakes/6589546 %}
+1 -1
View File
@@ -40,4 +40,4 @@ To assign Billy Rick as an author for our post. You'd add the following YAML fro
{% highlight yaml %}
author: billy_rick
{% endhighlight %}
{% endhighlight %}
+15 -15
View File
@@ -1,18 +1,18 @@
/*
/*
Rules
========================================================================== */
hr {
display: block;
margin: 1em 0;
hr {
display: block;
margin: 1em 0;
padding: 0;
height: 1px;
border: 0;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
border-bottom: 1px solid #fff;
border-bottom: 1px solid #fff;
}
/*
/*
Figures and images
========================================================================== */
@@ -23,13 +23,13 @@ figure {
article img {
max-width: 100%;
height: auto;
border-width: 0;
vertical-align: middle;
-ms-interpolation-mode: bicubic;
border-width: 0;
vertical-align: middle;
-ms-interpolation-mode: bicubic;
}
svg:not(:root) {
overflow: hidden;
overflow: hidden;
}
/* 2 images of equal dimensions in a row */
@@ -62,7 +62,7 @@ svg:not(:root) {
}
}
/*
/*
Buttons
========================================================================== */
@@ -151,7 +151,7 @@ svg:not(:root) {
}
}
/*
/*
Wells
========================================================================== */
@@ -163,4 +163,4 @@ svg:not(:root) {
border: 1px solid #e3e3e3;
@include rounded(4px);
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05));
}
}
+62 -62
View File
@@ -2,34 +2,34 @@
Forms
========================================================================== */
btnform {
btnform {
margin: 0 0 5px 0;
fieldset {
margin-bottom: 5px;
padding: 0;
border-width: 0;
fieldset {
margin-bottom: 5px;
padding: 0;
border-width: 0;
}
legend {
legend {
display: block;
width: 100%;
margin-bottom: 5px * 2;
*margin-left: -7px;
*margin-left: -7px;
padding: 0;
color: $textcolor;
border: 0;
border-bottom: 1px solid lighten($black, 80);
white-space: normal;
white-space: normal;
}
p {
margin-bottom: 5px / 2;
margin-bottom: 5px / 2;
}
ul {
list-style-type: none;
list-style-type: none;
margin: 0 0 5px 0;
padding: 0;
padding: 0;
}
br {
display: none;
display: none;
}
}
label,
@@ -37,26 +37,26 @@ input,
button,
select,
textarea {
vertical-align: baseline;
*vertical-align: middle;
vertical-align: baseline;
*vertical-align: middle;
}
input,
button,
select,
textarea {
font-family: $base-font;
@include box-sizing(border-box);
font-family: $base-font;
@include box-sizing(border-box);
}
label {
display: block;
margin-bottom: 10px / 8;
font-weight: bold;
color: $textcolor;
cursor: pointer;
cursor: pointer;
input,
textarea,
select {
display: block;
display: block;
}
}
input,
@@ -68,16 +68,16 @@ select {
margin-bottom: 5px / 4;
background-color: $white;
border: 1px solid lighten($black, 80);
color: $textcolor;
color: $textcolor;
&:hover {
border-color: lighten($accentcolor, 50);
border-color: lighten($accentcolor, 50);
}
}
.input-mini {
width: 60px;
.input-mini {
width: 60px;
}
.input-small {
width: 90px;
.input-small {
width: 90px;
}
input[type="image"],
input[type="checkbox"],
@@ -90,18 +90,18 @@ input[type="radio"] {
line-height: normal;
cursor: pointer;
@include rounded(0);
border: 0 \9;
border: 0 \9;
}
input[type="checkbox"],
input[type="radio"] {
input[type="checkbox"],
input[type="radio"] {
@include box-sizing(border-box);
padding: 0;
*width: 13px;
*height: 13px;
padding: 0;
*width: 13px;
*height: 13px;
}
input[type="image"] {
border: 0;
@include box-shadow(none);
border: 0;
@include box-shadow(none);
}
input[type="file"] {
width: auto;
@@ -110,7 +110,7 @@ input[type="file"] {
border: initial;
background-color: transparent;
background-color: initial;
@include box-shadow(none);
@include box-shadow(none);
}
input[type="button"],
input[type="reset"],
@@ -118,11 +118,11 @@ input[type="submit"] {
width : auto;
height : auto;
cursor : pointer;
*overflow : visible;
*overflow : visible;
}
select,
input[type="file"] {
*margin-top : 4px;
*margin-top : 4px;
}
select {
width : auto;
@@ -130,40 +130,40 @@ select {
}
select[multiple],
select[size] {
height : auto;
height : auto;
}
textarea {
@include resize(vertical);
height : auto;
overflow : auto;
vertical-align : top;
overflow : auto;
vertical-align : top;
}
input[type="hidden"] {
display : none;
display : none;
}
.radio,
.checkbox {
padding-left : 18px;
font-weight : normal;
padding-left : 18px;
font-weight : normal;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
float : left;
margin-left : -18px;
margin-left : -18px;
}
.radio.inline,
.checkbox.inline {
display : inline-block;
padding-top : 5px;
margin-bottom : 0;
vertical-align : middle;
vertical-align : middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
margin-left : 10px;
margin-left : 10px;
}
/*
/*
Disabled state
========================================================================== */
@@ -174,10 +174,10 @@ input[readonly],
select[readonly],
textarea[readonly] {
@include opacity(.5);
cursor : not-allowed;
cursor : not-allowed;
}
/*
/*
Focus & active state
========================================================================== */
@@ -185,35 +185,35 @@ input:focus,
textarea:focus {
border-color : $accentcolor;
outline : 0;
outline : thin dotted \9;
outline : thin dotted \9;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
@include box-shadow(none);
@include box-shadow(none);
}
/*
/*
Help text
========================================================================== */
.help-block,
.help-inline {
color : lighten($black, 50);
color : lighten($black, 50);
}
.help-block {
display : block;
margin-bottom : 1em;
display : block;
margin-bottom : 1em;
line-height : 1em;
}
.help-inline {
display : inline-block;
vertical-align : middle;
padding-left : 5px;
padding-left : 5px;
}
/*
/*
.form-inline
========================================================================== */
@@ -221,17 +221,17 @@ select:focus {
.form-inline textarea,
.form-inline select {
display : inline-block;
margin-bottom : 0;
margin-bottom : 0;
}
.form-inline label {
display : inline-block;
display : inline-block;
}
.form-inline .radio,
.form-inline .checkbox,
.form-inline .radio {
padding-left : 0;
margin-bottom : 0;
vertical-align : middle;
vertical-align : middle;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
@@ -239,7 +239,7 @@ select:focus {
margin-left : 0;
margin-right : 3px; }
/*
/*
.form-search
========================================================================== */
@@ -247,13 +247,13 @@ select:focus {
.form-search textarea,
.form-search select {
display : inline-block;
margin-bottom : 0;
margin-bottom : 0;
}
.form-search .search-query {
padding-left : 14px;
padding-right : 14px;
margin-bottom : 0;
@include rounded(14px);
margin-bottom : 0;
@include rounded(14px);
}
.form-search label {
display : inline-block;
+12 -12
View File
@@ -2,7 +2,7 @@
Grid mixins
========================================================================== */
/*
/*
Define number of columns in the grid
Common values would be 12, 16 or 24
========================================================================== */
@@ -16,7 +16,7 @@ $margin: 0;
width:$width;
}
/*
/*
Works out the width of elements based on total number of columns and width
number of columns being displayed. Removes 20px for margins.
========================================================================== */
@@ -25,9 +25,9 @@ $margin: 0;
display:$display;
float:$float;
width:(100%/$grid * $cols) - ($margin * 2);
}
}
/*
/*
Add x amount of column padding before an element
Example: @include prefix(1,12);
========================================================================== */
@@ -36,16 +36,16 @@ $margin: 0;
margin-left:(100%/$grid * $cols);
}
/*
/*
Add x amount of column padding after an element
Example: @include suffix(2,12);
========================================================================== */
@mixin suffix($grid:$def_grid,$cols:''){
margin-right:(100%/$grid * $cols);
@mixin suffix($grid:$def_grid,$cols:''){
margin-right:(100%/$grid * $cols);
}
/*
/*
Remove left margin
Example: @include first;
========================================================================== */
@@ -54,7 +54,7 @@ $margin: 0;
margin-left:0;
}
/*
/*
Remove right margin
Example: @include last;
========================================================================== */
@@ -63,7 +63,7 @@ $margin: 0;
margin-right:0;
}
/*
/*
Push an element x amount of column(s) to the right
Example: @include push(2,12);
========================================================================== */
@@ -71,9 +71,9 @@ $margin: 0;
@mixin push($grid:$def_grid,$move:'') {
position:relative;
left:(100%/$grid * $move);
}
}
/*
/*
Pull an element x amount of column(s) to the left
Example: @include pull(1,12);
========================================================================== */
+55 -55
View File
@@ -2,7 +2,7 @@
Utility mixins
========================================================================== */
/*
/*
Clearfix
For clearing floats like a boss h5bp.com/q
========================================================================== */
@@ -22,7 +22,7 @@
}
}
/*
/*
Webkit-style focus
========================================================================== */
@@ -34,7 +34,7 @@
outline-offset: -2px;
}
/*
/*
Center-align a block level element
========================================================================== */
@@ -48,7 +48,7 @@
Typography related mixins
========================================================================== */
/*
/*
Maintains vertical rhythm by setting a font-sizes proportional to
line-height and bottom margin
example: @font-size(16);
@@ -62,7 +62,7 @@
margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
}
/*
/*
Just font-size (REMs + pixel fallback)
example: @include font-rem(16);
========================================================================== */
@@ -72,7 +72,7 @@
font-size: 0rem + $size / $doc-font-size;
}
/*
/*
Just font-size (REMs + pixel fallback) and line-height
@include font(16);
========================================================================== */
@@ -83,14 +83,14 @@
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
}
/*
/*
Hide text overflow and end with ...
========================================================================== */
@mixin text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
white-space: nowrap;
}
/* Indentation variable */
@@ -120,7 +120,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
background-image : -ms-linear-gradient(top, $startColor, $endColor); // IE10
background-image : -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
background-image : linear-gradient(top, $startColor, $endColor); // W3C
background-repeat : repeat-x;
background-repeat : repeat-x;
}
@mixin directional($startColor : $white, $endColor : $lightergrey, $deg : 45deg) {
@@ -130,7 +130,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
background-image : -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
background-image : -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
background-image : linear-gradient($deg, $startColor, $endColor); // W3C
background-repeat : repeat-x;
background-repeat : repeat-x;
}
// .bordered(COLOR, COLOR, COLOR, COLOR);
@@ -138,7 +138,7 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
border-top : solid 1px $top-color;
border-left : solid 1px $left-color;
border-right : solid 1px $right-color;
border-bottom : solid 1px $bottom-color;
border-bottom : solid 1px $bottom-color;
}
/* ==========================================================================
@@ -147,16 +147,16 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
/*
/*
Round all corners
example: @include rounded(4px);
========================================================================== */
@mixin rounded($radius:4px) {
border-radius : $radius;
border-radius : $radius;
}
/*
/*
Round individual corners (top right, bottom right, bottom left, top left)
example: @include border-radius(4px, 0, 0, 4px);
========================================================================== */
@@ -167,11 +167,11 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
border-bottom-left-radius: $bottomleft;
border-top-left-radius: $topleft;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
/*
/*
Box shadow
example: @include box-shadow(HORIZONTAL VERTICAL BLUR COLOR));
========================================================================== */
@@ -179,10 +179,10 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
@mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
-webkit-box-shadow: $shadow;
-moz-box-shadow: $shadow;
box-shadow: $shadow;
box-shadow: $shadow;
}
/*
/*
Drop shadow
example: @include drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
========================================================================== */
@@ -190,10 +190,10 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
@mixin drop-shadow($x-axis: 0, $y-axis: 1px, $blur: 2px, $alpha: 0.1) {
-webkit-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
-moz-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
}
/*
/*
Text shadow
example: @include text-shadow(0 2px 3px rgba(0,0,0,.25));
========================================================================== */
@@ -201,20 +201,20 @@ $indent-var: 0rem + ($doc-line-height / $doc-font-size);
@mixin text-shadow($shadow: 0 2px 3px rgba(0,0,0,.25)) {
text-shadow: $shadow; }
/*
/*
Opacity
example: @include opacity(0.5); // 50% opacity
========================================================================== */
@mixin opacity($opacity: 0.5) {
opacity: $opacity;
opacity: $opacity;
}
/* ==========================================================================
Transformations
========================================================================== */
/*
/*
@include rotate(VALUEdeg);
========================================================================== */
@@ -223,10 +223,10 @@ text-shadow: $shadow; }
-moz-transform: rotate($deg);
-ms-transform: rotate($deg);
-o-transform: rotate($deg);
transform: rotate($deg);
transform: rotate($deg);
}
/*
/*
@include scale(VALUE);
========================================================================== */
@@ -235,10 +235,10 @@ text-shadow: $shadow; }
-moz-transform: scale($ratio);
-ms-transform: scale($ratio);
-o-transform: scale($ratio);
transform: scale($ratio);
transform: scale($ratio);
}
/*
/*
@include skew(VALUE, VALUE);
========================================================================== */
@@ -247,10 +247,10 @@ text-shadow: $shadow; }
-moz-transform: skew($x, $y);
-ms-transform: skew($x, $y);
-o-transform: skew($x, $y);
transform: skew($x, $y);
transform: skew($x, $y);
}
/*
/*
@include transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
========================================================================== */
@@ -259,10 +259,10 @@ text-shadow: $shadow; }
-moz-transition: $transition;
-ms-transition: $transition;
-o-transition: $transition;
transition: $transition;
transition: $transition;
}
/*
/*
@include translate(VALUE, VALUE);
========================================================================== */
@@ -271,7 +271,7 @@ text-shadow: $shadow; }
-moz-transform: translate($x, $y);
-ms-transform: translate($x, $y);
-o-transform: translate($x, $y);
transform: translate($x, $y);
transform: translate($x, $y);
}
@mixin translate3d($x: 0, $y: 0, $z: 0) {
@@ -279,7 +279,7 @@ text-shadow: $shadow; }
-moz-transform: translate($x, $y, $z);
-ms-transform: translate($x, $y, $z);
-o-transform: translate($x, $y, $z);
transform: translate($x, $y, $z);
transform: translate($x, $y, $z);
}
@mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease) {
@@ -292,15 +292,15 @@ text-shadow: $shadow; }
Background
========================================================================== */
/*
/*
@include background-alpha(VALUE VALUE);
========================================================================== */
@mixin background-alpha($color: $white, $alpha: 1) {
background-color: hsla(hue($color), saturation($color), lightness($color), $alpha);
background-color: hsla(hue($color), saturation($color), lightness($color), $alpha);
}
/*
/*
@include background-size(VALUE VALUE);
========================================================================== */
@@ -308,10 +308,10 @@ text-shadow: $shadow; }
-webkit-background-size: $size;
-moz-background-size: $size;
-o-background-size: $size;
background-size: $size;
background-size: $size;
}
/*
/*
Box-sizing
example: @include box-sizing(VALUE); //(border-box, padding-box, content-box)
========================================================================== */
@@ -320,7 +320,7 @@ text-shadow: $shadow; }
-webkit-box-sizing: $boxsize;
-moz-box-sizing: $boxsize;
-ms-box-sizing: $boxsize;
box-sizing: $boxsize;
box-sizing: $boxsize;
}
/* ==========================================================================
@@ -330,10 +330,10 @@ text-shadow: $shadow; }
@mixin hide-text() {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
overflow: hidden;
}
/*
/*
Hide from visual and speaking browsers
========================================================================== */
@@ -342,15 +342,15 @@ text-shadow: $shadow; }
visibility: hidden;
}
/*
/*
Hide but maintain layout
========================================================================== */
@mixin invisible() {
visibility: hidden;
@mixin invisible() {
visibility: hidden;
}
/*
/*
Resize
example: @include resize(VALUE); //(none, both, horizontal, vertical, inherit)
@@ -358,19 +358,19 @@ text-shadow: $shadow; }
@mixin resize($direction: both) {
resize: $direction;
overflow: auto;
overflow: auto;
}
/*
/*
Hidden but available to speaking browsers
========================================================================== */
@mixin visuallyhidden() {
overflow: hidden;
@mixin visuallyhidden() {
overflow: hidden;
position: absolute;
clip: rect(0 0 0 0);
height: 1px;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0; }
margin: -1px;
padding: 0;
border: 0; }
+16 -24
View File
@@ -8,7 +8,7 @@ body {
color: $text-color;
}
/*
/*
Header
========================================================================== */
@@ -79,7 +79,7 @@ body {
white-space: nowrap;
border-bottom: 0 solid transparent;
}
a {
a {
display: block;
padding: 10px 0;
decoration: none;
@@ -165,11 +165,11 @@ $button-size: 1.5rem;
}
}
// Style the toggle menu link and hide it
.nav .navtoggle {
.nav .navtoogle {
@include font-rem(18);
font-weight: normal;
background-color: $black;
color: $white;
color: $white;
border: none;
cursor: pointer;
@media #{$small} {
@@ -180,7 +180,7 @@ $button-size: 1.5rem;
border: none;
background: none;
}
.navtoggle i {
.navtoogle i {
z-index:-1;
}
.icon-menu {
@@ -206,7 +206,7 @@ $button-size: 1.5rem;
}
}
// Displaying the menu when the user has clicked on the button
.js .nav .active + ul {
.js .nav .active + ul {
max-height: 30em;
overflow: hidden;
-webkit-transition: max-height .4s;
@@ -234,15 +234,12 @@ $button-size: 1.5rem;
@include suffix(12,1);
margin-bottom: 2em;
@media #{$small} {
@include grid(12,8);
@include grid(12,6);
@include prefix(12,0);
@include suffix(12,0);
}
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} {
@include grid(12,5);
@include grid(12,4.5);
}
}
}
@@ -255,15 +252,12 @@ $button-size: 1.5rem;
@include suffix(12,1);
margin-bottom: 2em;
@media #{$small} {
@include grid(12,8);
@include grid(12,6);
@include prefix(12,0);
@include suffix(12,0);
}
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} {
@include grid(12,5);
@include grid(12,4.5);
}
h3 {
margin: 0;
@@ -449,8 +443,6 @@ $button-size: 1.5rem;
.article-wrap {
// Dotted line underlines for links
p > a,
p > em > a,
p > strong > a,
li > a {
text-decoration: underline;
}
@@ -556,7 +548,7 @@ $button-size: 1.5rem;
margin: 1em 0;
li {
display: inline;
a {
a {
border-bottom: 0 solid transparent;
&:hover {
border-bottom: 0 solid transparent;
@@ -582,7 +574,7 @@ $button-size: 1.5rem;
li {
display: inline-block;
}
$social:
$social:
(facebook, $facebook-color),
(flickr, $flickr-color),
(foursquare, $foursquare-color),
@@ -598,7 +590,7 @@ $button-size: 1.5rem;
@each $socialnetwork, $color in $social {
.#{$socialnetwork} {
background: $color;
}
}
}
a {
display: block;
@@ -642,7 +634,7 @@ $button-size: 1.5rem;
h4,
h5,
h6,
span {
span {
@include font-rem(14);
}
footer {
@@ -687,7 +679,7 @@ $button-size: 1.5rem;
}
}
/*
/*
Browser upgrade alert
========================================================================== */
@@ -707,7 +699,7 @@ $button-size: 1.5rem;
}
}
}
/*
/*
Google search form
========================================================================== */
-16
View File
@@ -1,16 +0,0 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */
/*
Hide the following elements on print
========================================================================== */
@media print {
.top-navigation,
.social-share,
.related-articles,
.google-ads {
display: none;
}
}
+2 -7
View File
@@ -1,16 +1,11 @@
/* ==========================================================================
Syntax highlighting
Pygments.rb syntax highlighting
========================================================================== */
pre.highlight {
padding: 1em;
}
.highlight {
background-color: #efefef;
font-family: $code-font;
@include font-rem(12);
line-height: 1.5;
@include font(12);
color: #333332;
margin-bottom: 1.5em;
@include rounded(4px);
+13 -13
View File
@@ -2,22 +2,22 @@
Site wide styles
========================================================================== */
/*
/*
Selection
========================================================================== */
::-moz-selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
}
::selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
::-moz-selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
}
::selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
}
/*
/*
Global classes
========================================================================== */
@@ -63,10 +63,10 @@
}
}
/*
/*
Global transition
========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
@include transition(all .2s ease);
}
}
+21 -21
View File
@@ -2,7 +2,7 @@
Typography
========================================================================== */
/*
/*
Headings
========================================================================== */
@@ -28,30 +28,30 @@ h6 {
@include font-size(14);
}
/*
/*
Links
========================================================================== */
a {
a {
text-decoration: none;
color: $link-color;
&:visited {
color: $linkcolorvisited;
color: $link-color;
&:visited {
color: $linkcolorvisited;
}
&:hover {
color: $linkcolorhover;
&:hover {
color: $linkcolorhover;
}
&:focus {
outline: thin dotted;
&:focus {
outline: thin dotted;
color: $linkcolorfocus;
}
&:hover,
&:active {
outline: 0;
&:hover,
&:active {
outline: 0;
}
}
/*
/*
Figure captions
========================================================================== */
@@ -62,7 +62,7 @@ figcaption {
color: lighten($text-color, 10);
}
/*
/*
Feature image captions
========================================================================== */
@@ -89,7 +89,7 @@ figcaption {
}
}
/*
/*
Notices
========================================================================== */
@@ -103,7 +103,7 @@ figcaption {
@include rounded(3px);
}
/*
/*
Blockquotes
========================================================================== */
@@ -115,7 +115,7 @@ blockquote {
font-style: italic;
}
/*
/*
Footnotes
========================================================================== */
@@ -126,7 +126,7 @@ blockquote {
}
}
/*
/*
Paragraphs
========================================================================== */
@@ -141,7 +141,7 @@ p {
}
}
/*
/*
Code snippets
========================================================================== */
@@ -149,7 +149,7 @@ tt, code, kbd, samp, pre {
font-family: $code-font;
}
p,
li {
li {
code {
@include font-rem(12);
line-height: 1.5;
+7 -7
View File
@@ -2,7 +2,7 @@
Sass variables
========================================================================== */
/*
/*
Typography
========================================================================== */
@@ -14,7 +14,7 @@ $heading-font: 'PT Sans Narrow', sans-serif;
$code-font: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
$alt-font: $base-font;
/*
/*
Colors
========================================================================== */
@@ -23,8 +23,8 @@ $body-color : $bodycolor;
$textcolor : #333332;
$text-color : $textcolor;
$border-color : $text-color;
$basecolor : #343434;
$compcolor : spin($basecolor, 180);
$basecolor : #343434;
$compcolor : spin($basecolor, 180);
$bordercolor : $basecolor;
$white : #fff;
$black : #111;
@@ -58,12 +58,12 @@ $linkcolorhover : darken($linkcolor, 10);
$linkcolorvisited : lighten($linkcolorhover, 20);
$linkcolorfocus : darken($linkcolorvisited, 10);
/*
/*
Breakpoints
========================================================================== */
$micro : "only screen and (min-width: 30em)";
$small : "only screen and (min-width: 37.5em)";
$medium : "only screen and (min-width: 48em)";
$large : "only screen and (min-width: 62em)";
$x-large : "only screen and (min-width: 86.375em)";
$x-large : "only screen and (min-width: 86.375em)";
-34
View File
@@ -1,34 +0,0 @@
// Spinning Icons
// --------------------------
.#{$fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.#{$fa-css-prefix}-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
-9
View File
@@ -7,15 +7,6 @@
border-radius: .1em;
}
.#{$fa-css-prefix}-pull-left { float: left; }
.#{$fa-css-prefix}-pull-right { float: right; }
.#{$fa-css-prefix} {
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
}
/* Deprecated as of 4.4.0 */
.pull-right { float: right; }
.pull-left { float: left; }
+4 -4
View File
@@ -3,10 +3,10 @@
.#{$fa-css-prefix} {
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
+3 -194
View File
@@ -14,8 +14,6 @@
.#{$fa-css-prefix}-th:before { content: $fa-var-th; }
.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; }
.#{$fa-css-prefix}-check:before { content: $fa-var-check; }
.#{$fa-css-prefix}-remove:before,
.#{$fa-css-prefix}-close:before,
.#{$fa-css-prefix}-times:before { content: $fa-var-times; }
.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; }
.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; }
@@ -131,8 +129,7 @@
.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; }
.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; }
.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; }
.#{$fa-css-prefix}-bar-chart-o:before,
.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; }
.#{$fa-css-prefix}-bar-chart-o:before { content: $fa-var-bar-chart-o; }
.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; }
.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; }
.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; }
@@ -158,12 +155,10 @@
.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; }
.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; }
.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; }
.#{$fa-css-prefix}-facebook-f:before,
.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; }
.#{$fa-css-prefix}-github:before { content: $fa-var-github; }
.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; }
.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; }
.#{$fa-css-prefix}-feed:before,
.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }
.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; }
.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; }
@@ -399,8 +394,7 @@
.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; }
.#{$fa-css-prefix}-female:before { content: $fa-var-female; }
.#{$fa-css-prefix}-male:before { content: $fa-var-male; }
.#{$fa-css-prefix}-gittip:before,
.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; }
.#{$fa-css-prefix}-gittip:before { content: $fa-var-gittip; }
.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; }
.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; }
.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; }
@@ -438,6 +432,7 @@
.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }
.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }
.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; }
.#{$fa-css-prefix}-pied-piper-square:before,
.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }
.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }
.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }
@@ -482,7 +477,6 @@
.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; }
.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; }
.#{$fa-css-prefix}-life-bouy:before,
.#{$fa-css-prefix}-life-buoy:before,
.#{$fa-css-prefix}-life-saver:before,
.#{$fa-css-prefix}-support:before,
.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }
@@ -493,8 +487,6 @@
.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }
.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; }
.#{$fa-css-prefix}-git:before { content: $fa-var-git; }
.#{$fa-css-prefix}-y-combinator-square:before,
.#{$fa-css-prefix}-yc-square:before,
.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; }
.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; }
.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; }
@@ -512,186 +504,3 @@
.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; }
.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; }
.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; }
.#{$fa-css-prefix}-soccer-ball-o:before,
.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; }
.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; }
.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; }
.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; }
.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; }
.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; }
.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; }
.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; }
.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; }
.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; }
.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; }
.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; }
.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; }
.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; }
.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; }
.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; }
.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; }
.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; }
.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; }
.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; }
.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; }
.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; }
.#{$fa-css-prefix}-at:before { content: $fa-var-at; }
.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; }
.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; }
.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; }
.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; }
.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; }
.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; }
.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; }
.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; }
.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; }
.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; }
.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; }
.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; }
.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; }
.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; }
.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; }
.#{$fa-css-prefix}-shekel:before,
.#{$fa-css-prefix}-sheqel:before,
.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; }
.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; }
.#{$fa-css-prefix}-buysellads:before { content: $fa-var-buysellads; }
.#{$fa-css-prefix}-connectdevelop:before { content: $fa-var-connectdevelop; }
.#{$fa-css-prefix}-dashcube:before { content: $fa-var-dashcube; }
.#{$fa-css-prefix}-forumbee:before { content: $fa-var-forumbee; }
.#{$fa-css-prefix}-leanpub:before { content: $fa-var-leanpub; }
.#{$fa-css-prefix}-sellsy:before { content: $fa-var-sellsy; }
.#{$fa-css-prefix}-shirtsinbulk:before { content: $fa-var-shirtsinbulk; }
.#{$fa-css-prefix}-simplybuilt:before { content: $fa-var-simplybuilt; }
.#{$fa-css-prefix}-skyatlas:before { content: $fa-var-skyatlas; }
.#{$fa-css-prefix}-cart-plus:before { content: $fa-var-cart-plus; }
.#{$fa-css-prefix}-cart-arrow-down:before { content: $fa-var-cart-arrow-down; }
.#{$fa-css-prefix}-diamond:before { content: $fa-var-diamond; }
.#{$fa-css-prefix}-ship:before { content: $fa-var-ship; }
.#{$fa-css-prefix}-user-secret:before { content: $fa-var-user-secret; }
.#{$fa-css-prefix}-motorcycle:before { content: $fa-var-motorcycle; }
.#{$fa-css-prefix}-street-view:before { content: $fa-var-street-view; }
.#{$fa-css-prefix}-heartbeat:before { content: $fa-var-heartbeat; }
.#{$fa-css-prefix}-venus:before { content: $fa-var-venus; }
.#{$fa-css-prefix}-mars:before { content: $fa-var-mars; }
.#{$fa-css-prefix}-mercury:before { content: $fa-var-mercury; }
.#{$fa-css-prefix}-intersex:before,
.#{$fa-css-prefix}-transgender:before { content: $fa-var-transgender; }
.#{$fa-css-prefix}-transgender-alt:before { content: $fa-var-transgender-alt; }
.#{$fa-css-prefix}-venus-double:before { content: $fa-var-venus-double; }
.#{$fa-css-prefix}-mars-double:before { content: $fa-var-mars-double; }
.#{$fa-css-prefix}-venus-mars:before { content: $fa-var-venus-mars; }
.#{$fa-css-prefix}-mars-stroke:before { content: $fa-var-mars-stroke; }
.#{$fa-css-prefix}-mars-stroke-v:before { content: $fa-var-mars-stroke-v; }
.#{$fa-css-prefix}-mars-stroke-h:before { content: $fa-var-mars-stroke-h; }
.#{$fa-css-prefix}-neuter:before { content: $fa-var-neuter; }
.#{$fa-css-prefix}-genderless:before { content: $fa-var-genderless; }
.#{$fa-css-prefix}-facebook-official:before { content: $fa-var-facebook-official; }
.#{$fa-css-prefix}-pinterest-p:before { content: $fa-var-pinterest-p; }
.#{$fa-css-prefix}-whatsapp:before { content: $fa-var-whatsapp; }
.#{$fa-css-prefix}-server:before { content: $fa-var-server; }
.#{$fa-css-prefix}-user-plus:before { content: $fa-var-user-plus; }
.#{$fa-css-prefix}-user-times:before { content: $fa-var-user-times; }
.#{$fa-css-prefix}-hotel:before,
.#{$fa-css-prefix}-bed:before { content: $fa-var-bed; }
.#{$fa-css-prefix}-viacoin:before { content: $fa-var-viacoin; }
.#{$fa-css-prefix}-train:before { content: $fa-var-train; }
.#{$fa-css-prefix}-subway:before { content: $fa-var-subway; }
.#{$fa-css-prefix}-medium:before { content: $fa-var-medium; }
.#{$fa-css-prefix}-yc:before,
.#{$fa-css-prefix}-y-combinator:before { content: $fa-var-y-combinator; }
.#{$fa-css-prefix}-optin-monster:before { content: $fa-var-optin-monster; }
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
.#{$fa-css-prefix}-battery-4:before,
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
.#{$fa-css-prefix}-battery-3:before,
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
.#{$fa-css-prefix}-battery-2:before,
.#{$fa-css-prefix}-battery-half:before { content: $fa-var-battery-half; }
.#{$fa-css-prefix}-battery-1:before,
.#{$fa-css-prefix}-battery-quarter:before { content: $fa-var-battery-quarter; }
.#{$fa-css-prefix}-battery-0:before,
.#{$fa-css-prefix}-battery-empty:before { content: $fa-var-battery-empty; }
.#{$fa-css-prefix}-mouse-pointer:before { content: $fa-var-mouse-pointer; }
.#{$fa-css-prefix}-i-cursor:before { content: $fa-var-i-cursor; }
.#{$fa-css-prefix}-object-group:before { content: $fa-var-object-group; }
.#{$fa-css-prefix}-object-ungroup:before { content: $fa-var-object-ungroup; }
.#{$fa-css-prefix}-sticky-note:before { content: $fa-var-sticky-note; }
.#{$fa-css-prefix}-sticky-note-o:before { content: $fa-var-sticky-note-o; }
.#{$fa-css-prefix}-cc-jcb:before { content: $fa-var-cc-jcb; }
.#{$fa-css-prefix}-cc-diners-club:before { content: $fa-var-cc-diners-club; }
.#{$fa-css-prefix}-clone:before { content: $fa-var-clone; }
.#{$fa-css-prefix}-balance-scale:before { content: $fa-var-balance-scale; }
.#{$fa-css-prefix}-hourglass-o:before { content: $fa-var-hourglass-o; }
.#{$fa-css-prefix}-hourglass-1:before,
.#{$fa-css-prefix}-hourglass-start:before { content: $fa-var-hourglass-start; }
.#{$fa-css-prefix}-hourglass-2:before,
.#{$fa-css-prefix}-hourglass-half:before { content: $fa-var-hourglass-half; }
.#{$fa-css-prefix}-hourglass-3:before,
.#{$fa-css-prefix}-hourglass-end:before { content: $fa-var-hourglass-end; }
.#{$fa-css-prefix}-hourglass:before { content: $fa-var-hourglass; }
.#{$fa-css-prefix}-hand-grab-o:before,
.#{$fa-css-prefix}-hand-rock-o:before { content: $fa-var-hand-rock-o; }
.#{$fa-css-prefix}-hand-stop-o:before,
.#{$fa-css-prefix}-hand-paper-o:before { content: $fa-var-hand-paper-o; }
.#{$fa-css-prefix}-hand-scissors-o:before { content: $fa-var-hand-scissors-o; }
.#{$fa-css-prefix}-hand-lizard-o:before { content: $fa-var-hand-lizard-o; }
.#{$fa-css-prefix}-hand-spock-o:before { content: $fa-var-hand-spock-o; }
.#{$fa-css-prefix}-hand-pointer-o:before { content: $fa-var-hand-pointer-o; }
.#{$fa-css-prefix}-hand-peace-o:before { content: $fa-var-hand-peace-o; }
.#{$fa-css-prefix}-trademark:before { content: $fa-var-trademark; }
.#{$fa-css-prefix}-registered:before { content: $fa-var-registered; }
.#{$fa-css-prefix}-creative-commons:before { content: $fa-var-creative-commons; }
.#{$fa-css-prefix}-gg:before { content: $fa-var-gg; }
.#{$fa-css-prefix}-gg-circle:before { content: $fa-var-gg-circle; }
.#{$fa-css-prefix}-tripadvisor:before { content: $fa-var-tripadvisor; }
.#{$fa-css-prefix}-odnoklassniki:before { content: $fa-var-odnoklassniki; }
.#{$fa-css-prefix}-odnoklassniki-square:before { content: $fa-var-odnoklassniki-square; }
.#{$fa-css-prefix}-get-pocket:before { content: $fa-var-get-pocket; }
.#{$fa-css-prefix}-wikipedia-w:before { content: $fa-var-wikipedia-w; }
.#{$fa-css-prefix}-safari:before { content: $fa-var-safari; }
.#{$fa-css-prefix}-chrome:before { content: $fa-var-chrome; }
.#{$fa-css-prefix}-firefox:before { content: $fa-var-firefox; }
.#{$fa-css-prefix}-opera:before { content: $fa-var-opera; }
.#{$fa-css-prefix}-internet-explorer:before { content: $fa-var-internet-explorer; }
.#{$fa-css-prefix}-tv:before,
.#{$fa-css-prefix}-television:before { content: $fa-var-television; }
.#{$fa-css-prefix}-contao:before { content: $fa-var-contao; }
.#{$fa-css-prefix}-500px:before { content: $fa-var-500px; }
.#{$fa-css-prefix}-amazon:before { content: $fa-var-amazon; }
.#{$fa-css-prefix}-calendar-plus-o:before { content: $fa-var-calendar-plus-o; }
.#{$fa-css-prefix}-calendar-minus-o:before { content: $fa-var-calendar-minus-o; }
.#{$fa-css-prefix}-calendar-times-o:before { content: $fa-var-calendar-times-o; }
.#{$fa-css-prefix}-calendar-check-o:before { content: $fa-var-calendar-check-o; }
.#{$fa-css-prefix}-industry:before { content: $fa-var-industry; }
.#{$fa-css-prefix}-map-pin:before { content: $fa-var-map-pin; }
.#{$fa-css-prefix}-map-signs:before { content: $fa-var-map-signs; }
.#{$fa-css-prefix}-map-o:before { content: $fa-var-map-o; }
.#{$fa-css-prefix}-map:before { content: $fa-var-map; }
.#{$fa-css-prefix}-commenting:before { content: $fa-var-commenting; }
.#{$fa-css-prefix}-commenting-o:before { content: $fa-var-commenting-o; }
.#{$fa-css-prefix}-houzz:before { content: $fa-var-houzz; }
.#{$fa-css-prefix}-vimeo:before { content: $fa-var-vimeo; }
.#{$fa-css-prefix}-black-tie:before { content: $fa-var-black-tie; }
.#{$fa-css-prefix}-fonticons:before { content: $fa-var-fonticons; }
.#{$fa-css-prefix}-reddit-alien:before { content: $fa-var-reddit-alien; }
.#{$fa-css-prefix}-edge:before { content: $fa-var-edge; }
.#{$fa-css-prefix}-credit-card-alt:before { content: $fa-var-credit-card-alt; }
.#{$fa-css-prefix}-codiepie:before { content: $fa-var-codiepie; }
.#{$fa-css-prefix}-modx:before { content: $fa-var-modx; }
.#{$fa-css-prefix}-fort-awesome:before { content: $fa-var-fort-awesome; }
.#{$fa-css-prefix}-usb:before { content: $fa-var-usb; }
.#{$fa-css-prefix}-product-hunt:before { content: $fa-var-product-hunt; }
.#{$fa-css-prefix}-mixcloud:before { content: $fa-var-mixcloud; }
.#{$fa-css-prefix}-scribd:before { content: $fa-var-scribd; }
.#{$fa-css-prefix}-pause-circle:before { content: $fa-var-pause-circle; }
.#{$fa-css-prefix}-pause-circle-o:before { content: $fa-var-pause-circle-o; }
.#{$fa-css-prefix}-stop-circle:before { content: $fa-var-stop-circle; }
.#{$fa-css-prefix}-stop-circle-o:before { content: $fa-var-stop-circle-o; }
.#{$fa-css-prefix}-shopping-bag:before { content: $fa-var-shopping-bag; }
.#{$fa-css-prefix}-shopping-basket:before { content: $fa-var-shopping-basket; }
.#{$fa-css-prefix}-hashtag:before { content: $fa-var-hashtag; }
.#{$fa-css-prefix}-bluetooth:before { content: $fa-var-bluetooth; }
.#{$fa-css-prefix}-bluetooth-b:before { content: $fa-var-bluetooth-b; }
.#{$fa-css-prefix}-percent:before { content: $fa-var-percent; }
+4 -10
View File
@@ -1,26 +1,20 @@
// Mixins
// --------------------------
@mixin fa-icon() {
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@mixin fa-icon-rotate($degrees, $rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
-webkit-transform: rotate($degrees);
-moz-transform: rotate($degrees);
-ms-transform: rotate($degrees);
-o-transform: rotate($degrees);
transform: rotate($degrees);
}
@mixin fa-icon-flip($horiz, $vert, $rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
-webkit-transform: scale($horiz, $vert);
-moz-transform: scale($horiz, $vert);
-ms-transform: scale($horiz, $vert);
-o-transform: scale($horiz, $vert);
transform: scale($horiz, $vert);
}
+1 -2
View File
@@ -5,11 +5,10 @@
font-family: 'FontAwesome';
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),
url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
//src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal;
font-style: normal;
}
-11
View File
@@ -7,14 +7,3 @@
.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }
// Hook for IE8-9
// -------------------------
:root .#{$fa-css-prefix}-rotate-90,
:root .#{$fa-css-prefix}-rotate-180,
:root .#{$fa-css-prefix}-rotate-270,
:root .#{$fa-css-prefix}-flip-horizontal,
:root .#{$fa-css-prefix}-flip-vertical {
filter: none;
}
+32
View File
@@ -0,0 +1,32 @@
// Spinning Icons
// --------------------------
.#{$fa-css-prefix}-spin {
-webkit-animation: spin 2s infinite linear;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); }
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
+3 -196
View File
@@ -2,27 +2,22 @@
// --------------------------
$fa-font-path: "../fonts" !default;
$fa-font-size-base: 14px !default;
$fa-line-height-base: 1 !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.5.0/fonts" !default; // for referencing Bootstrap CDN font files directly
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.1.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix: fa !default;
$fa-version: "4.5.0" !default;
$fa-version: "4.1.0" !default;
$fa-border-color: #eee !default;
$fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default;
$fa-var-500px: "\f26e";
$fa-var-adjust: "\f042";
$fa-var-adn: "\f170";
$fa-var-align-center: "\f037";
$fa-var-align-justify: "\f039";
$fa-var-align-left: "\f036";
$fa-var-align-right: "\f038";
$fa-var-amazon: "\f270";
$fa-var-ambulance: "\f0f9";
$fa-var-anchor: "\f13d";
$fa-var-android: "\f17b";
$fa-var-angellist: "\f209";
$fa-var-angle-double-down: "\f103";
$fa-var-angle-double-left: "\f100";
$fa-var-angle-double-right: "\f101";
@@ -33,7 +28,6 @@ $fa-var-angle-right: "\f105";
$fa-var-angle-up: "\f106";
$fa-var-apple: "\f179";
$fa-var-archive: "\f187";
$fa-var-area-chart: "\f1fe";
$fa-var-arrow-circle-down: "\f0ab";
$fa-var-arrow-circle-left: "\f0a8";
$fa-var-arrow-circle-o-down: "\f01a";
@@ -51,43 +45,21 @@ $fa-var-arrows-alt: "\f0b2";
$fa-var-arrows-h: "\f07e";
$fa-var-arrows-v: "\f07d";
$fa-var-asterisk: "\f069";
$fa-var-at: "\f1fa";
$fa-var-automobile: "\f1b9";
$fa-var-backward: "\f04a";
$fa-var-balance-scale: "\f24e";
$fa-var-ban: "\f05e";
$fa-var-bank: "\f19c";
$fa-var-bar-chart: "\f080";
$fa-var-bar-chart-o: "\f080";
$fa-var-barcode: "\f02a";
$fa-var-bars: "\f0c9";
$fa-var-battery-0: "\f244";
$fa-var-battery-1: "\f243";
$fa-var-battery-2: "\f242";
$fa-var-battery-3: "\f241";
$fa-var-battery-4: "\f240";
$fa-var-battery-empty: "\f244";
$fa-var-battery-full: "\f240";
$fa-var-battery-half: "\f242";
$fa-var-battery-quarter: "\f243";
$fa-var-battery-three-quarters: "\f241";
$fa-var-bed: "\f236";
$fa-var-beer: "\f0fc";
$fa-var-behance: "\f1b4";
$fa-var-behance-square: "\f1b5";
$fa-var-bell: "\f0f3";
$fa-var-bell-o: "\f0a2";
$fa-var-bell-slash: "\f1f6";
$fa-var-bell-slash-o: "\f1f7";
$fa-var-bicycle: "\f206";
$fa-var-binoculars: "\f1e5";
$fa-var-birthday-cake: "\f1fd";
$fa-var-bitbucket: "\f171";
$fa-var-bitbucket-square: "\f172";
$fa-var-bitcoin: "\f15a";
$fa-var-black-tie: "\f27e";
$fa-var-bluetooth: "\f293";
$fa-var-bluetooth-b: "\f294";
$fa-var-bold: "\f032";
$fa-var-bolt: "\f0e7";
$fa-var-bomb: "\f1e2";
@@ -101,16 +73,9 @@ $fa-var-building: "\f1ad";
$fa-var-building-o: "\f0f7";
$fa-var-bullhorn: "\f0a1";
$fa-var-bullseye: "\f140";
$fa-var-bus: "\f207";
$fa-var-buysellads: "\f20d";
$fa-var-cab: "\f1ba";
$fa-var-calculator: "\f1ec";
$fa-var-calendar: "\f073";
$fa-var-calendar-check-o: "\f274";
$fa-var-calendar-minus-o: "\f272";
$fa-var-calendar-o: "\f133";
$fa-var-calendar-plus-o: "\f271";
$fa-var-calendar-times-o: "\f273";
$fa-var-camera: "\f030";
$fa-var-camera-retro: "\f083";
$fa-var-car: "\f1b9";
@@ -122,17 +87,6 @@ $fa-var-caret-square-o-left: "\f191";
$fa-var-caret-square-o-right: "\f152";
$fa-var-caret-square-o-up: "\f151";
$fa-var-caret-up: "\f0d8";
$fa-var-cart-arrow-down: "\f218";
$fa-var-cart-plus: "\f217";
$fa-var-cc: "\f20a";
$fa-var-cc-amex: "\f1f3";
$fa-var-cc-diners-club: "\f24c";
$fa-var-cc-discover: "\f1f2";
$fa-var-cc-jcb: "\f24b";
$fa-var-cc-mastercard: "\f1f1";
$fa-var-cc-paypal: "\f1f4";
$fa-var-cc-stripe: "\f1f5";
$fa-var-cc-visa: "\f1f0";
$fa-var-certificate: "\f0a3";
$fa-var-chain: "\f0c1";
$fa-var-chain-broken: "\f127";
@@ -150,15 +104,12 @@ $fa-var-chevron-left: "\f053";
$fa-var-chevron-right: "\f054";
$fa-var-chevron-up: "\f077";
$fa-var-child: "\f1ae";
$fa-var-chrome: "\f268";
$fa-var-circle: "\f111";
$fa-var-circle-o: "\f10c";
$fa-var-circle-o-notch: "\f1ce";
$fa-var-circle-thin: "\f1db";
$fa-var-clipboard: "\f0ea";
$fa-var-clock-o: "\f017";
$fa-var-clone: "\f24d";
$fa-var-close: "\f00d";
$fa-var-cloud: "\f0c2";
$fa-var-cloud-download: "\f0ed";
$fa-var-cloud-upload: "\f0ee";
@@ -166,26 +117,18 @@ $fa-var-cny: "\f157";
$fa-var-code: "\f121";
$fa-var-code-fork: "\f126";
$fa-var-codepen: "\f1cb";
$fa-var-codiepie: "\f284";
$fa-var-coffee: "\f0f4";
$fa-var-cog: "\f013";
$fa-var-cogs: "\f085";
$fa-var-columns: "\f0db";
$fa-var-comment: "\f075";
$fa-var-comment-o: "\f0e5";
$fa-var-commenting: "\f27a";
$fa-var-commenting-o: "\f27b";
$fa-var-comments: "\f086";
$fa-var-comments-o: "\f0e6";
$fa-var-compass: "\f14e";
$fa-var-compress: "\f066";
$fa-var-connectdevelop: "\f20e";
$fa-var-contao: "\f26d";
$fa-var-copy: "\f0c5";
$fa-var-copyright: "\f1f9";
$fa-var-creative-commons: "\f25e";
$fa-var-credit-card: "\f09d";
$fa-var-credit-card-alt: "\f283";
$fa-var-crop: "\f125";
$fa-var-crosshairs: "\f05b";
$fa-var-css3: "\f13c";
@@ -194,13 +137,11 @@ $fa-var-cubes: "\f1b3";
$fa-var-cut: "\f0c4";
$fa-var-cutlery: "\f0f5";
$fa-var-dashboard: "\f0e4";
$fa-var-dashcube: "\f210";
$fa-var-database: "\f1c0";
$fa-var-dedent: "\f03b";
$fa-var-delicious: "\f1a5";
$fa-var-desktop: "\f108";
$fa-var-deviantart: "\f1bd";
$fa-var-diamond: "\f219";
$fa-var-digg: "\f1a6";
$fa-var-dollar: "\f155";
$fa-var-dot-circle-o: "\f192";
@@ -208,7 +149,6 @@ $fa-var-download: "\f019";
$fa-var-dribbble: "\f17d";
$fa-var-dropbox: "\f16b";
$fa-var-drupal: "\f1a9";
$fa-var-edge: "\f282";
$fa-var-edit: "\f044";
$fa-var-eject: "\f052";
$fa-var-ellipsis-h: "\f141";
@@ -225,20 +165,15 @@ $fa-var-exclamation: "\f12a";
$fa-var-exclamation-circle: "\f06a";
$fa-var-exclamation-triangle: "\f071";
$fa-var-expand: "\f065";
$fa-var-expeditedssl: "\f23e";
$fa-var-external-link: "\f08e";
$fa-var-external-link-square: "\f14c";
$fa-var-eye: "\f06e";
$fa-var-eye-slash: "\f070";
$fa-var-eyedropper: "\f1fb";
$fa-var-facebook: "\f09a";
$fa-var-facebook-f: "\f09a";
$fa-var-facebook-official: "\f230";
$fa-var-facebook-square: "\f082";
$fa-var-fast-backward: "\f049";
$fa-var-fast-forward: "\f050";
$fa-var-fax: "\f1ac";
$fa-var-feed: "\f09e";
$fa-var-female: "\f182";
$fa-var-fighter-jet: "\f0fb";
$fa-var-file: "\f15b";
@@ -264,7 +199,6 @@ $fa-var-film: "\f008";
$fa-var-filter: "\f0b0";
$fa-var-fire: "\f06d";
$fa-var-fire-extinguisher: "\f134";
$fa-var-firefox: "\f269";
$fa-var-flag: "\f024";
$fa-var-flag-checkered: "\f11e";
$fa-var-flag-o: "\f11d";
@@ -277,23 +211,15 @@ $fa-var-folder-o: "\f114";
$fa-var-folder-open: "\f07c";
$fa-var-folder-open-o: "\f115";
$fa-var-font: "\f031";
$fa-var-fonticons: "\f280";
$fa-var-fort-awesome: "\f286";
$fa-var-forumbee: "\f211";
$fa-var-forward: "\f04e";
$fa-var-foursquare: "\f180";
$fa-var-frown-o: "\f119";
$fa-var-futbol-o: "\f1e3";
$fa-var-gamepad: "\f11b";
$fa-var-gavel: "\f0e3";
$fa-var-gbp: "\f154";
$fa-var-ge: "\f1d1";
$fa-var-gear: "\f013";
$fa-var-gears: "\f085";
$fa-var-genderless: "\f22d";
$fa-var-get-pocket: "\f265";
$fa-var-gg: "\f260";
$fa-var-gg-circle: "\f261";
$fa-var-gift: "\f06b";
$fa-var-git: "\f1d3";
$fa-var-git-square: "\f1d2";
@@ -306,60 +232,31 @@ $fa-var-globe: "\f0ac";
$fa-var-google: "\f1a0";
$fa-var-google-plus: "\f0d5";
$fa-var-google-plus-square: "\f0d4";
$fa-var-google-wallet: "\f1ee";
$fa-var-graduation-cap: "\f19d";
$fa-var-gratipay: "\f184";
$fa-var-group: "\f0c0";
$fa-var-h-square: "\f0fd";
$fa-var-hacker-news: "\f1d4";
$fa-var-hand-grab-o: "\f255";
$fa-var-hand-lizard-o: "\f258";
$fa-var-hand-o-down: "\f0a7";
$fa-var-hand-o-left: "\f0a5";
$fa-var-hand-o-right: "\f0a4";
$fa-var-hand-o-up: "\f0a6";
$fa-var-hand-paper-o: "\f256";
$fa-var-hand-peace-o: "\f25b";
$fa-var-hand-pointer-o: "\f25a";
$fa-var-hand-rock-o: "\f255";
$fa-var-hand-scissors-o: "\f257";
$fa-var-hand-spock-o: "\f259";
$fa-var-hand-stop-o: "\f256";
$fa-var-hashtag: "\f292";
$fa-var-hdd-o: "\f0a0";
$fa-var-header: "\f1dc";
$fa-var-headphones: "\f025";
$fa-var-heart: "\f004";
$fa-var-heart-o: "\f08a";
$fa-var-heartbeat: "\f21e";
$fa-var-history: "\f1da";
$fa-var-home: "\f015";
$fa-var-hospital-o: "\f0f8";
$fa-var-hotel: "\f236";
$fa-var-hourglass: "\f254";
$fa-var-hourglass-1: "\f251";
$fa-var-hourglass-2: "\f252";
$fa-var-hourglass-3: "\f253";
$fa-var-hourglass-end: "\f253";
$fa-var-hourglass-half: "\f252";
$fa-var-hourglass-o: "\f250";
$fa-var-hourglass-start: "\f251";
$fa-var-houzz: "\f27c";
$fa-var-html5: "\f13b";
$fa-var-i-cursor: "\f246";
$fa-var-ils: "\f20b";
$fa-var-image: "\f03e";
$fa-var-inbox: "\f01c";
$fa-var-indent: "\f03c";
$fa-var-industry: "\f275";
$fa-var-info: "\f129";
$fa-var-info-circle: "\f05a";
$fa-var-inr: "\f156";
$fa-var-instagram: "\f16d";
$fa-var-institution: "\f19c";
$fa-var-internet-explorer: "\f26b";
$fa-var-intersex: "\f224";
$fa-var-ioxhost: "\f208";
$fa-var-italic: "\f033";
$fa-var-joomla: "\f1aa";
$fa-var-jpy: "\f157";
@@ -369,20 +266,15 @@ $fa-var-keyboard-o: "\f11c";
$fa-var-krw: "\f159";
$fa-var-language: "\f1ab";
$fa-var-laptop: "\f109";
$fa-var-lastfm: "\f202";
$fa-var-lastfm-square: "\f203";
$fa-var-leaf: "\f06c";
$fa-var-leanpub: "\f212";
$fa-var-legal: "\f0e3";
$fa-var-lemon-o: "\f094";
$fa-var-level-down: "\f149";
$fa-var-level-up: "\f148";
$fa-var-life-bouy: "\f1cd";
$fa-var-life-buoy: "\f1cd";
$fa-var-life-ring: "\f1cd";
$fa-var-life-saver: "\f1cd";
$fa-var-lightbulb-o: "\f0eb";
$fa-var-line-chart: "\f201";
$fa-var-link: "\f0c1";
$fa-var-linkedin: "\f0e1";
$fa-var-linkedin-square: "\f08c";
@@ -403,88 +295,55 @@ $fa-var-mail-forward: "\f064";
$fa-var-mail-reply: "\f112";
$fa-var-mail-reply-all: "\f122";
$fa-var-male: "\f183";
$fa-var-map: "\f279";
$fa-var-map-marker: "\f041";
$fa-var-map-o: "\f278";
$fa-var-map-pin: "\f276";
$fa-var-map-signs: "\f277";
$fa-var-mars: "\f222";
$fa-var-mars-double: "\f227";
$fa-var-mars-stroke: "\f229";
$fa-var-mars-stroke-h: "\f22b";
$fa-var-mars-stroke-v: "\f22a";
$fa-var-maxcdn: "\f136";
$fa-var-meanpath: "\f20c";
$fa-var-medium: "\f23a";
$fa-var-medkit: "\f0fa";
$fa-var-meh-o: "\f11a";
$fa-var-mercury: "\f223";
$fa-var-microphone: "\f130";
$fa-var-microphone-slash: "\f131";
$fa-var-minus: "\f068";
$fa-var-minus-circle: "\f056";
$fa-var-minus-square: "\f146";
$fa-var-minus-square-o: "\f147";
$fa-var-mixcloud: "\f289";
$fa-var-mobile: "\f10b";
$fa-var-mobile-phone: "\f10b";
$fa-var-modx: "\f285";
$fa-var-money: "\f0d6";
$fa-var-moon-o: "\f186";
$fa-var-mortar-board: "\f19d";
$fa-var-motorcycle: "\f21c";
$fa-var-mouse-pointer: "\f245";
$fa-var-music: "\f001";
$fa-var-navicon: "\f0c9";
$fa-var-neuter: "\f22c";
$fa-var-newspaper-o: "\f1ea";
$fa-var-object-group: "\f247";
$fa-var-object-ungroup: "\f248";
$fa-var-odnoklassniki: "\f263";
$fa-var-odnoklassniki-square: "\f264";
$fa-var-opencart: "\f23d";
$fa-var-openid: "\f19b";
$fa-var-opera: "\f26a";
$fa-var-optin-monster: "\f23c";
$fa-var-outdent: "\f03b";
$fa-var-pagelines: "\f18c";
$fa-var-paint-brush: "\f1fc";
$fa-var-paper-plane: "\f1d8";
$fa-var-paper-plane-o: "\f1d9";
$fa-var-paperclip: "\f0c6";
$fa-var-paragraph: "\f1dd";
$fa-var-paste: "\f0ea";
$fa-var-pause: "\f04c";
$fa-var-pause-circle: "\f28b";
$fa-var-pause-circle-o: "\f28c";
$fa-var-paw: "\f1b0";
$fa-var-paypal: "\f1ed";
$fa-var-pencil: "\f040";
$fa-var-pencil-square: "\f14b";
$fa-var-pencil-square-o: "\f044";
$fa-var-percent: "\f295";
$fa-var-phone: "\f095";
$fa-var-phone-square: "\f098";
$fa-var-photo: "\f03e";
$fa-var-picture-o: "\f03e";
$fa-var-pie-chart: "\f200";
$fa-var-pied-piper: "\f1a7";
$fa-var-pied-piper-alt: "\f1a8";
$fa-var-pied-piper-square: "\f1a7";
$fa-var-pinterest: "\f0d2";
$fa-var-pinterest-p: "\f231";
$fa-var-pinterest-square: "\f0d3";
$fa-var-plane: "\f072";
$fa-var-play: "\f04b";
$fa-var-play-circle: "\f144";
$fa-var-play-circle-o: "\f01d";
$fa-var-plug: "\f1e6";
$fa-var-plus: "\f067";
$fa-var-plus-circle: "\f055";
$fa-var-plus-square: "\f0fe";
$fa-var-plus-square-o: "\f196";
$fa-var-power-off: "\f011";
$fa-var-print: "\f02f";
$fa-var-product-hunt: "\f288";
$fa-var-puzzle-piece: "\f12e";
$fa-var-qq: "\f1d6";
$fa-var-qrcode: "\f029";
@@ -497,11 +356,8 @@ $fa-var-random: "\f074";
$fa-var-rebel: "\f1d0";
$fa-var-recycle: "\f1b8";
$fa-var-reddit: "\f1a1";
$fa-var-reddit-alien: "\f281";
$fa-var-reddit-square: "\f1a2";
$fa-var-refresh: "\f021";
$fa-var-registered: "\f25d";
$fa-var-remove: "\f00d";
$fa-var-renren: "\f18b";
$fa-var-reorder: "\f0c9";
$fa-var-repeat: "\f01e";
@@ -519,42 +375,28 @@ $fa-var-rss-square: "\f143";
$fa-var-rub: "\f158";
$fa-var-ruble: "\f158";
$fa-var-rupee: "\f156";
$fa-var-safari: "\f267";
$fa-var-save: "\f0c7";
$fa-var-scissors: "\f0c4";
$fa-var-scribd: "\f28a";
$fa-var-search: "\f002";
$fa-var-search-minus: "\f010";
$fa-var-search-plus: "\f00e";
$fa-var-sellsy: "\f213";
$fa-var-send: "\f1d8";
$fa-var-send-o: "\f1d9";
$fa-var-server: "\f233";
$fa-var-share: "\f064";
$fa-var-share-alt: "\f1e0";
$fa-var-share-alt-square: "\f1e1";
$fa-var-share-square: "\f14d";
$fa-var-share-square-o: "\f045";
$fa-var-shekel: "\f20b";
$fa-var-sheqel: "\f20b";
$fa-var-shield: "\f132";
$fa-var-ship: "\f21a";
$fa-var-shirtsinbulk: "\f214";
$fa-var-shopping-bag: "\f290";
$fa-var-shopping-basket: "\f291";
$fa-var-shopping-cart: "\f07a";
$fa-var-sign-in: "\f090";
$fa-var-sign-out: "\f08b";
$fa-var-signal: "\f012";
$fa-var-simplybuilt: "\f215";
$fa-var-sitemap: "\f0e8";
$fa-var-skyatlas: "\f216";
$fa-var-skype: "\f17e";
$fa-var-slack: "\f198";
$fa-var-sliders: "\f1de";
$fa-var-slideshare: "\f1e7";
$fa-var-smile-o: "\f118";
$fa-var-soccer-ball-o: "\f1e3";
$fa-var-sort: "\f0dc";
$fa-var-sort-alpha-asc: "\f15d";
$fa-var-sort-alpha-desc: "\f15e";
@@ -586,17 +428,11 @@ $fa-var-steam-square: "\f1b7";
$fa-var-step-backward: "\f048";
$fa-var-step-forward: "\f051";
$fa-var-stethoscope: "\f0f1";
$fa-var-sticky-note: "\f249";
$fa-var-sticky-note-o: "\f24a";
$fa-var-stop: "\f04d";
$fa-var-stop-circle: "\f28d";
$fa-var-stop-circle-o: "\f28e";
$fa-var-street-view: "\f21d";
$fa-var-strikethrough: "\f0cc";
$fa-var-stumbleupon: "\f1a4";
$fa-var-stumbleupon-circle: "\f1a3";
$fa-var-subscript: "\f12c";
$fa-var-subway: "\f239";
$fa-var-suitcase: "\f0f2";
$fa-var-sun-o: "\f185";
$fa-var-superscript: "\f12b";
@@ -608,7 +444,6 @@ $fa-var-tag: "\f02b";
$fa-var-tags: "\f02c";
$fa-var-tasks: "\f0ae";
$fa-var-taxi: "\f1ba";
$fa-var-television: "\f26c";
$fa-var-tencent-weibo: "\f1d5";
$fa-var-terminal: "\f120";
$fa-var-text-height: "\f034";
@@ -628,28 +463,17 @@ $fa-var-times-circle-o: "\f05c";
$fa-var-tint: "\f043";
$fa-var-toggle-down: "\f150";
$fa-var-toggle-left: "\f191";
$fa-var-toggle-off: "\f204";
$fa-var-toggle-on: "\f205";
$fa-var-toggle-right: "\f152";
$fa-var-toggle-up: "\f151";
$fa-var-trademark: "\f25c";
$fa-var-train: "\f238";
$fa-var-transgender: "\f224";
$fa-var-transgender-alt: "\f225";
$fa-var-trash: "\f1f8";
$fa-var-trash-o: "\f014";
$fa-var-tree: "\f1bb";
$fa-var-trello: "\f181";
$fa-var-tripadvisor: "\f262";
$fa-var-trophy: "\f091";
$fa-var-truck: "\f0d1";
$fa-var-try: "\f195";
$fa-var-tty: "\f1e4";
$fa-var-tumblr: "\f173";
$fa-var-tumblr-square: "\f174";
$fa-var-turkish-lira: "\f195";
$fa-var-tv: "\f26c";
$fa-var-twitch: "\f1e8";
$fa-var-twitter: "\f099";
$fa-var-twitter-square: "\f081";
$fa-var-umbrella: "\f0e9";
@@ -661,20 +485,11 @@ $fa-var-unlock: "\f09c";
$fa-var-unlock-alt: "\f13e";
$fa-var-unsorted: "\f0dc";
$fa-var-upload: "\f093";
$fa-var-usb: "\f287";
$fa-var-usd: "\f155";
$fa-var-user: "\f007";
$fa-var-user-md: "\f0f0";
$fa-var-user-plus: "\f234";
$fa-var-user-secret: "\f21b";
$fa-var-user-times: "\f235";
$fa-var-users: "\f0c0";
$fa-var-venus: "\f221";
$fa-var-venus-double: "\f226";
$fa-var-venus-mars: "\f228";
$fa-var-viacoin: "\f237";
$fa-var-video-camera: "\f03d";
$fa-var-vimeo: "\f27d";
$fa-var-vimeo-square: "\f194";
$fa-var-vine: "\f1ca";
$fa-var-vk: "\f189";
@@ -685,22 +500,14 @@ $fa-var-warning: "\f071";
$fa-var-wechat: "\f1d7";
$fa-var-weibo: "\f18a";
$fa-var-weixin: "\f1d7";
$fa-var-whatsapp: "\f232";
$fa-var-wheelchair: "\f193";
$fa-var-wifi: "\f1eb";
$fa-var-wikipedia-w: "\f266";
$fa-var-windows: "\f17a";
$fa-var-won: "\f159";
$fa-var-wordpress: "\f19a";
$fa-var-wrench: "\f0ad";
$fa-var-xing: "\f168";
$fa-var-xing-square: "\f169";
$fa-var-y-combinator: "\f23b";
$fa-var-y-combinator-square: "\f1d4";
$fa-var-yahoo: "\f19e";
$fa-var-yc: "\f23b";
$fa-var-yc-square: "\f1d4";
$fa-var-yelp: "\f1e9";
$fa-var-yen: "\f157";
$fa-var-youtube: "\f167";
$fa-var-youtube-play: "\f16a";
+2 -2
View File
@@ -1,5 +1,5 @@
/*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@@ -11,7 +11,7 @@
@import "fixed-width";
@import "list";
@import "bordered-pulled";
@import "animated";
@import "spinning";
@import "rotated-flipped";
@import "stacked";
@import "icons";
+1 -1
View File
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #BDBDBD; // Caption sub
.mfp-counter { font-family: $alt-font; } // Caption font family
// A11y
$mfp-use-visuallyhidden: false;
$mfp-use-visuallyhidden: false;
+3 -3
View File
@@ -66,7 +66,7 @@ $mfp-caption-title-color: #F3F3F3 !default;
$mfp-caption-subtitle-color: #BDBDBD !default;
// A11y
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
@@ -129,7 +129,7 @@ $mfp-use-visuallyhidden: false !default; // Hide content from brows
// Remove vertical centering when popup has class `mfp-align-top`
.mfp-align-top {
.mfp-container {
.mfp-container {
&:before {
display: none;
}
@@ -401,7 +401,7 @@ button {
&:before,
.mfp-b {
margin-left: 25px;
border-right: 27px solid $mfp-controls-border-color;
border-right: 27px solid $mfp-controls-border-color;
}
}
+1 -1
View File
@@ -6,5 +6,5 @@ modified:
excerpt:
tags: []
image:
feature:
feature:
---
+3 -2
View File
@@ -3,6 +3,7 @@ layout: page
title: About the Theme
tags: [about, Jekyll, theme, responsive]
modified: 2014-08-08T20:53:07.573882-04:00
comments: true
image:
feature: sample-image-2.jpg
credit: WeGraphics
@@ -14,11 +15,11 @@ Minimal Mistakes is responsive Jekyll theme with large featured images and solid
## Minimal Mistakes is all about:
* Responsive templates. Looking good on mobile, tablet, and desktop.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Minimal embellishments -- content first.
* Optional 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.
* Support for Disqus Comments
<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>
<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>
+2 -3
View File
@@ -18,12 +18,11 @@ sitemap: false
@import "normalize";
@import "site";
@import "typography";
@import "syntax";
@import "pygments";
@import "coderay";
@import "elements";
@import "forms";
@import "page";
@import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup";
//@import "vendor/google/fonts";
@import "print";
//@import "vendor/google/fonts";
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 357 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -10,14 +10,14 @@ var changeClass = function (r,className1,className2) {
r.className = r.className.replace(new RegExp("(?:^|\\s+)" + className2 + "(?:\\s+|$)"),' '+className1+' ');
}
return r.className;
};
};
// Creating our button in JS for smaller screens
var menuElements = document.getElementById('site-nav');
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoggle navicon-lines-button x" aria-hidden="true"><span class="navicon-lines"></span>menu</button>');
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoogle navicon-lines-button x" aria-hidden="true"><span class="navicon-lines"></span>menu</button>');
// Toggle the class on click to show / hide the menu
document.getElementById('menutoggle').onclick = function() {
changeClass(this, 'navtoggle active', 'navtoggle');
changeClass(this, 'navtoogle active', 'navtoogle');
};
// http://tympanus.net/codrops/2013/05/08/responsive-retina-ready-menu/comment-page-2/#comment-438918
document.onclick = function(e) {
@@ -25,7 +25,7 @@ document.onclick = function(e) {
buttonStyle = mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display;
if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) {
changeClass(mobileButton, 'navtoggle active', 'navtoggle');
changeClass(mobileButton, 'navtoogle active', 'navtoogle');
}
};
@@ -60,8 +60,8 @@ $(document).ready(function() {
tError: '<a href="%url%">Image #%curr%</a> could not be loaded.',
},
removalDelay: 300, // Delay in milliseconds before popup is removed
// Class that is added to body when popup is open.
// Class that is added to body when popup is open.
// make it unique to apply your CSS animations just to this exact popup
mainClass: 'mfp-fade'
});
});
});
+93 -93
View File
@@ -5,9 +5,9 @@
/*>>core*/
/**
*
*
* Magnific Popup Core JS file
*
*
*/
@@ -29,7 +29,7 @@ var CLOSE_EVENT = 'Close',
/**
* Private vars
* Private vars
*/
var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
MagnificPopup = function(){},
@@ -97,15 +97,15 @@ var _mfpOn = function(name, f) {
v = ['ms','O','Moz','Webkit']; // 'v' for vendor
if( s['transition'] !== undefined ) {
return true;
return true;
}
while( v.length ) {
if( v.pop() + 'Transition' in s ) {
return true;
}
}
return false;
};
@@ -119,12 +119,12 @@ MagnificPopup.prototype = {
constructor: MagnificPopup,
/**
* Initializes Magnific Popup plugin.
* Initializes Magnific Popup plugin.
* This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed
*/
init: function() {
var appVersion = navigator.appVersion;
mfp.isIE7 = appVersion.indexOf("MSIE 7.") !== -1;
mfp.isIE7 = appVersion.indexOf("MSIE 7.") !== -1;
mfp.isIE8 = appVersion.indexOf("MSIE 8.") !== -1;
mfp.isLowIE = mfp.isIE7 || mfp.isIE8;
mfp.isAndroid = (/android/gi).test(appVersion);
@@ -151,7 +151,7 @@ MagnificPopup.prototype = {
var i;
if(data.isObj === false) {
if(data.isObj === false) {
// convert jQuery collection to array to avoid conflicts later
mfp.items = data.items.toArray();
@@ -178,8 +178,8 @@ MagnificPopup.prototype = {
mfp.updateItemHTML();
return;
}
mfp.types = [];
mfp.types = [];
_wrapClasses = '';
if(data.mainEl && data.mainEl.length) {
mfp.ev = data.mainEl.eq(0);
@@ -198,7 +198,7 @@ MagnificPopup.prototype = {
mfp.st = $.extend(true, {}, $.magnificPopup.defaults, data );
mfp.st = $.extend(true, {}, $.magnificPopup.defaults, data );
mfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;
if(mfp.st.modal) {
@@ -207,7 +207,7 @@ MagnificPopup.prototype = {
mfp.st.showCloseBtn = false;
mfp.st.enableEscapeKey = false;
}
// Building markup
// main containers are created only once
@@ -259,7 +259,7 @@ MagnificPopup.prototype = {
_wrapClasses += ' mfp-align-top';
}
if(mfp.fixedContentPos) {
mfp.wrap.css({
@@ -268,7 +268,7 @@ MagnificPopup.prototype = {
overflowY: mfp.st.overflowY
});
} else {
mfp.wrap.css({
mfp.wrap.css({
top: _window.scrollTop(),
position: 'absolute'
});
@@ -280,7 +280,7 @@ MagnificPopup.prototype = {
});
}
if(mfp.st.enableEscapeKey) {
// Close on ESC key
@@ -299,7 +299,7 @@ MagnificPopup.prototype = {
if(!mfp.st.closeOnContentClick) {
_wrapClasses += ' mfp-auto-cursor';
}
if(_wrapClasses)
mfp.wrap.addClass(_wrapClasses);
@@ -307,7 +307,7 @@ MagnificPopup.prototype = {
// this triggers recalculation of layout, so we get it once to not to trigger twice
var windowHeight = mfp.wH = _window.height();
var windowStyles = {};
if( mfp.fixedContentPos ) {
@@ -328,8 +328,8 @@ MagnificPopup.prototype = {
}
}
var classesToadd = mfp.st.mainClass;
if(mfp.isIE7) {
classesToadd += ' mfp-ie7';
@@ -345,16 +345,16 @@ MagnificPopup.prototype = {
// remove scrollbar, add margin e.t.c
$('html').css(windowStyles);
// add everything to DOM
mfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || _body );
// Save last focused element
mfp._lastFocusedEl = document.activeElement;
// Wait for next cycle to allow CSS transition
setTimeout(function() {
if(mfp.content) {
mfp._addClassToMFP(READY_CLASS);
mfp._setFocus();
@@ -362,7 +362,7 @@ MagnificPopup.prototype = {
// if content is not defined (not loaded e.t.c) we add class only for BG
mfp.bgOverlay.addClass(READY_CLASS);
}
// Trap the focus in popup
_document.on('focusin' + EVENT_NS, mfp._onFocusIn);
@@ -421,7 +421,7 @@ MagnificPopup.prototype = {
}
$('html').css(windowStyles);
}
_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);
mfp.ev.off(EVENT_NS);
@@ -441,14 +441,14 @@ MagnificPopup.prototype = {
if(mfp._lastFocusedEl) {
$(mfp._lastFocusedEl).focus(); // put tab focus back
}
mfp.currItem = null;
mfp.currItem = null;
mfp.content = null;
mfp.currTemplate = null;
mfp.prevHeight = 0;
_mfpTrigger(AFTER_CLOSE_EVENT);
},
updateSize: function(winHeight) {
if(mfp.isIOS) {
@@ -485,17 +485,17 @@ MagnificPopup.prototype = {
item = mfp.parseEl( mfp.index );
}
var type = item.type;
var type = item.type;
_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);
// BeforeChange event works like so:
// _mfpOn('BeforeChange', function(e, prevType, newType) { });
mfp.currItem = item;
if(!mfp.currTemplate[type]) {
var markup = mfp.st[type] ? mfp.st[type].markup : false;
@@ -514,7 +514,7 @@ MagnificPopup.prototype = {
if(_prevContentType && _prevContentType !== item.type) {
mfp.container.removeClass('mfp-'+_prevContentType+'-holder');
}
var newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);
mfp.appendContent(newContent, type);
@@ -522,7 +522,7 @@ MagnificPopup.prototype = {
_mfpTrigger(CHANGE_EVENT, item);
_prevContentType = item.type;
// Append container back after its content changed
mfp.container.prepend(mfp.contentContainer);
@@ -535,7 +535,7 @@ MagnificPopup.prototype = {
*/
appendContent: function(newContent, type) {
mfp.content = newContent;
if(newContent) {
if(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&
mfp.currTemplate[type] === true) {
@@ -558,7 +558,7 @@ MagnificPopup.prototype = {
/**
* Creates Magnific Popup data object based on given data
* @param {int} index Index of item to parse
@@ -612,11 +612,11 @@ MagnificPopup.prototype = {
if(!options) {
options = {};
}
}
var eName = 'click.magnificPopup';
options.mainEl = el;
if(options.items) {
options.isObj = true;
el.off(eName).on(eName, eHandler);
@@ -651,7 +651,7 @@ MagnificPopup.prototype = {
}
}
}
if(e.type) {
e.preventDefault();
@@ -660,7 +660,7 @@ MagnificPopup.prototype = {
e.stopPropagation();
}
}
options.el = $(e.mfpEl);
if(options.delegate) {
@@ -829,14 +829,14 @@ $.magnificPopup = {
modules: [],
open: function(options, index) {
_checkInstance();
_checkInstance();
if(!options) {
options = {};
} else {
options = $.extend(true, {}, options);
}
options.isObj = true;
options.index = index || 0;
@@ -851,16 +851,16 @@ $.magnificPopup = {
if(module.options) {
$.magnificPopup.defaults[name] = module.options;
}
$.extend(this.proto, module.proto);
$.extend(this.proto, module.proto);
this.modules.push(name);
},
defaults: {
defaults: {
// Info about options is in docs:
// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options
disableOn: 0,
disableOn: 0,
key: null,
@@ -871,12 +871,12 @@ $.magnificPopup = {
preloader: true,
focus: '', // CSS selector of input to focus after popup is opened
closeOnContentClick: false,
closeOnBgClick: true,
closeBtnInside: true,
closeBtnInside: true,
showCloseBtn: true,
@@ -885,13 +885,13 @@ $.magnificPopup = {
modal: false,
alignTop: false,
removalDelay: 0,
prependTo: null,
fixedContentPos: 'auto',
fixedContentPos: 'auto',
fixedBgPos: 'auto',
overflowY: 'auto',
@@ -938,9 +938,9 @@ $.fn.magnificPopup = function(options) {
} else {
// clone options obj
options = $.extend(true, {}, options);
/*
* As Zepto doesn't support .data() method for objects
* As Zepto doesn't support .data() method for objects
* and it works only in normal browsers
* we assign "options" object directly to the DOM element. FTW!
*/
@@ -982,7 +982,7 @@ console.log('Test #2:', performance.now() - start);
var INLINE_NS = 'inline',
_hiddenClass,
_inlinePlaceholder,
_inlinePlaceholder,
_lastInlineElement,
_putInlineElementsBack = function() {
if(_lastInlineElement) {
@@ -1130,14 +1130,14 @@ $.magnificPopup.registerModule(AJAX_NS, {
/*>>ajax*/
/*>>image*/
var _imgInterval,
_getTitle = function(item) {
if(item.data && item.data.title !== undefined)
if(item.data && item.data.title !== undefined)
return item.data.title;
var src = mfp.st.image.titleSrc;
@@ -1168,7 +1168,7 @@ $.magnificPopup.registerModule('image', {
'</figure>'+
'</div>',
cursor: 'mfp-zoom-out-cur',
titleSrc: 'title',
titleSrc: 'title',
verticalFit: true,
tError: '<a href="%url%">The image</a> could not be loaded.'
},
@@ -1213,13 +1213,13 @@ $.magnificPopup.registerModule('image', {
},
_onImageHasSize: function(item) {
if(item.img) {
item.hasSize = true;
if(_imgInterval) {
clearInterval(_imgInterval);
}
item.isCheckingImgSize = false;
_mfpTrigger('ImageHasSize', item);
@@ -1227,7 +1227,7 @@ $.magnificPopup.registerModule('image', {
if(item.imgHidden) {
if(mfp.content)
mfp.content.removeClass('mfp-loading');
item.imgHidden = false;
}
@@ -1280,7 +1280,7 @@ $.magnificPopup.registerModule('image', {
if(item) {
if (item.img[0].complete) {
item.img.off('.mfploader');
if(item === mfp.currItem){
mfp._onImageHasSize(item);
@@ -1291,7 +1291,7 @@ $.magnificPopup.registerModule('image', {
item.loaded = true;
_mfpTrigger('ImageLoadComplete');
}
else {
// if image complete check fails 200 times (20 sec), we assume that there was an error.
@@ -1338,7 +1338,7 @@ $.magnificPopup.registerModule('image', {
img = item.img[0];
if(img.naturalWidth > 0) {
item.hasSize = true;
} else if(!img.width) {
} else if(!img.width) {
item.hasSize = false;
}
}
@@ -1370,7 +1370,7 @@ $.magnificPopup.registerModule('image', {
item.imgHidden = true;
template.addClass('mfp-loading');
mfp.findImageSize(item);
}
}
return template;
}
@@ -1387,7 +1387,7 @@ var hasMozTransform,
if(hasMozTransform === undefined) {
hasMozTransform = document.createElement('p').style.MozTransform !== undefined;
}
return hasMozTransform;
return hasMozTransform;
};
$.magnificPopup.registerModule('zoom', {
@@ -1407,7 +1407,7 @@ $.magnificPopup.registerModule('zoom', {
var zoomSt = mfp.st.zoom,
ns = '.zoom',
image;
if(!zoomSt.enabled || !mfp.supportsTransition) {
return;
}
@@ -1443,7 +1443,7 @@ $.magnificPopup.registerModule('zoom', {
mfp.content.css('visibility', 'hidden');
// Basically, all code below does is clones existing image, puts in on top of the current one and animated it
image = mfp._getItemToZoom();
if(!image) {
@@ -1451,8 +1451,8 @@ $.magnificPopup.registerModule('zoom', {
return;
}
animatedImg = getElToAnimate(image);
animatedImg = getElToAnimate(image);
animatedImg.css( mfp._getOffset() );
mfp.wrap.append(animatedImg);
@@ -1467,7 +1467,7 @@ $.magnificPopup.registerModule('zoom', {
animatedImg.remove();
image = animatedImg = null;
_mfpTrigger('ZoomAnimationEnded');
}, 16); // avoid blink when switching images
}, 16); // avoid blink when switching images
}, duration); // this timeout equals animation duration
@@ -1491,12 +1491,12 @@ $.magnificPopup.registerModule('zoom', {
}
animatedImg = getElToAnimate(image);
}
animatedImg.css( mfp._getOffset(true) );
mfp.wrap.append(animatedImg);
mfp.content.css('visibility', 'hidden');
setTimeout(function() {
animatedImg.css( mfp._getOffset() );
}, 16);
@@ -1511,7 +1511,7 @@ $.magnificPopup.registerModule('zoom', {
animatedImg.remove();
}
image = null;
}
}
});
},
@@ -1543,7 +1543,7 @@ $.magnificPopup.registerModule('zoom', {
/*
Animating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.
*/
@@ -1574,11 +1574,11 @@ $.magnificPopup.registerModule('zoom', {
var IFRAME_NS = 'iframe',
_emptyPage = '//about:blank',
_fixIframeBugs = function(isShowing) {
if(mfp.currTemplate[IFRAME_NS]) {
var el = mfp.currTemplate[IFRAME_NS].find('iframe');
if(el.length) {
if(el.length) {
// reset src after the popup is closed to avoid "video keeps playing after popup is closed" bug
if(!isShowing) {
el[0].src = _emptyPage;
@@ -1605,8 +1605,8 @@ $.magnificPopup.registerModule(IFRAME_NS, {
// we don't care and support only one default type of URL by default
patterns: {
youtube: {
index: 'youtube.com',
id: 'v=',
index: 'youtube.com',
id: 'v=',
src: '//www.youtube.com/embed/%id%?autoplay=1'
},
vimeo: {
@@ -1631,7 +1631,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
_fixIframeBugs(); // iframe if removed
} else if(newType === IFRAME_NS) {
_fixIframeBugs(true); // iframe is showing
}
}
}// else {
// iframe source is switched, don't do anything
//}
@@ -1645,7 +1645,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
getIframe: function(item, template) {
var embedSrc = item.src;
var iframeSt = mfp.st.iframe;
$.each(iframeSt.patterns, function() {
if(embedSrc.indexOf( this.index ) > -1) {
if(this.id) {
@@ -1659,7 +1659,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
return false; // break;
}
});
var dataObj = {};
if(iframeSt.srcAction) {
dataObj[iframeSt.srcAction] = embedSrc;
@@ -1716,7 +1716,7 @@ $.magnificPopup.registerModule('gallery', {
supportsFastClick = Boolean($.fn.mfpFastClick);
mfp.direction = true; // true - next, false - prev
if(!gSt || !gSt.enabled ) return false;
_wrapClasses += ' mfp-gallery';
@@ -1755,16 +1755,16 @@ $.magnificPopup.registerModule('gallery', {
_mfpOn('BuildControls' + ns, function() {
if(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {
var markup = gSt.arrowMarkup,
arrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),
arrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),
arrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);
var eName = supportsFastClick ? 'mfpFastClick' : 'click';
arrowLeft[eName](function() {
mfp.prev();
});
});
arrowRight[eName](function() {
mfp.next();
});
});
// Polyfill for :before and :after (adds elements with classes mfp-a and mfp-b)
if(mfp.isIE7) {
@@ -1784,21 +1784,21 @@ $.magnificPopup.registerModule('gallery', {
mfp._preloadTimeout = setTimeout(function() {
mfp.preloadNearbyImages();
mfp._preloadTimeout = null;
}, 16);
}, 16);
});
_mfpOn(CLOSE_EVENT+ns, function() {
_document.off(ns);
mfp.wrap.off('click'+ns);
if(mfp.arrowLeft && supportsFastClick) {
mfp.arrowLeft.add(mfp.arrowRight).destroyMfpFastClick();
}
mfp.arrowRight = mfp.arrowLeft = null;
});
},
},
next: function() {
mfp.direction = true;
mfp.index = _getLoopedId(mfp.index + 1);
@@ -1963,11 +1963,11 @@ $.magnificPopup.registerModule(RETINA_NS, {
*
* To unbind:
* $('.your-el').destroyMfpFastClick();
*
*
*
*
* Note that it's a very basic and simple implementation, it blocks ghost click on the same element where it was bound.
* If you need something more advanced, use plugin by FT Labs https://github.com/ftlabs/fastclick
*
*
*/
(function() {
@@ -2046,4 +2046,4 @@ $.magnificPopup.registerModule(RETINA_NS, {
})();
/*>>fastclick*/
_checkInstance(); })(window.jQuery || window.Zepto);
_checkInstance(); })(window.jQuery || window.Zepto);
+1 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "minimal-mistakes-theme",
"author": "Michael Rose <michael@mademistakes.com>",
"homepage": "http://mmistakes.github.io/minimal-mistakes/",
"homepage": "http://mmistakes.github.io/minima-mistakes/",
"repository": {
"type": "git",
"url": "git://github.com/mmistakes/minimal-mistakes.git"
+10 -10
View File
@@ -1,7 +1,7 @@
---
layout: page
title: Theme Setup
modified: 2016-01-19
modified: 2014-07-31T13:23:02.362000-04:00
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
image:
feature: sample-image-3.jpg
@@ -13,7 +13,7 @@ image:
## Installation
Minimal Mistakes now requires [Jekyll](http://jekyllrb.com/) 3.0. Make sure to run `bundle update` if you aren't on the latest version to update all gem dependencies.
Minimal Mistakes now requires [Jekyll](http://jekyllrb.com/) 2.2+. Make sure to run `gem update jekyll` if you aren't on the latest version or `gem install jekyll` if this is your first time installing it.
If you are creating a new Jekyll site using Minimal Mistakes follow these steps:
@@ -29,7 +29,7 @@ If you want to use Minimal Mistakes with an existing Jekyll site follow these st
3. Run `bundle install` to install all dependencies (Jekyll, [Jekyll-Sitemap](https://github.com/jekyll/jekyll-sitemap), [Octopress](https://github.com/octopress/octopress), etc)
4. Remove demo posts/pages and replace with your own posts, pages, and any other content you want to move over.
5. Update posts' and pages' YAML to match variables used by Minimal Mistakes. Full details below.
6. Update `_config.yml` and add navigation links. Full details below.
6. Update `_config.yml` and add navigation links. Full details below.
**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 won't want.
{: .notice}
@@ -38,7 +38,7 @@ If you want to use Minimal Mistakes with an existing Jekyll site follow these st
## Running Jekyll
The preferred method for running Jekyll is with `bundle exec`, but if you're willing to deal gem conflicts feel free to go cowboy with a `jekyll build` or `jekyll serve`.
If `jekyll build` and `jekyll serve` throw errors you may have to run Jekyll with `bundled exec` instead.
> In some cases, running executables without bundle exec may work, if the executable happens to be installed in your system and does not pull in any gems that conflict with your bundle.
>
@@ -88,7 +88,7 @@ minimal-mistakes/
├── images/ # images for posts and pages
├── 404.md # 404 page
├── feed.xml # Atom feed template
├── index.md # sample homepage. lists 5 latest posts
├── index.md # sample homepage. lists 5 latest posts
├── posts/ # sample post index page. lists all posts in reverse chronology
└── theme-setup/ # theme setup page. safe to remove
{% endhighlight %}
@@ -119,7 +119,7 @@ Examples:
url: http://mmistakes.github.io/minimal-mistakes
url: http://localhost:4000
url: //cooldude.github.io
url:
url:
{% endhighlight %}
#### Google Analytics and Webmaster Tools
@@ -135,7 +135,7 @@ To set what links appear in the top navigation edit `_data/navigation.yml`. Use
url: /portfolio/
- title: Made Mistakes
url: http://mademistakes.com
url: http://mademistakes.com
{% endhighlight %}
---
@@ -145,7 +145,7 @@ To set what links appear in the top navigation edit `_data/navigation.yml`. Use
While completely optional, I've included Octopress and some starter templates to automate the creation of new posts and pages. To take advantage of it start by installing the [Octopress](https://github.com/octopress/octopress) gem if it isn't already.
{% highlight bash %}
$ gem install octopress
$ gem install octopress --pre
{% endhighlight %}
### New Post
@@ -159,7 +159,7 @@ $ octopress new post "Post Title"
Default works great if you want all your posts in one directory, but if you're like me and want to group them into subfolders like `/posts`, `/portfolio`, etc. Then this is the command for you. By specifying the DIR it will create a new post in that folder and populate the `categories:` YAML with the same value.
{% highlight bash %}
$ octopress new post "New Portfolio Post Title" --dir portfolio
$ octopress new post "New Post Title" --dir posts
{% endhighlight %}
### New Page
@@ -328,4 +328,4 @@ Found a bug or aren't quite sure how something works? By all means Ping me on Tw
## License
This theme is free and open source software, distributed under the MIT License. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.
This theme is free and open source software, distributed under the MIT License. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.