Compare commits

...
81 Commits
Author SHA1 Message Date
Michael Rose ab710ed9cc Update gems 2015-11-10 09:55:52 -05:00
Bryce Mehring 0b0e53caf4 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-07 11:19:30 -04:00
Michael Rose 0f04c3776c Add emphasized and bold text with links inside 2015-09-28 14:39:00 -04:00
Michael Rose 987228228c Underline links wrapped in bolded (strong) text 2015-09-28 14:38:51 -04:00
Alexandr Nikitin aa6dc01e40 Underline links in emphasized blocks 2015-09-28 14:38:43 -04:00
Michael Rose 4d81f2136e Updated Font Awesome to 4.4
- Fixes #178
2015-09-06 21:02:23 -04:00
Michael Rose a1b8ae14dc Fix typo in menu button class
- .navtoogle should be .navtoggle
- Fixes #175
2015-08-19 12:51:12 -04:00
andreykurenkov 791d217088 Revise year listing 2015-08-07 11:51:09 -04:00
Craig Dodd b8408139be Remove trailing whitespace 2015-07-20 13:01:06 -04:00
Veres Lajos 68d4587559 fix typo 2015-07-20 12:52:00 -04:00
Hannah Barudin d0e02ca7fd Add Codepen to author sidebar 2015-07-12 12:21:46 -04:00
kishore-mohan f19205c78f facebook sharing image meta tag added related #149 issue 2015-06-11 09:42:14 -04:00
Michael Rose a94ae56418 Show related posts only when there are 1 or more 2015-04-08 14:49:53 -04:00
Thomas Freudenberg 508905faf1 Update _author-bio.html
I'm sorry about the double slash 😞
2015-03-08 17:01:59 -04:00
Thomas Freudenberg fc5f623e4c mis-aligment of email address (all other items have an leading whitespace) 2015-03-06 08:30:23 -05:00
Thomas Freudenberg 0c8f9aa213 Add optional link to XING profile 2015-03-06 08:30:09 -05:00
Michael Rose b82e1ee81a Update gems 2015-03-03 09:50:27 -05:00
Michael Rose 8ae4662b9b Remove http protocol from Google search form 2015-02-24 14:57:22 -05:00
Michael Rose 0be1a1d318 Remove feature image 2015-02-24 14:56:18 -05:00
Michael Rose 7e6828b6f5 Display custom 404 page
- Fixes #128
2015-02-24 14:55:00 -05:00
Michael Rose d2b8de41ea Move feed footer to an include 2015-01-30 09:37:48 -05:00
Michael Rose b935d00ae2 Fix social share buttons overlapping on small screens 2015-01-22 12:18:41 -05:00
Michael Rose f47039b086 Add optional social sharing buttons
- Social share buttons appear at the end of every post and page unless you add share: false to their YAML Front Matter
- Fixes #42
2015-01-21 11:21:57 -05:00
Michael Rose 6bc714efc7 Improve table of contents
- Replace html snippet with _includes/toc.html
- Add FA icon to table of contents header
- Display table of contents on small screens
- Add hierarchy to toc with indents
2015-01-21 10:17:02 -05:00
Michael Rose a02904bb1c Clean up comments 2015-01-21 10:16:56 -05:00
Michael Rose 81c2d6a14c Remove print styles 2015-01-20 17:18:10 -05:00
Michael Rose a5fd5beaad Clean up comments in Sass partials 2015-01-20 17:17:56 -05:00
Michael Rose 23ef95527f Fix typo 2015-01-20 14:28:08 -05:00
Michael Rose 1a242e9476 Remove duplicate author content 2015-01-20 12:44:09 -05:00
Michael Rose edf6da3d3b Remove Google Authorship
- Fixes #120
- Add person microdata in author sidebar
2015-01-20 12:44:03 -05:00
Kennon Kwok 19d3413b77 Add Flickr to author-bio.htm 2015-01-12 14:28:53 -05:00
Michael Rose 706386eb65 Add weibo icon and link to author sidebar 2015-01-05 14:04:37 -05:00
YuyingWu a9263c5b48 Add weibo icon and link to author sidebar 2015-01-05 14:04:30 -05:00
Michael Rose edd3c6bad4 Remove email 2014-12-31 12:05:27 -05:00
Michael Rose c0bd4fb0bb Optimize images 2014-12-31 12:04:09 -05:00
Michael Rose 0ee6a35a4b Document $paragraph-indent variable 2014-12-31 12:04:03 -05:00
Michael Rose 4fdf645bb2 Add grunt images task 2014-12-31 12:03:59 -05:00
Michael Rose 7e8be47aa5 Fix home link path 2014-12-22 12:26:22 -05:00
Michael Rose 9692144448 Update gemfile 2014-12-22 12:25:43 -05:00
Clayton Burlison ad65062ada Missing trail </a>
The missing </a> willing cause an issue when someone is customizing the order of "Post then Date" to "Date then Post".
2014-12-17 15:48:57 -05:00
unknown d4a097c792 Add note about running Jekyll with bundle exec 2014-11-11 11:30:12 -05:00
unknown 5d1afc239e Update gems 2014-11-11 09:37:27 -05:00
unknown d3fa0ae0b7 Add protocol-relative URL example 2014-11-11 09:37:24 -05:00
Michael Rose e175ef5319 Move .image-wrap triangle down a few pixels to cover small gap 2014-10-20 23:10:32 -04:00
jeremyvoltz f24f4a4750 Added the fixed width class for font awesome icons
This will allow cleaner stacking of icons that aren’t square
2014-10-20 23:10:25 -04:00
Michael Rose 0c06eb1902 Fix broken TOC toggle 2014-10-03 15:14:36 -04:00
Michael Rose e9a6430722 Reduce size of sample feature images 2014-10-03 15:14:32 -04:00
Michael Rose f6ea3b6e4e Reduce size of feature image triangle
- On smaller screens reduce size of triangle
2014-10-03 15:14:27 -04:00
Michael Rose 67e3e15f8d Fix button border color
- Remove bottom borders on links and use text-decoration: underline instead
- Use sans-serif font for button text
2014-09-30 16:36:04 -04:00
Michael Rose cdc1b73348 Include new sample images for features 2014-09-30 16:36:00 -04:00
Michael Rose 3e4a2d905b Wrap all page content in #main div to fix #86
- Adjust article styles to correctly display post indexes
- Remove top margin from page titles
2014-09-30 16:35:52 -04:00
Michael Rose a969c09099 Remove references to .less
- Add Gist example
2014-09-14 14:55:38 -04:00
Mustafa Hasturk 99fcf58f66 illegal character in query fixed 2014-09-12 16:27:49 -04:00
Mustafa Hasturk 712016528d removed unused <a> tag in _author-bio.html 2014-09-12 16:27:45 -04:00
Michael Rose 6f8f1a8bae Fix typo 2014-09-09 06:34:25 -04:00
Cayde Dixon 056b135b02 Fix up small spelling mistake in ad code. 2014-09-09 06:31:20 -04:00
Michael Rose 151102845f Make Google AdSense banner in footer conditional 2014-09-04 20:59:22 -04:00
Michael Rose 8f8c5a70e6 Remove "layout: none" from feed.xml 2014-09-04 20:58:41 -04:00
Michael Rose 20f93eea05 Mention that Octopres is optional
- Used to automate the creation of new posts and pages
2014-09-04 20:54:41 -04:00
Michael Rose 4e0d4f5f1d Revert "Drop the http"
This reverts commit dc111c2324.
2014-08-23 18:10:14 -04:00
Michael Rose 058e74247c Fix Google webfonts to load over http and https 2014-08-23 18:08:56 -04:00
Michael Rose dc111c2324 Drop the http 2014-08-23 17:56:47 -04:00
Michael Rose 0f7031302d Drop the http 2014-08-23 17:54:10 -04:00
Michael Rose 4fdf997ccf Change .less to .scss 2014-08-09 13:50:22 -04:00
Michael Rose bff88748fa Remove references to .less files 2014-08-09 13:42:59 -04:00
Michael Rose 188cea830f Remove comments 2014-08-08 20:55:14 -04:00
Michael Rose 21812b3b97 Update about page 2014-08-08 20:54:16 -04:00
Michael Rose 6d47f30c83 Fix Google+ variable in author sidebar 2014-08-08 20:50:53 -04:00
Michael Rose 344085c441 Remove extra + 2014-08-08 20:45:22 -04:00
Michael Rose 35714e60a4 Remove extra + 2014-08-08 20:41:50 -04:00
Michael Rose 9f0c3bcd1f Apply author override to posts in feed 2014-08-08 20:39:05 -04:00
Michael Rose 22a65ce905 Fix typos and grammar 2014-08-08 15:45:45 -04:00
simathur 278add19c0 Delete Gemfile.lock
This file was added to the .gitignore recently, but hasn't been deleted from the code line.
2014-08-07 08:35:52 -04:00
Michael Rose ca67b221d2 Change link name from email address to just "Email"
- Fixes #68
2014-08-06 22:56:46 -04:00
Michael Rose 660278ad0b Update license 2014-08-06 08:12:55 -04:00
Michael Rose 604f3ea234 Add alternate bio photo for testing purposes 2014-07-31 15:22:22 -04:00
Michael Rose ec0ef12c95 Add optional email address to author bio and feed.xml
- Fixes #35
- To add additional social network profiles edit _author-bio.html
- Icons come from the Font Awesome webfont. See http://fontawesome.io/icons/ for a complete list
2014-07-31 15:21:48 -04:00
Michael Rose 8ddb97021c Update ignore 2014-07-31 15:07:33 -04:00
Michael Rose 547443e3d8 Remove 2014-07-31 15:06:38 -04:00
Michael Rose e0891f358b Update 2014-07-31 15:06:13 -04:00
Michael Rose c6f2dca6a1 Customize theme 2014-07-31 15:03:17 -04:00
116 changed files with 2256 additions and 1616 deletions
-1
View File
@@ -1,7 +1,6 @@
_site _site
.sass-cache .sass-cache
.DS_Store .DS_Store
Gemfile.lock
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
codekit-config.json codekit-config.json
+4 -7
View File
@@ -2,12 +2,9 @@
layout: page layout: page
title: "Page Not Found" title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas." excerpt: "Page not found. Your pixels are in another canvas."
image:
feature: texture-feature-01.jpg
credit: Texture Lovers
creditlink: http://texturelovers.com
sitemap: false sitemap: false
--- permalink: /404.html
---
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below. Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
@@ -16,5 +13,5 @@ Sorry, but the page you were trying to view does not exist --- perhaps you can t
var GOOG_FIXURL_SITE = '{{ site.url }}' var GOOG_FIXURL_SITE = '{{ site.url }}'
</script> </script>
<script type="text/javascript" <script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"> src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script> </script>
+4 -4
View File
@@ -1,5 +1,5 @@
source 'https://rubygems.org' source "https://rubygems.org"
gem 'jekyll' gem 'jekyll', '2.5.3'
gem "jekyll-sitemap" gem 'jekyll-sitemap'
gem 'octopress', '~> 3.0.0.rc.12' gem 'octopress', '~> 3.0'
+47 -37
View File
@@ -2,26 +2,26 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
blankslate (2.1.2.4) blankslate (2.1.2.4)
celluloid (0.15.2) classifier-reborn (2.0.4)
timers (~> 1.1.0) fast-stemmer (~> 1.0)
classifier (1.3.4) coffee-script (2.4.1)
fast-stemmer (>= 1.0.0)
coffee-script (2.3.0)
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.7.1) coffee-script-source (1.9.1.1)
colorator (0.1) colorator (0.1)
execjs (2.2.1) execjs (2.6.0)
fast-stemmer (1.0.2) fast-stemmer (1.0.2)
ffi (1.9.3-x86-mingw32) ffi (1.9.10)
jekyll (2.2.0) ffi (1.9.10-x64-mingw32)
classifier (~> 1.3) ffi (1.9.10-x86-mingw32)
jekyll (2.5.3)
classifier-reborn (~> 2.0)
colorator (~> 0.1) colorator (~> 0.1)
jekyll-coffeescript (~> 1.0) jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0) jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0) jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.0) jekyll-watch (~> 1.1)
kramdown (~> 1.3) kramdown (~> 1.3)
liquid (~> 2.6.1) liquid (~> 2.6.1)
mercenary (~> 0.3.3) mercenary (~> 0.3.3)
@@ -29,48 +29,58 @@ GEM
redcarpet (~> 3.1) redcarpet (~> 3.1)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
toml (~> 0.1.0) toml (~> 0.1.0)
jekyll-coffeescript (1.0.0) jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2) coffee-script (~> 2.2)
jekyll-gist (1.1.0) jekyll-gist (1.3.5)
jekyll-paginate (1.0.0) jekyll-paginate (1.1.0)
jekyll-sass-converter (1.1.0) jekyll-sass-converter (1.3.0)
sass (~> 3.2) sass (~> 3.2)
jekyll-sitemap (0.5.0) jekyll-sitemap (0.9.0)
jekyll-watch (1.0.0) jekyll-watch (1.3.0)
listen (~> 2.7) listen (~> 3.0)
kramdown (1.4.0) kramdown (1.9.0)
liquid (2.6.1) liquid (2.6.3)
listen (2.7.9) listen (3.0.4)
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.4) mercenary (0.3.5)
octopress (3.0.0.rc.14) octopress (3.0.11)
jekyll (~> 2.0) jekyll (>= 2.0)
mercenary (~> 0.3.2) mercenary (~> 0.3.2)
octopress-deploy
octopress-escape-code (~> 2.0)
octopress-hooks (~> 2.0)
redcarpet (~> 3.0)
titlecase titlecase
octopress-deploy (1.3.0)
colorator
octopress-escape-code (2.0.6)
octopress-hooks (~> 2.0)
octopress-hooks (2.6.1)
jekyll (>= 2.0)
parslet (1.5.0) parslet (1.5.0)
blankslate (~> 2.0) blankslate (~> 2.0)
posix-spawn (0.3.8) posix-spawn (0.3.11)
pygments.rb (0.6.0) pygments.rb (0.6.3)
posix-spawn (~> 0.3.6) posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0) yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.4) rb-fsevent (0.9.6)
rb-inotify (0.9.5) rb-inotify (0.9.5)
ffi (>= 0.5.0) ffi (>= 0.5.0)
redcarpet (3.1.2) redcarpet (3.3.3)
safe_yaml (1.0.3) safe_yaml (1.0.4)
sass (3.3.12) sass (3.4.19)
timers (1.1.0)
titlecase (0.1.1) titlecase (0.1.1)
toml (0.1.1) toml (0.1.2)
parslet (~> 1.5.0) parslet (~> 1.5.0)
yajl-ruby (1.1.0-x86-mingw32) yajl-ruby (1.2.1)
PLATFORMS PLATFORMS
ruby
x64-mingw32
x86-mingw32 x86-mingw32
DEPENDENCIES DEPENDENCIES
jekyll jekyll (= 2.5.3)
jekyll-sitemap jekyll-sitemap
octopress (~> 3.0.0.rc.12) octopress (~> 3.0)
+4
View File
@@ -80,5 +80,9 @@ module.exports = function(grunt) {
grunt.registerTask('dev', [ grunt.registerTask('dev', [
'watch' 'watch'
]); ]);
grunt.registerTask('images', [
'imagemin',
'svgmin'
]);
}; };
+17 -277
View File
@@ -1,281 +1,21 @@
GNU GENERAL PUBLIC LICENSE The MIT License (MIT)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. Copyright (c) 2014 Michael Rose
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
Everyone is permitted to copy and distribute verbatim copies Permission is hereby granted, free of charge, to any person obtaining a copy
of this license document, but changing it is not allowed. of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Preamble The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+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.
## 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+ and will not work with older versions of Jekyll. Minimal Mistakes takes advantage of Sass and data files to make customizing easier. These features require Jekyll 2.x and will not work with older versions of Jekyll.
To learn more about how 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.
+6 -15
View File
@@ -1,8 +1,8 @@
# Site wide configuration # Site wide configuration
title: Site Title title: Minimal Mistakes
locale: en_US locale: en_US
url: http://localhost:4000 url: //mmistakes.github.io/minimal-mistakes
# Jekyll configuration # Jekyll configuration
@@ -26,30 +26,21 @@ kramdown:
# Site owner # Site owner
owner: owner:
name: Your Name name: Michael Rose
avatar: bio-photo.jpg avatar: bio-photo.jpg
bio: "Describe your self." bio: "Just another boring, time traveling, tattooed, designer from Buffalo New York."
email: your@email.com
disqus-shortname: minimalmistakes disqus-shortname: minimalmistakes
twitter: mmistakes twitter: mmistakes
facebook: michaelrose facebook: michaelrose
google: google:
plus: +MichaelRoseDesign plus: MichaelRoseDesign
analytics: UA-2011187-3 analytics: UA-2011187-3
verify: UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y verify: UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y
ad-client: ca-pub-7328585512091257 ad-client: ca-pub-7328585512091257
ad-slot: 7855747535 ad-slot: 7855747535
bing-verify: D81F4C18A6CB3018F64D7C827D953DFD bing-verify: D81F4C18A6CB3018F64D7C827D953DFD
github: mmistakes github: mmistakes
stackoverflow:
linkedin:
instagram: mmistakes instagram: mmistakes
lastfm:
tumblr:
pinterest:
foursquare:
steam:
dribbble:
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"]
+3 -3
View File
@@ -5,10 +5,10 @@ billy_rick:
web: http://thewhip.com web: http://thewhip.com
email: billy@rick.com email: billy@rick.com
bio: "What do you want, jewels? I am a very extravagant man." bio: "What do you want, jewels? I am a very extravagant man."
avatar: bio-photo.jpg avatar: bio-photo-2.jpg
twitter: extravagantman twitter: extravagantman
google: google:
plus: +BillyRick plus: BillyRick
cornelius_fiddlebone: cornelius_fiddlebone:
name: Cornelius Fiddlebone name: Cornelius Fiddlebone
@@ -17,4 +17,4 @@ cornelius_fiddlebone:
avatar: bio-photo.jpg avatar: bio-photo.jpg
twitter: rhymeswithsackit twitter: rhymeswithsackit
google: google:
plus: +CorneliusFiddlebone plus: CorneliusFiddlebone
+28 -17
View File
@@ -2,23 +2,34 @@
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %} {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
{% endif %} {% endif %}
<div itemscope itemtype="http://schema.org/Person">
{% if author.avatar contains 'http' %} {% if author.avatar contains 'http' %}
<img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo"></a> <img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
{% else %} {% else %}
<img src="{{ site.url }}/images/{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo"></a> <img src="{{ site.url }}/images/{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
{% endif %} {% endif %}
<h3>{{ author.name }}</h3>
<p>{{ author.bio }}</p> <h3 itemprop="name">{{ author.name }}</h3>
{% if author.twitter %}<a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-twitter-square"></i> Twitter</a>{% endif %} <p>{{ author.bio }}</p>
{% if author.facebook %}<a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>{% endif %} {% if author.email %}<a href="mailto:{{ author.email }}" class="author-social" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Email</a>{% endif %}
{% if author.google_plus %}<a href="http://plus.google.com/+{{ author.google_plus }}" class="author-social" target="_blank"><i class="fa fa-google-plus-square"></i> Google+</a>{% endif %} {% if author.twitter %}<a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>{% endif %}
{% if author.linkedin %}<a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-linkedin-square"></i> LinkedIn</a>{% endif %} {% if author.facebook %}<a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>{% endif %}
{% if author.instagram %}<a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-instagram"></i> Instagram</a>{% endif %} {% if author.google.plus %}<a href="http://plus.google.com/+{{ author.google.plus }}" class="author-social" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>{% endif %}
{% if author.tumblr %}<a href="http://{{ author.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="fa fa-tumblr-square"></i> Tumblr</a>{% endif %} {% if author.linkedin %}<a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>{% endif %}
{% if author.github %}<a href="http://github.com/{{ author.github }}" class="author-social" target="_blank"><i class="fa fa-github"></i> Github</a>{% endif %} {% if author.xing %}<a href="http://www.xing.com/profile/{{ author.xing }}" class="author-social" target="_blank"><i class="fa fa-fw fa-xing-square"></i> XING</a>{% endif %}
{% if author.stackoverflow %}<a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" class="author-social" target="_blank"><i class="fa fa-stack-overflow"></i> Stackoverflow</a>{% endif %} {% if author.instagram %}<a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a>{% endif %}
{% if author.lastfm %}<a href="http://lastfm.com/user/{{ author.lastfm }}" class="author-social" target="_blank"><i class="fa fa-music"></i> Last.fm</a>{% endif %} {% if author.tumblr %}<a href="http://{{ author.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a>{% endif %}
{% if author.dribbble %}<a href="http://dribbble.com/{{ author.dribbble }}" class="author-social" target="_blank"><i class="fa fa-dribbble"></i> Dribbble</a>{% endif %} {% if author.github %}<a href="http://github.com/{{ author.github }}" class="author-social" target="_blank"><i class="fa fa-fw fa-github"></i> Github</a>{% endif %}
{% if author.pinterest %}<a href="http://www.pinterest.com/{{ author.pinterest }}" class="author-social" target="_blank"><i class="fa fa-pinterest"></i> Pinterest</a>{% endif %} {% if author.stackoverflow %}<a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" class="author-social" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i> Stackoverflow</a>{% endif %}
{% if author.foursquare %}<a href="http://foursquare.com/{{ author.foursquare }}" class="author-social" target="_blank"><i class="fa fa-foursquare"></i> Foursquare</a>{% endif %} {% if author.lastfm %}<a href="http://lastfm.com/user/{{ author.lastfm }}" class="author-social" target="_blank"><i class="fa fa-fw fa-music"></i> Last.fm</a>{% endif %}
{% if author.steam %}<a href="http://steamcommunity.com/id/{{ author.steam }}" class="author-social" target="_blank"><i class="fa fa-steam-square"></i> Steam</a>{% endif %} {% if author.dribbble %}<a href="http://dribbble.com/{{ author.dribbble }}" class="author-social" target="_blank"><i class="fa fa-fw fa-dribbble"></i> Dribbble</a>{% endif %}
{% if author.pinterest %}<a href="http://www.pinterest.com/{{ author.pinterest }}" class="author-social" target="_blank"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a>{% endif %}
{% if author.foursquare %}<a href="http://foursquare.com/{{ author.foursquare }}" class="author-social" target="_blank"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a>{% endif %}
{% if author.steam %}<a href="http://steamcommunity.com/id/{{ author.steam }}" class="author-social" target="_blank"><i class="fa fa-fw fa-steam-square"></i> Steam</a>{% endif %}
{% if author.youtube %}<a href="https://youtube.com/user/{{ author.youtube }}" class="author-social" target="_blank"><i class="fa fa-fw fa-youtube-square"></i> Youtube</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.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>
+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
View File
@@ -0,0 +1 @@
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title | xml_escape }}&lt;/a&gt; was originally published by {{ site.owner.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;
+4 -2
View File
@@ -1,13 +1,15 @@
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads"> <div class="google-ads">
<!-- 320 x 50 ad --> <!-- 320 x 50 ad -->
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle" <ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px" style="display:inline-block;width:320px;height:50px"
data-ad-client="{{ site.owner.google.ad-client }}" data-ad-client="{{ site.owner.google.ad-client }}"
data-ad-slot="{{ site.owner.goodle.slot }}"></ins> data-ad-slot="{{ site.owner.google.ad-slot }}"></ins>
<script> <script>
(adsbygoogle = window.adsbygoogle || []).push({}); (adsbygoogle = window.adsbygoogle || []).push({});
</script> </script>
</div><!-- /.google-ads --> </div><!-- /.google-ads -->
{% endif %}
<span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com">Jekyll</a> using the <a href="http://mademistakes.com/minimal-mistakes/">Minimal Mistakes</a> theme.</span> <span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com">Jekyll</a> using the <a href="http://mademistakes.com/minimal-mistakes/">Minimal Mistakes</a> theme.</span>
+2 -1
View File
@@ -15,7 +15,6 @@
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}"> <link rel="canonical" href="{{ canonical }}">
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% if site.owner.google.plus %}<link rel="author" href="http://plus.google.com/+{{ site.owner.google.plus }}?rel=author">{% endif %}
<!-- http://t.co/dKP3o1e --> <!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True"> <meta name="HandheldFriendly" content="True">
@@ -36,6 +35,8 @@
<!-- Modernizr --> <!-- Modernizr -->
<script src="{{ site.url }}/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script> <script src="{{ site.url }}/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script>
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<!-- Icons --> <!-- Icons -->
<!-- 16x16 --> <!-- 16x16 -->
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico"> <link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
+8 -8
View File
@@ -1,18 +1,18 @@
<div class="navigation-wrapper"> <div class="navigation-wrapper">
<div class="site-name"> <div class="site-name">
<a href="{{ site.url }}">{{ site.title }}</a> <a href="{{ site.url }}/">{{ site.title }}</a>
</div><!-- /.site-name --> </div><!-- /.site-name -->
<div class="top-navigation"> <div class="top-navigation">
<nav role="navigation" id="site-nav" class="nav"> <nav role="navigation" id="site-nav" class="nav">
<ul> <ul>
{% for link in site.data.navigation %} {% for link in site.data.navigation %}
{% if link.url contains 'http' %} {% if link.url contains 'http' %}
{% assign domain = '' %} {% assign domain = '' %}
{% else %} {% else %}
{% assign domain = site.url %} {% assign domain = site.url %}
{% endif %} {% endif %}
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li> <li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</nav> </nav>
</div><!-- /.top-navigation --> </div><!-- /.top-navigation -->
+7 -2
View File
@@ -8,7 +8,7 @@
<meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}"> <meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}">
{% else %} {% else %}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}"> <meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
{% endif %} {% endif %}
<!-- Open Graph --> <!-- Open Graph -->
<meta property="og:locale" content="{{ site.locale }}"> <meta property="og:locale" content="{{ site.locale }}">
@@ -16,4 +16,9 @@
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
{% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | strip_html }}">{% endif %} {% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | strip_html }}">{% endif %}
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
<meta property="og:site_name" content="{{ site.title }}"> <meta property="og:site_name" content="{{ site.title }}">
{% if page.image.feature %}
<meta property="og:image" content="{{ site.url }}/images/{{ page.image.feature }}">
{% else %}
<meta property="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
{% endif %}
+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 %}
+14
View File
@@ -0,0 +1,14 @@
<div class="social-share">
<h4>Share on</h4>
<ul>
<li>
<a href="https://twitter.com/intent/tweet?text={{ site.url }}{{ page.url }}" class="twitter" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a>
</li>
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" class="facebook" title="Share on Facebook"><i class="fa fa-facebook"></i><span> Facebook</span></a>
</li>
<li>
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" class="google-plus" title="Share on Google Plus"><i class="fa fa-google-plus"></i><span> Google+</span></a>
</li>
</ul>
</div><!-- /.social-share -->
+9
View File
@@ -0,0 +1,9 @@
<section id="table-of-contents" class="toc">
<header>
<h3><i class="fa fa-book"></i> Overview</h3>
</header>
<div id="drawer" markdown="1">
* Auto generated table of contents
{:toc}
</div>
</section><!-- /#table-of-contents -->
+19 -18
View File
@@ -28,23 +28,24 @@
</div><!-- /.image-wrap --> </div><!-- /.image-wrap -->
{% endif %} {% endif %}
<div class="article-author-side"> <div id="main" role="main">
{% include _author-bio.html %} <div class="article-author-side">
</div> {% include _author-bio.html %}
</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></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>
{% endif %} {% endif %}
</article> </article>
{% endfor %} {% endfor %}
</div><!-- /#index --> </div><!-- /#index -->
</div><!-- /#main -->
<div class="footer-wrap"> <div class="footer-wrap">
<footer> <footer>
@@ -53,6 +54,6 @@
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+7 -3
View File
@@ -32,10 +32,14 @@
<div class="article-author-side"> <div class="article-author-side">
{% include _author-bio.html %} {% include _author-bio.html %}
</div> </div>
<article> <article class="page">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
<div class="article-wrap"> <div class="article-wrap">
{{ content }} {{ content }}
{% if page.share != false %}
<hr />
{% include _social-share.html %}
{% endif %}
</div><!-- /.article-wrap --> </div><!-- /.article-wrap -->
{% if site.owner.disqus-shortname and page.comments == true %} {% if site.owner.disqus-shortname and page.comments == true %}
<section id="disqus_thread"></section><!-- /#disqus_thread --> <section id="disqus_thread"></section><!-- /#disqus_thread -->
@@ -49,7 +53,7 @@
</footer> </footer>
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+24 -26
View File
@@ -28,32 +28,30 @@
</div><!-- /.image-wrap --> </div><!-- /.image-wrap -->
{% endif %} {% endif %}
<div class="article-author-side"> <div id="main" role="main">
{% include _author-bio.html %} <div class="article-author-side">
</div> {% include _author-bio.html %}
</div>
<div id="index"> <div id="index">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% for post in site.posts %} {% capture written_year %}'None'{% endcapture %}
{% unless post.next %} {% for post in site.posts %}
<h3>{{ post.date | date: '%Y' }}</h3>
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != written_year %}
{% if year != nyear %} <h3>{{ year }}</h3>
<h3>{{ post.date | date: '%Y' }}</h3> {% capture written_year %}{{ year }}{% endcapture %}
{% endif %} {% 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></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> {% endif %}
{% endif %} </article>
</article> {% endfor %}
{% endfor %} </div><!-- /#index -->
</div><!-- /#index --> </div><!-- /#main -->
<div class="footer-wrap"> <div class="footer-wrap">
<footer> <footer>
@@ -62,6 +60,6 @@
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+6 -6
View File
@@ -32,7 +32,7 @@
<div class="article-author-side"> <div class="article-author-side">
{% include _author-bio.html %} {% include _author-bio.html %}
</div> </div>
<article> <article class="post">
<div class="headline-wrap"> <div class="headline-wrap">
{% if page.link %} {% if page.link %}
<h1><a href="{{ page.link }}">{{ page.title }}</a></h1> <h1><a href="{{ page.link }}">{{ page.title }}</a></h1>
@@ -44,9 +44,7 @@
{{ content }} {{ content }}
<hr /> <hr />
<footer role="contentinfo"> <footer role="contentinfo">
<div class="article-author-bottom"> {% if page.share != false %}{% include _social-share.html %}{% endif %}
{% include _author-bio.html %}
</div>
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p> <p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p>
</footer> </footer>
</div><!-- /.article-wrap --> </div><!-- /.article-wrap -->
@@ -57,6 +55,7 @@
</div><!-- /#main --> </div><!-- /#main -->
<div class="footer-wrap"> <div class="footer-wrap">
{% if site.related_posts.size > 0 %}
<div class="related-articles"> <div class="related-articles">
<h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/posts/">View all posts</a>)</small></h4> <h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/posts/">View all posts</a>)</small></h4>
<ul> <ul>
@@ -66,12 +65,13 @@
</ul> </ul>
<hr /> <hr />
</div><!-- /.related-articles --> </div><!-- /.related-articles -->
{% endif %}
<footer> <footer>
{% include _footer.html %} {% include _footer.html %}
</footer> </footer>
</div><!-- /.footer-wrap --> </div><!-- /.footer-wrap -->
{% include _scripts.html %} {% include _scripts.html %}
</body> </body>
</html> </html>
+3 -3
View File
@@ -6,9 +6,9 @@ modified: 2013-05-31
tags: [intro, beginner, jekyll, tutorial] tags: [intro, beginner, jekyll, tutorial]
comments: true comments: true
image: image:
feature: texture-feature-05.jpg feature: sample-image-5.jpg
credit: Texture Lovers credit: WeGraphics
creditlink: http://texturelovers.com creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
--- ---
<section id="table-of-contents" class="toc"> <section id="table-of-contents" class="toc">
+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>
@@ -5,22 +5,22 @@ excerpt: "Custom written post descriptions are the way to go... if you're not la
tags: [sample post, readability, test] tags: [sample post, readability, test]
comments: true comments: true
image: image:
feature: texture-feature-04.jpg feature: sample-image-4.jpg
credit: Texture Lovers credit: WeGraphics
creditlink: http://texturelovers.com creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
--- ---
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.
+8 -7
View File
@@ -3,14 +3,17 @@ 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
comments: true comments: true
--- ---
[Syntax highlighting](http://en.wikipedia.org/wiki/Syntax_highlighting) is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers. Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.[^1]
[^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
### Pygments Code Blocks ### Pygments Code Blocks
To modify styling and highlight colors edit `/assets/less/pygments.less` and compile `main.less` with your favorite preprocessor. Or edit `main.css` if that's your thing, the classes you want to modify all begin with `.highlight`. To modify styling and highlight colors edit `/_sass/_pygments.scss`.
{% highlight css %} {% highlight css %}
#container { #container {
@@ -20,9 +23,7 @@ To modify styling and highlight colors edit `/assets/less/pygments.less` and com
} }
{% endhighlight %} {% endhighlight %}
Line numbering enabled: {% highlight html %}
{% highlight html linenos %}
{% raw %} {% raw %}
<nav class="pagination" role="navigation"> <nav class="pagination" role="navigation">
{% if page.previous %} {% if page.previous %}
@@ -72,7 +73,7 @@ end
### Fenced Code Blocks ### Fenced Code Blocks
To modify styling and highlight colors edit `/assets/less/coderay.less` and compile `main.less` with your favorite preprocessor. Or edit `main.css` if that's your thing, the classes you want to modify all begin with `.coderay`. Line numbers and a few other things can be modified in `_config.yml` under `coderay`. 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 {
@@ -117,4 +118,4 @@ end
An example of a Gist embed below. An example of a Gist embed below.
{% gist mmistakes/6589546 %} {% gist mmistakes/6589546 %}
+10 -6
View File
@@ -7,11 +7,11 @@ excerpt: "A post to test author overrides using a data file."
tags: [] tags: []
--- ---
For those of you who may have content written by multiple authors on your site you can assign different authors to each post if desired. For those of you who may have content written by multiple authors on your site you can now assign different authors to each post if desired.
Traditionally you would assign a global author for the entire site and those attributes would be used in all post bylines, social networking links in the footer, Twitter Cards, and Google Authorship. These `owner` variables defined in your `config.yml` Previously the theme used a global author for the entire site and those attributes would be used in all bylines, social networking links, Twitter Card attribution, and Google Authorship. These `owner` variables were defined in `config.yml`
Start by creating an `authors.yml` file in the `_data` folder and add your authors using the following format. Start by modifying or creating a new `authors.yml` file in the `_data` folder and add your authors using the following format.
{% highlight yaml %} {% highlight yaml %}
# Authors # Authors
@@ -21,8 +21,10 @@ billy_rick:
web: http://thewhip.com web: http://thewhip.com
email: billy@rick.com email: billy@rick.com
bio: "What do you want, jewels? I am a very extravagant man." bio: "What do you want, jewels? I am a very extravagant man."
avatar: bio-photo.jpg avatar: bio-photo-2.jpg
twitter: extravagantman twitter: extravagantman
google:
plus: BillyRick
cornelius_fiddlebone: cornelius_fiddlebone:
name: Cornelius Fiddlebone name: Cornelius Fiddlebone
@@ -30,10 +32,12 @@ cornelius_fiddlebone:
bio: "I ordered what?" bio: "I ordered what?"
avatar: bio-photo.jpg avatar: bio-photo.jpg
twitter: rhymeswithsackit twitter: rhymeswithsackit
google:
plus: CorneliusFiddlebone
{% endhighlight %} {% endhighlight %}
To assign Billy Rick as an author for our post. We'd add the following YAML front matter to a post: To assign Billy Rick as an author for our post. You'd add the following YAML front matter to a post:
{% highlight yaml %} {% highlight yaml %}
author: billy_rick author: billy_rick
{% endhighlight %} {% endhighlight %}
+5 -1
View File
@@ -1,3 +1,7 @@
/* ==========================================================================
Coderay syntax highlighting
========================================================================== */
.CodeRay { .CodeRay {
background-color: #efefef; background-color: #efefef;
font-family: $code-font; font-family: $code-font;
@@ -130,4 +134,4 @@ ol.CodeRay li { white-space: pre }
.CodeRay .insert .insert { color: #080; font-weight:bold } .CodeRay .insert .insert { color: #080; font-weight:bold }
.CodeRay .delete .delete { color: #800; font-weight:bold } .CodeRay .delete .delete { color: #800; font-weight:bold }
.CodeRay .change .change { color: #66f; } .CodeRay .change .change { color: #66f; }
.CodeRay .head .head { color: #f4f; } .CodeRay .head .head { color: #f4f; }
+55 -14
View File
@@ -1,26 +1,39 @@
hr { /*
display: block; Rules
margin: 1em 0; ========================================================================== */
hr {
display: block;
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
========================================================================== */
figure { figure {
margin-bottom: $indent-var; margin-bottom: $indent-var;
} }
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 */
.half { .half {
@include container; @include container;
@include clearfix; @include clearfix;
@@ -33,6 +46,9 @@ svg:not(:root) {
} }
} }
} }
/* 3 images of equal dimensions in a row */
.third { .third {
@include container; @include container;
@include clearfix; @include clearfix;
@@ -45,17 +61,26 @@ svg:not(:root) {
} }
} }
} }
/* Buttons ============================================== */
/*
Buttons
========================================================================== */
/* Default button */
.btn { .btn {
display: inline-block; display: inline-block;
margin-bottom: 20px; margin-bottom: 20px;
padding: 8px 20px; padding: 8px 20px;
@include font-rem(14); @include font-rem(14);
font-family: $heading-font;
font-weight: 700;
background-color: $primary; background-color: $primary;
color: $white; color: $white;
border-width: 2px !important; border-width: 2px !important;
border-style: solid !important; border-style: solid !important;
border-color: $primary; border-color: $primary;
text-decoration: none !important;
@include rounded(3px); @include rounded(3px);
&:visited { &:visited {
color: $white; color: $white;
@@ -65,6 +90,9 @@ svg:not(:root) {
color: $primary; color: $primary;
} }
} }
/* Success button */
.btn-success { .btn-success {
background-color: $success; background-color: $success;
color: $white; color: $white;
@@ -77,6 +105,9 @@ svg:not(:root) {
color: $success; color: $success;
} }
} }
/* Warning button */
.btn-warning { .btn-warning {
background-color: $warning; background-color: $warning;
color: $white; color: $white;
@@ -89,6 +120,9 @@ svg:not(:root) {
color: $warning; color: $warning;
} }
} }
/* Danger button */
.btn-danger { .btn-danger {
background-color: $danger; background-color: $danger;
color: $white; color: $white;
@@ -101,6 +135,9 @@ svg:not(:root) {
color: $danger; color: $danger;
} }
} }
/* Information button */
.btn-info { .btn-info {
background-color: $info; background-color: $info;
color: $white; color: $white;
@@ -113,7 +150,11 @@ svg:not(:root) {
color: $info; color: $info;
} }
} }
/* Well ================================================= */
/*
Wells
========================================================================== */
.well { .well {
min-height: 20px; min-height: 20px;
padding: 19px; padding: 19px;
@@ -122,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));
} }
+87 -63
View File
@@ -1,31 +1,35 @@
btnform { /* ==========================================================================
Forms
========================================================================== */
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,
@@ -33,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,
@@ -64,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"],
@@ -86,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;
@@ -106,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"],
@@ -114,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;
@@ -126,39 +130,43 @@ 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 ==================================== */
/*
Disabled state
========================================================================== */
input[disabled], input[disabled],
select[disabled], select[disabled],
textarea[disabled], textarea[disabled],
@@ -166,70 +174,86 @@ input[readonly],
select[readonly], select[readonly],
textarea[readonly] { textarea[readonly] {
@include opacity(.5); @include opacity(.5);
cursor : not-allowed; cursor : not-allowed;
} }
/* focus and active ============================ */
/*
Focus & active state
========================================================================== */
input:focus, 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
========================================================================== */
.form-inline input, .form-inline input,
.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"] {
float : left; float : left;
margin-left : 0; margin-left : 0;
margin-right : 3px; } margin-right : 3px; }
/* .form-search ================================= */
/*
.form-search
========================================================================== */
.form-search input, .form-search input,
.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;
@@ -246,4 +270,4 @@ select:focus {
float : left; float : left;
margin-left : 0; margin-left : 0;
margin-right : 3px; margin-right : 3px;
} }
+53 -16
View File
@@ -1,5 +1,12 @@
// Defining number of columns in the grid. /* ==========================================================================
// Common Values would be 12, 16 or 24 Grid mixins
========================================================================== */
/*
Define number of columns in the grid
Common values would be 12, 16 or 24
========================================================================== */
$width: 100%; $width: 100%;
$def_grid: 12; $def_grid: 12;
$margin: 0; $margin: 0;
@@ -8,40 +15,70 @@ $margin: 0;
margin:0 auto; margin:0 auto;
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. number of columns being displayed. Removes 20px for margins.
// Removes 20px for margins ========================================================================== */
@mixin grid($grid:$def_grid,$cols:'',$float:left,$display:inline){ @mixin grid($grid:$def_grid,$cols:'',$float:left,$display:inline){
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
Example: @include prefix(1,12);
========================================================================== */
// Allows for padding before element
@mixin prefix($grid:$def_grid,$cols:''){ @mixin prefix($grid:$def_grid,$cols:''){
margin-left:(100%/$grid * $cols); margin-left:(100%/$grid * $cols);
} }
// Allows for padding after element
@mixin suffix($grid:$def_grid,$cols:''){ /*
margin-right:(100%/$grid * $cols); Add x amount of column padding after an element
Example: @include suffix(2,12);
========================================================================== */
@mixin suffix($grid:$def_grid,$cols:''){
margin-right:(100%/$grid * $cols);
} }
// Removes left margin
/*
Remove left margin
Example: @include first;
========================================================================== */
@mixin first(){ @mixin first(){
margin-left:0; margin-left:0;
} }
// Removes right margin
/*
Remove right margin
Example: @include last;
========================================================================== */
@mixin last(){ @mixin last(){
margin-right:0; margin-right:0;
} }
/*
Push an element x amount of column(s) to the right
Example: @include push(2,12);
========================================================================== */
@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
Example: @include pull(1,12);
========================================================================== */
@mixin pull($grid:$def_grid,$move:''){ @mixin pull($grid:$def_grid,$move:''){
position:relative; position:relative;
left:(100%/$grid * $move) * -1; left:(100%/$grid * $move) * -1;
} }
+266 -161
View File
@@ -1,17 +1,20 @@
// UTILITY MIXINS /* ==========================================================================
// -------------------------------------------------- Utility mixins
========================================================================== */
/*
Clearfix
For clearing floats like a boss h5bp.com/q
========================================================================== */
// Clearfix
// --------------------
// For clearing floats like a boss h5bp.com/q
@mixin clearfix { @mixin clearfix {
*zoom: 1; *zoom: 1;
&:before, &:before,
&:after { &:after {
display: table; display: table;
content: ""; content: "";
// Fixes Opera/contenteditable bug: /* Fixes Opera/contenteditable bug: */
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952 /* http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952 */
line-height: 0; line-height: 0;
} }
&:after { &:after {
@@ -19,29 +22,38 @@
} }
} }
// Webkit-style focus /*
// -------------------- Webkit-style focus
========================================================================== */
@mixin tab-focus() { @mixin tab-focus() {
// Default /* Default */
outline: thin dotted #333; outline: thin dotted #333;
// Webkit /* Webkit */
outline: 5px auto -webkit-focus-ring-color; outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px; outline-offset: -2px;
} }
// Center-align a block level element /*
// ---------------------------------- Center-align a block level element
========================================================================== */
@mixin center-block() { @mixin center-block() {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
// TYPOGRAPHY /* ==========================================================================
// -------------------------------------------------- Typography related mixins
========================================================================== */
/*
Maintains vertical rhythm by setting a font-sizes proportional to
line-height and bottom margin
example: @font-size(16);
========================================================================== */
// Full-fat vertical rhythm
// ------------------------
@mixin font-size($size) { @mixin font-size($size) {
font-size: 0px + $size; font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size; font-size: 0rem + $size / $doc-font-size;
@@ -50,153 +62,225 @@
margin-bottom: 0rem + ($doc-line-height / $doc-font-size); margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
} }
// Just the REMs /*
// ------------- Just font-size (REMs + pixel fallback)
example: @include font-rem(16);
========================================================================== */
@mixin font-rem($size) { @mixin font-rem($size) {
font-size: 0px + $size; font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size; font-size: 0rem + $size / $doc-font-size;
} }
// Just font-size and line-height /*
// ------------------------------ Just font-size (REMs + pixel fallback) and line-height
@include font(16);
========================================================================== */
@mixin font($size) { @mixin font($size) {
font-size: 0px + $size; font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size; font-size: 0rem + $size / $doc-font-size;
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 ...
========================================================================== */
@mixin text-overflow() { @mixin text-overflow() {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; } white-space: nowrap;
}
/* Indentation variable */
$indent-var: 0rem + ($doc-line-height / $doc-font-size); $indent-var: 0rem + ($doc-line-height / $doc-font-size);
// GRADIENTS /* ==========================================================================
// -------------------------------------------------- Gradient mixins
========================================================================== */
@mixin horizontal($startColor : $white, $endColor : $lightergrey) { @mixin horizontal($startColor : $white, $endColor : $lightergrey) {
background-color: $endColor; background-color: $endColor;
background-image : -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+ background-image : -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
background-image : -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+ background-image : -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
background-image : -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+ background-image : -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
background-image : -ms-linear-gradient(left, $startColor, $endColor); // IE10 background-image : -ms-linear-gradient(left, $startColor, $endColor); // IE10
background-image : -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10 background-image : -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
background-image : linear-gradient(left, $startColor, $endColor); // W3C background-image : linear-gradient(left, $startColor, $endColor); // W3C
background-repeat : repeat-x; } background-repeat : repeat-x;
}
@mixin vertical($startColor : $white, $endColor: $lightergrey) { @mixin vertical($startColor : $white, $endColor: $lightergrey) {
background-image : -webkit-gradient(linear, 0 0, 0 100%, from($startColor), to($endColor)); // Safari 4+, Chrome 2+ background-image : -webkit-gradient(linear, 0 0, 0 100%, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
background-image : -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+ background-image : -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
background-color : $endColor; background-color : $endColor;
background-image : -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+ background-image : -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+
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) {
background-color : $endColor; background-color : $endColor;
background-image : -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+ background-image : -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+
background-image : -ms-linear-gradient($deg, $startColor, $endColor); // IE10 background-image : -ms-linear-gradient($deg, $startColor, $endColor); // IE10
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);
@mixin bordered($top-color: #eee, $right-color: #eee, $bottom-color: #eee, $left-color: #eee) { @mixin bordered($top-color: #eee, $right-color: #eee, $bottom-color: #eee, $left-color: #eee) {
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;
}
// ROUND CORNERS /* ==========================================================================
// -------------------------------------------------- Rounded corners
========================================================================== */
/*
Round all corners
example: @include rounded(4px);
========================================================================== */
// .rounded(VALUE);
@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)
example: @include border-radius(4px, 0, 0, 4px);
========================================================================== */
// .border-radius(VALUE,VALUE,VALUE,VALUE);
@mixin border-radius($topright: 0, $bottomright: 0, $bottomleft: 0, $topleft: 0) { @mixin border-radius($topright: 0, $bottomright: 0, $bottomleft: 0, $topleft: 0) {
border-top-right-radius : $topright; border-top-right-radius: $topright;
border-bottom-right-radius : $bottomright; border-bottom-right-radius: $bottomright;
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
example: @include box-shadow(HORIZONTAL VERTICAL BLUR COLOR));
========================================================================== */
// .box-shadow(HORIZONTAL VERTICAL BLUR COLOR))
@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
example: @include drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
========================================================================== */
// .drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
@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
example: @include text-shadow(0 2px 3px rgba(0,0,0,.25));
========================================================================== */
// .text-shadow();
@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(VALUE); /*
@mixin opacity($opacity : .5) { Opacity
opacity : $opacity; } example: @include opacity(0.5); // 50% opacity
========================================================================== */
// TRANSFORMATIONS @mixin opacity($opacity: 0.5) {
// -------------------------------------------------- opacity: $opacity;
}
/* ==========================================================================
Transformations
========================================================================== */
/*
@include rotate(VALUEdeg);
========================================================================== */
// .rotate(VALUEdeg);
@mixin rotate($deg) { @mixin rotate($deg) {
-webkit-transform : rotate($deg); -webkit-transform: rotate($deg);
-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);
========================================================================== */
// .scale(VALUE);
@mixin scale($ratio) { @mixin scale($ratio) {
-webkit-transform : scale($ratio); -webkit-transform: scale($ratio);
-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);
========================================================================== */
// .skew(VALUE, VALUE);
@mixin skew($x: 0, $y: 0) { @mixin skew($x: 0, $y: 0) {
-webkit-transform : skew($x, $y); -webkit-transform: skew($x, $y);
-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);
========================================================================== */
// .transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
@mixin transition($transition) { @mixin transition($transition) {
-webkit-transition : $transition; -webkit-transition: $transition;
-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);
========================================================================== */
// .translate(VALUE, VALUE)
@mixin translate($x: 0, $y: 0) { @mixin translate($x: 0, $y: 0) {
-webkit-transform : translate($x, $y); -webkit-transform: translate($x, $y);
-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) {
-webkit-transform : translate($x, $y, $z); -webkit-transform: translate($x, $y, $z);
-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) {
-webkit-animation: $name $duration $delay $ease; -webkit-animation: $name $duration $delay $ease;
@@ -204,68 +288,89 @@ transform : translate($x, $y, $z); }
-ms-animation: $name $duration $delay $ease; -ms-animation: $name $duration $delay $ease;
} }
// BACKGROUND /* ==========================================================================
// -------------------------------------------------- Background
========================================================================== */
/*
@include background-alpha(VALUE VALUE);
========================================================================== */
// .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);
========================================================================== */
// .background-size(VALUE VALUE);
@mixin background-size($size){ @mixin background-size($size){
-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;
}
// .background-clip(VALUE); (border-box, padding-box, content-box) /*
@mixin background-clip($clip) { Box-sizing
-webkit-background-clip : $clip; example: @include box-sizing(VALUE); //(border-box, padding-box, content-box)
-moz-background-clip : $clip; ========================================================================== */
background-clip : $clip; }
// .box-sizing(VALUE); (border-box, padding-box, content-box)
@mixin box-sizing($boxsize: border-box) { @mixin box-sizing($boxsize: border-box) {
-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;
}
/* ==========================================================================
Image replacement
========================================================================== */
// For image replacement
@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
@mixin hidden { @mixin hidden {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
// Hide but maintain layout /*
@mixin invisible() { Hide but maintain layout
visibility : hidden; } ========================================================================== */
@mixin invisible() {
visibility: hidden;
}
/*
Resize
example: @include resize(VALUE); //(none, both, horizontal, vertical, inherit)
========================================================================== */
// .resize(VALUE) (none, both, horizontal, vertical, inherit)
@mixin resize($direction: both) { @mixin resize($direction: both) {
resize : $direction; resize: $direction;
overflow : auto; } overflow: auto;
}
// .userselect(VALUE) (all, element, none, text) /*
@mixin user-select($select) { Hidden but available to speaking browsers
-webkit-user-select : $select; ========================================================================== */
-moz-user-select : $select;
-o-user-select : $select;
user-select : $select; }
// 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; }
+141 -93
View File
@@ -1,16 +1,27 @@
/* ==========================================================================
Page layout
========================================================================== */
body { body {
background-color: $bodycolor; background-color: $bodycolor;
font-family: $base-font; font-family: $base-font;
color: $text-color; color: $text-color;
} }
/*
Header
========================================================================== */
.navigation-wrapper { .navigation-wrapper {
@include container; @include container;
padding: 2em 0 0; padding: 2em 0 1em;
font-family: $heading-font; font-family: $heading-font;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
@include clearfix; @include clearfix;
} }
/* Site name */
.site-name { .site-name {
@include grid(12,10); @include grid(12,10);
@include prefix(12,1); @include prefix(12,1);
@@ -30,6 +41,8 @@ body {
@include prefix(12,2); @include prefix(12,2);
} }
} }
/* Top navigation links */
.top-navigation { .top-navigation {
@include grid(12,10); @include grid(12,10);
@include prefix(12,1); @include prefix(12,1);
@@ -66,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;
@@ -79,7 +92,8 @@ body {
} }
} }
} }
// Navicon lines
/* Animated lines for mobile nav button */
$button-size: 1.5rem; $button-size: 1.5rem;
@mixin navicon-line() { @mixin navicon-line() {
display: inline-block; display: inline-block;
@@ -151,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} {
@@ -166,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 {
@@ -192,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;
@@ -201,13 +215,19 @@ $button-size: 1.5rem;
-ms-transition: max-height .4s; -ms-transition: max-height .4s;
transition: max-height .4s; transition: max-height .4s;
} }
/* Main content */
#main { #main {
counter-reset: captions; counter-reset: captions;
@include container; @include container;
@include clearfix; @include clearfix;
clear: both; clear: both;
margin-top: 1em; margin-top: 2em;
article { h1 {
margin-top: 0;
}
.post,
.page {
@include container; @include container;
@include grid(12,10); @include grid(12,10);
@include prefix(12,1); @include prefix(12,1);
@@ -223,6 +243,8 @@ $button-size: 1.5rem;
} }
} }
} }
/* Index listing specific styling */
#index { #index {
@include container; @include container;
@include grid(12,10); @include grid(12,10);
@@ -260,22 +282,28 @@ $button-size: 1.5rem;
} }
} }
} }
/* Large feature header image */
.image-wrap { .image-wrap {
position: relative; position: relative;
margin-bottom: 2em; margin-bottom: 2em;
@include clearfix;
&:after { &:after {
content: " "; content: " ";
display: block; display: block;
position: absolute; position: absolute;
bottom: -1px; bottom: 0;
left: 8%; left: 8%;
width: 0; width: 0;
height: 0; height: 0;
border: 20px solid transparent; border: 10px solid transparent;
border-bottom-color: $bodycolor; border-bottom-color: $bodycolor;
@media #{$small} { @media #{$small} {
left: 25%; left: 25%;
} }
@media #{$large} {
border-width: 20px;
}
@media #{$x-large} { @media #{$x-large} {
left: 33.333333333%; left: 33.333333333%;
} }
@@ -302,6 +330,8 @@ $button-size: 1.5rem;
} }
} }
} }
/* Post byline */
.byline { .byline {
clear: both; clear: both;
font-size: 80%; font-size: 80%;
@@ -319,6 +349,8 @@ $button-size: 1.5rem;
border-bottom: 0 solid transparent; border-bottom: 0 solid transparent;
} }
} }
/* Default social media links in author sidebar */
.author-social { .author-social {
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
@@ -337,6 +369,8 @@ $button-size: 1.5rem;
margin-right: 5px; margin-right: 5px;
} }
} }
/* Author sidebar */
.article-author-side { .article-author-side {
display: none; display: none;
.bio-photo { .bio-photo {
@@ -378,6 +412,8 @@ $button-size: 1.5rem;
@include prefix(12,2); @include prefix(12,2);
} }
} }
/* Author module - mobile only */
.article-author-bottom { .article-author-bottom {
margin-bottom: 1em; margin-bottom: 1em;
@media #{$small} { @media #{$small} {
@@ -402,24 +438,22 @@ $button-size: 1.5rem;
} }
} }
} }
/* Post content wrapper */
.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 {
border-bottom: 1px dotted lighten($link-color, 50); text-decoration: underline;
&:hover {
border-bottom-style: solid;
}
}
p > a.reversefootnote,
li > a.reversefootnote {
border-bottom-width: 0;
} }
} }
/* Table of contents */
.toc { .toc {
display: none;
font-size: 95%; font-size: 95%;
@media #{$small} { @media #{$large} {
display: block; display: block;
@include grid(12,2); @include grid(12,2);
@include prefix(12,0.5); @include prefix(12,0.5);
@@ -460,7 +494,7 @@ $button-size: 1.5rem;
padding: 10px; padding: 10px;
display: block; display: block;
color: $white; color: $white;
border-bottom-width: 0; text-decoration: none;
background: lighten($black, 30); background: lighten($black, 30);
@include opacity(0.7); @include opacity(0.7);
@include transition(opacity 0.2s ease-in-out); @include transition(opacity 0.2s ease-in-out);
@@ -470,9 +504,23 @@ $button-size: 1.5rem;
} }
ul { ul {
margin: 1px 0 0; margin: 1px 0 0;
li a {
padding-left: 20px;
}
} }
} }
} }
/* TOC trigger for collapsing */
#drawer {
max-height: 100%;
overflow: hidden;
&.js-hidden {
max-height: 0;
}
}
/* Image grid - not used */
.image-grid { .image-grid {
@include clearfix; @include clearfix;
list-style: none; list-style: none;
@@ -494,13 +542,15 @@ $button-size: 1.5rem;
} }
} }
} }
/* Recent grid - not used */
.recent-grid { .recent-grid {
@include clearfix; @include clearfix;
list-style: none; list-style: none;
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;
@@ -512,37 +562,68 @@ $button-size: 1.5rem;
margin-bottom: 1%; margin-bottom: 1%;
} }
} }
.holder {
font-family: $heading-font; /* Social sharing links */
a { /* Social media brand buttons */
cursor: pointer; .social-share {
margin: 0 5px; margin-bottom: 0px + $doc-line-height;
} margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
a.jp-previous { ul, li {
margin-left: 0; margin: 0;
margin-right: 15px; padding: 0;
} list-style: none;
a.jp-next { }
margin-left: 15px; li {
margin-right: 0; display: inline-block;
} }
a.jp-current { $social:
font-weight: bold; (facebook, $facebook-color),
} (flickr, $flickr-color),
a.jp-disabled, (foursquare, $foursquare-color),
a.jp-disabled:hover { (google-plus, $google-plus-color),
} (instagram, $instagram-color),
a.jp-current, (linkedin, $linkedin-color),
a.jp-current:hover, (pinterest, $pinterest-color),
a.jp-disabled, (rss, $rss-color),
a.jp-disabled:hover { (tumblr, $tumblr-color),
cursor: default; (twitter, $twitter-color),
background: none; (vimeo, $vimeo-color),
(youtube, $youtube-color);
@each $socialnetwork, $color in $social {
.#{$socialnetwork} {
background: $color;
}
}
a {
display: block;
padding: 8px 20px;
text-decoration: none !important;
text-transform: uppercase;
@include font-rem(14);
font-family: $heading-font;
font-weight: 700;
color: $white;
opacity: 0.8;
&:hover {
opacity: 1;
}
} }
span { span {
margin: 0 5px; display: none;
@media #{$medium} {
display: inline;
padding-left: 5px;
}
}
h4 {
@include font-rem(14);
margin-bottom: 10px;
text-transform: uppercase;
} }
} }
/* Footer wrapper */
.footer-wrap { .footer-wrap {
@include container; @include container;
@include clearfix; @include clearfix;
@@ -555,7 +636,7 @@ $button-size: 1.5rem;
h4, h4,
h5, h5,
h6, h6,
span { span {
@include font-rem(14); @include font-rem(14);
} }
footer { footer {
@@ -574,6 +655,8 @@ $button-size: 1.5rem;
} }
} }
} }
/* Related articles list */
.related-articles { .related-articles {
@include grid(12,10); @include grid(12,10);
@include prefix(12,1); @include prefix(12,1);
@@ -590,7 +673,6 @@ $button-size: 1.5rem;
@include suffix(12,3.5); @include suffix(12,3.5);
} }
h4 { h4 {
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 0; margin-bottom: 0;
} }
@@ -598,46 +680,11 @@ $button-size: 1.5rem;
margin-bottom: 0; margin-bottom: 0;
} }
} }
.footer-icons {
li {
display: inline-block;
padding-right: 5px;
a {
color: lighten($basecolor, 40%);
@include transition(.4s linear);
&:hover {
text-decoration: none;
border-bottom: none;
.icon-twitter,
.icon-twitter-sign {
color: #2aa9df;
}
.icon-facebook,
.icon-facebook-sign {
color: #3a5a98;
}
.icon-instagram,
.icon-instagram-sign {
color: #306088;
}
.icon-google-plus,
.icon-google-plus-sign {
color: #b63324;
}
.icon-lastfm,
.icon-lastfm-sign {
color: #d80049;
}
.icon-github {
color: #4183c4;
}
}
}
}
}
// Browser Upgrade /*
// -------------------------------------------------- Browser upgrade alert
========================================================================== */
.browser-upgrade { .browser-upgrade {
background: #000; background: #000;
text-align: center; text-align: center;
@@ -654,9 +701,10 @@ $button-size: 1.5rem;
} }
} }
} }
/*
Google search form
========================================================================== */
// Google Search
// --------------------------------------------------
#goog-fixurl { #goog-fixurl {
ul { ul {
list-style: none; list-style: none;
-56
View File
@@ -1,56 +0,0 @@
// ROOT =====================================================
* {
background : transparent !important;
color : black !important;
box-shadow : none !important;
text-shadow : none !important;
filter : none !important;
-ms-filter : none !important;
position: static !important; }
@page {
margin : 0.5cm; }
// TYPOGRAPHY ===============================================
h2, h3 {
orphans : 3;
widows : 3;
page-break-after : avoid; }
p {
orphans : 3;
widows : 3; }
pre, blockquote {
border : 1px solid #333;
page-break-inside : avoid;
padding: 1em; }
abbr[title]:after {
content: " (" attr(title) ")"; }
a, a:visited {
text-decoration : underline; }
a[href]:after {
content : " (" attr(href) ")"; }
a[href^="javascript:"]:after,
a[href^="#"]:after {
content : ""; }
// TEXTURE ===============================================
img {
max-width : 100% !important;
page-break-inside : avoid; }
thead {
display : table-header-group; }
tr {
page-break-inside : avoid; }
// ELEMENTS ==============================================
// LAYOUT ================================================
// VENDOR-SPECIFIC =======================================
// MODERNIZR =============================================
+5 -1
View File
@@ -1,3 +1,7 @@
/* ==========================================================================
Pygments.rb syntax highlighting
========================================================================== */
.highlight { .highlight {
background-color: #efefef; background-color: #efefef;
font-family: $code-font; font-family: $code-font;
@@ -72,4 +76,4 @@
.vg { color: #008080 } /* Name.Variable.Global */ .vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */ .vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */ .il { color: #009999 } /* Literal.Number.Integer.Long */
} }
+35 -13
View File
@@ -1,22 +1,37 @@
/* Selection ============================================= */ /* ==========================================================================
::-moz-selection { Site wide styles
background-color: lighten($basecolor, 65%); ========================================================================== */
color: $basecolor;
text-shadow: none; /*
} Selection
::selection { ========================================================================== */
background-color: lighten($basecolor, 65%);
color: $basecolor; ::-moz-selection {
text-shadow: none; background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
}
::selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
} }
/* Global Classes ======================================== */ /*
Global classes
========================================================================== */
/* Capitalize */
.all-caps { .all-caps {
text-transform: uppercase; text-transform: uppercase;
} }
/* Float left */
.pull-left { .pull-left {
float: left; float: left;
} }
/* Float right */
.pull-right { .pull-right {
float: right; float: right;
} }
@@ -24,6 +39,8 @@
float: right; float: right;
margin-top: 0; margin-top: 0;
} }
/* Clearfix */
.clearfix { .clearfix {
*zoom: 1; *zoom: 1;
&:before, &:before,
@@ -35,6 +52,8 @@
clear: both; clear: both;
} }
} }
/* Remove bullets and indentation from list */
.unstyled-list { .unstyled-list {
list-style: none; list-style: none;
margin-left: 0; margin-left: 0;
@@ -44,7 +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);
} }
+52 -30
View File
@@ -1,5 +1,11 @@
// Headings /* ==========================================================================
// -------------------------------------------------- Typography
========================================================================== */
/*
Headings
========================================================================== */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: $heading-font; font-family: $heading-font;
} }
@@ -22,29 +28,33 @@ 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;
} }
} }
// Figures /*
// -------------------------------------------------- Figure captions
========================================================================== */
figcaption { figcaption {
padding-top: 10px; padding-top: 10px;
@include font(14); @include font(14);
@@ -52,8 +62,10 @@ figcaption {
color: lighten($text-color, 10); color: lighten($text-color, 10);
} }
// Feature Image Caption /*
// -------------------------------------------------- Feature image captions
========================================================================== */
.image-credit { .image-credit {
@include grid(12,10); @include grid(12,10);
@include prefix(12,1); @include prefix(12,1);
@@ -77,8 +89,10 @@ figcaption {
} }
} }
// Note text /*
// -------------------------------------------------- Notices
========================================================================== */
.notice { .notice {
margin-top: 1.5em; margin-top: 1.5em;
padding: .5em 1em; padding: .5em 1em;
@@ -89,8 +103,10 @@ figcaption {
@include rounded(3px); @include rounded(3px);
} }
// Blockquotes /*
// -------------------------------------------------- Blockquotes
========================================================================== */
blockquote { blockquote {
margin-left: -28px; margin-left: -28px;
padding-left: 20px; padding-left: 20px;
@@ -99,8 +115,10 @@ blockquote {
font-style: italic; font-style: italic;
} }
// Footnotes /*
// -------------------------------------------------- Footnotes
========================================================================== */
.footnotes { .footnotes {
ol, li, p { ol, li, p {
margin-bottom: 0; margin-bottom: 0;
@@ -108,8 +126,10 @@ blockquote {
} }
} }
// Paragraphs /*
// -------------------------------------------------- Paragraphs
========================================================================== */
p { p {
margin: 0 0 $indent-var; margin: 0 0 $indent-var;
// sibling indentation // sibling indentation
@@ -121,13 +141,15 @@ p {
} }
} }
// Code /*
// -------------------------------------------------- Code snippets
========================================================================== */
tt, code, kbd, samp, pre { 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;
+35 -8
View File
@@ -1,4 +1,11 @@
// TYPOGRAPHY ================================================ /* ==========================================================================
Sass variables
========================================================================== */
/*
Typography
========================================================================== */
$doc-font-size: 16; $doc-font-size: 16;
$doc-line-height: 26; $doc-line-height: 26;
$paragraph-indent: true !default; $paragraph-indent: true !default;
@@ -7,36 +14,56 @@ $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;
// COLOR ====================================================== /*
Colors
========================================================================== */
$bodycolor : #fff; $bodycolor : #fff;
$body-color : $bodycolor; $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;
$accentcolor : $black; $accentcolor : $black;
// Buttons /* buttons */
$primary : $black; $primary : $black;
$success : #5cb85c; $success : #5cb85c;
$warning : #dd8338; $warning : #dd8338;
$danger : #C64537; $danger : #C64537;
$info : #308cbc; $info : #308cbc;
// Links /* brands */
$facebook-color : #3b5998;
$flickr-color : #ff0084;
$foursquare-color : #0cbadf;
$google-plus-color : #dd4b39;
$instagram-color : #4e433c;
$linkedin-color : #4875b4;
$pinterest-color : #cb2027;
$rss-color : #fa9b39;
$tumblr-color : #2c4762;
$twitter-color : #55acee;
$vimeo-color : #1ab7ea;
$youtube-color : #ff3333;
/* links */
$linkcolor : #343434; $linkcolor : #343434;
$link-color : $linkcolor; $link-color : $linkcolor;
$linkcolorhover : darken($linkcolor, 10); $linkcolorhover : darken($linkcolor, 10);
$linkcolorvisited : lighten($linkcolorhover, 20); $linkcolorvisited : lighten($linkcolorhover, 20);
$linkcolorfocus : darken($linkcolorvisited, 10); $linkcolorfocus : darken($linkcolorvisited, 10);
// Media Queries /*
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;
} }
+174 -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,166 @@
.#{$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; }
+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);
}
}
+176 -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.4.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.4.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,41 @@ $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-bold: "\f032"; $fa-var-bold: "\f032";
$fa-var-bolt: "\f0e7"; $fa-var-bolt: "\f0e7";
$fa-var-bomb: "\f1e2"; $fa-var-bomb: "\f1e2";
@@ -73,9 +99,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 +120,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 +148,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";
@@ -123,11 +170,17 @@ $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-crop: "\f125"; $fa-var-crop: "\f125";
$fa-var-crosshairs: "\f05b"; $fa-var-crosshairs: "\f05b";
@@ -137,11 +190,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";
@@ -165,15 +220,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 +259,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 +272,22 @@ $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-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 +300,59 @@ $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-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 +362,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,10 +396,22 @@ $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";
@@ -310,11 +423,23 @@ $fa-var-mobile-phone: "\f10b";
$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";
@@ -322,6 +447,7 @@ $fa-var-paragraph: "\f1dd";
$fa-var-paste: "\f0ea"; $fa-var-paste: "\f0ea";
$fa-var-pause: "\f04c"; $fa-var-pause: "\f04c";
$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";
@@ -329,15 +455,17 @@ $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";
@@ -358,6 +486,8 @@ $fa-var-recycle: "\f1b8";
$fa-var-reddit: "\f1a1"; $fa-var-reddit: "\f1a1";
$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 +505,39 @@ $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-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-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 +569,15 @@ $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-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 +589,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 +609,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";
@@ -488,8 +645,16 @@ $fa-var-upload: "\f093";
$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 +665,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.4.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:
--- ---
+10 -14
View File
@@ -2,12 +2,11 @@
layout: page layout: page
title: About the Theme title: About the Theme
tags: [about, Jekyll, theme, responsive] tags: [about, Jekyll, theme, responsive]
modified: 9-9-2013 modified: 2014-08-08T20:53:07.573882-04:00
comments: true
image: image:
feature: texture-feature-02.jpg feature: sample-image-2.jpg
credit: Texture Lovers credit: WeGraphics
creditlink: http://texturelovers.com creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
--- ---
Minimal Mistakes is responsive Jekyll theme with large featured images and solid typography. As the name implies the styling is fairly minimal to make it easier for you to build on top of. Minimal Mistakes is responsive Jekyll theme with large featured images and solid typography. As the name implies the styling is fairly minimal to make it easier for you to build on top of.
@@ -15,14 +14,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.
* Large feature images for posts and pages. * Optional large feature images for posts and pages.
* Author sidebar to pimp your bio, photo[^2], and social media links. * Simple and clear permalink structure.
* Simple and clear permalink structure *(ie: domain.com/category/post-title)* * [Custom 404 page](http://mmistakes.github.io/minimal-mistakes/404.html) to get you started.
* Support for Disqus Comments
<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a> <a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>
[^1]: Since open sourcing this theme I have released several more Jekyll themes. My website [Made Mistakes](http://mademistakes.com) is currently using a modified version of my [Skinny Bones Starter](http://mmistakes.github.io/skinny-bones-jekyll/).
[^2]: Fancy avatars provided by [Brandon Mathis](http://brandonmathis.com/projects/fancy-avatars/demo/) under a [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/).
+1 -1
View File
@@ -25,4 +25,4 @@ sitemap: false
@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";
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: 348 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -7
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');
} }
}; };
@@ -39,7 +39,7 @@ $(function() {
// Table of Contents toggle // Table of Contents toggle
$(function() { $(function() {
$(".toc h3").click(function () { $(".toc h3").click(function () {
$("#drawer").toggleClass("hidden"); $("#drawer").toggleClass("js-hidden");
}); });
}); });
@@ -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
+13 -7
View File
@@ -1,7 +1,7 @@
--- ---
layout: none
sitemap: false sitemap: false
--- ---
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">{{ site.title }}</title> <title type="text">{{ site.title }}</title>
@@ -13,10 +13,14 @@ sitemap: false
<author> <author>
<name>{{ site.owner.name }}</name> <name>{{ site.owner.name }}</name>
<uri>{{ site.url }}/</uri> <uri>{{ site.url }}/</uri>
<email>{{ site.owner.email }}</email> {% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
</author> </author>
{% for post in site.posts limit:20 %} {% for post in site.posts limit:20 %}
{% if post.author %}
{% assign author = site.data.authors[post.author] %}
{% else %}
{% assign author = site.owner %}
{% endif %}
<entry> <entry>
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title> <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" /> <link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
@@ -26,12 +30,14 @@ sitemap: false
{% else %}<published>{{ post.date | date_to_xmlschema }}</published> {% else %}<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %} <updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
<author> <author>
<name>{{ site.owner.name }}</name> <name>{{ author.name }}</name>
<uri>{{ site.url }}</uri> <uri>{{ site.url }}</uri>
<email>{{ site.owner.email }}</email> {% if author.email %}<email>{{ author.email }}</email>{% endif %}
</author> </author>
<content type="html">{{ post.content | xml_escape }} <content type="html">
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ site.owner.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content> {{ post.content | xml_escape }}
{% include _feed-footer.html %}
</content>
</entry> </entry>
{% endfor %} {% endfor %}
</feed> </feed>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Some files were not shown because too many files have changed in this diff Show More