Compare commits

..
34 Commits
Author SHA1 Message Date
Michael Rose 7142a54650 Support Jekyll 3.0
- Update to Jekyll v3.0
- Switch from Pygments.rb to Rouge for syntax highlighting
- Minor updates to syntax.scss partial and theme documentation
- Include jekyll-gist gem
- Close #192, #218
2016-02-01 21:30:49 -05:00
Michael Rose e5ba10ee7d Merge pull request #216 from localstatic/setup-doc-fix
Fix typo in `bundle exec` command
2016-01-28 10:46:09 -05:00
Morgan Terry 19806e1eb6 Fix typo in bundle exec command 2016-01-27 22:29:56 -07:00
Michael Rose 6c71841425 Increase width of main content container 2016-01-19 21:56:51 -05:00
Michael Rose 5a69e71df9 Update links
- Remove Made Mistakes from header nav
- Update MM footer link
2016-01-19 21:10:58 -05:00
Michael Rose 4b99152c7d Update dependencies 2016-01-19 21:07:42 -05:00
Michael Rose fdad24cec9 Update Octopress config
- Remove _octopress.yml and move settings into _config.yml as per Octopress' documentation
- Close #163
2016-01-19 21:07:30 -05:00
Michael Rose 2362f621fb Add basic print styles
- Hide menu, social share buttons, and ads on print
- Close #191
2015-12-03 11:15:23 -05:00
Michael Rose be9722111b Revert "Update README.md"
This reverts commit 6bbbe819c8.
2015-11-30 23:17:06 -05:00
Michael Rose 6bbbe819c8 Update README.md 2015-11-30 23:15:26 -05:00
Michael Rose fd0f10d1a2 Update Font Awesome to 4.5.0 2015-11-30 09:59:24 -05:00
Michael Rose e0a6cc2b4a Merge pull request #199 from kamilszymanski/markup-fix
Fix home markup for link posts
2015-11-30 09:21:18 -05:00
Kamil Szymanski a4527d7e53 Fix home markup for link posts 2015-11-29 15:35:17 +01:00
Michael Rose 07769c89e9 Update gems 2015-11-10 09:55:31 -05:00
Michael Rose bb41054c69 Add note and link to MM-Jekyll 3 branch. 2015-10-30 14:07:22 -04:00
Michael Rose 7ad97aa8d4 Merge pull request #190 from BryceMehring/master
Removed duplicate 'powered by Disqus'
2015-10-07 11:18:45 -04:00
Bryce Mehring c02d05f8e1 Removed duplicate 'powered by Disqus' link.
This also fixes an issue during page load with Disqus comments on them, `comments powered by Disqus` displayed then got pushed down.
2015-10-06 22:13:05 -05:00
Michael Rose 68ddef6543 Add emphasized and bold text with links inside 2015-09-28 14:38:22 -04:00
Michael Rose c110735b7e Underline links wrapped in bolded (strong) text 2015-09-28 14:35:58 -04:00
Michael Rose 56ef95d630 Merge pull request #185 from alexandrnikitin/css-page-underline-links-in-ems
Underline links in emphasized blocks
2015-09-28 14:34:21 -04:00
Alexandr Nikitin ee06a1b20f Underline links in emphasized blocks 2015-09-28 15:15:15 +03:00
Michael Rose 0472218b5a Updated Font Awesome to 4.4
- Fixes #178
2015-09-06 20:59:19 -04:00
Michael Rose d5a0a2e585 Fix typo in menu button class
- .navtoogle should be .navtoggle
- Fixes #175
2015-08-19 12:50:58 -04:00
Michael Rose e7489a139d Merge pull request #166 from andreykurenkov/improve_year_output
Simplify year output logic in post_index
2015-08-07 11:47:53 -04:00
andreykurenkov 985a6fd47d Merged improvement to post-index.html 2015-08-05 19:24:19 -07:00
andreykurenkov 0498eb167c Revised year listing that is more robust to changes- 2015-08-05 19:23:00 -07:00
Michael Rose eddc18ccc0 Merge pull request #141 from cdodd/remove-whitespace
Remove trailing whitespace
2015-07-20 12:58:24 -04:00
Michael Rose d80b49f524 Merge pull request #157 from vlajos/patch-1
Stackoverflow username explanation
2015-07-20 12:52:40 -04:00
Michael Rose 215308a831 Merge pull request #158 from vlajos/patch-2
fix typo
2015-07-20 12:51:31 -04:00
Veres Lajos 8e55544e3e fix typo 2015-07-19 19:09:33 +01:00
Veres Lajos e33b45a7ad Stackoverflow username explanation 2015-07-19 15:12:20 +01:00
Michael Rose 8dafa9a753 Merge pull request #156 from hbarudin/add-codepen-social-option
Add CodePen to owner social options
2015-07-12 12:20:32 -04:00
Hannah Barudin d43aeab685 Add CodePen to owner social options 2015-07-11 22:08:55 -04:00
Craig Dodd f06b4c163d Remove trailing whitespace 2015-04-17 11:43:36 +01:00
58 changed files with 1551 additions and 977 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ _site
*.sublime-workspace *.sublime-workspace
codekit-config.json codekit-config.json
node_modules node_modules
_asset_bundler_cache _asset_bundler_cache
.jekyll-metadata
+2 -2
View File
@@ -4,7 +4,7 @@ title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas." excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false sitemap: false
permalink: /404.html permalink: /404.html
--- ---
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below. 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>
<script type="text/javascript" <script type="text/javascript"
src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script> </script>
+5 -4
View File
@@ -1,5 +1,6 @@
source 'https://rubygems.org' source "https://rubygems.org"
gem 'jekyll' gem "jekyll", "~> 3.0"
gem 'jekyll-sitemap' gem "jekyll-sitemap"
gem 'octopress', '~> 3.0.0.rc.12' gem "jekyll-gist"
gem "octopress"
+41 -63
View File
@@ -1,92 +1,70 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
blankslate (2.1.2.4) addressable (2.3.8)
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) colorator (0.1)
execjs (2.3.0) faraday (0.9.2)
fast-stemmer (1.0.2) multipart-post (>= 1.2, < 3)
ffi (1.9.6) ffi (1.9.10)
ffi (1.9.6-x64-mingw32) jekyll (3.1.1)
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) colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1) jekyll-watch (~> 1.1)
kramdown (~> 1.3) kramdown (~> 1.3)
liquid (~> 2.6.1) liquid (~> 3.0)
mercenary (~> 0.3.3) mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0) rouge (~> 1.7)
redcarpet (~> 3.1)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
toml (~> 0.1.0) jekyll-gist (1.4.0)
jekyll-coffeescript (1.0.1) octokit (~> 4.2)
coffee-script (~> 2.2) jekyll-sass-converter (1.4.0)
jekyll-gist (1.1.0) sass (~> 3.4)
jekyll-paginate (1.1.0) jekyll-sitemap (0.10.0)
jekyll-sass-converter (1.3.0) jekyll-watch (1.3.1)
sass (~> 3.2) listen (~> 3.0)
jekyll-sitemap (0.8.0) kramdown (1.9.0)
jekyll-watch (1.2.1) liquid (3.0.6)
listen (~> 2.7) listen (3.0.5)
kramdown (1.6.0)
liquid (2.6.2)
listen (2.8.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9) rb-inotify (>= 0.9)
mercenary (0.3.5) mercenary (0.3.5)
octopress (3.0.0.rc.34) multipart-post (2.0.0)
jekyll (~> 2.0) octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
octopress (3.0.11)
jekyll (>= 2.0)
mercenary (~> 0.3.2) mercenary (~> 0.3.2)
octopress-deploy octopress-deploy
octopress-escape-code (~> 2.0) octopress-escape-code (~> 2.0)
octopress-hooks (~> 2.0) octopress-hooks (~> 2.0)
redcarpet (~> 3.0)
titlecase titlecase
octopress-deploy (1.1.0) octopress-deploy (1.3.0)
colorator colorator
octopress-escape-code (2.0.6) octopress-escape-code (2.1.1)
octopress-hooks (~> 2.0) jekyll (~> 3.0)
octopress-hooks (2.6.0) octopress-hooks (2.6.1)
jekyll (~> 2.0) jekyll (>= 2.0)
parslet (1.5.0) rb-fsevent (0.9.7)
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) rb-inotify (0.9.5)
ffi (>= 0.5.0) ffi (>= 0.5.0)
redcarpet (3.2.2) redcarpet (3.3.4)
rouge (1.10.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.13) sass (3.4.21)
timers (4.0.1) sawyer (0.6.0)
hitimes addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
titlecase (0.1.1) titlecase (0.1.1)
toml (0.1.2)
parslet (~> 1.5.0)
yajl-ruby (1.2.1)
PLATFORMS PLATFORMS
ruby ruby
x64-mingw32
x86-mingw32
DEPENDENCIES DEPENDENCIES
jekyll jekyll (~> 3.0)
jekyll-gist
jekyll-sitemap jekyll-sitemap
octopress (~> 3.0.0.rc.12) octopress
BUNDLED WITH
1.11.2
+4 -4
View File
@@ -1,11 +1,11 @@
# Minimal Mistakes # Minimal Mistakes
**[Minimal Mistakes](http://mmistakes.github.io/minimal-mistakes)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog. **[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 is all about: ## Minimal Mistakes is all about:
* Responsive templates. Looking good on mobile, tablet, and desktop. * 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. * Minimal embellishments -- content first.
* Optional large feature images for posts and pages. * Optional large feature images for posts and pages.
* Simple and clear permalink structure. * Simple and clear permalink structure.
@@ -18,6 +18,6 @@ See a [live version of Minimal Mistakes](http://mmistakes.github.io/minimal-mist
## Getting Started ## Getting Started
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. 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.
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.
+27 -11
View File
@@ -2,26 +2,41 @@
title: Site Title title: Site Title
locale: en_US locale: en_US
url: url:
# Jekyll configuration # Jekyll configuration
permalink: /:categories/:title/ permalink: /:categories/:title/
markdown: kramdown markdown: kramdown
highlighter: pygments highlighter: rouge
sass: sass:
sass_dir: _sass sass_dir: _sass
style: compressed style: compressed
gems: gems:
- jekyll-sitemap - jekyll-sitemap
- jekyll-gist
kramdown: kramdown:
auto_ids: true auto_ids: true
footnote_nr: 1 footnote_nr: 1
entity_output: as_char entity_output: as_char
toc_levels: 1..6 toc_levels: 1..6
use_coderay: false 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
# Site owner # Site owner
@@ -29,19 +44,19 @@ owner:
name: Your Name name: Your Name
avatar: bio-photo.jpg avatar: bio-photo.jpg
bio: "Describe your self." bio: "Describe your self."
email: email:
disqus-shortname: disqus-shortname:
twitter: #username twitter: #username
facebook: #username facebook: #username
google: google:
plus: #username plus: #username
analytics: analytics:
verify: verify:
ad-client: ad-client:
ad-slot: ad-slot:
bing-verify: bing-verify:
github: #username github: #username
stackoverflow: #http://stackoverflow.com/users/123456/username stackoverflow: #123456/username from a "http://stackoverflow.com/users/123456/username" link
linkedin: #username linkedin: #username
xing: #username xing: #username
instagram: #username instagram: #username
@@ -55,6 +70,7 @@ owner:
soundcloud: #username soundcloud: #username
weibo: #username weibo: #username
flickr: #username flickr: #username
codepen: #username
include: [".htaccess"] 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"]
+1 -4
View File
@@ -7,7 +7,4 @@
url: /posts/ url: /posts/
- title: Theme Setup - title: Theme Setup
url: /theme-setup/ url: /theme-setup/
- title: Made Mistakes
url: http://mademistakes.com
+1
View File
@@ -31,4 +31,5 @@
{% 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.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.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.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> </div>
+1 -2
View File
@@ -19,5 +19,4 @@
}()); }());
</script> </script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> {% endif %}
{% endif %}
+1 -1
View File
@@ -12,4 +12,4 @@
</div><!-- /.google-ads --> </div><!-- /.google-ads -->
{% endif %} {% 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="http://mademistakes.com/minimal-mistakes/" 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="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
+2 -2
View File
@@ -5,7 +5,7 @@
<!-- Asynchronous Google Analytics snippet --> <!-- Asynchronous Google Analytics snippet -->
<script> <script>
var _gaq = _gaq || []; var _gaq = _gaq || [];
var pluginUrl = var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js'; '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', '{{ site.owner.google.analytics }}']); _gaq.push(['_setAccount', '{{ site.owner.google.analytics }}']);
@@ -20,4 +20,4 @@
{% endif %} {% endif %}
{% if page.comments %} {% if page.comments %}
{% include _disqus_comments.html %} {% include _disqus_comments.html %}
{% endif %} {% endif %}
+4 -4
View File
@@ -28,16 +28,16 @@
</div><!-- /.image-wrap --> </div><!-- /.image-wrap -->
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">
<div class="article-author-side"> <div class="article-author-side">
{% include _author-bio.html %} {% include _author-bio.html %}
</div> </div>
<div id="index"> <div id="index">
<h3><a href="{{ site.url}}/posts/">Recent Posts</a></h3> <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> <article>
{% if post.link %} {% 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></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></a></h2>
{% else %} {% else %}
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2> <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p>{{ post.excerpt | strip_html | truncate: 160 }}</p> <p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
@@ -54,6 +54,6 @@
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+2 -2
View File
@@ -53,7 +53,7 @@
</footer> </footer>
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+7 -10
View File
@@ -34,16 +34,13 @@
</div> </div>
<div id="index"> <div id="index">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% capture written_year %}'None'{% endcapture %}
{% for post in site.posts %} {% for post in site.posts %}
{% unless post.next %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
<h3>{{ post.date | date: '%Y' }}</h3> {% if year != written_year %}
{% else %} <h3>{{ year }}</h3>
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture written_year %}{{ year }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% endif %}
{% if year != nyear %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% endif %}
{% endunless %}
<article> <article>
{% if post.link %} {% 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></a></h2>
@@ -63,6 +60,6 @@
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+2 -2
View File
@@ -71,7 +71,7 @@
</footer> </footer>
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
-10
View File
@@ -1,10 +0,0 @@
# 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 ## 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 * Labore viral forage
* Tote bag selvage * Tote bag selvage
* DIY exercitation et id ugh tumblr church-key * 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. 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 ## 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. > 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. 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">
<img src="http://placehold.it/600x300.jpg"> <img src="http://placehold.it/600x300.jpg">
<figcaption>Three images.</figcaption> <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. 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 ## 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 * Labore viral forage
* Tote bag selvage * Tote bag selvage
* DIY exercitation et id ugh tumblr church-key * 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. 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 ## 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. > 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. 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" title: "Sample Link Post"
excerpt: "Example and code for using link posts." excerpt: "Example and code for using link posts."
tags: [sample post, link post] tags: [sample post, link post]
link: http://mademistakes.com link: http://mademistakes.com
share: true 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. > 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 title: Syntax Highlighting Post
excerpt: "Demo post displaying the various ways of highlighting code in Markdown." excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
tags: [sample post, code, highlighting] tags: [sample post, code, highlighting]
modified: 2014-09-14 modified: 2016-02-01
comments: true 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> [^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
### Pygments Code Blocks ### Highlighted Code Blocks
To modify styling and highlight colors edit `/_sass/_pygments.scss`. To modify styling and highlight colors edit `/_sass/syntax.scss`.
{% highlight css %} {% highlight css %}
#container { #container {
@@ -73,7 +73,7 @@ end
### Fenced Code Blocks ### 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 ~~~ css
#container { #container {
@@ -118,4 +118,4 @@ end
An example of a Gist embed below. 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 %} {% highlight yaml %}
author: billy_rick author: billy_rick
{% endhighlight %} {% endhighlight %}
+15 -15
View File
@@ -1,18 +1,18 @@
/* /*
Rules Rules
========================================================================== */ ========================================================================== */
hr { hr {
display: block; display: block;
margin: 1em 0; margin: 1em 0;
padding: 0; padding: 0;
height: 1px; height: 1px;
border: 0; border: 0;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
border-bottom: 1px solid #fff; border-bottom: 1px solid #fff;
} }
/* /*
Figures and images Figures and images
========================================================================== */ ========================================================================== */
@@ -23,13 +23,13 @@ figure {
article img { article img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
border-width: 0; border-width: 0;
vertical-align: middle; vertical-align: middle;
-ms-interpolation-mode: bicubic; -ms-interpolation-mode: bicubic;
} }
svg:not(:root) { svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
/* 2 images of equal dimensions in a row */ /* 2 images of equal dimensions in a row */
@@ -62,7 +62,7 @@ svg:not(:root) {
} }
} }
/* /*
Buttons Buttons
========================================================================== */ ========================================================================== */
@@ -151,7 +151,7 @@ svg:not(:root) {
} }
} }
/* /*
Wells Wells
========================================================================== */ ========================================================================== */
@@ -163,4 +163,4 @@ svg:not(:root) {
border: 1px solid #e3e3e3; border: 1px solid #e3e3e3;
@include rounded(4px); @include rounded(4px);
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05)); @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05));
} }
+62 -62
View File
@@ -2,34 +2,34 @@
Forms Forms
========================================================================== */ ========================================================================== */
btnform { btnform {
margin: 0 0 5px 0; margin: 0 0 5px 0;
fieldset { fieldset {
margin-bottom: 5px; margin-bottom: 5px;
padding: 0; padding: 0;
border-width: 0; border-width: 0;
} }
legend { legend {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 5px * 2; margin-bottom: 5px * 2;
*margin-left: -7px; *margin-left: -7px;
padding: 0; padding: 0;
color: $textcolor; color: $textcolor;
border: 0; border: 0;
border-bottom: 1px solid lighten($black, 80); border-bottom: 1px solid lighten($black, 80);
white-space: normal; white-space: normal;
} }
p { p {
margin-bottom: 5px / 2; margin-bottom: 5px / 2;
} }
ul { ul {
list-style-type: none; list-style-type: none;
margin: 0 0 5px 0; margin: 0 0 5px 0;
padding: 0; padding: 0;
} }
br { br {
display: none; display: none;
} }
} }
label, label,
@@ -37,26 +37,26 @@ input,
button, button,
select, select,
textarea { textarea {
vertical-align: baseline; vertical-align: baseline;
*vertical-align: middle; *vertical-align: middle;
} }
input, input,
button, button,
select, select,
textarea { textarea {
font-family: $base-font; font-family: $base-font;
@include box-sizing(border-box); @include box-sizing(border-box);
} }
label { label {
display: block; display: block;
margin-bottom: 10px / 8; margin-bottom: 10px / 8;
font-weight: bold; font-weight: bold;
color: $textcolor; color: $textcolor;
cursor: pointer; cursor: pointer;
input, input,
textarea, textarea,
select { select {
display: block; display: block;
} }
} }
input, input,
@@ -68,16 +68,16 @@ select {
margin-bottom: 5px / 4; margin-bottom: 5px / 4;
background-color: $white; background-color: $white;
border: 1px solid lighten($black, 80); border: 1px solid lighten($black, 80);
color: $textcolor; color: $textcolor;
&:hover { &:hover {
border-color: lighten($accentcolor, 50); border-color: lighten($accentcolor, 50);
} }
} }
.input-mini { .input-mini {
width: 60px; width: 60px;
} }
.input-small { .input-small {
width: 90px; width: 90px;
} }
input[type="image"], input[type="image"],
input[type="checkbox"], input[type="checkbox"],
@@ -90,18 +90,18 @@ input[type="radio"] {
line-height: normal; line-height: normal;
cursor: pointer; cursor: pointer;
@include rounded(0); @include rounded(0);
border: 0 \9; border: 0 \9;
} }
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
@include box-sizing(border-box); @include box-sizing(border-box);
padding: 0; padding: 0;
*width: 13px; *width: 13px;
*height: 13px; *height: 13px;
} }
input[type="image"] { input[type="image"] {
border: 0; border: 0;
@include box-shadow(none); @include box-shadow(none);
} }
input[type="file"] { input[type="file"] {
width: auto; width: auto;
@@ -110,7 +110,7 @@ input[type="file"] {
border: initial; border: initial;
background-color: transparent; background-color: transparent;
background-color: initial; background-color: initial;
@include box-shadow(none); @include box-shadow(none);
} }
input[type="button"], input[type="button"],
input[type="reset"], input[type="reset"],
@@ -118,11 +118,11 @@ input[type="submit"] {
width : auto; width : auto;
height : auto; height : auto;
cursor : pointer; cursor : pointer;
*overflow : visible; *overflow : visible;
} }
select, select,
input[type="file"] { input[type="file"] {
*margin-top : 4px; *margin-top : 4px;
} }
select { select {
width : auto; width : auto;
@@ -130,40 +130,40 @@ select {
} }
select[multiple], select[multiple],
select[size] { select[size] {
height : auto; height : auto;
} }
textarea { textarea {
@include resize(vertical); @include resize(vertical);
height : auto; height : auto;
overflow : auto; overflow : auto;
vertical-align : top; vertical-align : top;
} }
input[type="hidden"] { input[type="hidden"] {
display : none; display : none;
} }
.radio, .radio,
.checkbox { .checkbox {
padding-left : 18px; padding-left : 18px;
font-weight : normal; font-weight : normal;
} }
.radio input[type="radio"], .radio input[type="radio"],
.checkbox input[type="checkbox"] { .checkbox input[type="checkbox"] {
float : left; float : left;
margin-left : -18px; margin-left : -18px;
} }
.radio.inline, .radio.inline,
.checkbox.inline { .checkbox.inline {
display : inline-block; display : inline-block;
padding-top : 5px; padding-top : 5px;
margin-bottom : 0; margin-bottom : 0;
vertical-align : middle; vertical-align : middle;
} }
.radio.inline + .radio.inline, .radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline { .checkbox.inline + .checkbox.inline {
margin-left : 10px; margin-left : 10px;
} }
/* /*
Disabled state Disabled state
========================================================================== */ ========================================================================== */
@@ -174,10 +174,10 @@ input[readonly],
select[readonly], select[readonly],
textarea[readonly] { textarea[readonly] {
@include opacity(.5); @include opacity(.5);
cursor : not-allowed; cursor : not-allowed;
} }
/* /*
Focus & active state Focus & active state
========================================================================== */ ========================================================================== */
@@ -185,35 +185,35 @@ input:focus,
textarea:focus { textarea:focus {
border-color : $accentcolor; border-color : $accentcolor;
outline : 0; outline : 0;
outline : thin dotted \9; outline : thin dotted \9;
} }
input[type="file"]:focus, input[type="file"]:focus,
input[type="radio"]:focus, input[type="radio"]:focus,
input[type="checkbox"]:focus, input[type="checkbox"]:focus,
select:focus { select:focus {
@include box-shadow(none); @include box-shadow(none);
} }
/* /*
Help text Help text
========================================================================== */ ========================================================================== */
.help-block, .help-block,
.help-inline { .help-inline {
color : lighten($black, 50); color : lighten($black, 50);
} }
.help-block { .help-block {
display : block; display : block;
margin-bottom : 1em; margin-bottom : 1em;
line-height : 1em; line-height : 1em;
} }
.help-inline { .help-inline {
display : inline-block; display : inline-block;
vertical-align : middle; vertical-align : middle;
padding-left : 5px; padding-left : 5px;
} }
/* /*
.form-inline .form-inline
========================================================================== */ ========================================================================== */
@@ -221,17 +221,17 @@ select:focus {
.form-inline textarea, .form-inline textarea,
.form-inline select { .form-inline select {
display : inline-block; display : inline-block;
margin-bottom : 0; margin-bottom : 0;
} }
.form-inline label { .form-inline label {
display : inline-block; display : inline-block;
} }
.form-inline .radio, .form-inline .radio,
.form-inline .checkbox, .form-inline .checkbox,
.form-inline .radio { .form-inline .radio {
padding-left : 0; padding-left : 0;
margin-bottom : 0; margin-bottom : 0;
vertical-align : middle; vertical-align : middle;
} }
.form-inline .radio input[type="radio"], .form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] { .form-inline .checkbox input[type="checkbox"] {
@@ -239,7 +239,7 @@ select:focus {
margin-left : 0; margin-left : 0;
margin-right : 3px; } margin-right : 3px; }
/* /*
.form-search .form-search
========================================================================== */ ========================================================================== */
@@ -247,13 +247,13 @@ select:focus {
.form-search textarea, .form-search textarea,
.form-search select { .form-search select {
display : inline-block; display : inline-block;
margin-bottom : 0; margin-bottom : 0;
} }
.form-search .search-query { .form-search .search-query {
padding-left : 14px; padding-left : 14px;
padding-right : 14px; padding-right : 14px;
margin-bottom : 0; margin-bottom : 0;
@include rounded(14px); @include rounded(14px);
} }
.form-search label { .form-search label {
display : inline-block; display : inline-block;
+12 -12
View File
@@ -2,7 +2,7 @@
Grid mixins Grid mixins
========================================================================== */ ========================================================================== */
/* /*
Define number of columns in the grid Define number of columns in the grid
Common values would be 12, 16 or 24 Common values would be 12, 16 or 24
========================================================================== */ ========================================================================== */
@@ -16,7 +16,7 @@ $margin: 0;
width:$width; width:$width;
} }
/* /*
Works out the width of elements based on total number of columns and width Works out the width of elements based on total number of columns and width
number of columns being displayed. Removes 20px for margins. number of columns being displayed. Removes 20px for margins.
========================================================================== */ ========================================================================== */
@@ -25,9 +25,9 @@ $margin: 0;
display:$display; display:$display;
float:$float; float:$float;
width:(100%/$grid * $cols) - ($margin * 2); width:(100%/$grid * $cols) - ($margin * 2);
} }
/* /*
Add x amount of column padding before an element Add x amount of column padding before an element
Example: @include prefix(1,12); Example: @include prefix(1,12);
========================================================================== */ ========================================================================== */
@@ -36,16 +36,16 @@ $margin: 0;
margin-left:(100%/$grid * $cols); margin-left:(100%/$grid * $cols);
} }
/* /*
Add x amount of column padding after an element Add x amount of column padding after an element
Example: @include suffix(2,12); Example: @include suffix(2,12);
========================================================================== */ ========================================================================== */
@mixin suffix($grid:$def_grid,$cols:''){ @mixin suffix($grid:$def_grid,$cols:''){
margin-right:(100%/$grid * $cols); margin-right:(100%/$grid * $cols);
} }
/* /*
Remove left margin Remove left margin
Example: @include first; Example: @include first;
========================================================================== */ ========================================================================== */
@@ -54,7 +54,7 @@ $margin: 0;
margin-left:0; margin-left:0;
} }
/* /*
Remove right margin Remove right margin
Example: @include last; Example: @include last;
========================================================================== */ ========================================================================== */
@@ -63,7 +63,7 @@ $margin: 0;
margin-right:0; margin-right:0;
} }
/* /*
Push an element x amount of column(s) to the right Push an element x amount of column(s) to the right
Example: @include push(2,12); Example: @include push(2,12);
========================================================================== */ ========================================================================== */
@@ -71,9 +71,9 @@ $margin: 0;
@mixin push($grid:$def_grid,$move:'') { @mixin push($grid:$def_grid,$move:'') {
position:relative; position:relative;
left:(100%/$grid * $move); left:(100%/$grid * $move);
} }
/* /*
Pull an element x amount of column(s) to the left Pull an element x amount of column(s) to the left
Example: @include pull(1,12); Example: @include pull(1,12);
========================================================================== */ ========================================================================== */
+55 -55
View File
@@ -2,7 +2,7 @@
Utility mixins Utility mixins
========================================================================== */ ========================================================================== */
/* /*
Clearfix Clearfix
For clearing floats like a boss h5bp.com/q For clearing floats like a boss h5bp.com/q
========================================================================== */ ========================================================================== */
@@ -22,7 +22,7 @@
} }
} }
/* /*
Webkit-style focus Webkit-style focus
========================================================================== */ ========================================================================== */
@@ -34,7 +34,7 @@
outline-offset: -2px; outline-offset: -2px;
} }
/* /*
Center-align a block level element Center-align a block level element
========================================================================== */ ========================================================================== */
@@ -48,7 +48,7 @@
Typography related mixins Typography related mixins
========================================================================== */ ========================================================================== */
/* /*
Maintains vertical rhythm by setting a font-sizes proportional to Maintains vertical rhythm by setting a font-sizes proportional to
line-height and bottom margin line-height and bottom margin
example: @font-size(16); example: @font-size(16);
@@ -62,7 +62,7 @@
margin-bottom: 0rem + ($doc-line-height / $doc-font-size); margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
} }
/* /*
Just font-size (REMs + pixel fallback) Just font-size (REMs + pixel fallback)
example: @include font-rem(16); example: @include font-rem(16);
========================================================================== */ ========================================================================== */
@@ -72,7 +72,7 @@
font-size: 0rem + $size / $doc-font-size; font-size: 0rem + $size / $doc-font-size;
} }
/* /*
Just font-size (REMs + pixel fallback) and line-height Just font-size (REMs + pixel fallback) and line-height
@include font(16); @include font(16);
========================================================================== */ ========================================================================== */
@@ -83,14 +83,14 @@
line-height: 0 + round($doc-line-height / $size*10000) / 10000; line-height: 0 + round($doc-line-height / $size*10000) / 10000;
} }
/* /*
Hide text overflow and end with ... Hide text overflow and end with ...
========================================================================== */ ========================================================================== */
@mixin text-overflow() { @mixin text-overflow() {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
/* Indentation variable */ /* 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 : -ms-linear-gradient(top, $startColor, $endColor); // IE10
background-image : -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10 background-image : -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
background-image : linear-gradient(top, $startColor, $endColor); // W3C background-image : linear-gradient(top, $startColor, $endColor); // W3C
background-repeat : repeat-x; background-repeat : repeat-x;
} }
@mixin directional($startColor : $white, $endColor : $lightergrey, $deg : 45deg) { @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 : -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
background-image : -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10 background-image : -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
background-image : linear-gradient($deg, $startColor, $endColor); // W3C background-image : linear-gradient($deg, $startColor, $endColor); // W3C
background-repeat : repeat-x; background-repeat : repeat-x;
} }
// .bordered(COLOR, COLOR, COLOR, COLOR); // .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-top : solid 1px $top-color;
border-left : solid 1px $left-color; border-left : solid 1px $left-color;
border-right : solid 1px $right-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 Round all corners
example: @include rounded(4px); example: @include rounded(4px);
========================================================================== */ ========================================================================== */
@mixin rounded($radius:4px) { @mixin rounded($radius:4px) {
border-radius : $radius; border-radius : $radius;
} }
/* /*
Round individual corners (top right, bottom right, bottom left, top left) Round individual corners (top right, bottom right, bottom left, top left)
example: @include border-radius(4px, 0, 0, 4px); 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-bottom-left-radius: $bottomleft;
border-top-left-radius: $topleft; border-top-left-radius: $topleft;
-webkit-background-clip: padding-box; -webkit-background-clip: padding-box;
-moz-background-clip: padding; -moz-background-clip: padding;
background-clip: padding-box; background-clip: padding-box;
} }
/* /*
Box shadow Box shadow
example: @include box-shadow(HORIZONTAL VERTICAL BLUR COLOR)); 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)) { @mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
-webkit-box-shadow: $shadow; -webkit-box-shadow: $shadow;
-moz-box-shadow: $shadow; -moz-box-shadow: $shadow;
box-shadow: $shadow; box-shadow: $shadow;
} }
/* /*
Drop shadow Drop shadow
example: @include drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA); 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) { @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); -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); -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 Text shadow
example: @include text-shadow(0 2px 3px rgba(0,0,0,.25)); 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)) { @mixin text-shadow($shadow: 0 2px 3px rgba(0,0,0,.25)) {
text-shadow: $shadow; } text-shadow: $shadow; }
/* /*
Opacity Opacity
example: @include opacity(0.5); // 50% opacity example: @include opacity(0.5); // 50% opacity
========================================================================== */ ========================================================================== */
@mixin opacity($opacity: 0.5) { @mixin opacity($opacity: 0.5) {
opacity: $opacity; opacity: $opacity;
} }
/* ========================================================================== /* ==========================================================================
Transformations Transformations
========================================================================== */ ========================================================================== */
/* /*
@include rotate(VALUEdeg); @include rotate(VALUEdeg);
========================================================================== */ ========================================================================== */
@@ -223,10 +223,10 @@ text-shadow: $shadow; }
-moz-transform: rotate($deg); -moz-transform: rotate($deg);
-ms-transform: rotate($deg); -ms-transform: rotate($deg);
-o-transform: rotate($deg); -o-transform: rotate($deg);
transform: rotate($deg); transform: rotate($deg);
} }
/* /*
@include scale(VALUE); @include scale(VALUE);
========================================================================== */ ========================================================================== */
@@ -235,10 +235,10 @@ text-shadow: $shadow; }
-moz-transform: scale($ratio); -moz-transform: scale($ratio);
-ms-transform: scale($ratio); -ms-transform: scale($ratio);
-o-transform: scale($ratio); -o-transform: scale($ratio);
transform: scale($ratio); transform: scale($ratio);
} }
/* /*
@include skew(VALUE, VALUE); @include skew(VALUE, VALUE);
========================================================================== */ ========================================================================== */
@@ -247,10 +247,10 @@ text-shadow: $shadow; }
-moz-transform: skew($x, $y); -moz-transform: skew($x, $y);
-ms-transform: skew($x, $y); -ms-transform: skew($x, $y);
-o-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); @include transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
========================================================================== */ ========================================================================== */
@@ -259,10 +259,10 @@ text-shadow: $shadow; }
-moz-transition: $transition; -moz-transition: $transition;
-ms-transition: $transition; -ms-transition: $transition;
-o-transition: $transition; -o-transition: $transition;
transition: $transition; transition: $transition;
} }
/* /*
@include translate(VALUE, VALUE); @include translate(VALUE, VALUE);
========================================================================== */ ========================================================================== */
@@ -271,7 +271,7 @@ text-shadow: $shadow; }
-moz-transform: translate($x, $y); -moz-transform: translate($x, $y);
-ms-transform: translate($x, $y); -ms-transform: translate($x, $y);
-o-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) { @mixin translate3d($x: 0, $y: 0, $z: 0) {
@@ -279,7 +279,7 @@ text-shadow: $shadow; }
-moz-transform: translate($x, $y, $z); -moz-transform: translate($x, $y, $z);
-ms-transform: translate($x, $y, $z); -ms-transform: translate($x, $y, $z);
-o-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) { @mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease) {
@@ -292,15 +292,15 @@ text-shadow: $shadow; }
Background Background
========================================================================== */ ========================================================================== */
/* /*
@include background-alpha(VALUE VALUE); @include background-alpha(VALUE VALUE);
========================================================================== */ ========================================================================== */
@mixin background-alpha($color: $white, $alpha: 1) { @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); @include background-size(VALUE VALUE);
========================================================================== */ ========================================================================== */
@@ -308,10 +308,10 @@ text-shadow: $shadow; }
-webkit-background-size: $size; -webkit-background-size: $size;
-moz-background-size: $size; -moz-background-size: $size;
-o-background-size: $size; -o-background-size: $size;
background-size: $size; background-size: $size;
} }
/* /*
Box-sizing Box-sizing
example: @include box-sizing(VALUE); //(border-box, padding-box, content-box) example: @include box-sizing(VALUE); //(border-box, padding-box, content-box)
========================================================================== */ ========================================================================== */
@@ -320,7 +320,7 @@ text-shadow: $shadow; }
-webkit-box-sizing: $boxsize; -webkit-box-sizing: $boxsize;
-moz-box-sizing: $boxsize; -moz-box-sizing: $boxsize;
-ms-box-sizing: $boxsize; -ms-box-sizing: $boxsize;
box-sizing: $boxsize; box-sizing: $boxsize;
} }
/* ========================================================================== /* ==========================================================================
@@ -330,10 +330,10 @@ text-shadow: $shadow; }
@mixin hide-text() { @mixin hide-text() {
text-indent: 100%; text-indent: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
/* /*
Hide from visual and speaking browsers Hide from visual and speaking browsers
========================================================================== */ ========================================================================== */
@@ -342,15 +342,15 @@ text-shadow: $shadow; }
visibility: hidden; visibility: hidden;
} }
/* /*
Hide but maintain layout Hide but maintain layout
========================================================================== */ ========================================================================== */
@mixin invisible() { @mixin invisible() {
visibility: hidden; visibility: hidden;
} }
/* /*
Resize Resize
example: @include resize(VALUE); //(none, both, horizontal, vertical, inherit) example: @include resize(VALUE); //(none, both, horizontal, vertical, inherit)
@@ -358,19 +358,19 @@ text-shadow: $shadow; }
@mixin resize($direction: both) { @mixin resize($direction: both) {
resize: $direction; resize: $direction;
overflow: auto; overflow: auto;
} }
/* /*
Hidden but available to speaking browsers Hidden but available to speaking browsers
========================================================================== */ ========================================================================== */
@mixin visuallyhidden() { @mixin visuallyhidden() {
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
height: 1px; height: 1px;
width: 1px; width: 1px;
margin: -1px; margin: -1px;
padding: 0; padding: 0;
border: 0; } border: 0; }
+24 -16
View File
@@ -8,7 +8,7 @@ body {
color: $text-color; color: $text-color;
} }
/* /*
Header Header
========================================================================== */ ========================================================================== */
@@ -79,7 +79,7 @@ body {
white-space: nowrap; white-space: nowrap;
border-bottom: 0 solid transparent; border-bottom: 0 solid transparent;
} }
a { a {
display: block; display: block;
padding: 10px 0; padding: 10px 0;
decoration: none; decoration: none;
@@ -165,11 +165,11 @@ $button-size: 1.5rem;
} }
} }
// Style the toggle menu link and hide it // Style the toggle menu link and hide it
.nav .navtoogle { .nav .navtoggle {
@include font-rem(18); @include font-rem(18);
font-weight: normal; font-weight: normal;
background-color: $black; background-color: $black;
color: $white; color: $white;
border: none; border: none;
cursor: pointer; cursor: pointer;
@media #{$small} { @media #{$small} {
@@ -180,7 +180,7 @@ $button-size: 1.5rem;
border: none; border: none;
background: none; background: none;
} }
.navtoogle i { .navtoggle i {
z-index:-1; z-index:-1;
} }
.icon-menu { .icon-menu {
@@ -206,7 +206,7 @@ $button-size: 1.5rem;
} }
} }
// Displaying the menu when the user has clicked on the button // Displaying the menu when the user has clicked on the button
.js .nav .active + ul { .js .nav .active + ul {
max-height: 30em; max-height: 30em;
overflow: hidden; overflow: hidden;
-webkit-transition: max-height .4s; -webkit-transition: max-height .4s;
@@ -234,12 +234,15 @@ $button-size: 1.5rem;
@include suffix(12,1); @include suffix(12,1);
margin-bottom: 2em; margin-bottom: 2em;
@media #{$small} { @media #{$small} {
@include grid(12,6); @include grid(12,8);
@include prefix(12,0); @include prefix(12,0);
@include suffix(12,0); @include suffix(12,0);
} }
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} { @media #{$x-large} {
@include grid(12,4.5); @include grid(12,5);
} }
} }
} }
@@ -252,12 +255,15 @@ $button-size: 1.5rem;
@include suffix(12,1); @include suffix(12,1);
margin-bottom: 2em; margin-bottom: 2em;
@media #{$small} { @media #{$small} {
@include grid(12,6); @include grid(12,8);
@include prefix(12,0); @include prefix(12,0);
@include suffix(12,0); @include suffix(12,0);
} }
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} { @media #{$x-large} {
@include grid(12,4.5); @include grid(12,5);
} }
h3 { h3 {
margin: 0; margin: 0;
@@ -443,6 +449,8 @@ $button-size: 1.5rem;
.article-wrap { .article-wrap {
// Dotted line underlines for links // Dotted line underlines for links
p > a, p > a,
p > em > a,
p > strong > a,
li > a { li > a {
text-decoration: underline; text-decoration: underline;
} }
@@ -548,7 +556,7 @@ $button-size: 1.5rem;
margin: 1em 0; margin: 1em 0;
li { li {
display: inline; display: inline;
a { a {
border-bottom: 0 solid transparent; border-bottom: 0 solid transparent;
&:hover { &:hover {
border-bottom: 0 solid transparent; border-bottom: 0 solid transparent;
@@ -574,7 +582,7 @@ $button-size: 1.5rem;
li { li {
display: inline-block; display: inline-block;
} }
$social: $social:
(facebook, $facebook-color), (facebook, $facebook-color),
(flickr, $flickr-color), (flickr, $flickr-color),
(foursquare, $foursquare-color), (foursquare, $foursquare-color),
@@ -590,7 +598,7 @@ $button-size: 1.5rem;
@each $socialnetwork, $color in $social { @each $socialnetwork, $color in $social {
.#{$socialnetwork} { .#{$socialnetwork} {
background: $color; background: $color;
} }
} }
a { a {
display: block; display: block;
@@ -634,7 +642,7 @@ $button-size: 1.5rem;
h4, h4,
h5, h5,
h6, h6,
span { span {
@include font-rem(14); @include font-rem(14);
} }
footer { footer {
@@ -679,7 +687,7 @@ $button-size: 1.5rem;
} }
} }
/* /*
Browser upgrade alert Browser upgrade alert
========================================================================== */ ========================================================================== */
@@ -699,7 +707,7 @@ $button-size: 1.5rem;
} }
} }
} }
/* /*
Google search form Google search form
========================================================================== */ ========================================================================== */
+16
View File
@@ -0,0 +1,16 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */
/*
Hide the following elements on print
========================================================================== */
@media print {
.top-navigation,
.social-share,
.related-articles,
.google-ads {
display: none;
}
}
+13 -13
View File
@@ -2,22 +2,22 @@
Site wide styles Site wide styles
========================================================================== */ ========================================================================== */
/* /*
Selection Selection
========================================================================== */ ========================================================================== */
::-moz-selection { ::-moz-selection {
background-color: lighten($basecolor, 65%); background-color: lighten($basecolor, 65%);
color: $basecolor; color: $basecolor;
text-shadow: none; text-shadow: none;
} }
::selection { ::selection {
background-color: lighten($basecolor, 65%); background-color: lighten($basecolor, 65%);
color: $basecolor; color: $basecolor;
text-shadow: none; text-shadow: none;
} }
/* /*
Global classes Global classes
========================================================================== */ ========================================================================== */
@@ -63,10 +63,10 @@
} }
} }
/* /*
Global transition Global transition
========================================================================== */ ========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a { b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
@include transition(all .2s ease); @include transition(all .2s ease);
} }
+7 -2
View File
@@ -1,11 +1,16 @@
/* ========================================================================== /* ==========================================================================
Pygments.rb syntax highlighting Syntax highlighting
========================================================================== */ ========================================================================== */
pre.highlight {
padding: 1em;
}
.highlight { .highlight {
background-color: #efefef; background-color: #efefef;
font-family: $code-font; font-family: $code-font;
@include font(12); @include font-rem(12);
line-height: 1.5;
color: #333332; color: #333332;
margin-bottom: 1.5em; margin-bottom: 1.5em;
@include rounded(4px); @include rounded(4px);
+21 -21
View File
@@ -2,7 +2,7 @@
Typography Typography
========================================================================== */ ========================================================================== */
/* /*
Headings Headings
========================================================================== */ ========================================================================== */
@@ -28,30 +28,30 @@ h6 {
@include font-size(14); @include font-size(14);
} }
/* /*
Links Links
========================================================================== */ ========================================================================== */
a { a {
text-decoration: none; text-decoration: none;
color: $link-color; color: $link-color;
&:visited { &:visited {
color: $linkcolorvisited; color: $linkcolorvisited;
} }
&:hover { &:hover {
color: $linkcolorhover; color: $linkcolorhover;
} }
&:focus { &:focus {
outline: thin dotted; outline: thin dotted;
color: $linkcolorfocus; color: $linkcolorfocus;
} }
&:hover, &:hover,
&:active { &:active {
outline: 0; outline: 0;
} }
} }
/* /*
Figure captions Figure captions
========================================================================== */ ========================================================================== */
@@ -62,7 +62,7 @@ figcaption {
color: lighten($text-color, 10); color: lighten($text-color, 10);
} }
/* /*
Feature image captions Feature image captions
========================================================================== */ ========================================================================== */
@@ -89,7 +89,7 @@ figcaption {
} }
} }
/* /*
Notices Notices
========================================================================== */ ========================================================================== */
@@ -103,7 +103,7 @@ figcaption {
@include rounded(3px); @include rounded(3px);
} }
/* /*
Blockquotes Blockquotes
========================================================================== */ ========================================================================== */
@@ -115,7 +115,7 @@ blockquote {
font-style: italic; font-style: italic;
} }
/* /*
Footnotes Footnotes
========================================================================== */ ========================================================================== */
@@ -126,7 +126,7 @@ blockquote {
} }
} }
/* /*
Paragraphs Paragraphs
========================================================================== */ ========================================================================== */
@@ -141,7 +141,7 @@ p {
} }
} }
/* /*
Code snippets Code snippets
========================================================================== */ ========================================================================== */
@@ -149,7 +149,7 @@ tt, code, kbd, samp, pre {
font-family: $code-font; font-family: $code-font;
} }
p, p,
li { li {
code { code {
@include font-rem(12); @include font-rem(12);
line-height: 1.5; line-height: 1.5;
+7 -7
View File
@@ -2,7 +2,7 @@
Sass variables Sass variables
========================================================================== */ ========================================================================== */
/* /*
Typography 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; $code-font: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
$alt-font: $base-font; $alt-font: $base-font;
/* /*
Colors Colors
========================================================================== */ ========================================================================== */
@@ -23,8 +23,8 @@ $body-color : $bodycolor;
$textcolor : #333332; $textcolor : #333332;
$text-color : $textcolor; $text-color : $textcolor;
$border-color : $text-color; $border-color : $text-color;
$basecolor : #343434; $basecolor : #343434;
$compcolor : spin($basecolor, 180); $compcolor : spin($basecolor, 180);
$bordercolor : $basecolor; $bordercolor : $basecolor;
$white : #fff; $white : #fff;
$black : #111; $black : #111;
@@ -58,12 +58,12 @@ $linkcolorhover : darken($linkcolor, 10);
$linkcolorvisited : lighten($linkcolorhover, 20); $linkcolorvisited : lighten($linkcolorhover, 20);
$linkcolorfocus : darken($linkcolorvisited, 10); $linkcolorfocus : darken($linkcolorvisited, 10);
/* /*
Breakpoints Breakpoints
========================================================================== */ ========================================================================== */
$micro : "only screen and (min-width: 30em)"; $micro : "only screen and (min-width: 30em)";
$small : "only screen and (min-width: 37.5em)"; $small : "only screen and (min-width: 37.5em)";
$medium : "only screen and (min-width: 48em)"; $medium : "only screen and (min-width: 48em)";
$large : "only screen and (min-width: 62em)"; $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
@@ -0,0 +1,34 @@
// 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,6 +7,15 @@
border-radius: .1em; 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-right { float: right; }
.pull-left { float: left; } .pull-left { float: left; }
+4 -4
View File
@@ -3,10 +3,10 @@
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
font-style: normal; font-size: inherit; // can't have font-size inherit on line above, so need to override
font-weight: normal; text-rendering: auto; // optimizelegibility throws things off #1094
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
+194 -3
View File
@@ -14,6 +14,8 @@
.#{$fa-css-prefix}-th:before { content: $fa-var-th; } .#{$fa-css-prefix}-th:before { content: $fa-var-th; }
.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; } .#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; }
.#{$fa-css-prefix}-check:before { content: $fa-var-check; } .#{$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}-times:before { content: $fa-var-times; }
.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; } .#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; }
.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; } .#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; }
@@ -129,7 +131,8 @@
.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; } .#{$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-v:before { content: $fa-var-arrows-v; }
.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; } .#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; }
.#{$fa-css-prefix}-bar-chart-o:before { content: $fa-var-bar-chart-o; } .#{$fa-css-prefix}-bar-chart-o:before,
.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; }
.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; } .#{$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}-facebook-square:before { content: $fa-var-facebook-square; }
.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; } .#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; }
@@ -155,10 +158,12 @@
.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; } .#{$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}-phone-square:before { content: $fa-var-phone-square; }
.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; } .#{$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}-facebook:before { content: $fa-var-facebook; }
.#{$fa-css-prefix}-github:before { content: $fa-var-github; } .#{$fa-css-prefix}-github:before { content: $fa-var-github; }
.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; } .#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; }
.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; } .#{$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}-rss:before { content: $fa-var-rss; }
.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; } .#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; }
.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; } .#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; }
@@ -394,7 +399,8 @@
.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; } .#{$fa-css-prefix}-trello:before { content: $fa-var-trello; }
.#{$fa-css-prefix}-female:before { content: $fa-var-female; } .#{$fa-css-prefix}-female:before { content: $fa-var-female; }
.#{$fa-css-prefix}-male:before { content: $fa-var-male; } .#{$fa-css-prefix}-male:before { content: $fa-var-male; }
.#{$fa-css-prefix}-gittip:before { content: $fa-var-gittip; } .#{$fa-css-prefix}-gittip:before,
.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; }
.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; } .#{$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}-moon-o:before { content: $fa-var-moon-o; }
.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; } .#{$fa-css-prefix}-archive:before { content: $fa-var-archive; }
@@ -432,7 +438,6 @@
.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; } .#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }
.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; } .#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }
.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; } .#{$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:before { content: $fa-var-pied-piper; }
.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; } .#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }
.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; } .#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }
@@ -477,6 +482,7 @@
.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; } .#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; }
.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; } .#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; }
.#{$fa-css-prefix}-life-bouy:before, .#{$fa-css-prefix}-life-bouy:before,
.#{$fa-css-prefix}-life-buoy:before,
.#{$fa-css-prefix}-life-saver:before, .#{$fa-css-prefix}-life-saver:before,
.#{$fa-css-prefix}-support:before, .#{$fa-css-prefix}-support:before,
.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; } .#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }
@@ -487,6 +493,8 @@
.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; } .#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }
.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; } .#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; }
.#{$fa-css-prefix}-git:before { content: $fa-var-git; } .#{$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}-hacker-news:before { content: $fa-var-hacker-news; }
.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; } .#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; }
.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; } .#{$fa-css-prefix}-qq:before { content: $fa-var-qq; }
@@ -504,3 +512,186 @@
.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; } .#{$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}-share-alt-square:before { content: $fa-var-share-alt-square; }
.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; } .#{$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; }
+10 -4
View File
@@ -1,20 +1,26 @@
// Mixins // 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) { @mixin fa-icon-rotate($degrees, $rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
-webkit-transform: rotate($degrees); -webkit-transform: rotate($degrees);
-moz-transform: rotate($degrees);
-ms-transform: rotate($degrees); -ms-transform: rotate($degrees);
-o-transform: rotate($degrees);
transform: rotate($degrees); transform: rotate($degrees);
} }
@mixin fa-icon-flip($horiz, $vert, $rotation) { @mixin fa-icon-flip($horiz, $vert, $rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
-webkit-transform: scale($horiz, $vert); -webkit-transform: scale($horiz, $vert);
-moz-transform: scale($horiz, $vert);
-ms-transform: scale($horiz, $vert); -ms-transform: scale($horiz, $vert);
-o-transform: scale($horiz, $vert);
transform: scale($horiz, $vert); transform: scale($horiz, $vert);
} }
+2 -1
View File
@@ -5,10 +5,11 @@
font-family: 'FontAwesome'; font-family: 'FontAwesome';
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 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'), 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.woff?v=#{$fa-version}') format('woff'),
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 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'); 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-weight: normal;
font-style: normal; font-style: normal;
} }
+11
View File
@@ -7,3 +7,14 @@
.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } .#{$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
@@ -1,32 +0,0 @@
// 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);
}
}
+196 -3
View File
@@ -2,22 +2,27 @@
// -------------------------- // --------------------------
$fa-font-path: "../fonts" !default; $fa-font-path: "../fonts" !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.1.0/fonts" !default; // for referencing Bootstrap CDN font files directly $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-css-prefix: fa !default; $fa-css-prefix: fa !default;
$fa-version: "4.1.0" !default; $fa-version: "4.5.0" !default;
$fa-border-color: #eee !default; $fa-border-color: #eee !default;
$fa-inverse: #fff !default; $fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default; $fa-li-width: (30em / 14) !default;
$fa-var-500px: "\f26e";
$fa-var-adjust: "\f042"; $fa-var-adjust: "\f042";
$fa-var-adn: "\f170"; $fa-var-adn: "\f170";
$fa-var-align-center: "\f037"; $fa-var-align-center: "\f037";
$fa-var-align-justify: "\f039"; $fa-var-align-justify: "\f039";
$fa-var-align-left: "\f036"; $fa-var-align-left: "\f036";
$fa-var-align-right: "\f038"; $fa-var-align-right: "\f038";
$fa-var-amazon: "\f270";
$fa-var-ambulance: "\f0f9"; $fa-var-ambulance: "\f0f9";
$fa-var-anchor: "\f13d"; $fa-var-anchor: "\f13d";
$fa-var-android: "\f17b"; $fa-var-android: "\f17b";
$fa-var-angellist: "\f209";
$fa-var-angle-double-down: "\f103"; $fa-var-angle-double-down: "\f103";
$fa-var-angle-double-left: "\f100"; $fa-var-angle-double-left: "\f100";
$fa-var-angle-double-right: "\f101"; $fa-var-angle-double-right: "\f101";
@@ -28,6 +33,7 @@ $fa-var-angle-right: "\f105";
$fa-var-angle-up: "\f106"; $fa-var-angle-up: "\f106";
$fa-var-apple: "\f179"; $fa-var-apple: "\f179";
$fa-var-archive: "\f187"; $fa-var-archive: "\f187";
$fa-var-area-chart: "\f1fe";
$fa-var-arrow-circle-down: "\f0ab"; $fa-var-arrow-circle-down: "\f0ab";
$fa-var-arrow-circle-left: "\f0a8"; $fa-var-arrow-circle-left: "\f0a8";
$fa-var-arrow-circle-o-down: "\f01a"; $fa-var-arrow-circle-o-down: "\f01a";
@@ -45,21 +51,43 @@ $fa-var-arrows-alt: "\f0b2";
$fa-var-arrows-h: "\f07e"; $fa-var-arrows-h: "\f07e";
$fa-var-arrows-v: "\f07d"; $fa-var-arrows-v: "\f07d";
$fa-var-asterisk: "\f069"; $fa-var-asterisk: "\f069";
$fa-var-at: "\f1fa";
$fa-var-automobile: "\f1b9"; $fa-var-automobile: "\f1b9";
$fa-var-backward: "\f04a"; $fa-var-backward: "\f04a";
$fa-var-balance-scale: "\f24e";
$fa-var-ban: "\f05e"; $fa-var-ban: "\f05e";
$fa-var-bank: "\f19c"; $fa-var-bank: "\f19c";
$fa-var-bar-chart: "\f080";
$fa-var-bar-chart-o: "\f080"; $fa-var-bar-chart-o: "\f080";
$fa-var-barcode: "\f02a"; $fa-var-barcode: "\f02a";
$fa-var-bars: "\f0c9"; $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-beer: "\f0fc";
$fa-var-behance: "\f1b4"; $fa-var-behance: "\f1b4";
$fa-var-behance-square: "\f1b5"; $fa-var-behance-square: "\f1b5";
$fa-var-bell: "\f0f3"; $fa-var-bell: "\f0f3";
$fa-var-bell-o: "\f0a2"; $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: "\f171";
$fa-var-bitbucket-square: "\f172"; $fa-var-bitbucket-square: "\f172";
$fa-var-bitcoin: "\f15a"; $fa-var-bitcoin: "\f15a";
$fa-var-black-tie: "\f27e";
$fa-var-bluetooth: "\f293";
$fa-var-bluetooth-b: "\f294";
$fa-var-bold: "\f032"; $fa-var-bold: "\f032";
$fa-var-bolt: "\f0e7"; $fa-var-bolt: "\f0e7";
$fa-var-bomb: "\f1e2"; $fa-var-bomb: "\f1e2";
@@ -73,9 +101,16 @@ $fa-var-building: "\f1ad";
$fa-var-building-o: "\f0f7"; $fa-var-building-o: "\f0f7";
$fa-var-bullhorn: "\f0a1"; $fa-var-bullhorn: "\f0a1";
$fa-var-bullseye: "\f140"; $fa-var-bullseye: "\f140";
$fa-var-bus: "\f207";
$fa-var-buysellads: "\f20d";
$fa-var-cab: "\f1ba"; $fa-var-cab: "\f1ba";
$fa-var-calculator: "\f1ec";
$fa-var-calendar: "\f073"; $fa-var-calendar: "\f073";
$fa-var-calendar-check-o: "\f274";
$fa-var-calendar-minus-o: "\f272";
$fa-var-calendar-o: "\f133"; $fa-var-calendar-o: "\f133";
$fa-var-calendar-plus-o: "\f271";
$fa-var-calendar-times-o: "\f273";
$fa-var-camera: "\f030"; $fa-var-camera: "\f030";
$fa-var-camera-retro: "\f083"; $fa-var-camera-retro: "\f083";
$fa-var-car: "\f1b9"; $fa-var-car: "\f1b9";
@@ -87,6 +122,17 @@ $fa-var-caret-square-o-left: "\f191";
$fa-var-caret-square-o-right: "\f152"; $fa-var-caret-square-o-right: "\f152";
$fa-var-caret-square-o-up: "\f151"; $fa-var-caret-square-o-up: "\f151";
$fa-var-caret-up: "\f0d8"; $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-certificate: "\f0a3";
$fa-var-chain: "\f0c1"; $fa-var-chain: "\f0c1";
$fa-var-chain-broken: "\f127"; $fa-var-chain-broken: "\f127";
@@ -104,12 +150,15 @@ $fa-var-chevron-left: "\f053";
$fa-var-chevron-right: "\f054"; $fa-var-chevron-right: "\f054";
$fa-var-chevron-up: "\f077"; $fa-var-chevron-up: "\f077";
$fa-var-child: "\f1ae"; $fa-var-child: "\f1ae";
$fa-var-chrome: "\f268";
$fa-var-circle: "\f111"; $fa-var-circle: "\f111";
$fa-var-circle-o: "\f10c"; $fa-var-circle-o: "\f10c";
$fa-var-circle-o-notch: "\f1ce"; $fa-var-circle-o-notch: "\f1ce";
$fa-var-circle-thin: "\f1db"; $fa-var-circle-thin: "\f1db";
$fa-var-clipboard: "\f0ea"; $fa-var-clipboard: "\f0ea";
$fa-var-clock-o: "\f017"; $fa-var-clock-o: "\f017";
$fa-var-clone: "\f24d";
$fa-var-close: "\f00d";
$fa-var-cloud: "\f0c2"; $fa-var-cloud: "\f0c2";
$fa-var-cloud-download: "\f0ed"; $fa-var-cloud-download: "\f0ed";
$fa-var-cloud-upload: "\f0ee"; $fa-var-cloud-upload: "\f0ee";
@@ -117,18 +166,26 @@ $fa-var-cny: "\f157";
$fa-var-code: "\f121"; $fa-var-code: "\f121";
$fa-var-code-fork: "\f126"; $fa-var-code-fork: "\f126";
$fa-var-codepen: "\f1cb"; $fa-var-codepen: "\f1cb";
$fa-var-codiepie: "\f284";
$fa-var-coffee: "\f0f4"; $fa-var-coffee: "\f0f4";
$fa-var-cog: "\f013"; $fa-var-cog: "\f013";
$fa-var-cogs: "\f085"; $fa-var-cogs: "\f085";
$fa-var-columns: "\f0db"; $fa-var-columns: "\f0db";
$fa-var-comment: "\f075"; $fa-var-comment: "\f075";
$fa-var-comment-o: "\f0e5"; $fa-var-comment-o: "\f0e5";
$fa-var-commenting: "\f27a";
$fa-var-commenting-o: "\f27b";
$fa-var-comments: "\f086"; $fa-var-comments: "\f086";
$fa-var-comments-o: "\f0e6"; $fa-var-comments-o: "\f0e6";
$fa-var-compass: "\f14e"; $fa-var-compass: "\f14e";
$fa-var-compress: "\f066"; $fa-var-compress: "\f066";
$fa-var-connectdevelop: "\f20e";
$fa-var-contao: "\f26d";
$fa-var-copy: "\f0c5"; $fa-var-copy: "\f0c5";
$fa-var-copyright: "\f1f9";
$fa-var-creative-commons: "\f25e";
$fa-var-credit-card: "\f09d"; $fa-var-credit-card: "\f09d";
$fa-var-credit-card-alt: "\f283";
$fa-var-crop: "\f125"; $fa-var-crop: "\f125";
$fa-var-crosshairs: "\f05b"; $fa-var-crosshairs: "\f05b";
$fa-var-css3: "\f13c"; $fa-var-css3: "\f13c";
@@ -137,11 +194,13 @@ $fa-var-cubes: "\f1b3";
$fa-var-cut: "\f0c4"; $fa-var-cut: "\f0c4";
$fa-var-cutlery: "\f0f5"; $fa-var-cutlery: "\f0f5";
$fa-var-dashboard: "\f0e4"; $fa-var-dashboard: "\f0e4";
$fa-var-dashcube: "\f210";
$fa-var-database: "\f1c0"; $fa-var-database: "\f1c0";
$fa-var-dedent: "\f03b"; $fa-var-dedent: "\f03b";
$fa-var-delicious: "\f1a5"; $fa-var-delicious: "\f1a5";
$fa-var-desktop: "\f108"; $fa-var-desktop: "\f108";
$fa-var-deviantart: "\f1bd"; $fa-var-deviantart: "\f1bd";
$fa-var-diamond: "\f219";
$fa-var-digg: "\f1a6"; $fa-var-digg: "\f1a6";
$fa-var-dollar: "\f155"; $fa-var-dollar: "\f155";
$fa-var-dot-circle-o: "\f192"; $fa-var-dot-circle-o: "\f192";
@@ -149,6 +208,7 @@ $fa-var-download: "\f019";
$fa-var-dribbble: "\f17d"; $fa-var-dribbble: "\f17d";
$fa-var-dropbox: "\f16b"; $fa-var-dropbox: "\f16b";
$fa-var-drupal: "\f1a9"; $fa-var-drupal: "\f1a9";
$fa-var-edge: "\f282";
$fa-var-edit: "\f044"; $fa-var-edit: "\f044";
$fa-var-eject: "\f052"; $fa-var-eject: "\f052";
$fa-var-ellipsis-h: "\f141"; $fa-var-ellipsis-h: "\f141";
@@ -165,15 +225,20 @@ $fa-var-exclamation: "\f12a";
$fa-var-exclamation-circle: "\f06a"; $fa-var-exclamation-circle: "\f06a";
$fa-var-exclamation-triangle: "\f071"; $fa-var-exclamation-triangle: "\f071";
$fa-var-expand: "\f065"; $fa-var-expand: "\f065";
$fa-var-expeditedssl: "\f23e";
$fa-var-external-link: "\f08e"; $fa-var-external-link: "\f08e";
$fa-var-external-link-square: "\f14c"; $fa-var-external-link-square: "\f14c";
$fa-var-eye: "\f06e"; $fa-var-eye: "\f06e";
$fa-var-eye-slash: "\f070"; $fa-var-eye-slash: "\f070";
$fa-var-eyedropper: "\f1fb";
$fa-var-facebook: "\f09a"; $fa-var-facebook: "\f09a";
$fa-var-facebook-f: "\f09a";
$fa-var-facebook-official: "\f230";
$fa-var-facebook-square: "\f082"; $fa-var-facebook-square: "\f082";
$fa-var-fast-backward: "\f049"; $fa-var-fast-backward: "\f049";
$fa-var-fast-forward: "\f050"; $fa-var-fast-forward: "\f050";
$fa-var-fax: "\f1ac"; $fa-var-fax: "\f1ac";
$fa-var-feed: "\f09e";
$fa-var-female: "\f182"; $fa-var-female: "\f182";
$fa-var-fighter-jet: "\f0fb"; $fa-var-fighter-jet: "\f0fb";
$fa-var-file: "\f15b"; $fa-var-file: "\f15b";
@@ -199,6 +264,7 @@ $fa-var-film: "\f008";
$fa-var-filter: "\f0b0"; $fa-var-filter: "\f0b0";
$fa-var-fire: "\f06d"; $fa-var-fire: "\f06d";
$fa-var-fire-extinguisher: "\f134"; $fa-var-fire-extinguisher: "\f134";
$fa-var-firefox: "\f269";
$fa-var-flag: "\f024"; $fa-var-flag: "\f024";
$fa-var-flag-checkered: "\f11e"; $fa-var-flag-checkered: "\f11e";
$fa-var-flag-o: "\f11d"; $fa-var-flag-o: "\f11d";
@@ -211,15 +277,23 @@ $fa-var-folder-o: "\f114";
$fa-var-folder-open: "\f07c"; $fa-var-folder-open: "\f07c";
$fa-var-folder-open-o: "\f115"; $fa-var-folder-open-o: "\f115";
$fa-var-font: "\f031"; $fa-var-font: "\f031";
$fa-var-fonticons: "\f280";
$fa-var-fort-awesome: "\f286";
$fa-var-forumbee: "\f211";
$fa-var-forward: "\f04e"; $fa-var-forward: "\f04e";
$fa-var-foursquare: "\f180"; $fa-var-foursquare: "\f180";
$fa-var-frown-o: "\f119"; $fa-var-frown-o: "\f119";
$fa-var-futbol-o: "\f1e3";
$fa-var-gamepad: "\f11b"; $fa-var-gamepad: "\f11b";
$fa-var-gavel: "\f0e3"; $fa-var-gavel: "\f0e3";
$fa-var-gbp: "\f154"; $fa-var-gbp: "\f154";
$fa-var-ge: "\f1d1"; $fa-var-ge: "\f1d1";
$fa-var-gear: "\f013"; $fa-var-gear: "\f013";
$fa-var-gears: "\f085"; $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-gift: "\f06b";
$fa-var-git: "\f1d3"; $fa-var-git: "\f1d3";
$fa-var-git-square: "\f1d2"; $fa-var-git-square: "\f1d2";
@@ -232,31 +306,60 @@ $fa-var-globe: "\f0ac";
$fa-var-google: "\f1a0"; $fa-var-google: "\f1a0";
$fa-var-google-plus: "\f0d5"; $fa-var-google-plus: "\f0d5";
$fa-var-google-plus-square: "\f0d4"; $fa-var-google-plus-square: "\f0d4";
$fa-var-google-wallet: "\f1ee";
$fa-var-graduation-cap: "\f19d"; $fa-var-graduation-cap: "\f19d";
$fa-var-gratipay: "\f184";
$fa-var-group: "\f0c0"; $fa-var-group: "\f0c0";
$fa-var-h-square: "\f0fd"; $fa-var-h-square: "\f0fd";
$fa-var-hacker-news: "\f1d4"; $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-down: "\f0a7";
$fa-var-hand-o-left: "\f0a5"; $fa-var-hand-o-left: "\f0a5";
$fa-var-hand-o-right: "\f0a4"; $fa-var-hand-o-right: "\f0a4";
$fa-var-hand-o-up: "\f0a6"; $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-hdd-o: "\f0a0";
$fa-var-header: "\f1dc"; $fa-var-header: "\f1dc";
$fa-var-headphones: "\f025"; $fa-var-headphones: "\f025";
$fa-var-heart: "\f004"; $fa-var-heart: "\f004";
$fa-var-heart-o: "\f08a"; $fa-var-heart-o: "\f08a";
$fa-var-heartbeat: "\f21e";
$fa-var-history: "\f1da"; $fa-var-history: "\f1da";
$fa-var-home: "\f015"; $fa-var-home: "\f015";
$fa-var-hospital-o: "\f0f8"; $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-html5: "\f13b";
$fa-var-i-cursor: "\f246";
$fa-var-ils: "\f20b";
$fa-var-image: "\f03e"; $fa-var-image: "\f03e";
$fa-var-inbox: "\f01c"; $fa-var-inbox: "\f01c";
$fa-var-indent: "\f03c"; $fa-var-indent: "\f03c";
$fa-var-industry: "\f275";
$fa-var-info: "\f129"; $fa-var-info: "\f129";
$fa-var-info-circle: "\f05a"; $fa-var-info-circle: "\f05a";
$fa-var-inr: "\f156"; $fa-var-inr: "\f156";
$fa-var-instagram: "\f16d"; $fa-var-instagram: "\f16d";
$fa-var-institution: "\f19c"; $fa-var-institution: "\f19c";
$fa-var-internet-explorer: "\f26b";
$fa-var-intersex: "\f224";
$fa-var-ioxhost: "\f208";
$fa-var-italic: "\f033"; $fa-var-italic: "\f033";
$fa-var-joomla: "\f1aa"; $fa-var-joomla: "\f1aa";
$fa-var-jpy: "\f157"; $fa-var-jpy: "\f157";
@@ -266,15 +369,20 @@ $fa-var-keyboard-o: "\f11c";
$fa-var-krw: "\f159"; $fa-var-krw: "\f159";
$fa-var-language: "\f1ab"; $fa-var-language: "\f1ab";
$fa-var-laptop: "\f109"; $fa-var-laptop: "\f109";
$fa-var-lastfm: "\f202";
$fa-var-lastfm-square: "\f203";
$fa-var-leaf: "\f06c"; $fa-var-leaf: "\f06c";
$fa-var-leanpub: "\f212";
$fa-var-legal: "\f0e3"; $fa-var-legal: "\f0e3";
$fa-var-lemon-o: "\f094"; $fa-var-lemon-o: "\f094";
$fa-var-level-down: "\f149"; $fa-var-level-down: "\f149";
$fa-var-level-up: "\f148"; $fa-var-level-up: "\f148";
$fa-var-life-bouy: "\f1cd"; $fa-var-life-bouy: "\f1cd";
$fa-var-life-buoy: "\f1cd";
$fa-var-life-ring: "\f1cd"; $fa-var-life-ring: "\f1cd";
$fa-var-life-saver: "\f1cd"; $fa-var-life-saver: "\f1cd";
$fa-var-lightbulb-o: "\f0eb"; $fa-var-lightbulb-o: "\f0eb";
$fa-var-line-chart: "\f201";
$fa-var-link: "\f0c1"; $fa-var-link: "\f0c1";
$fa-var-linkedin: "\f0e1"; $fa-var-linkedin: "\f0e1";
$fa-var-linkedin-square: "\f08c"; $fa-var-linkedin-square: "\f08c";
@@ -295,55 +403,88 @@ $fa-var-mail-forward: "\f064";
$fa-var-mail-reply: "\f112"; $fa-var-mail-reply: "\f112";
$fa-var-mail-reply-all: "\f122"; $fa-var-mail-reply-all: "\f122";
$fa-var-male: "\f183"; $fa-var-male: "\f183";
$fa-var-map: "\f279";
$fa-var-map-marker: "\f041"; $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-maxcdn: "\f136";
$fa-var-meanpath: "\f20c";
$fa-var-medium: "\f23a";
$fa-var-medkit: "\f0fa"; $fa-var-medkit: "\f0fa";
$fa-var-meh-o: "\f11a"; $fa-var-meh-o: "\f11a";
$fa-var-mercury: "\f223";
$fa-var-microphone: "\f130"; $fa-var-microphone: "\f130";
$fa-var-microphone-slash: "\f131"; $fa-var-microphone-slash: "\f131";
$fa-var-minus: "\f068"; $fa-var-minus: "\f068";
$fa-var-minus-circle: "\f056"; $fa-var-minus-circle: "\f056";
$fa-var-minus-square: "\f146"; $fa-var-minus-square: "\f146";
$fa-var-minus-square-o: "\f147"; $fa-var-minus-square-o: "\f147";
$fa-var-mixcloud: "\f289";
$fa-var-mobile: "\f10b"; $fa-var-mobile: "\f10b";
$fa-var-mobile-phone: "\f10b"; $fa-var-mobile-phone: "\f10b";
$fa-var-modx: "\f285";
$fa-var-money: "\f0d6"; $fa-var-money: "\f0d6";
$fa-var-moon-o: "\f186"; $fa-var-moon-o: "\f186";
$fa-var-mortar-board: "\f19d"; $fa-var-mortar-board: "\f19d";
$fa-var-motorcycle: "\f21c";
$fa-var-mouse-pointer: "\f245";
$fa-var-music: "\f001"; $fa-var-music: "\f001";
$fa-var-navicon: "\f0c9"; $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-openid: "\f19b";
$fa-var-opera: "\f26a";
$fa-var-optin-monster: "\f23c";
$fa-var-outdent: "\f03b"; $fa-var-outdent: "\f03b";
$fa-var-pagelines: "\f18c"; $fa-var-pagelines: "\f18c";
$fa-var-paint-brush: "\f1fc";
$fa-var-paper-plane: "\f1d8"; $fa-var-paper-plane: "\f1d8";
$fa-var-paper-plane-o: "\f1d9"; $fa-var-paper-plane-o: "\f1d9";
$fa-var-paperclip: "\f0c6"; $fa-var-paperclip: "\f0c6";
$fa-var-paragraph: "\f1dd"; $fa-var-paragraph: "\f1dd";
$fa-var-paste: "\f0ea"; $fa-var-paste: "\f0ea";
$fa-var-pause: "\f04c"; $fa-var-pause: "\f04c";
$fa-var-pause-circle: "\f28b";
$fa-var-pause-circle-o: "\f28c";
$fa-var-paw: "\f1b0"; $fa-var-paw: "\f1b0";
$fa-var-paypal: "\f1ed";
$fa-var-pencil: "\f040"; $fa-var-pencil: "\f040";
$fa-var-pencil-square: "\f14b"; $fa-var-pencil-square: "\f14b";
$fa-var-pencil-square-o: "\f044"; $fa-var-pencil-square-o: "\f044";
$fa-var-percent: "\f295";
$fa-var-phone: "\f095"; $fa-var-phone: "\f095";
$fa-var-phone-square: "\f098"; $fa-var-phone-square: "\f098";
$fa-var-photo: "\f03e"; $fa-var-photo: "\f03e";
$fa-var-picture-o: "\f03e"; $fa-var-picture-o: "\f03e";
$fa-var-pie-chart: "\f200";
$fa-var-pied-piper: "\f1a7"; $fa-var-pied-piper: "\f1a7";
$fa-var-pied-piper-alt: "\f1a8"; $fa-var-pied-piper-alt: "\f1a8";
$fa-var-pied-piper-square: "\f1a7";
$fa-var-pinterest: "\f0d2"; $fa-var-pinterest: "\f0d2";
$fa-var-pinterest-p: "\f231";
$fa-var-pinterest-square: "\f0d3"; $fa-var-pinterest-square: "\f0d3";
$fa-var-plane: "\f072"; $fa-var-plane: "\f072";
$fa-var-play: "\f04b"; $fa-var-play: "\f04b";
$fa-var-play-circle: "\f144"; $fa-var-play-circle: "\f144";
$fa-var-play-circle-o: "\f01d"; $fa-var-play-circle-o: "\f01d";
$fa-var-plug: "\f1e6";
$fa-var-plus: "\f067"; $fa-var-plus: "\f067";
$fa-var-plus-circle: "\f055"; $fa-var-plus-circle: "\f055";
$fa-var-plus-square: "\f0fe"; $fa-var-plus-square: "\f0fe";
$fa-var-plus-square-o: "\f196"; $fa-var-plus-square-o: "\f196";
$fa-var-power-off: "\f011"; $fa-var-power-off: "\f011";
$fa-var-print: "\f02f"; $fa-var-print: "\f02f";
$fa-var-product-hunt: "\f288";
$fa-var-puzzle-piece: "\f12e"; $fa-var-puzzle-piece: "\f12e";
$fa-var-qq: "\f1d6"; $fa-var-qq: "\f1d6";
$fa-var-qrcode: "\f029"; $fa-var-qrcode: "\f029";
@@ -356,8 +497,11 @@ $fa-var-random: "\f074";
$fa-var-rebel: "\f1d0"; $fa-var-rebel: "\f1d0";
$fa-var-recycle: "\f1b8"; $fa-var-recycle: "\f1b8";
$fa-var-reddit: "\f1a1"; $fa-var-reddit: "\f1a1";
$fa-var-reddit-alien: "\f281";
$fa-var-reddit-square: "\f1a2"; $fa-var-reddit-square: "\f1a2";
$fa-var-refresh: "\f021"; $fa-var-refresh: "\f021";
$fa-var-registered: "\f25d";
$fa-var-remove: "\f00d";
$fa-var-renren: "\f18b"; $fa-var-renren: "\f18b";
$fa-var-reorder: "\f0c9"; $fa-var-reorder: "\f0c9";
$fa-var-repeat: "\f01e"; $fa-var-repeat: "\f01e";
@@ -375,28 +519,42 @@ $fa-var-rss-square: "\f143";
$fa-var-rub: "\f158"; $fa-var-rub: "\f158";
$fa-var-ruble: "\f158"; $fa-var-ruble: "\f158";
$fa-var-rupee: "\f156"; $fa-var-rupee: "\f156";
$fa-var-safari: "\f267";
$fa-var-save: "\f0c7"; $fa-var-save: "\f0c7";
$fa-var-scissors: "\f0c4"; $fa-var-scissors: "\f0c4";
$fa-var-scribd: "\f28a";
$fa-var-search: "\f002"; $fa-var-search: "\f002";
$fa-var-search-minus: "\f010"; $fa-var-search-minus: "\f010";
$fa-var-search-plus: "\f00e"; $fa-var-search-plus: "\f00e";
$fa-var-sellsy: "\f213";
$fa-var-send: "\f1d8"; $fa-var-send: "\f1d8";
$fa-var-send-o: "\f1d9"; $fa-var-send-o: "\f1d9";
$fa-var-server: "\f233";
$fa-var-share: "\f064"; $fa-var-share: "\f064";
$fa-var-share-alt: "\f1e0"; $fa-var-share-alt: "\f1e0";
$fa-var-share-alt-square: "\f1e1"; $fa-var-share-alt-square: "\f1e1";
$fa-var-share-square: "\f14d"; $fa-var-share-square: "\f14d";
$fa-var-share-square-o: "\f045"; $fa-var-share-square-o: "\f045";
$fa-var-shekel: "\f20b";
$fa-var-sheqel: "\f20b";
$fa-var-shield: "\f132"; $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-shopping-cart: "\f07a";
$fa-var-sign-in: "\f090"; $fa-var-sign-in: "\f090";
$fa-var-sign-out: "\f08b"; $fa-var-sign-out: "\f08b";
$fa-var-signal: "\f012"; $fa-var-signal: "\f012";
$fa-var-simplybuilt: "\f215";
$fa-var-sitemap: "\f0e8"; $fa-var-sitemap: "\f0e8";
$fa-var-skyatlas: "\f216";
$fa-var-skype: "\f17e"; $fa-var-skype: "\f17e";
$fa-var-slack: "\f198"; $fa-var-slack: "\f198";
$fa-var-sliders: "\f1de"; $fa-var-sliders: "\f1de";
$fa-var-slideshare: "\f1e7";
$fa-var-smile-o: "\f118"; $fa-var-smile-o: "\f118";
$fa-var-soccer-ball-o: "\f1e3";
$fa-var-sort: "\f0dc"; $fa-var-sort: "\f0dc";
$fa-var-sort-alpha-asc: "\f15d"; $fa-var-sort-alpha-asc: "\f15d";
$fa-var-sort-alpha-desc: "\f15e"; $fa-var-sort-alpha-desc: "\f15e";
@@ -428,11 +586,17 @@ $fa-var-steam-square: "\f1b7";
$fa-var-step-backward: "\f048"; $fa-var-step-backward: "\f048";
$fa-var-step-forward: "\f051"; $fa-var-step-forward: "\f051";
$fa-var-stethoscope: "\f0f1"; $fa-var-stethoscope: "\f0f1";
$fa-var-sticky-note: "\f249";
$fa-var-sticky-note-o: "\f24a";
$fa-var-stop: "\f04d"; $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-strikethrough: "\f0cc";
$fa-var-stumbleupon: "\f1a4"; $fa-var-stumbleupon: "\f1a4";
$fa-var-stumbleupon-circle: "\f1a3"; $fa-var-stumbleupon-circle: "\f1a3";
$fa-var-subscript: "\f12c"; $fa-var-subscript: "\f12c";
$fa-var-subway: "\f239";
$fa-var-suitcase: "\f0f2"; $fa-var-suitcase: "\f0f2";
$fa-var-sun-o: "\f185"; $fa-var-sun-o: "\f185";
$fa-var-superscript: "\f12b"; $fa-var-superscript: "\f12b";
@@ -444,6 +608,7 @@ $fa-var-tag: "\f02b";
$fa-var-tags: "\f02c"; $fa-var-tags: "\f02c";
$fa-var-tasks: "\f0ae"; $fa-var-tasks: "\f0ae";
$fa-var-taxi: "\f1ba"; $fa-var-taxi: "\f1ba";
$fa-var-television: "\f26c";
$fa-var-tencent-weibo: "\f1d5"; $fa-var-tencent-weibo: "\f1d5";
$fa-var-terminal: "\f120"; $fa-var-terminal: "\f120";
$fa-var-text-height: "\f034"; $fa-var-text-height: "\f034";
@@ -463,17 +628,28 @@ $fa-var-times-circle-o: "\f05c";
$fa-var-tint: "\f043"; $fa-var-tint: "\f043";
$fa-var-toggle-down: "\f150"; $fa-var-toggle-down: "\f150";
$fa-var-toggle-left: "\f191"; $fa-var-toggle-left: "\f191";
$fa-var-toggle-off: "\f204";
$fa-var-toggle-on: "\f205";
$fa-var-toggle-right: "\f152"; $fa-var-toggle-right: "\f152";
$fa-var-toggle-up: "\f151"; $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-trash-o: "\f014";
$fa-var-tree: "\f1bb"; $fa-var-tree: "\f1bb";
$fa-var-trello: "\f181"; $fa-var-trello: "\f181";
$fa-var-tripadvisor: "\f262";
$fa-var-trophy: "\f091"; $fa-var-trophy: "\f091";
$fa-var-truck: "\f0d1"; $fa-var-truck: "\f0d1";
$fa-var-try: "\f195"; $fa-var-try: "\f195";
$fa-var-tty: "\f1e4";
$fa-var-tumblr: "\f173"; $fa-var-tumblr: "\f173";
$fa-var-tumblr-square: "\f174"; $fa-var-tumblr-square: "\f174";
$fa-var-turkish-lira: "\f195"; $fa-var-turkish-lira: "\f195";
$fa-var-tv: "\f26c";
$fa-var-twitch: "\f1e8";
$fa-var-twitter: "\f099"; $fa-var-twitter: "\f099";
$fa-var-twitter-square: "\f081"; $fa-var-twitter-square: "\f081";
$fa-var-umbrella: "\f0e9"; $fa-var-umbrella: "\f0e9";
@@ -485,11 +661,20 @@ $fa-var-unlock: "\f09c";
$fa-var-unlock-alt: "\f13e"; $fa-var-unlock-alt: "\f13e";
$fa-var-unsorted: "\f0dc"; $fa-var-unsorted: "\f0dc";
$fa-var-upload: "\f093"; $fa-var-upload: "\f093";
$fa-var-usb: "\f287";
$fa-var-usd: "\f155"; $fa-var-usd: "\f155";
$fa-var-user: "\f007"; $fa-var-user: "\f007";
$fa-var-user-md: "\f0f0"; $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-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-video-camera: "\f03d";
$fa-var-vimeo: "\f27d";
$fa-var-vimeo-square: "\f194"; $fa-var-vimeo-square: "\f194";
$fa-var-vine: "\f1ca"; $fa-var-vine: "\f1ca";
$fa-var-vk: "\f189"; $fa-var-vk: "\f189";
@@ -500,14 +685,22 @@ $fa-var-warning: "\f071";
$fa-var-wechat: "\f1d7"; $fa-var-wechat: "\f1d7";
$fa-var-weibo: "\f18a"; $fa-var-weibo: "\f18a";
$fa-var-weixin: "\f1d7"; $fa-var-weixin: "\f1d7";
$fa-var-whatsapp: "\f232";
$fa-var-wheelchair: "\f193"; $fa-var-wheelchair: "\f193";
$fa-var-wifi: "\f1eb";
$fa-var-wikipedia-w: "\f266";
$fa-var-windows: "\f17a"; $fa-var-windows: "\f17a";
$fa-var-won: "\f159"; $fa-var-won: "\f159";
$fa-var-wordpress: "\f19a"; $fa-var-wordpress: "\f19a";
$fa-var-wrench: "\f0ad"; $fa-var-wrench: "\f0ad";
$fa-var-xing: "\f168"; $fa-var-xing: "\f168";
$fa-var-xing-square: "\f169"; $fa-var-xing-square: "\f169";
$fa-var-y-combinator: "\f23b";
$fa-var-y-combinator-square: "\f1d4";
$fa-var-yahoo: "\f19e"; $fa-var-yahoo: "\f19e";
$fa-var-yc: "\f23b";
$fa-var-yc-square: "\f1d4";
$fa-var-yelp: "\f1e9";
$fa-var-yen: "\f157"; $fa-var-yen: "\f157";
$fa-var-youtube: "\f167"; $fa-var-youtube: "\f167";
$fa-var-youtube-play: "\f16a"; $fa-var-youtube-play: "\f16a";
+2 -2
View File
@@ -1,5 +1,5 @@
/*! /*!
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/ */
@@ -11,7 +11,7 @@
@import "fixed-width"; @import "fixed-width";
@import "list"; @import "list";
@import "bordered-pulled"; @import "bordered-pulled";
@import "spinning"; @import "animated";
@import "rotated-flipped"; @import "rotated-flipped";
@import "stacked"; @import "stacked";
@import "icons"; @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 .mfp-counter { font-family: $alt-font; } // Caption font family
// A11y // 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; $mfp-caption-subtitle-color: #BDBDBD !default;
// A11y // 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` // Remove vertical centering when popup has class `mfp-align-top`
.mfp-align-top { .mfp-align-top {
.mfp-container { .mfp-container {
&:before { &:before {
display: none; display: none;
} }
@@ -401,7 +401,7 @@ button {
&:before, &:before,
.mfp-b { .mfp-b {
margin-left: 25px; 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: excerpt:
tags: [] tags: []
image: image:
feature: feature:
--- ---
+2 -2
View File
@@ -15,11 +15,11 @@ Minimal Mistakes is responsive Jekyll theme with large featured images and solid
## Minimal Mistakes is all about: ## Minimal Mistakes is all about:
* Responsive templates. Looking good on mobile, tablet, and desktop. * 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. * Minimal embellishments -- content first.
* Optional large feature images for posts and pages. * Optional large feature images for posts and pages.
* Simple and clear permalink structure. * Simple and clear permalink structure.
* [Custom 404 page](http://mmistakes.github.io/minimal-mistakes/404.html) to get you started. * [Custom 404 page](http://mmistakes.github.io/minimal-mistakes/404.html) to get you started.
* Support for Disqus Comments * 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>
+3 -2
View File
@@ -18,11 +18,12 @@ sitemap: false
@import "normalize"; @import "normalize";
@import "site"; @import "site";
@import "typography"; @import "typography";
@import "pygments"; @import "syntax";
@import "coderay"; @import "coderay";
@import "elements"; @import "elements";
@import "forms"; @import "forms";
@import "page"; @import "page";
@import "vendor/font-awesome/font-awesome"; @import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup"; @import "vendor/magnific-popup/magnific-popup";
//@import "vendor/google/fonts"; //@import "vendor/google/fonts";
@import "print";
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 357 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+' '); r.className = r.className.replace(new RegExp("(?:^|\\s+)" + className2 + "(?:\\s+|$)"),' '+className1+' ');
} }
return r.className; return r.className;
}; };
// Creating our button in JS for smaller screens // Creating our button in JS for smaller screens
var menuElements = document.getElementById('site-nav'); var menuElements = document.getElementById('site-nav');
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>'); 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>');
// Toggle the class on click to show / hide the menu // Toggle the class on click to show / hide the menu
document.getElementById('menutoggle').onclick = function() { document.getElementById('menutoggle').onclick = function() {
changeClass(this, 'navtoogle active', 'navtoogle'); changeClass(this, 'navtoggle active', 'navtoggle');
}; };
// http://tympanus.net/codrops/2013/05/08/responsive-retina-ready-menu/comment-page-2/#comment-438918 // http://tympanus.net/codrops/2013/05/08/responsive-retina-ready-menu/comment-page-2/#comment-438918
document.onclick = function(e) { document.onclick = function(e) {
@@ -25,7 +25,7 @@ document.onclick = function(e) {
buttonStyle = mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display; buttonStyle = mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display;
if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) { if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) {
changeClass(mobileButton, 'navtoogle active', 'navtoogle'); changeClass(mobileButton, 'navtoggle active', 'navtoggle');
} }
}; };
@@ -60,8 +60,8 @@ $(document).ready(function() {
tError: '<a href="%url%">Image #%curr%</a> could not be loaded.', tError: '<a href="%url%">Image #%curr%</a> could not be loaded.',
}, },
removalDelay: 300, // Delay in milliseconds before popup is removed 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 // make it unique to apply your CSS animations just to this exact popup
mainClass: 'mfp-fade' mainClass: 'mfp-fade'
}); });
}); });
+93 -93
View File
@@ -5,9 +5,9 @@
/*>>core*/ /*>>core*/
/** /**
* *
* Magnific Popup Core JS file * 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' var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
MagnificPopup = function(){}, MagnificPopup = function(){},
@@ -97,15 +97,15 @@ var _mfpOn = function(name, f) {
v = ['ms','O','Moz','Webkit']; // 'v' for vendor v = ['ms','O','Moz','Webkit']; // 'v' for vendor
if( s['transition'] !== undefined ) { if( s['transition'] !== undefined ) {
return true; return true;
} }
while( v.length ) { while( v.length ) {
if( v.pop() + 'Transition' in s ) { if( v.pop() + 'Transition' in s ) {
return true; return true;
} }
} }
return false; return false;
}; };
@@ -119,12 +119,12 @@ MagnificPopup.prototype = {
constructor: MagnificPopup, constructor: MagnificPopup,
/** /**
* Initializes Magnific Popup plugin. * Initializes Magnific Popup plugin.
* This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed
*/ */
init: function() { init: function() {
var appVersion = navigator.appVersion; 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.isIE8 = appVersion.indexOf("MSIE 8.") !== -1;
mfp.isLowIE = mfp.isIE7 || mfp.isIE8; mfp.isLowIE = mfp.isIE7 || mfp.isIE8;
mfp.isAndroid = (/android/gi).test(appVersion); mfp.isAndroid = (/android/gi).test(appVersion);
@@ -151,7 +151,7 @@ MagnificPopup.prototype = {
var i; var i;
if(data.isObj === false) { if(data.isObj === false) {
// convert jQuery collection to array to avoid conflicts later // convert jQuery collection to array to avoid conflicts later
mfp.items = data.items.toArray(); mfp.items = data.items.toArray();
@@ -178,8 +178,8 @@ MagnificPopup.prototype = {
mfp.updateItemHTML(); mfp.updateItemHTML();
return; return;
} }
mfp.types = []; mfp.types = [];
_wrapClasses = ''; _wrapClasses = '';
if(data.mainEl && data.mainEl.length) { if(data.mainEl && data.mainEl.length) {
mfp.ev = data.mainEl.eq(0); 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; mfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;
if(mfp.st.modal) { if(mfp.st.modal) {
@@ -207,7 +207,7 @@ MagnificPopup.prototype = {
mfp.st.showCloseBtn = false; mfp.st.showCloseBtn = false;
mfp.st.enableEscapeKey = false; mfp.st.enableEscapeKey = false;
} }
// Building markup // Building markup
// main containers are created only once // main containers are created only once
@@ -259,7 +259,7 @@ MagnificPopup.prototype = {
_wrapClasses += ' mfp-align-top'; _wrapClasses += ' mfp-align-top';
} }
if(mfp.fixedContentPos) { if(mfp.fixedContentPos) {
mfp.wrap.css({ mfp.wrap.css({
@@ -268,7 +268,7 @@ MagnificPopup.prototype = {
overflowY: mfp.st.overflowY overflowY: mfp.st.overflowY
}); });
} else { } else {
mfp.wrap.css({ mfp.wrap.css({
top: _window.scrollTop(), top: _window.scrollTop(),
position: 'absolute' position: 'absolute'
}); });
@@ -280,7 +280,7 @@ MagnificPopup.prototype = {
}); });
} }
if(mfp.st.enableEscapeKey) { if(mfp.st.enableEscapeKey) {
// Close on ESC key // Close on ESC key
@@ -299,7 +299,7 @@ MagnificPopup.prototype = {
if(!mfp.st.closeOnContentClick) { if(!mfp.st.closeOnContentClick) {
_wrapClasses += ' mfp-auto-cursor'; _wrapClasses += ' mfp-auto-cursor';
} }
if(_wrapClasses) if(_wrapClasses)
mfp.wrap.addClass(_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 // this triggers recalculation of layout, so we get it once to not to trigger twice
var windowHeight = mfp.wH = _window.height(); var windowHeight = mfp.wH = _window.height();
var windowStyles = {}; var windowStyles = {};
if( mfp.fixedContentPos ) { if( mfp.fixedContentPos ) {
@@ -328,8 +328,8 @@ MagnificPopup.prototype = {
} }
} }
var classesToadd = mfp.st.mainClass; var classesToadd = mfp.st.mainClass;
if(mfp.isIE7) { if(mfp.isIE7) {
classesToadd += ' mfp-ie7'; classesToadd += ' mfp-ie7';
@@ -345,16 +345,16 @@ MagnificPopup.prototype = {
// remove scrollbar, add margin e.t.c // remove scrollbar, add margin e.t.c
$('html').css(windowStyles); $('html').css(windowStyles);
// add everything to DOM // add everything to DOM
mfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || _body ); mfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || _body );
// Save last focused element // Save last focused element
mfp._lastFocusedEl = document.activeElement; mfp._lastFocusedEl = document.activeElement;
// Wait for next cycle to allow CSS transition // Wait for next cycle to allow CSS transition
setTimeout(function() { setTimeout(function() {
if(mfp.content) { if(mfp.content) {
mfp._addClassToMFP(READY_CLASS); mfp._addClassToMFP(READY_CLASS);
mfp._setFocus(); mfp._setFocus();
@@ -362,7 +362,7 @@ MagnificPopup.prototype = {
// if content is not defined (not loaded e.t.c) we add class only for BG // if content is not defined (not loaded e.t.c) we add class only for BG
mfp.bgOverlay.addClass(READY_CLASS); mfp.bgOverlay.addClass(READY_CLASS);
} }
// Trap the focus in popup // Trap the focus in popup
_document.on('focusin' + EVENT_NS, mfp._onFocusIn); _document.on('focusin' + EVENT_NS, mfp._onFocusIn);
@@ -421,7 +421,7 @@ MagnificPopup.prototype = {
} }
$('html').css(windowStyles); $('html').css(windowStyles);
} }
_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS); _document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);
mfp.ev.off(EVENT_NS); mfp.ev.off(EVENT_NS);
@@ -441,14 +441,14 @@ MagnificPopup.prototype = {
if(mfp._lastFocusedEl) { if(mfp._lastFocusedEl) {
$(mfp._lastFocusedEl).focus(); // put tab focus back $(mfp._lastFocusedEl).focus(); // put tab focus back
} }
mfp.currItem = null; mfp.currItem = null;
mfp.content = null; mfp.content = null;
mfp.currTemplate = null; mfp.currTemplate = null;
mfp.prevHeight = 0; mfp.prevHeight = 0;
_mfpTrigger(AFTER_CLOSE_EVENT); _mfpTrigger(AFTER_CLOSE_EVENT);
}, },
updateSize: function(winHeight) { updateSize: function(winHeight) {
if(mfp.isIOS) { if(mfp.isIOS) {
@@ -485,17 +485,17 @@ MagnificPopup.prototype = {
item = mfp.parseEl( mfp.index ); item = mfp.parseEl( mfp.index );
} }
var type = item.type; var type = item.type;
_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]); _mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);
// BeforeChange event works like so: // BeforeChange event works like so:
// _mfpOn('BeforeChange', function(e, prevType, newType) { }); // _mfpOn('BeforeChange', function(e, prevType, newType) { });
mfp.currItem = item; mfp.currItem = item;
if(!mfp.currTemplate[type]) { if(!mfp.currTemplate[type]) {
var markup = mfp.st[type] ? mfp.st[type].markup : false; var markup = mfp.st[type] ? mfp.st[type].markup : false;
@@ -514,7 +514,7 @@ MagnificPopup.prototype = {
if(_prevContentType && _prevContentType !== item.type) { if(_prevContentType && _prevContentType !== item.type) {
mfp.container.removeClass('mfp-'+_prevContentType+'-holder'); mfp.container.removeClass('mfp-'+_prevContentType+'-holder');
} }
var newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]); var newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);
mfp.appendContent(newContent, type); mfp.appendContent(newContent, type);
@@ -522,7 +522,7 @@ MagnificPopup.prototype = {
_mfpTrigger(CHANGE_EVENT, item); _mfpTrigger(CHANGE_EVENT, item);
_prevContentType = item.type; _prevContentType = item.type;
// Append container back after its content changed // Append container back after its content changed
mfp.container.prepend(mfp.contentContainer); mfp.container.prepend(mfp.contentContainer);
@@ -535,7 +535,7 @@ MagnificPopup.prototype = {
*/ */
appendContent: function(newContent, type) { appendContent: function(newContent, type) {
mfp.content = newContent; mfp.content = newContent;
if(newContent) { if(newContent) {
if(mfp.st.showCloseBtn && mfp.st.closeBtnInside && if(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&
mfp.currTemplate[type] === true) { mfp.currTemplate[type] === true) {
@@ -558,7 +558,7 @@ MagnificPopup.prototype = {
/** /**
* Creates Magnific Popup data object based on given data * Creates Magnific Popup data object based on given data
* @param {int} index Index of item to parse * @param {int} index Index of item to parse
@@ -612,11 +612,11 @@ MagnificPopup.prototype = {
if(!options) { if(!options) {
options = {}; options = {};
} }
var eName = 'click.magnificPopup'; var eName = 'click.magnificPopup';
options.mainEl = el; options.mainEl = el;
if(options.items) { if(options.items) {
options.isObj = true; options.isObj = true;
el.off(eName).on(eName, eHandler); el.off(eName).on(eName, eHandler);
@@ -651,7 +651,7 @@ MagnificPopup.prototype = {
} }
} }
} }
if(e.type) { if(e.type) {
e.preventDefault(); e.preventDefault();
@@ -660,7 +660,7 @@ MagnificPopup.prototype = {
e.stopPropagation(); e.stopPropagation();
} }
} }
options.el = $(e.mfpEl); options.el = $(e.mfpEl);
if(options.delegate) { if(options.delegate) {
@@ -829,14 +829,14 @@ $.magnificPopup = {
modules: [], modules: [],
open: function(options, index) { open: function(options, index) {
_checkInstance(); _checkInstance();
if(!options) { if(!options) {
options = {}; options = {};
} else { } else {
options = $.extend(true, {}, options); options = $.extend(true, {}, options);
} }
options.isObj = true; options.isObj = true;
options.index = index || 0; options.index = index || 0;
@@ -851,16 +851,16 @@ $.magnificPopup = {
if(module.options) { if(module.options) {
$.magnificPopup.defaults[name] = module.options; $.magnificPopup.defaults[name] = module.options;
} }
$.extend(this.proto, module.proto); $.extend(this.proto, module.proto);
this.modules.push(name); this.modules.push(name);
}, },
defaults: { defaults: {
// Info about options is in docs: // Info about options is in docs:
// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options // http://dimsemenov.com/plugins/magnific-popup/documentation.html#options
disableOn: 0, disableOn: 0,
key: null, key: null,
@@ -871,12 +871,12 @@ $.magnificPopup = {
preloader: true, preloader: true,
focus: '', // CSS selector of input to focus after popup is opened focus: '', // CSS selector of input to focus after popup is opened
closeOnContentClick: false, closeOnContentClick: false,
closeOnBgClick: true, closeOnBgClick: true,
closeBtnInside: true, closeBtnInside: true,
showCloseBtn: true, showCloseBtn: true,
@@ -885,13 +885,13 @@ $.magnificPopup = {
modal: false, modal: false,
alignTop: false, alignTop: false,
removalDelay: 0, removalDelay: 0,
prependTo: null, prependTo: null,
fixedContentPos: 'auto', fixedContentPos: 'auto',
fixedBgPos: 'auto', fixedBgPos: 'auto',
overflowY: 'auto', overflowY: 'auto',
@@ -938,9 +938,9 @@ $.fn.magnificPopup = function(options) {
} else { } else {
// clone options obj // clone options obj
options = $.extend(true, {}, options); 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 * and it works only in normal browsers
* we assign "options" object directly to the DOM element. FTW! * 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', var INLINE_NS = 'inline',
_hiddenClass, _hiddenClass,
_inlinePlaceholder, _inlinePlaceholder,
_lastInlineElement, _lastInlineElement,
_putInlineElementsBack = function() { _putInlineElementsBack = function() {
if(_lastInlineElement) { if(_lastInlineElement) {
@@ -1130,14 +1130,14 @@ $.magnificPopup.registerModule(AJAX_NS, {
/*>>ajax*/ /*>>ajax*/
/*>>image*/ /*>>image*/
var _imgInterval, var _imgInterval,
_getTitle = function(item) { _getTitle = function(item) {
if(item.data && item.data.title !== undefined) if(item.data && item.data.title !== undefined)
return item.data.title; return item.data.title;
var src = mfp.st.image.titleSrc; var src = mfp.st.image.titleSrc;
@@ -1168,7 +1168,7 @@ $.magnificPopup.registerModule('image', {
'</figure>'+ '</figure>'+
'</div>', '</div>',
cursor: 'mfp-zoom-out-cur', cursor: 'mfp-zoom-out-cur',
titleSrc: 'title', titleSrc: 'title',
verticalFit: true, verticalFit: true,
tError: '<a href="%url%">The image</a> could not be loaded.' tError: '<a href="%url%">The image</a> could not be loaded.'
}, },
@@ -1213,13 +1213,13 @@ $.magnificPopup.registerModule('image', {
}, },
_onImageHasSize: function(item) { _onImageHasSize: function(item) {
if(item.img) { if(item.img) {
item.hasSize = true; item.hasSize = true;
if(_imgInterval) { if(_imgInterval) {
clearInterval(_imgInterval); clearInterval(_imgInterval);
} }
item.isCheckingImgSize = false; item.isCheckingImgSize = false;
_mfpTrigger('ImageHasSize', item); _mfpTrigger('ImageHasSize', item);
@@ -1227,7 +1227,7 @@ $.magnificPopup.registerModule('image', {
if(item.imgHidden) { if(item.imgHidden) {
if(mfp.content) if(mfp.content)
mfp.content.removeClass('mfp-loading'); mfp.content.removeClass('mfp-loading');
item.imgHidden = false; item.imgHidden = false;
} }
@@ -1280,7 +1280,7 @@ $.magnificPopup.registerModule('image', {
if(item) { if(item) {
if (item.img[0].complete) { if (item.img[0].complete) {
item.img.off('.mfploader'); item.img.off('.mfploader');
if(item === mfp.currItem){ if(item === mfp.currItem){
mfp._onImageHasSize(item); mfp._onImageHasSize(item);
@@ -1291,7 +1291,7 @@ $.magnificPopup.registerModule('image', {
item.loaded = true; item.loaded = true;
_mfpTrigger('ImageLoadComplete'); _mfpTrigger('ImageLoadComplete');
} }
else { else {
// if image complete check fails 200 times (20 sec), we assume that there was an error. // 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]; img = item.img[0];
if(img.naturalWidth > 0) { if(img.naturalWidth > 0) {
item.hasSize = true; item.hasSize = true;
} else if(!img.width) { } else if(!img.width) {
item.hasSize = false; item.hasSize = false;
} }
} }
@@ -1370,7 +1370,7 @@ $.magnificPopup.registerModule('image', {
item.imgHidden = true; item.imgHidden = true;
template.addClass('mfp-loading'); template.addClass('mfp-loading');
mfp.findImageSize(item); mfp.findImageSize(item);
} }
return template; return template;
} }
@@ -1387,7 +1387,7 @@ var hasMozTransform,
if(hasMozTransform === undefined) { if(hasMozTransform === undefined) {
hasMozTransform = document.createElement('p').style.MozTransform !== undefined; hasMozTransform = document.createElement('p').style.MozTransform !== undefined;
} }
return hasMozTransform; return hasMozTransform;
}; };
$.magnificPopup.registerModule('zoom', { $.magnificPopup.registerModule('zoom', {
@@ -1407,7 +1407,7 @@ $.magnificPopup.registerModule('zoom', {
var zoomSt = mfp.st.zoom, var zoomSt = mfp.st.zoom,
ns = '.zoom', ns = '.zoom',
image; image;
if(!zoomSt.enabled || !mfp.supportsTransition) { if(!zoomSt.enabled || !mfp.supportsTransition) {
return; return;
} }
@@ -1443,7 +1443,7 @@ $.magnificPopup.registerModule('zoom', {
mfp.content.css('visibility', 'hidden'); 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 // Basically, all code below does is clones existing image, puts in on top of the current one and animated it
image = mfp._getItemToZoom(); image = mfp._getItemToZoom();
if(!image) { if(!image) {
@@ -1451,8 +1451,8 @@ $.magnificPopup.registerModule('zoom', {
return; return;
} }
animatedImg = getElToAnimate(image); animatedImg = getElToAnimate(image);
animatedImg.css( mfp._getOffset() ); animatedImg.css( mfp._getOffset() );
mfp.wrap.append(animatedImg); mfp.wrap.append(animatedImg);
@@ -1467,7 +1467,7 @@ $.magnificPopup.registerModule('zoom', {
animatedImg.remove(); animatedImg.remove();
image = animatedImg = null; image = animatedImg = null;
_mfpTrigger('ZoomAnimationEnded'); _mfpTrigger('ZoomAnimationEnded');
}, 16); // avoid blink when switching images }, 16); // avoid blink when switching images
}, duration); // this timeout equals animation duration }, duration); // this timeout equals animation duration
@@ -1491,12 +1491,12 @@ $.magnificPopup.registerModule('zoom', {
} }
animatedImg = getElToAnimate(image); animatedImg = getElToAnimate(image);
} }
animatedImg.css( mfp._getOffset(true) ); animatedImg.css( mfp._getOffset(true) );
mfp.wrap.append(animatedImg); mfp.wrap.append(animatedImg);
mfp.content.css('visibility', 'hidden'); mfp.content.css('visibility', 'hidden');
setTimeout(function() { setTimeout(function() {
animatedImg.css( mfp._getOffset() ); animatedImg.css( mfp._getOffset() );
}, 16); }, 16);
@@ -1511,7 +1511,7 @@ $.magnificPopup.registerModule('zoom', {
animatedImg.remove(); animatedImg.remove();
} }
image = null; 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. 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', var IFRAME_NS = 'iframe',
_emptyPage = '//about:blank', _emptyPage = '//about:blank',
_fixIframeBugs = function(isShowing) { _fixIframeBugs = function(isShowing) {
if(mfp.currTemplate[IFRAME_NS]) { if(mfp.currTemplate[IFRAME_NS]) {
var el = mfp.currTemplate[IFRAME_NS].find('iframe'); 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 // reset src after the popup is closed to avoid "video keeps playing after popup is closed" bug
if(!isShowing) { if(!isShowing) {
el[0].src = _emptyPage; 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 // we don't care and support only one default type of URL by default
patterns: { patterns: {
youtube: { youtube: {
index: 'youtube.com', index: 'youtube.com',
id: 'v=', id: 'v=',
src: '//www.youtube.com/embed/%id%?autoplay=1' src: '//www.youtube.com/embed/%id%?autoplay=1'
}, },
vimeo: { vimeo: {
@@ -1631,7 +1631,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
_fixIframeBugs(); // iframe if removed _fixIframeBugs(); // iframe if removed
} else if(newType === IFRAME_NS) { } else if(newType === IFRAME_NS) {
_fixIframeBugs(true); // iframe is showing _fixIframeBugs(true); // iframe is showing
} }
}// else { }// else {
// iframe source is switched, don't do anything // iframe source is switched, don't do anything
//} //}
@@ -1645,7 +1645,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
getIframe: function(item, template) { getIframe: function(item, template) {
var embedSrc = item.src; var embedSrc = item.src;
var iframeSt = mfp.st.iframe; var iframeSt = mfp.st.iframe;
$.each(iframeSt.patterns, function() { $.each(iframeSt.patterns, function() {
if(embedSrc.indexOf( this.index ) > -1) { if(embedSrc.indexOf( this.index ) > -1) {
if(this.id) { if(this.id) {
@@ -1659,7 +1659,7 @@ $.magnificPopup.registerModule(IFRAME_NS, {
return false; // break; return false; // break;
} }
}); });
var dataObj = {}; var dataObj = {};
if(iframeSt.srcAction) { if(iframeSt.srcAction) {
dataObj[iframeSt.srcAction] = embedSrc; dataObj[iframeSt.srcAction] = embedSrc;
@@ -1716,7 +1716,7 @@ $.magnificPopup.registerModule('gallery', {
supportsFastClick = Boolean($.fn.mfpFastClick); supportsFastClick = Boolean($.fn.mfpFastClick);
mfp.direction = true; // true - next, false - prev mfp.direction = true; // true - next, false - prev
if(!gSt || !gSt.enabled ) return false; if(!gSt || !gSt.enabled ) return false;
_wrapClasses += ' mfp-gallery'; _wrapClasses += ' mfp-gallery';
@@ -1755,16 +1755,16 @@ $.magnificPopup.registerModule('gallery', {
_mfpOn('BuildControls' + ns, function() { _mfpOn('BuildControls' + ns, function() {
if(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) { if(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {
var markup = gSt.arrowMarkup, 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); arrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);
var eName = supportsFastClick ? 'mfpFastClick' : 'click'; var eName = supportsFastClick ? 'mfpFastClick' : 'click';
arrowLeft[eName](function() { arrowLeft[eName](function() {
mfp.prev(); mfp.prev();
}); });
arrowRight[eName](function() { arrowRight[eName](function() {
mfp.next(); mfp.next();
}); });
// Polyfill for :before and :after (adds elements with classes mfp-a and mfp-b) // Polyfill for :before and :after (adds elements with classes mfp-a and mfp-b)
if(mfp.isIE7) { if(mfp.isIE7) {
@@ -1784,21 +1784,21 @@ $.magnificPopup.registerModule('gallery', {
mfp._preloadTimeout = setTimeout(function() { mfp._preloadTimeout = setTimeout(function() {
mfp.preloadNearbyImages(); mfp.preloadNearbyImages();
mfp._preloadTimeout = null; mfp._preloadTimeout = null;
}, 16); }, 16);
}); });
_mfpOn(CLOSE_EVENT+ns, function() { _mfpOn(CLOSE_EVENT+ns, function() {
_document.off(ns); _document.off(ns);
mfp.wrap.off('click'+ns); mfp.wrap.off('click'+ns);
if(mfp.arrowLeft && supportsFastClick) { if(mfp.arrowLeft && supportsFastClick) {
mfp.arrowLeft.add(mfp.arrowRight).destroyMfpFastClick(); mfp.arrowLeft.add(mfp.arrowRight).destroyMfpFastClick();
} }
mfp.arrowRight = mfp.arrowLeft = null; mfp.arrowRight = mfp.arrowLeft = null;
}); });
}, },
next: function() { next: function() {
mfp.direction = true; mfp.direction = true;
mfp.index = _getLoopedId(mfp.index + 1); mfp.index = _getLoopedId(mfp.index + 1);
@@ -1963,11 +1963,11 @@ $.magnificPopup.registerModule(RETINA_NS, {
* *
* To unbind: * To unbind:
* $('.your-el').destroyMfpFastClick(); * $('.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. * 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 * If you need something more advanced, use plugin by FT Labs https://github.com/ftlabs/fastclick
* *
*/ */
(function() { (function() {
@@ -2046,4 +2046,4 @@ $.magnificPopup.registerModule(RETINA_NS, {
})(); })();
/*>>fastclick*/ /*>>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
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "minimal-mistakes-theme", "name": "minimal-mistakes-theme",
"author": "Michael Rose <michael@mademistakes.com>", "author": "Michael Rose <michael@mademistakes.com>",
"homepage": "http://mmistakes.github.io/minima-mistakes/", "homepage": "http://mmistakes.github.io/minimal-mistakes/",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/mmistakes/minimal-mistakes.git" "url": "git://github.com/mmistakes/minimal-mistakes.git"
+10 -10
View File
@@ -1,7 +1,7 @@
--- ---
layout: page layout: page
title: Theme Setup title: Theme Setup
modified: 2014-07-31T13:23:02.362000-04:00 modified: 2016-01-19
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes." excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
image: image:
feature: sample-image-3.jpg feature: sample-image-3.jpg
@@ -13,7 +13,7 @@ image:
## Installation ## Installation
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. 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.
If you are creating a new Jekyll site using Minimal Mistakes follow these steps: 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) 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. 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. 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. **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} {: .notice}
@@ -38,7 +38,7 @@ If you want to use Minimal Mistakes with an existing Jekyll site follow these st
## Running Jekyll ## Running Jekyll
If `jekyll build` and `jekyll serve` throw errors you may have to run Jekyll with `bundled exec` instead. 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`.
> 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. > 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 ├── images/ # images for posts and pages
├── 404.md # 404 page ├── 404.md # 404 page
├── feed.xml # Atom feed template ├── 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 ├── posts/ # sample post index page. lists all posts in reverse chronology
└── theme-setup/ # theme setup page. safe to remove └── theme-setup/ # theme setup page. safe to remove
{% endhighlight %} {% endhighlight %}
@@ -119,7 +119,7 @@ Examples:
url: http://mmistakes.github.io/minimal-mistakes url: http://mmistakes.github.io/minimal-mistakes
url: http://localhost:4000 url: http://localhost:4000
url: //cooldude.github.io url: //cooldude.github.io
url: url:
{% endhighlight %} {% endhighlight %}
#### Google Analytics and Webmaster Tools #### 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/ url: /portfolio/
- title: Made Mistakes - title: Made Mistakes
url: http://mademistakes.com url: http://mademistakes.com
{% endhighlight %} {% 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. 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 %} {% highlight bash %}
$ gem install octopress --pre $ gem install octopress
{% endhighlight %} {% endhighlight %}
### New Post ### 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. 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 %} {% highlight bash %}
$ octopress new post "New Post Title" --dir posts $ octopress new post "New Portfolio Post Title" --dir portfolio
{% endhighlight %} {% endhighlight %}
### New Page ### 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 ## 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.