Compare commits

..
539 Commits
Author SHA1 Message Date
Michael Rose ba9079041b Release 4.10.0 💎 2018-02-16 14:27:49 -05:00
Michael Rose 1ec7954277 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-16 14:24:21 -05:00
Michael Rose b0ee45b4de Update default layout override 2018-02-16 14:24:17 -05:00
Michael Rose acdd3443de Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Michael Rose 8f483ae906 Fix gem name 2018-02-06 15:59:31 -05:00
Michael Rose c415ed0bed Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-02-06 15:57:49 -05:00
Michael Rose a2cde2c7f9 Update badges 2018-02-06 15:57:44 -05:00
Michael Rose 19ace79114 Update .gitattributes 2018-02-06 15:25:37 -05:00
Michael Rose af7c8a136a Revert "Rename LICENSE.txt to LICENSE"
This reverts commit e2d0b00902.
2018-02-06 15:22:12 -05:00
Michael Rose e2d0b00902 Rename LICENSE.txt to LICENSE 2018-02-06 15:19:59 -05:00
Michael Rose 4462d77420 Update linguist-vendored globs 2018-02-06 14:46:11 -05:00
Michael Rose 2598fbd6d4 Update linguist-vendored globs 2018-02-06 13:56:14 -05:00
Michael Rose 9d994f621b Remove apostrophe 2018-02-05 14:47:09 -05:00
Michael Rose b9d9dc11bf Release 4.9.1 💎 2018-02-05 14:41:43 -05:00
Michael Rose b600046247 Add space 2018-02-05 14:37:13 -05:00
Michael Rose b59d53e34b Add sample wide pages and update documentation 2018-02-05 14:34:32 -05:00
Peter Ahrens ba4a07d771 Giving the people what they want: A new, wider "wide" class for the "single" layout. (#1516)
Add `wide` variant to single layout
2018-02-05 14:23:44 -05:00
Michael Rose ecf22d2d38 Fix grammar 2018-02-01 14:46:27 -05:00
Michael Rose be68ed4259 Fix merge conflicts 2018-02-01 14:35:27 -05:00
Michael Rose ed533591d0 Update CHANGELOG and history 2018-02-01 14:31:51 -05:00
Michael Rose 264bc75963 Update CHANGELOG and history 2018-02-01 07:32:26 -05:00
Christian Oliff d98808385f Update Font Awesome to latest version (#1513)
Update Font Awesome to latest version
2018-02-01 07:31:18 -05:00
Tom f711708abe Rectify German UI text (#1511) 2018-02-01 07:30:19 -05:00
Andrea 3598e8ebf2 Fix docs. Change Isaac Newton with Albert Einstein (#1508) 2018-01-30 20:28:44 -05:00
Michael Rose 1c0f19158d Replace | with HTML entity when used as title separator
ref: #760, #1506
2018-01-29 20:38:47 -05:00
Michael Rose 63e2226054 Update stale.yml 2018-01-26 08:26:07 -05:00
Michael Rose fd2cc8ea53 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-23 19:57:47 -05:00
Michael Rose 46ad2cf4d4 Remove ignore file 2018-01-23 19:57:44 -05:00
Michael Rose 344d52f4c6 Fix border bottom for Gist line numbers 2018-01-23 15:59:12 -05:00
Michael Rose 6efa23ebd9 Update CHANGELOG and history 2018-01-18 10:26:43 -05:00
googlr 61bad6d0aa fix a typo in 04-upgrading.md (#1487) 2018-01-18 10:25:33 -05:00
Michael Rose 4f54154ee5 Update CHANGELOG and history 2018-01-17 14:38:20 -05:00
Michael Rose cd8fd82587 Remove extra spaces after : 2018-01-17 14:36:43 -05:00
d00616 6fee80f754 Fix jsonify name in seo.html application/ld+json script (#1485) 2018-01-17 14:35:50 -05:00
Michael Rose 176f972418 Update CHANGELOG and history 2018-01-17 14:21:28 -05:00
Michael Rose d90a3d521a Add archive feature row test page 2018-01-17 14:14:01 -05:00
Michael Rose ed840e9809 Add archive feature row test page 2018-01-17 12:54:28 -05:00
Michael Rose a86af6d6dc Adjust feature row styling when used on an archive layout 2018-01-17 12:54:11 -05:00
Michael Rose 97387fa59a Remove misleading underline hover state
Implies the feature item's title and image are clickable, when in fact they aren't links.
2018-01-17 12:53:33 -05:00
Michael Rose 0ec52b57ce Replace toc include with toc: true 2018-01-17 12:48:33 -05:00
Michael Rose 637d113179 Remove base_path include from pages 2018-01-17 12:48:19 -05:00
Michael Rose fb9f13c624 Reduce font-size of page meta in list/grid items 2018-01-17 12:44:21 -05:00
Michael Rose 3b65f1de8d Underline archive item titles 2018-01-17 12:35:45 -05:00
Michael Rose 474ed73228 Update issue template 2018-01-17 11:50:08 -05:00
Michael Rose cf9ac441bb Fix author sidebar icon colors for dark skins
Fixes #1482
2018-01-16 17:40:30 -05:00
Michael Rose b6ff1e5ce0 Update CHANGELOG and history 2018-01-16 08:10:10 -05:00
Michael Rose aa960cc57c Add new translations to Russian locale 2018-01-16 08:10:02 -05:00
Dmitry Khraponov a56161cc78 add new traslations (#1477) 2018-01-16 08:08:25 -05:00
Michael Rose 952a099313 Add Danish translations for new search strings 2018-01-15 16:31:10 -05:00
Michael Rose f64b5f14d3 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# Conflicts:
#	docs/_docs/18-history.md
2018-01-15 16:30:32 -05:00
Michael Rose 6993b9aac8 Update CHANGELOG and history 2018-01-15 16:23:36 -05:00
Lars Olesen ba7e8e16c3 Added Danish Translations for new search strings (#1472) 2018-01-15 16:22:21 -05:00
Michael Rose b75b33ed1a Update CHANGELOG and history 2018-01-12 20:43:46 -05:00
Michael Rose 5de9991999 Fix syntax highlighting line number inconsistency
Globally enabling Rouge block line numbers in Kramdown _config.yml settings should be styled consistently with `{% highlight linenos %}` Jekyll tag.

Fixes #1467
2018-01-12 20:42:25 -05:00
Michael Rose 1be03e6335 Update CHANGELOG and history 2018-01-10 11:46:54 -05:00
Michael Rose 527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose 8d5429bcc0 Add Lunr license 2018-01-10 11:22:41 -05:00
Michael Rose ca779e74cb Update CHANGELOG and history 2018-01-10 11:17:57 -05:00
Michael Rose 046d93d05b Add copyright and version back 2018-01-10 11:17:50 -05:00
Michael Rose f349dff2ee Minify lunr.js 2018-01-10 11:14:59 -05:00
Michael Rose e305cc79f1 Replace Vimeo video with working one 2018-01-09 14:28:43 -05:00
Michael Rose 6b66bbe914 Replace Vimeo video with working one 2018-01-09 14:26:38 -05:00
Michael Rose d200fb509d Change TOC icon 2018-01-09 14:23:22 -05:00
Michael Rose 7d48f1cae1 Remove remote-theme from plugins and whitelist array
remote-theme gem is a dependency of GitHub Pages and doesn't need to be assigned in the `_config.yml` anymore.
2018-01-09 14:19:09 -05:00
Michael Rose c24aae3fad Fix typo 2018-01-09 14:17:40 -05:00
Michael Rose 3c3634fe2c Use master branch version of remote theme 2018-01-09 14:02:04 -05:00
Michael Rose 20e1c5953a Update CHANGELOG and history 2018-01-09 14:01:36 -05:00
Michael Rose 51544d5c62 SEO and author fixes (#1456)
* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes #289
2018-01-09 13:58:35 -05:00
Michael Rose 8fc3692e21 Update CHANGELOG and history 2018-01-09 13:57:11 -05:00
Michael Rose 7de9152d0f Change /test navigation links 2018-01-09 13:56:19 -05:00
Michael Rose 614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Michael Rose a8d7bf2237 Add Solarized light syntax highlighting color variables 2018-01-09 09:59:49 -05:00
Michael Rose 2691067e17 Updage CHANGELOG and history 2018-01-08 20:19:39 -05:00
Michael Rose 58b0f45c59 Remove remote_theme gem 2018-01-08 20:16:57 -05:00
Michael Rose 49d09c6c5b Add instructions on how to downgrade 2018-01-08 20:11:05 -05:00
Michael Rose bbf3cbc5fd Add links to installation instructions 2018-01-08 12:10:46 -05:00
Michael Rose e8d9b18d17 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-01-08 11:15:31 -05:00
Michael Rose 1976b564e8 Test SEO and author fixes 2018-01-08 11:15:27 -05:00
Michael Rose 9634bb84fb Simplify year archive Liquid 2018-01-05 20:47:34 -05:00
Michael Rose 6e0ef33ec7 Add table of contents 2018-01-05 08:53:03 -05:00
Michael Rose cab1e50f50 Add Base16 syntax highlighting color examples 2018-01-05 08:51:42 -05:00
Michael Rose 7bc9e5a47b Change language 2018-01-05 08:36:25 -05:00
Michael Rose 8a8235f8d7 Fix grammar 2018-01-05 08:35:30 -05:00
Michael Rose b865158151 Update them upgrade instructions 2018-01-05 08:33:35 -05:00
Michael Rose 32a2e9d104 Update Prettier ignore 2018-01-05 08:12:25 -05:00
Michael Rose eaf50acea6 Release 4.9.0 💎 2018-01-04 22:52:11 -05:00
Michael Rose 267d2c96a0 Reduce white-space to trim down filesize 2018-01-04 20:52:01 -05:00
Michael Rose 1c0f31d563 Update CHANGELOG and history 2018-01-04 20:47:04 -05:00
Michael Rose 3f469f268f Improve syntax highlighting styles (#1450)
* Cleanup syntax highlighting styles
* Replace hardcoded color values with [base16](http://chriskempson.com/projects/base16/) Sass variables
* Harmonize padding between GFM code blocks and `{% highlight %}` code blocks
*  Improve readability of line numbers
* Add longer code block example to test double digit line numbers
* Adjust code block colors for specific skins
2018-01-04 20:46:10 -05:00
Michael Rose 94d753378a Add Prettier ignore file
Stop prettier from messing with Markdown files.
2018-01-04 20:44:17 -05:00
Michael Rose 569181c267 Remove / from {% link %} tag 2018-01-04 20:43:51 -05:00
Michael Rose 7a0f4dc87c Fix grammar 2018-01-04 20:33:19 -05:00
Michael Rose 8604294de8 Update CHANGELOG and history 2018-01-04 20:30:15 -05:00
Michael Rose e10501aaa4 Document how to index post/collections entire content with search_full_content 2018-01-04 20:30:07 -05:00
Nick Garlis 3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Michael Rose 76b02a8c15 Update CHANGELOG and history 2018-01-04 14:29:58 -05:00
Michael Rose 3e922ddf58 Upgrade Font Awesome to version 5 (#1446)
Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
2018-01-04 14:27:27 -05:00
Michael Rose e3858f80e4 Remove brackets 2018-01-03 19:12:51 -05:00
Michael Rose 20ec5789f5 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Only load Lunr languages that exist in theme
2018-01-03 19:11:05 -05:00
Michael Rose 70ad1c2d8c Only load Lunr languages that exist in theme
ref: https://github.com/mmistakes/minimal-mistakes/pull/1445#issuecomment-355153434
2018-01-03 19:10:58 -05:00
Michael Rose 13ca7629b0 Only load Lunr languages that exist in theme
ref https://github.com/mmistakes/minimal-mistakes/pull/1445#issuecomment-355153434
2018-01-03 19:02:14 -05:00
Michael Rose 27d6774b25 Update CHANGELOG and history 2018-01-03 14:21:47 -05:00
Michael Rose e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -05:00
Michael Rose 0db0f31953 Update CHANGELOG and history 2018-01-03 12:48:06 -05:00
Michael Rose bd3e078ab8 Translate search_placeholder_text and results_found to Greek 2018-01-03 12:46:08 -05:00
Nick Garlis 6fe3b9cd1c Add lunr-gr.js and fix lunr-en.js (#1445)
* Remove Lunr trimmer & bring back colons
* Add Greek Stemmer
* Translate `search_placeholder_text` and `results_found` to Greek
2018-01-03 12:44:37 -05:00
Michael Rose 14d3ed2f7b Update CHANGELOG and history 2018-01-03 10:12:49 -05:00
Michael Rose 61e2a1aa47 Round top right corner of code block icon 2018-01-03 10:11:39 -05:00
Michael Rose f9f97d72e6 Reduce visual weight of code blocks
Flatten shadow and remove borders relying on background color to highlight code.
2018-01-03 10:11:10 -05:00
Michael Rose a9e0482077 Update CHANGELOG and history 2018-01-03 09:53:15 -05:00
Michael Rose 3c5e913aaf Fix line number width in code blocks
Code blocks with short line widths can cause `td.gutter` width to stretch, adding in undesired white space.

Declaring widths on the table's columns fixes #1437

Add `{% highlight linenos %}` examples to test and demo sites.
2018-01-03 09:45:21 -05:00
Michael Rose eafdd4efc4 Fix heading 2018-01-03 08:42:25 -05:00
Michael Rose a736697d88 Update Font Awesome link 2018-01-03 08:40:36 -05:00
Michael Rose c40ce370fa Update Greedy Navigation source link 2018-01-03 08:39:38 -05:00
Michael Rose fff5d1f60b Update GitHub Pages installation instructions 2018-01-03 08:38:08 -05:00
Michael Rose b4f8096e37 Update copyright date 2018-01-03 08:25:51 -05:00
Michael Rose b51661e098 Add back instructions for replacing the Jekyll gem with github-pages when testing locally. 2018-01-02 16:28:43 -05:00
Michael Rose c5ebfac0e6 Update CHANGELOG and history 2018-01-02 16:15:27 -05:00
MV10 d95cfbc58e Remote plugin reference unnecessary for GitHub Pages (#1439) 2018-01-02 16:13:07 -05:00
Michael Rose c69bf6ca8f Update CHANGELOG and history 2018-01-02 16:12:49 -05:00
Darren Hart 7bf2b58ede v2: Introduce show_overlay_excerpt and document (#1436)
Make excerpts optional in header overlay

Some posts and some header images don't lend themselves well to
displaying the excerpt in the overlay. Make this optional by
introducting a new boolean variable:

`page.header.show_overlay_excerpt`

Set it to implicitly default to `true` so existing users are unaffected by
testing explicitly for "!= false".

This can be enabled globally for a site by changing the default to `false`
in the local _config.yml, or per page by specifying the value in front
matter.

Document show_overlay_excerpt variable

* Add show_overlay_excerpt variable to the Header Overlay field documentation table.

Close #1429
2018-01-02 16:08:37 -05:00
Staticman a94478da59 New comment (#1431) 2018-01-02 15:23:25 -05:00
Michael Rose df61273db7 Release 4.8.1 💎 2017-12-28 14:10:48 -05:00
Michael Rose a7b4e964e7 Update CHANGELOG and history 2017-12-28 14:00:13 -05:00
Nick Garlis 7e6a46c447 Update Lunr (#1419)
* Update Lunr to 2.1.5
* Remove colons from query string

Fixes #1419
2017-12-28 13:56:10 -05:00
Michael Rose 6839069b9b Update CHANGELOG and history 2017-12-28 13:54:06 -05:00
Michael Rose 457a96a07c Add Japanese localized UI text strings 2017-12-28 13:53:59 -05:00
Sankichi 186a98a4c5 Add Japanese translation of ui-text (#1411) 2017-12-28 13:50:53 -05:00
Michael Rose 6399e8c9ea Update CHANGELOG and history 2017-12-28 13:49:59 -05:00
Harry Kalantzis dbdd741898 Fixed broken link to Staticman's page (#1422) 2017-12-28 13:48:41 -05:00
Staticman 1607632c44 New comment (#1421) 2017-12-27 15:38:59 -05:00
Staticman 5edab731e5 New comment (#1420) 2017-12-27 15:35:30 -05:00
Michael Rose e68f2c1601 Add build command
Fixes #1415
2017-12-22 08:07:29 -05:00
Staticman 2651c0c27d New comment (#1399) 2017-12-12 15:46:33 -05:00
Staticman 9002a8ff5d New comment (#1398) 2017-12-12 15:42:27 -05:00
Staticman eb3efc28d5 New comment (#1397) 2017-12-12 15:35:45 -05:00
Michael Rose d83e922b96 Use theme files on latest master 2017-12-11 12:42:49 -05:00
Michael Rose d7c365efa8 Update CHANGELOG and history 2017-12-11 12:41:33 -05:00
Michael Rose 1ad02b9022 Add author.name 2017-12-11 12:41:27 -05:00
Michael Rose 979ef26ac6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-12-11 12:37:42 -05:00
Andrew Newhouse 9ca57649c1 Feature: Adding linkback functionality Author avatar & Name (#1386)
* adding linkback funct to author avatar & nm

* rm author_class; change linkback var to home; updating config docs
2017-12-11 12:37:10 -05:00
Michael Rose 3d7ea760a2 Update copyright 2017-12-11 09:26:37 -05:00
Staticman 5490b6f46a New comment (#1392) 2017-12-09 12:52:04 -05:00
Michael Rose 11d67b6fa1 Move zh-HK fix under Bug Fixes in CHANGELOG 2017-12-07 19:10:30 -05:00
Michael Rose 4668761456 Remove beta note 2017-12-07 19:06:53 -05:00
Michael Rose c2a4381d61 Add AdSense back to demo site 2017-12-07 18:14:30 -05:00
Michael Rose af74703d2e Remove default layout 2017-12-07 18:09:56 -05:00
Michael Rose 8667ed6916 Reference latest version of the theme 2017-12-07 15:08:38 -05:00
Michael Rose b834035abb Revert "Specify latest commit for remote_theme usage"
This reverts commit 881337707c.
2017-12-07 11:00:29 -05:00
Michael Rose 881337707c Specify latest commit for remote_theme usage
Testing if this will force Jekyll Remote Theme to use latest `_layouts`.
2017-12-07 10:58:06 -05:00
Michael Rose c2d9791a9b Release 4.8.0 💎 2017-12-07 10:28:54 -05:00
Michael Rose 0609e16b19 Fix open-ended dependency warnings 2017-12-07 10:27:45 -05:00
Michael Rose 1ba85c51b0 Update CHANGELOG and history 2017-12-07 09:16:25 -05:00
Michael Rose 77c40093a4 Point zh-hk to Traditional Chinese 2017-12-07 09:16:07 -05:00
Erick Guan c30b2fc60b Point zh-hk to Traditional Chinese (#1389) 2017-12-07 09:15:01 -05:00
Michael Rose b100809c1e Update CHANGELOG and history 2017-12-07 09:06:43 -05:00
Erick Guan ba37d523d3 Update gems (#1388) 2017-12-07 09:05:38 -05:00
Michael Rose 7eb00bbd61 Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose 973520759c Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-12-04 14:49:26 -05:00
Michael Rose 6101e81d55 Update CHANGELOG and history 2017-12-04 14:49:21 -05:00
Christian Oliff 8d918dadc4 correct capitalization of WordPress (#1381) 2017-12-04 14:48:31 -05:00
Michael Rose 33ad934f17 Update CHANGELOG and history 2017-12-04 14:48:13 -05:00
Michael Rose 87731836ee Remove extra spaces 2017-12-04 14:45:57 -05:00
Maaz Syed Adeeb 634d2884a2 Tooltips for masthead links (#1380) 2017-12-04 14:44:39 -05:00
Staticman cd896b15d8 New comment (#1378) 2017-12-01 06:52:57 -05:00
Brandon e9137e591b Capitalised the name "tracy tram" > "Tracy Tram" (#1375)
Simple grammar mistake. Yes, i took the time to read this haha
2017-11-30 14:34:52 -05:00
Michael Rose 79a8beb61b Add search index excluded post to demo site 2017-11-28 09:31:50 -05:00
Michael Rose 7b3ddfefdf Simplify search: true conditionals
Replace `unless` tags with `where_exp` to test if `search: false`.
2017-11-28 09:30:33 -05:00
Michael Rose 1fcda6f988 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-28 08:43:45 -05:00
Michael Rose 5d022e03d0 Document how to exclude pages/posts from search index
ref #1369
2017-11-28 08:43:32 -05:00
Nick Garlis 599712ed58 Add option to search in specific collections (#1369) 2017-11-28 08:40:12 -05:00
Michael Rose a9cad4f066 Add search index excluded post
Post to test `search: false`
2017-11-28 08:38:07 -05:00
Michael Rose a612808f2a Update CHANGELOG and history 2017-11-27 12:39:24 -05:00
Michael Rose ed7c12b20b Fix button class 2017-11-27 12:37:48 -05:00
Stelios Gavras 75b2d514c2 fix button classs (#1368) 2017-11-27 12:36:15 -05:00
Michael Rose 01c5700acd Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-27 12:14:36 -05:00
Michael Rose 409d9691b0 Update CHANGELOG and history 2017-11-27 12:14:30 -05:00
Michael Rose cb5d8d4ee0 Add notes disabling analytics and comments in development
To enable analytics or comments while testing/building locally set Jekyll's environment variable to `production`, `JEKYLL_ENV=production`.

On Windows use `set JEKYLL_ENV=production`.
2017-11-27 12:14:23 -05:00
Maaz Syed Adeeb 1b3cc608bb Remove comments in dev environment (#1363) 2017-11-27 12:12:22 -05:00
Maaz Syed Adeeb 7c2273f23d Remove analytics in dev environment (#1362) 2017-11-27 12:11:32 -05:00
Michael Rose 02c109d24f Fix notices 2017-11-27 12:06:42 -05:00
Michael Rose da72581be3 Update CHANGELOG and history 2017-11-27 11:46:23 -05:00
Michael Rose 187c3c38a2 Rename Naver verification to naver_site_verification
Replace hyphens with underscores to be consistent with other site variable names.
2017-11-27 11:46:10 -05:00
Michael Rose 28e2885a68 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:38:26 -05:00
Michael Rose 281c1288c2 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:37:33 -05:00
Michael Rose c4d14f68f6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-20 15:17:38 -05:00
Michael Rose 7f6efbb744 Update CHANGELOG and history 2017-11-20 15:17:35 -05:00
DannieBGoode 696d589fdd Update social-share.html (#1357) 2017-11-20 15:16:09 -05:00
Michael Rose cb75bc8aed Update CHANGELOG and history 2017-11-20 15:05:49 -05:00
Michael Rose f94bc7fbe8 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-20 15:04:24 -05:00
Louis Matthijssen 0841d49653 Fix lunar-en.js layout (#1356)
Without layout set to null a HTML template will be rendered around the
JavaScript, causing an error while loading the file in the browser.
2017-11-20 15:03:51 -05:00
Michael Rose 21a4da0e47 Update CHANGELOG and history 2017-11-20 15:02:16 -05:00
Nick Garlis fa3647172d 🔧 mistake in excerpt (#1354) 2017-11-20 15:00:07 -05:00
Christian Oliff df2e2c23b3 https links (wikipedia and stackoverflow) (#1360) 2017-11-19 20:34:14 -05:00
Michael Rose 931eedaefa Release 4.7.1 💎 2017-11-15 15:57:07 -05:00
Michael Rose f39b15a362 Refine search styling 2017-11-15 15:50:51 -05:00
Michael Rose 19f6d32745 Replace hardcoded text with strings stored in _data file 2017-11-15 15:50:29 -05:00
Michael Rose 7e8700df75 Add search page link to masthead 2017-11-15 15:04:32 -05:00
Michael Rose 2a5cda62b1 Add search layout documentation 2017-11-15 15:03:04 -05:00
Nick Garlis cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Michael Rose 7978376df0 Fix typo in class name 2017-11-15 09:51:50 -05:00
Michael Rose 1ca7a00d37 Add beta note about jekyll-remote-theme 2017-11-15 09:50:15 -05:00
Michael Rose a4fceb8ac1 Update CHANGELOG and history 2017-11-13 18:53:58 -05:00
Michael Rose b291021c2a Force rebuild 2017-11-13 18:42:49 -05:00
Michael Rose 423ba0a18f Fix broken SCSS partial links 2017-11-13 18:38:36 -05:00
Michael Rose 079b3718cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-13 08:09:47 -05:00
Michael Rose f8bb3422ba Update CHANGELOG and history 2017-11-13 08:09:43 -05:00
Christian Oliff ea5d8fc0b2 HTTPS links to github, gitblab and bitbucket and add www to facebook (#1349)
GitHub, Gitlab and Bitbucket are all always served over HTTPS.
Facebook links always have www.
2017-11-13 08:08:27 -05:00
Michael Rose 4196f59c8e Fix capitalization of WordPress 2017-11-13 08:08:04 -05:00
Christian Oliff c4e1cd2e75 capitalization fix for WordPress (#1348) 2017-11-13 08:07:12 -05:00
Michael Rose b6fd84ede1 Update CHANGELOG and history 2017-11-12 17:23:13 -05:00
Michael Rose 5eefba1bf0 Add note about Wordpress to Staticman comment migration tool in documentation
Close #1346
2017-11-12 17:23:04 -05:00
Christian Oliff 95a8c96ce0 https link to browsehappy.com (#1343) 2017-11-12 17:07:49 -05:00
Christian Oliff 4a24be73b8 https link to jekyllrb.com (#1342) 2017-11-12 17:07:33 -05:00
Michael Rose 6ca184b453 Add remote_theme configuration to documentation 2017-11-10 11:26:37 -05:00
Michael Rose a96df5197d Change number of skins to 9 2017-11-10 11:23:45 -05:00
Michael Rose 6d9db31ef0 Update installation documentation
Include new `jekyll-remote-theme` method for using Ruby gem version of the theme with GitHub Pages hosted sites.

ref: https://github.com/mmistakes/minimal-mistakes/issues/1339
2017-11-10 11:20:38 -05:00
Michael Rose 4172237709 Update installation documenation 2017-11-07 20:50:25 -05:00
Michael Rose c36d305fa9 Update CHANGELOG and history 2017-11-07 20:13:20 -05:00
Michael Rose 41250e7f35 Use jekyll-remote-theme for /docs site 2017-11-07 20:13:04 -05:00
Michael Rose cba9e9fbfd Bump version to 4.7.0 2017-11-06 20:31:12 -05:00
Michael Rose e09753fa0a Release 4.7.0 💎 2017-11-06 20:22:30 -05:00
Michael Rose b4a38ce912 Update skin count 2017-11-06 16:27:22 -05:00
Michael Rose 3bc95b0343 Resize teaser images 2017-11-06 16:25:07 -05:00
Michael Rose 257cc4a7c4 Add plum skin to README 2017-11-06 16:22:51 -05:00
Michael Rose 47f537b40d Add plum skin 2017-11-06 16:20:33 -05:00
Michael Rose d535c5d5f6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-11-06 16:01:28 -05:00
Michael Rose c050f1322d Fix indenting 2017-11-06 16:01:23 -05:00
Michael Rose d4d716efa3 Add placeholder to table 2017-11-06 14:07:04 -05:00
Michael Rose 50166ce705 Update CHANGELOG and history 2017-11-06 12:31:24 -05:00
Michael Rose d6be62720d Fix Google Plus author link 2017-11-06 12:31:17 -05:00
sumibi-yakitori cf9a908697 no message (#1319) 2017-11-06 12:29:24 -05:00
Michael Rose b111ec17a9 Update README 2017-11-06 12:28:06 -05:00
Michael Rose 9e1a8ec45b Update CHANGELOG, history, and README 2017-11-06 12:21:03 -05:00
Michael Rose fc852d3d47 Add neon skin 2017-11-06 12:18:47 -05:00
Michael Rose 7ab03b7192 Update CHANGELOG and history 2017-11-06 11:31:29 -05:00
Vladimir Jimenez d980884d59 Update jekyll-toc with heading classes fix (#1337) 2017-11-06 11:27:51 -05:00
Michael Rose 061103112e Update CHANGELOG and history 2017-11-06 11:26:40 -05:00
Pradhyo Bijja e05159c290 Aqua skin (#1336)
* Add new skin and update docs

* Better screenshots for aqua skin
2017-11-06 11:24:00 -05:00
Michael Rose 9529319d78 Update CHANGELOG and history 2017-11-05 10:14:46 -05:00
Michael Rose 5f3f142c45 Fix author profile link texts (#1328) 2017-11-05 10:13:31 -05:00
Louis Matthijssen d9a5efc666 Fix author profile link texts (#1328) 2017-11-05 10:10:57 -05:00
jaybe@jekyll 61a6ac509a Wording update of ProTip (#1330) 2017-11-02 21:18:18 -04:00
Michael Rose 869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
Michael Rose 8cc4e0bf48 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# Conflicts:
#	docs/_docs/18-history.md
2017-10-20 15:56:55 -04:00
Michael Rose 7afdd57c8a Adjust syntax highlighted code blocks padding
Rouge 2 adds `<div class="highlight"></div>` to markup which can introducing styling defects like extra padding.
2017-10-20 15:54:43 -04:00
Michael Rose 866fb17d9e Toggle table of contents via front matter (#1310)
* Add jekyll-toc include
* Reduce whitespace generated by comments
* Add table of contents include to `single` layout
* Replace `toc` include with jekyll-toc enabled YAML Front Matter
* Update README
* Update table of contents documentation
  - Revise `toc` helper include to mention that it will be deprecated in the next major version.
  - Add documentation to `single` layout explaining how to enable table of contents on those pages.
* Update CHANGELOG and history
* Update LICENSE

Close #1222
2017-10-20 14:54:06 -04:00
Michael Rose 4b2487722c Avoid closing "Status: Under Consideration" labeled issues 2017-10-19 16:31:07 -04:00
Michael Rose d464128e65 Update licenses (#1305)
* Update license to credit 3rd party code and assets

* Add Jekyll Group-By-Array license credit
2017-10-16 16:05:39 -04:00
Michael Rose f306f11b3f Update README 2017-10-16 15:24:45 -04:00
Michael Rose 181b90e1fb Update languages with localized UI text strings 2017-10-16 12:46:30 -04:00
Michael Rose fc8ca433c5 Add Polish localized UI text strings
Ref: #1304
2017-10-16 12:43:44 -04:00
Marcin Pietraszek 52f245152d Polish locale (#1304) 2017-10-16 12:39:46 -04:00
Michael Rose 9af1e8d548 Replace fieldset elements with div.form-group
Move Staticman v2 comment logic above v1 as it will be deprecated soon.
2017-10-05 09:56:54 -04:00
Michael Rose 838c9b4788 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-10-04 16:36:42 -04:00
Michael Rose 8974732330 Add Staticman v2 form scripts 2017-10-04 16:36:24 -04:00
Michael Rose 66db4b92b9 Update CHANGELOG and history 2017-10-04 16:33:10 -04:00
Michael Rose fce0c55f2b Add instructions for configuring Staticman v2 comments 2017-10-04 16:32:11 -04:00
Michael Rose ab09e1bb43 Add support for Staticman v2 endpoint and reCAPTCHA
Ref: #803
2017-10-04 16:04:24 -04:00
Staticman cfbec6b90f New comment (#1294) 2017-10-04 14:25:58 -04:00
Michael Rose ac929052dd Add include for Staticman v2 form script 2017-10-04 14:24:06 -04:00
Michael Rose 6030450ac1 Fix improperly named staticman.yml file 2017-10-04 14:17:46 -04:00
Michael Rose 7fed4e8eb7 Merge branch 'staticman-v2' 2017-10-04 14:16:08 -04:00
Michael Rose 5ed73b3f16 Add support for Staticman v2 endpoint and reCAPTCHA on /docs
Ref: #803
2017-10-04 14:14:25 -04:00
Michael Rose bf2ac18bcd Adjust line breaks 2017-10-04 12:21:22 -04:00
Michael Rose 93119a084a Add Naver Webmaster Tools documentation 2017-10-04 11:33:45 -04:00
Michael Rose 705c93a08c Align : 2017-10-04 11:18:09 -04:00
Michael Rose 0761cac562 Add naver-site-verification to /docs 2017-10-04 11:17:45 -04:00
YoungSeon.Ahn 05dafce68f Add naver-site-verification to SEO (#1286)
* Add naver-site-verification to SEO

* Add 2 space indent
2017-10-04 11:16:08 -04:00
Michael Rose aeebfaa87c Improve accessibility of navigation menu button
Add `type` and label text.

Fixes #1099
2017-10-04 11:10:41 -04:00
Michael Rose 3282387b42 Update CHANGELOG and history 2017-10-04 08:07:30 -04:00
Tony Ho 8d637e0ae3 Update font stack documentation (#1292)
ref: #1289
2017-10-04 07:58:19 -04:00
Michael Rose e122e155cc Update stale.yml 2017-10-03 13:53:19 -04:00
Michael Rose ea985a06ec Fix system font rendering in Chrome on macOS/OS X 2017-10-03 08:31:53 -04:00
Michael Rose 3b15297045 Update CHANGELOG and history 2017-10-03 08:31:42 -04:00
Tony Ho ab6c416e7e Fix system font rendering in Chrome on macOS/OS X (#1290)
Use `BlinkMacSystemFont` instead of private font name.

Closes #1289
2017-10-03 08:29:33 -04:00
Staticman 9d9e5b7a97 New comment. (#1283) 2017-10-02 16:14:46 -04:00
Staticman 2996f08852 New comment. (#1282) 2017-09-28 14:35:31 -04:00
Staticman 902f26edb8 New comment. (#1281) 2017-09-28 14:27:23 -04:00
Michael Rose 2ae600eb19 Fix param name from pt-BR locale 2017-09-28 14:17:12 -04:00
Lucas Caton 370c422a4d Fix param name from pt-BR locale (#1279) 2017-09-28 14:16:07 -04:00
Michael Rose 1f5a89fb9d Update CHANGELOG and history 2017-09-27 12:47:16 -04:00
Michael Rose f3fbe28e75 Update translation strings in /docs 2017-09-27 12:47:07 -04:00
Lucas Caton 4736eb1da0 Add missing Brazilian Portuguese text strings translations (#1278) 2017-09-27 12:44:32 -04:00
Pierry A. Pereira cf604ec33b Improve translation in pt-br
There are some issues in the brazilian portuguese translation:

```  
less_than                  : "meno que" 
```

the word "meno" doesn't exist in the language, the correct translation is "menos"

```
  minute_read                : "minuto(s) de leitura" 
```

once we can one or more minutes of reading, the plural of the word "minuto" is optional, so we can use "(s)" after the word "minuto" to reflect this

```
 related_label              : "Talvez você goste também" 
```

this change is for better reading, the previous translation is not good

I changed the capitalization of the subsequent words for lowercase to have default capitalization in all translations.
2017-09-25 18:43:04 -04:00
Michael Rose cc2d8ea71d Update link to Staticman configuration file documentation 2017-09-25 09:22:33 -04:00
Michael Rose a5ca35337b Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-25 09:19:59 -04:00
Michael Rose 3dde1cc729 Add note about Staticman GitHub compatibility
Staticman only works with GitHub hosted repositories. This enhancement to the theme's documentation makes that clear.

Close #1273
2017-09-25 09:19:55 -04:00
Michael Rose ea6740a5da Update stale bot message 2017-09-23 22:21:06 -04:00
Michael Rose 33316e3d25 Change format of folders/files 2017-09-21 16:24:27 -04:00
Michael Rose 6112dba29e Clarify theme gem migration documentation
Include asset folders that should be removed when migrating from a "forked theme".

Close #1268
2017-09-21 16:19:24 -04:00
Michael Rose fbfc2f9eef Update CHANGELOG and history 2017-09-20 15:58:48 -04:00
Michael Rose a3c6a6191f Add alt description to avatar image 2017-09-20 15:57:39 -04:00
Lars Olesen d81af1f103 Add alt description to avatar image
Use author's name as `alt` description  in comment avatar image.
2017-09-20 15:56:08 -04:00
Staticman e194bc0c7e New comment. (#1250) 2017-09-14 11:35:23 -04:00
Staticman c0cd6d0058 New comment. (#1249) 2017-09-14 11:31:24 -04:00
Michael Rose 2b366ab4e1 Use archive page screenshots instead of post 2017-09-12 15:39:16 -04:00
Michael Rose 37aad5d476 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-12 15:36:49 -04:00
Michael Rose b8afafb3a2 Update README
- Edit notable features
- Add skin screenshots
2017-09-12 15:36:44 -04:00
Michael Rose 6beaf7099c Update stale.yml 2017-09-12 15:23:13 -04:00
Michael Rose 8dcd353e90 Release 4.6.0 💎 2017-09-12 14:59:06 -04:00
Michael Rose d5505d2b6f Reference GitHub comment 2017-09-12 13:03:37 -04:00
Michael Rose 84b21b06b7 Update CHANGELOG and history 2017-09-12 13:02:23 -04:00
Michael Rose c19db78c5c Update scripts in /docs/assets/js 2017-09-12 13:02:16 -04:00
Michael Rose 58b8cf8416 Add pre to version 2017-09-12 13:01:45 -04:00
Michael Rose 1570e85fb1 Update Magnific Popup to v1.1.0 2017-09-12 12:54:17 -04:00
Michael Rose 7845654225 Update jQuery Smooth Scroll to v2.2.0 2017-09-12 12:48:59 -04:00
Michael Rose 38c2bdbfd8 Update jQuery
Theme targets IE9+ allowing for using the newer/smaller version
2017-09-12 12:42:52 -04:00
Michael Rose 8fc9bccda8 Allow <head> and footer scripts to be changed via config (#1241)
* Allow `<head>` and footer scripts to be changed via config
* Update JavaScript documentation

Close #1238
2017-09-12 12:27:36 -04:00
Michael Rose 93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00
Michael Rose d67aa113c8 Update stale.yml 2017-09-12 10:35:25 -04:00
Michael Rose 1a2a953dfb Configure Probot: Stale 2017-09-12 09:41:26 -04:00
Michael Rose 338df4eb50 Fix history 2017-09-12 08:44:36 -04:00
Michael Rose e0e0fdee4c Add enhancements to Unreleased 2017-09-12 08:41:44 -04:00
Ohad Schneider a369b0dc75 Convert some links from HTTP to HTTPS (#1234) 2017-09-12 08:30:03 -04:00
Michael Rose 0883904f95 Update CHANGELOG and history 2017-09-11 12:14:24 -04:00
Tony Ho 1cc8461f27 Rename gems key to plugins (#1239)
`gems` key in `_config.yml` was deprecated in Jekyll 3.5 and changed to `plugins`.

ref: https://github.com/jekyll/jekyll/pull/5130
2017-09-11 12:12:28 -04:00
Michael Rose 46c172e041 Update CHANGELOG and history 2017-09-11 12:11:53 -04:00
Ohad Schneider 611cecc51a Test strict front matter (#1236) 2017-09-11 12:10:09 -04:00
Michael Rose b5e1eeb007 Add link to #1213 2017-09-06 15:19:49 -04:00
Michael Rose dc47f82af2 Bump 💎 to 4.5.2 2017-09-06 15:14:15 -04:00
Michael Rose f94cbe0296 Rename file 2017-09-06 15:07:02 -04:00
Michael Rose f9132d8998 Truncate archive item titles' that overflow with an ellipsis
Fixes #1213
2017-09-06 15:02:41 -04:00
Michael Rose 2080469952 Show 4 latest posts when site.related_posts is nil
`site.related_posts` should return an array of latest posts when no related ones are found due to `lsi` being disabled (GitHub Page's doesn't support it).

This works around that bug by showing the 4 latest posts to populate the "You May Also Enjoy" module when enabled with `related: true`.

Fixes #554
Related: #978 #1022
2017-09-05 13:02:37 -04:00
Michael Rose 5d2f34a2d2 Update CHANGELOG and history 2017-09-05 12:08:05 -04:00
Ohad Schneider 5e7e15bad9 Mention CDN minification as an alternative to compress_html (#1217)
* Mention CDN minification as an alternative to compress_html

* Add warning notice to caution statement
2017-09-05 12:05:29 -04:00
Michael Rose c863ba6e54 Enable Liquid strict mode for /test site 2017-09-05 09:40:20 -04:00
Michael Rose b814f306d8 Fix Liquid syntax error in feature_row include
Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
2017-09-04 21:35:09 -04:00
Michael Rose c4ca06f4b9 Liquid syntax error: "Expected end_of_string but found pipe in "name in __names | sort"" in group-by-array include
`sort` not allowed in `for` statements, remove it.
2017-09-04 21:21:14 -04:00
Michael Rose e8d83de8b7 Fix Liquid syntax error: Expected id but found open_square in "{{page.[include.id] }}" 2017-09-04 21:14:36 -04:00
Michael Rose f19e74bc8f Update includes in /docs 2017-09-04 21:07:06 -04:00
Michael Rose 37da7829cd Update CHANGELOG and history 2017-09-04 21:05:49 -04:00
Michael Rose 0a9ad5d243 Fix Liquid errors when in error_mode: strict
Liquid does not allow parenthesis, remove them to fix Liquid Exception: Liquid syntax error "Expected dotdot but found pipe" in `tag-list.html` and `category-list.html`

Close #1223
2017-09-04 21:04:18 -04:00
Ohad Schneider d28cb4dea5 Fix kramdown break (#1216)
I think my previous commit broke it by removing the newline before `{: .notice–warning}`
2017-09-04 12:29:44 -04:00
Michael Rose 6c21194c44 Update CHANGELOG and history 2017-09-01 09:41:47 -04:00
Michael Rose 7bf33e85b9 Update CHANGELOG and history 2017-09-01 09:37:26 -04:00
Michael Rose 866765b324 Improve Chinese minute_read translation in ui-text.yml 2017-09-01 09:37:13 -04:00
DDoSolitary dddf8656f3 Improve translation for minute_read. (#1211) 2017-09-01 09:34:55 -04:00
Michael Rose 4a95a539cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-09-01 09:32:39 -04:00
Michael Rose 9b52f9c61d Add note about GitHub Pages hosting alternatives
Ruby gem method can be used with Netlify, GitLab Pages, and Continous Integration (CI) services like Travis CI.
2017-09-01 09:32:30 -04:00
Michael Rose 5d5b05d2a2 Update Jekyll's version number 2017-09-01 09:31:23 -04:00
Michael Rose f6ed6f6225 Update CHANGELOG and history 2017-08-29 22:05:42 -04:00
Ohad Schneider c21fa07753 Posts by Tag (singular) (#1209)
Correct "Posts by Tag" (singular) to be more consistent with "Posts by Category"

* Update tag-archive.html
* Update about.md
* Update 10-layouts.md
* Update README.md
* Update 14-helpers.md
2017-08-29 22:03:13 -04:00
Ohad Schneider 3f3145a350 Clarify taxonomy page and index generation (#1207)
Clarify taxonomy page and index generation per https://github.com/mmistakes/minimal-mistakes/issues/811#issuecomment-325769757
2017-08-29 22:02:15 -04:00
Michael Rose 12f713677d Add note about /docs content files in Quick-Start Guide 2017-08-29 15:54:37 -04:00
Michael Rose eb1f445050 Remove the http-equiv="cleartype" meta tag
Reasons for dropping: https://www.drupal.org/node/1717090
Close #1087
2017-08-29 15:41:47 -04:00
Michael Rose 6885a127d7 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-29 15:00:38 -04:00
Michael Rose 1b311f428f Update CHANGELOG and history 2017-08-29 15:00:27 -04:00
Ohad Schneider 78d0b946f7 Clarify that jekyll-archives has to be installed (#1206)
Clarify that jekyll-archives has to be installed

Show the simplest way to do it per https://github.com/mmistakes/minimal-mistakes/issues/811#issuecomment-277461052.
2017-08-29 14:57:35 -04:00
Michael Rose 0d87190f36 Remove #disqus_thread duplicate
`<section id="disqus_thread"></section>` is set in `_includes/comments.html` and not needed in `_includes/comment-provider/disqus.html`.

Fixes #1199
2017-08-28 11:55:07 -04:00
Michael Rose 7c863f0094 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-28 10:47:53 -04:00
Michael Rose 4709e96383 Update CHANGELOG and history 2017-08-28 10:47:42 -04:00
DDoSolitary 0ff9619416 Update Chinese translation for date_label. (#1205) 2017-08-28 10:47:23 -04:00
Ohad Schneider 38f9861ff2 _config.yml - Steam ID explanation comment (#1204) 2017-08-28 10:44:28 -04:00
Ohad Schneider 43d05a5718 _config.yml - author LinkedIn example comment (#1203) 2017-08-28 10:43:04 -04:00
Michael Rose fc193d0b54 Reword paragraph 2017-08-24 14:48:59 -04:00
Michael Rose 71f0a2356a Adjust line break 2017-08-24 14:48:01 -04:00
Michael Rose 4a4a2fdbfc Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-24 14:46:16 -04:00
Michael Rose 0e9ebc48cb Update GitHub issue template 2017-08-24 14:44:30 -04:00
Michael Rose 6ed7eab9f8 Remove period from Staticman commit message 2017-08-22 21:38:48 -04:00
Michael Rose 20821e67b0 Reduce amount of blank pages when printing in Chrome
Close #1196
2017-08-22 15:32:48 -04:00
Michael Rose 1f4f71636d Update CHANGELOG and history 2017-08-22 14:49:33 -04:00
Michael Rose bb39afa125 Add .page__comments-form to "non-printing" selectors in print styles 2017-08-22 14:49:24 -04:00
Lars Olesen 2939d45ecc Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
2017-08-22 14:46:18 -04:00
Michael Rose ded8afcc32 Update CHANGELOG and history 2017-08-21 08:31:35 -04:00
Nelson Estevão 102cbc8b10 License url fixed (#1189) 2017-08-19 11:17:24 -04:00
Michael Rose 46d8cb5efd Fix heading 2017-08-18 15:20:58 -04:00
Michael Rose 1629f0e4a7 Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
Michael Rose 0cad75fbb3 Add table of contents 2017-08-18 15:08:23 -04:00
Michael Rose 1509ef7911 Add note about setting Discourse server as a scheme-less URL
eg. `meta.discourse.com` and not `http://meta.discourse.com`

Close #1182
2017-08-18 15:07:10 -04:00
Michael Rose 45c491bec7 Update CHANGELOG and history 2017-08-18 12:41:53 -04:00
Michael Rose 1cb4f9ebb8 Update Disqus script for /docs 2017-08-18 12:40:41 -04:00
Kris d277353c54 Replace old Disqus script with Universal Embed Code (#1179)
* update embeddable disqus javascript

* Update disqus.html
2017-08-18 12:38:58 -04:00
Michael Rose 87c4bbe8be Update CHANGELOG, history, and documentation 2017-08-18 12:27:51 -04:00
Michael Rose ef510063df Add Danish translation to /docs 2017-08-18 12:27:35 -04:00
Lars Olesen 38272fc6b8 Added Danish translation. (#1188)
* Added Danish translation.

* Fixed typo
2017-08-18 12:24:10 -04:00
Michael Rose 874326cc41 Merge branch 'rjkaes-escape-url-in-social-share' 2017-08-18 12:22:47 -04:00
Michael Rose 3a632a62e8 Update CHANGELOG and history 2017-08-18 12:22:31 -04:00
Michael Rose 247bcde42e URL Encode Title and Page URL in Social Share Links 2017-08-18 12:20:01 -04:00
Robert James Kaes 10bc756932 URL Encode Title and Page URL in Social Share Links
The links to the various social networks include data from the post
(title and url) which can contain URL special characters.  Pass each of
the generated URLs through Liquid's `url_encode` filter to build HTML
complaint URLs.
2017-08-15 14:41:34 -04:00
Michael Rose 3e781220a1 Update CHANGELOG and history 2017-08-10 14:46:24 -04:00
deepak sood 0720e42251 Update 16-stylesheets.md (#1170)
Typo error - "want" to "what"
2017-08-10 14:44:44 -04:00
Michael Rose f1afdf0397 Extend grid view to the right to better fill the page
- Use a negative right margin to pull `.grid__wrapper` into the dead space left for a sidebar.
- Add sample documents to "portfolio" collection to test grid view
- Update CHANGELOG and history
2017-08-09 13:00:33 -04:00
Michael Rose 1610ed853c Replace gems key with plugins: 2017-08-09 12:55:52 -04:00
Michael Rose 173f184047 Fix "follow" links z-index order to avoid overlapping issues
Close #1167
2017-08-09 09:03:09 -04:00
Michael Rose 91f38f4450 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-08-09 08:30:38 -04:00
Michael Rose 192549ef25 Adjust width of .sidebar to match .sidebar__right
- Use `$right-sidebar-width-narrow` and `$right-sidebar-width` Sass variables to determine width of sidebar instead of Susy `span` function
2017-08-09 08:30:32 -04:00
Michael Rose d59818981b Fix positioning of sidebar table of contents when using layout: splash
Close #1169
2017-08-09 08:28:21 -04:00
Michael Rose 46a294b568 Roll back gems: to plugins: change in _config.yml
- GitHub Pages still doesn't seem to load safe plugins when using `plugins` key
2017-08-08 20:05:30 -04:00
Michael Rose 8e598766f7 Reword sentences 2017-08-08 18:59:46 -04:00
Michael Rose f372191de5 Rename gems key to plugins
- `gems` key in `_config.yml`  was deprecated in Jekyll 3.5 and changed to `plugins`

ref: https://github.com/jekyll/jekyll/pull/5130
2017-08-08 15:45:58 -04:00
Michael Rose 1f5e6609b3 Update website_label 2017-08-08 15:22:31 -04:00
Michael Rose bb402eaa46 Reduce indent of nested "table of contents" links 2017-08-08 15:19:41 -04:00
Michael Rose fb0164b0ca Increase font-size of code blocks. 2017-08-08 15:15:57 -04:00
Michael Rose bc53150b28 Remove outside and right borders in tables 2017-08-08 15:13:06 -04:00
Michael Rose f9de95a8ad Make minor formatting changes 2017-08-08 14:47:21 -04:00
Michael Rose 3b3905c44f Improve page and archive layouts (#1166)
* Fix collapsed white-space above pagination links

* Improve `page` and `archive` layout
- Center main content on page
- Harmonize sidebar columns to be equal widths

Fixes #1155

* Update CHANGELOG and history

* Position and align right sidebar with the top of the main content

* Offset right sidebar at `$large` viewport

* Add TOC bottom include test post

* Add right sidebar styling edits to documentation site

* Add TOC bottom include test post
2017-08-08 14:41:46 -04:00
Michael Rose edba2c3a88 Update CHANGELOG and history 2017-08-07 20:22:00 -04:00
Guangyuan (Charlie) Yang e242554e55 Update 05-configuration.md (#1164) 2017-08-07 20:20:03 -04:00
Michael Rose 709a1e8583 Remove blank YAML Front Matter from JavaScript banner
- No longer needed ref: https://github.com/jekyll/jekyll/pull/5918

Ref: https://github.com/mmistakes/minimal-mistakes/issues/1158
2017-08-06 10:43:36 -04:00
Michael Rose 1205a8c46c Add mention of Vietnamese to UI text docs and update CHANGELOG/history 2017-08-06 10:32:35 -04:00
Duc Thien Bui 67ec264d08 support vietnamese (#1159) 2017-08-06 10:28:46 -04:00
Michael Rose 13e299a8f3 Release 💎 4.5.0 2017-08-04 12:41:05 -04:00
ashmaroli d8be6fd2b5 Update documentation (#1151)
* Update Quickstart documentation

* update Installation documentation

* Update documentation for Overriding Defaults
2017-08-04 12:37:08 -04:00
Michael Rose 65a3d68dec Update CHANGELOG and history 2017-08-04 12:24:25 -04:00
Michael Rose f7a1b1a160 DRY up handling of image_description for alternative text 2017-08-04 12:20:08 -04:00
austinseraphin cb8cb6f41e Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
2017-08-04 12:06:20 -04:00
Michael Rose 47a05f3f00 Update CHANGELOG and history 2017-08-04 11:58:42 -04:00
Michael Rose 6b9afaa8b7 Fix disappearing author sidebar links
- Close #1136
2017-08-04 11:55:10 -04:00
Michael Rose 15c3abe48b Link to PR on GitHub 2017-08-03 16:33:34 -04:00
Michael Rose 4ba7cccdc4 Merge branch 'susy-3-upgrade'
Conflicts:
	_sass/minimal-mistakes/_page.scss
	docs/_sass/minimal-mistakes/_page.scss
2017-08-03 16:27:21 -04:00
Michael Rose e2559db182 Merge branch 'ashmaroli-feature/jekyll-data' 2017-08-03 16:19:13 -04:00
Michael Rose 5a5921474c Update CHANGELOG and history 2017-08-03 16:18:54 -04:00
Michael Rose 9c318fc3f1 Use jekyll-data to read data files from theme-gem 2017-08-03 16:16:54 -04:00
Michael Rose b7cc337a77 Change reference to "Basically Basic" back to "Minimal Mistakes" 2017-08-03 14:00:36 -04:00
Michael Rose 057d3190ea Fix typo 2017-08-03 12:38:32 -04:00
Michael Rose f0b979d375 Update CHANGELOG and history 2017-08-03 12:05:45 -04:00
Peter Dimou 3395149c4d Include documentation on disabling animations (#1150) 2017-08-03 12:03:07 -04:00
Peter Dimou a7475d3334 Correct name of gem to that of the theme (#1149) 2017-08-03 11:54:51 -04:00
Michael Rose 7a72be67ec Update CHANGELOG and history 2017-08-02 12:33:12 -04:00
Michael Rose 8b2850c9f9 Revert plugins; back to gems: until github/github-pages gem updates to newer Jekyll
- Plugins won't activate if using the new `plugins` key with Jekyll < 3.5
2017-08-02 12:31:20 -04:00
Michael Rose 48e2006622 Fix space alignment 2017-08-02 12:29:47 -04:00
Michael Rose 100da8b5b2 Add $intro-transition variable 2017-08-02 12:29:35 -04:00
Peter Dimou 5b4baee3b5 Refactor intro animations into a separate SASS variable (#1147) 2017-08-02 12:27:01 -04:00
Michael Rose 822fa4d1f8 Add link to PR 2017-07-21 16:32:01 -04:00
Michael Rose bf9387c71f Update CHANGELOG 2017-07-21 16:30:29 -04:00
Michael Rose 8eabf8920e Add missing Spanish UI text strings 2017-07-21 16:30:21 -04:00
Sergio C. Orozco Torres bb871377bd Spanish text for comments (#1118) 2017-07-21 16:23:31 -04:00
Michael Rose 387f8149d6 Upgrade to Susy 3 and replace grid mixins with new span and gutter functions
Most of Susy's mixins have been deprecated, `@include container()`, `@include full()`, `@include span()`, `@include prefix()`, `@include suffix()`, `@include gallery()`, etc.

Fixes #1114
2017-07-21 16:08:29 -04:00
Staticman 52a791f40b New comment. (#1133) 2017-07-19 19:47:27 -04:00
Ashwin Maroli 97b37ba863 Use a plugin to read data files from gem
- jekyll-data v1.x
  - jekyll 3.5 automatically requires a theme's runtime deps
  - jekyll v3.5.0 had bugs. Hence use v3.5.1 and beyond
2017-07-19 09:55:45 +05:30
Staticman 5843de91c2 New comment. (#1125) 2017-07-16 10:23:04 -04:00
Staticman c337c7964a New comment. (#1124) 2017-07-16 10:21:10 -04:00
Staticman 1d4daaa545 New comment. (#1120) 2017-07-16 08:32:42 -04:00
Staticman 1f760c8d1b New comment. (#1119) 2017-07-16 08:32:01 -04:00
Staticman 88b80c4f76 New comment. (#1117) 2017-07-14 14:17:05 -04:00
Staticman fe9f90f000 New comment. (#1116) 2017-07-14 14:14:01 -04:00
Michael Rose 031c2aa77e Merge branch 'sidebar-scrollbar' 2017-07-12 12:03:27 -04:00
Michael Rose 3e347970c7 Add vertical scrollbar to sidebars that extend outside the viewport
Viewing overflowing sidebar content requires scrolling the entire page which is annoying and causes the reader to lose their place.

Use CSS `calc` to approximate height of the sidebar (`100vh` - height of the masthead) and apply `overflow-y: auto` to add vertical scrollbars when needed.

Fixes #706
2017-07-12 12:03:14 -04:00
Michael Rose 984f0dfda7 Bump version to 4.4.2 2017-07-07 15:49:55 -04:00
Michael Rose 0f2d564837 Bump version to 4.4.2 2017-07-07 15:49:17 -04:00
Michael Rose e912ed5b98 Release 4.4.2 2017-07-07 15:46:01 -04:00
Michael Rose 6d018c1891 Bump dependencies 2017-07-07 15:44:17 -04:00
Michael Rose 50b80e95d1 Update CHANGELOG and history 2017-07-07 15:38:31 -04:00
Michael Rose 8b2837a1bf Add tzinfo.data gem for Windows to appease timezone error 2017-07-07 15:36:19 -04:00
Michael Rose 261fb159dd Change gems key in config to plugins 2017-07-07 15:35:49 -04:00
Michael Rose 2feb3d2ab4 Replace Gist Liquid tag with embed script 2017-07-07 15:33:19 -04:00
Michael Rose 160be1dd0b Add variable for navicon link color 2017-07-07 15:16:35 -04:00
palatinux 8c3fdb2382 Add $navicon-link-color-hover 2/2 (#1088)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:58 -04:00
palatinux 951b2c7002 Add $navicon-link-color-hover 1/2 (#1089)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:48 -04:00
Michael Rose 23447d98ee Update CHANGELOG and history 2017-07-07 15:10:34 -04:00
Michael Rose fae4398544 Add Indonesian locale text strings 2017-07-07 15:10:18 -04:00
Dana Satriya 71966b688b Add indonesian locale (#1101) 2017-07-07 15:07:19 -04:00
Michael Rose 1ef63b55e5 Adjust nav list .active state to accommodate text that spans multiple lines. 2017-07-05 15:56:10 -04:00
Michael Rose b1a5a14173 Improve documentation for grid view 2017-07-05 15:45:50 -04:00
Michael Rose ca6e7e3426 Fix variable names 2017-07-05 15:45:17 -04:00
wg1j bf6bd617e2 Fixed site variables (#1063) 2017-07-05 12:30:39 -04:00
Michael Rose 537d0b28d4 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-07-05 12:27:05 -04:00
Michael Rose cae210c4b9 Update Update CHANGELOG and history 2017-07-05 12:26:54 -04:00
Will Estes c142f94918 add gitlab to author profile (#1050)
* add gitlab to author profile

* add gitlab to footer

* Fix alignment of :
2017-07-05 12:25:41 -04:00
Michael Rose d92c75a6b6 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-07-05 12:23:41 -04:00
Michael Rose fc5db3f5d5 Add mention of Dutch localized UI text strings to theme documentation 2017-07-05 12:23:34 -04:00
palatinux ab0919cd5c Add Dutch language (#1081) 2017-07-05 12:20:32 -04:00
Michael Rose 4ed938c0ce Update CHANGELOG and history 2017-07-05 12:19:52 -04:00
Michael Rose 9affa1c82f Fixes and updates for the Greek language 2017-07-05 12:19:43 -04:00
Harry Kalantzis f5f3f2e9d9 Fixes and updates for the Greek language (#1054)
I have translated some UI text that hadn’t been translated by @Stelios3g. And I have also changed some translated entries to look and sound more natural for general uses (eg ‘Recent posts’ was translated as ‘Latest Announcements’ before). Finally, I have added ‘RSS’ next to ‘Feed’, because 1) there is no translation (or something that sounds natural) in Greek I’m afraid, 2) the term ‘RSS Feed’ is widely used in Greek websites.
2017-07-05 12:17:37 -04:00
Michael Rose 99ce8ed421 Merge branch 'zmsp-master' 2017-07-05 12:09:54 -04:00
Michael Rose 0319732b8e Update CHANGELOG and history 2017-07-05 12:09:34 -04:00
Michael Rose 94dcda2d89 Update Google+ page comments for /docs 2017-07-05 12:07:27 -04:00
Michael Rose 8e51d4b8f1 Fix indentation and formatting 2017-07-05 12:04:53 -04:00
Michael Rose 7a7428c2f0 Fix indentation and remove comments 2017-07-05 11:59:09 -04:00
Zobair Shahadat ede0654d4f Google+ page comments updated. 2017-07-05 00:38:24 -04:00
Christian Oliff 610e64bb7d HTTPS some external links (#1083)
HTTPS some external links
2017-06-26 11:36:51 -04:00
Michael Rose 399cd19472 Fix typo 2017-06-24 11:29:59 -04:00
Anne Gentle 262b6f3c4a Fix broken link to example _config.yml file (#1069) 2017-06-19 08:06:22 -04:00
Harry Kalantzis 7b26077a11 Fixed MD link to docs in the 'Helpers' page. (#1066) 2017-06-14 10:09:25 -04:00
Staticman 23349e14f8 New comment. (#1065) 2017-06-12 12:28:27 -04:00
Michael Rose 631db9940c Update comment-1497284119888.yml 2017-06-12 12:25:51 -04:00
Staticman cd61120374 New comment. (#1064) 2017-06-12 12:25:01 -04:00
Michael Rose 9de3cade3b Remove extraneous </a> and </li> tags 2017-05-30 08:13:57 -04:00
Michael Lynch 8ed48c1cd5 Removing extraneous a and li tags (#1038)
Removing duplicate <a> and <li> closing tags in paginator include.
2017-05-30 08:11:19 -04:00
Michael Rose de3954ac99 Fix "Greek" ~> "Swedish" typo 2017-05-30 08:10:10 -04:00
Michael Rose ec5b255bfb Fix broken Kramdown TOC link 2017-05-16 11:45:22 -04:00
Michael Rose 63d8d74697 Update CHANGELOG and history 2017-05-16 08:23:10 -04:00
Michael Rose 0c43a33a3d Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-05-16 08:22:01 -04:00
Guillermo Calvo b3410ed8b2 Add new brand variable: $bitbucket-color (#1009) 2017-05-16 08:21:32 -04:00
Michael Rose 69b747474d Add Swedish language 2017-05-16 08:20:23 -04:00
ojn bb01fc8c32 Add Swedish language (#996)
Translated this for my page today https://github.com/ojn/www.netkom.se/blob/master/_data/ui-text.yml
I hope there are no spelling mistakes, since one should strive for "minimal mistakes"... :-)
2017-05-16 08:17:52 -04:00
Michael Rose 55c4f91b8e Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-04-27 16:02:21 -04:00
Michael Rose 53d4e34ab0 Update CHANGELOG and history to reflect #972 2017-04-27 16:02:07 -04:00
Stelios Gavras 47bf229364 Update 08-ui-text.md (#972)
* Update 08-ui-text.md

* Update 08-ui-text.md
2017-04-27 16:00:17 -04:00
Michael Rose 128977691a Toggle close button on mouseleave
- Close #975
2017-04-27 15:55:49 -04:00
Michael Rose 8494157e64 Bump version to 4.4.1 2017-04-21 20:06:21 -04:00
Michael Rose 9361c53c43 Release 💎 4.4.1 2017-04-21 20:03:08 -04:00
Michael Rose e0099ffa5a Transition “hamburger” navicon on click to “X” navicon by adding .close to button
- Close 969
2017-04-21 20:00:14 -04:00
Michael Rose 24999441fc Add link to comment 2017-04-21 18:22:16 -04:00
Staticman a6c6ae1e1c New comment. (#968) 2017-04-21 18:16:35 -04:00
Staticman e539ccbfbd New comment. (#967) 2017-04-21 18:08:16 -04:00
Michael Rose 23094d629f Update CHANGELOG and history 2017-04-19 10:44:22 -04:00
Michael Rose 19372f6470 Sync /docs with root changes 2017-04-19 10:44:14 -04:00
Stelios Gavras ef361fa174 Update ui-text.yml (#958) 2017-04-19 10:42:17 -04:00
Josh Habdas 706531b60d fix(includes/video): use https always (#945)
closes #944
2017-04-19 10:39:20 -04:00
Michael Rose d4b1eeb6bf Update history 2017-04-18 13:00:36 -04:00
Michael Rose 19568e95ae Release 💎 4.4.0 2017-04-18 12:58:46 -04:00
Michael Rose 3fc1bfde26 Move SCSS partials to /_sass/minimal-mistakes for easier CSS customization 2017-04-18 12:52:11 -04:00
Jing Ma eaf366e405 Fixed link errors in docs (#946) 2017-04-11 12:36:56 -04:00
Michael Rose 7a4d221ccf Add closing } 2017-04-05 12:42:15 -04:00
Michael Rose b5a4496561 Fix .masthead and .page__footer overlapping full screen video elements.
- Close #933
2017-04-05 12:40:34 -04:00
Michael Rose 0b78bef679 Update CHANGELOG and history 2017-04-04 12:48:44 -04:00
Michael Rose f9f197bcd6 Add ProTip about installing unreleased version on master 2017-04-04 12:48:37 -04:00
Sebastian Wiesner cf4f8277c1 Replace modified with last_modified_at (#930)
Fixes #929
2017-04-04 09:12:32 -04:00
Michael Rose 805dad0077 Update CHANGELOG and history 2017-03-27 08:24:42 -04:00
Michael Rose 657f7ac9f8 Add Lithuanian language/locale (#924) 2017-03-27 08:22:48 -04:00
Remigijus Jarmalavičius eefafcacba Add Lithuanian language/locale (#924) 2017-03-27 08:20:44 -04:00
Michael Rose ac93744d9f Improve print styles (#919)
* Fix image caption border-radius

* Fix image caption border-radius

* Improve print stylesheet
- Close #909

* Update CHANGELOG and history
2017-03-23 14:34:13 -04:00
Michael Rose 3e379043bc Update year 2017-03-22 09:53:37 -04:00
Michael Rose ff0f63aaed Update contributing info 2017-03-22 09:51:20 -04:00
Michael Rose 8d42316e70 Update CHANGELOG and history 2017-03-22 09:47:47 -04:00
Michael Rose d5d7c437b9 Bump version to 4.3.1 2017-03-22 09:45:03 -04:00
Michael Rose 8c44927773 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2017-03-22 09:43:25 -04:00
Max Goodridge f8ef82f42c Typo fix (#915) 2017-03-22 09:39:58 -04:00
Max Goodridge 6ef4296bbd Removed extra word in comment (#911) 2017-03-20 17:12:50 -04:00
Michael Rose 00810d9085 Bump version to 4.3.1 2017-03-16 10:34:44 -04:00
Michael Rose d90baeaaa5 Bump version to 4.3.1 2017-03-16 10:34:21 -04:00
Michael Rose 76a51e7079 Merge branch 'release/4.3.1' into develop 2017-03-16 10:32:03 -04:00
Michael Rose 9634feb0c8 Merge branch 'release/4.3.1' 2017-03-16 10:32:02 -04:00
Michael Rose b6e14cbf18 Bump version to 4.3.1 2017-03-16 10:31:43 -04:00
Michael Rose 365ff8d2db Update CHANGELOG 2017-03-16 10:29:21 -04:00
Nicolas Cavigneaux 958b399741 Remove buggy conditional around related posts header (#901)
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix #900
2017-03-16 10:21:13 -04:00
Michael Rose 7719679fea Merge branch 'release/4.3.0' into develop 2017-02-28 10:43:22 -05:00
Michael Rose 6b8d3148b6 Merge branch 'release/4.3.0' 2017-02-28 10:43:21 -05:00
Michael Rose 7316be4280 Bump version to 4.3.0 2017-02-28 10:42:20 -05:00
Michael Rose 2f2f901827 Update CHANGELOG and history 2017-02-28 10:42:06 -05:00
Michael Rose b9d86f3989 Add banner text to main.min.js (#880)
- Add `---` YAML Front Matter as a workaround to allow the theme gem's version to be overridden locally.
- Adjust page scope in Front Matter default to avoid adding a layout to `main.min.js`
- Fixes #874, Fixes #722
2017-02-28 10:06:18 -05:00
Michael Rose dbdf5c2f25 Change default locale to en_US to appease OpenGraph debugger.
- Fixes #843
2017-02-28 08:57:54 -05:00
Michael Rose 2aa473dd82 Escape Liquid 2017-02-24 15:24:29 -05:00
Michael Rose 4454e391cf Escape Liquid 2017-02-24 15:24:02 -05:00
Staticman fbe35e6c60 New comment. (#863) 2017-02-22 06:44:21 -05:00
Michael Rose 943bf19fc5 Merge branch 'release/4.2.2' into develop 2017-02-21 10:52:40 -05:00
538 changed files with 15065 additions and 31172 deletions
+5 -4
View File
@@ -1,5 +1,6 @@
_assets/css/vendor/* linguist-vendored
_assets/js/plugins/* linguist-vendored
_assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored assets/fonts/* linguist-vendored
assets/js/vendor/* linguist-vendored assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
_sass/minimal-mistakes/vendor/* linguist-vendored
+5 -1
View File
@@ -8,4 +8,8 @@ This goes for author sidebar links and "share button" additions -- I have no int
## Pull Requests ## Pull Requests
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way. When submitting a pull request:
1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`) and describe the feature or fix.
3. Open a pull request on GitHub.
+25 -12
View File
@@ -2,28 +2,31 @@
Before submitting please search open and closed issues at Before submitting please search open and closed issues at
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication. https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
Feel free to use the following as a template and remove or add fields as you see fit. You can convert `[ ]` into `[x]` to check boxes. Feel free to use the following as a template and remove or add fields as you
see fit. You can convert `[ ]` into `[x]` completed check boxes.
--> -->
- [ ] This is a question about using the theme. - [ ] This is a question about using the theme.
- [ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins. - [ ] This is a feature request or enhancement.
- [ ] This is a feature request. - [ ] I believe this to be a bug with the theme.
- [ ] I have updated all gems with `bundle update`. - [ ] I am using the latest version of the theme.
- [ ] I have tested locally with `bundle exec jekyll build`. - [ ] I have updated all gems with `bundle update`.
- [ ] I have tested locally with `bundle exec jekyll build`.
--- ---
## Environment informations ## Environment informations
<!-- <!--
Please include theme version, `github-pages --version`, and the operating system you are on or tested with. Please include theme version, Jekyll version, whether you are hosting with
GitHub Pages, and the operating system you are on or tested with.
--> -->
- **Minimal Mistakes version:** - **Minimal Mistakes version:**
- **`github-pages` or `jekyll` gem version:** - **Jekyll version:**
- **GitHub Pages hosted:** yes/no
- **Operating system:** - **Operating system:**
--- ---
## Expected behavior ## Expected behavior
@@ -35,11 +38,21 @@
## Steps to reproduce the behavior ## Steps to reproduce the behavior
<!-- <!--
Include a link to a public repository or ZIP file so that they can more easily be reproduced. Being able to see your actual files helps troubleshooting as most issues stem from missing YAML Front Matter, a mis-configured `_config.sys` file, or `_posts` content. Include a link to a public repository or ZIP file so that the behavior or bug
can easily be reproduced. Being able to see your actual files helps with
troubleshooting as most issues stem from invalid/missing YAML Front Matter, a
mis-configured _config.sys file, or problematic site content.
Describe the steps you took for this problem to exist. Such as you cloned the theme, customized `_config.yml`, added your own posts, and started up a Jekyll server locally. Describe the steps you took for this problem to exist. Such as: you cloned the
theme, customized _config.yml, added your own posts, and started up a Jekyll
server locally.
If an error occurred on GitHub Pages when pushing, please build locally and provide a complete log by running `bundle exec jekyll --trace --verbose` and including this output in the filed issue. If an error occurred on GitHub Pages when pushing, please test a local version
following these setup instructions:
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
and include this output in the filed issue.
Screenshots can also be included if they help illustrate a behavior. Screenshots can also be included if they help illustrate a behavior.
--> -->
+22
View File
@@ -0,0 +1,22 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- "Status: Accepted"
- "Status: Under Consideration"
- "Status: Review Needed"
# Label to use when marking an issue as stale
staleLabel: "Status: Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: |
This issue has been automatically marked as stale because it has not had recent activity.
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+528 -241
View File
File diff suppressed because it is too large Load Diff
+44 -2
View File
@@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Michael Rose Copyright (c) 2013-2018 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,46 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 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 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
creators Garrett Knoll, Arthur Shlain, and Tracy Tam.
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
Copyright (c) 2017 Dave Gandy.
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
and [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
Copyright (c) 2017, Miriam Eric Suzanne.
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
Magnific Popup is distributed under the terms of the MIT License.
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
Copyright (c) 2017 Oliver Nightingale.
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+122 -33
View File
@@ -1,12 +1,13 @@
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/) # [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE) [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.6-blue.svg)](https://jekyllrb.com/)
[![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:. Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
See what's new in the [CHANGELOG](CHANGELOG.md). :sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
[![Minimal Mistakes live preview][2]][1] [![Minimal Mistakes live preview][2]][1]
@@ -17,15 +18,32 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
## Notable Features ## Notable Features
- "Gemified" for easier install/upgrading - Bundled as a "theme gem" for easier install/upgrading.
- Compatible with Jekyll 3.x and GitHub Pages - Compatible with GitHub Pages.
- Support for Jekyll's built-in Sass/SCSS preprocessor - Support for Jekyll's built-in Sass/SCSS preprocessor.
- Several responsive layout options (single, archive index, splash, and paginated home page) - Nine different skins (color variations).
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data - Several responsive layout options (single, archive index, search, splash, and paginated home page).
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more. - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom). - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support. - [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Korean, Nepali (Nepalese), Russian, Spanish, and Turkish - UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
## Skins (Color Variations)
This theme comes in nine different skins (including the default one).
| `air` | `contrast` | `dark` |
| --- | --- | --- |
| ![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png) | ![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png) | ![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png) |
| `dirt` | `mint` | `sunrise` |
| --- | --- | --- |
| ![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png) | ![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png) | ![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png) |
| `aqua` | `neon` | `plum` |
| --- | --- | --- |
| ![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png) | ![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png) | ![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png) |
## Demo Pages ## Demo Pages
@@ -37,7 +55,7 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. | | [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
| [Sample Collection Page][sample-collection] | Single page from a collection. | | [Sample Collection Page][sample-collection] | Single page from a collection. |
| [Categories Archive][categories-archive] | Posts grouped by category. | | [Categories Archive][categories-archive] | Posts grouped by category. |
| [Tags Archive][tags-archive] | Posts grouped by tags. | | [Tags Archive][tags-archive] | Posts grouped by tag. |
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs). Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
@@ -50,34 +68,54 @@ Additional sample posts are available under [posts archive][year-archive] on the
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/ [tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/ [year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
## Usage ## Installation
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/). There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)". ### Ruby Gem Method
## Quick Start 1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:
Add this line to your Jekyll site's `Gemfile`: ```ruby
gem "minimal-mistakes-jekyll"
```
```ruby 2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
gem "minimal-mistakes-jekyll"
```
Add this line to your Jekyll site's `_config.yml` file: ```bash
bundle
```
```yaml 3. Set the `theme` in your project's Jekyll `_config.yml` file:
theme: minimal-mistakes-jekyll
```
Then run Bundler to install the theme gem and dependencies: ```yaml
theme: minimal-mistakes-jekyll
```bash ```
bundle install
```
To update the theme run `bundle update`. To update the theme run `bundle update`.
### GitHub Pages Method
1. Create/replace the contents of your `Gemfile` with the following:
```ruby
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins
```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
```bash
bundle
```
3. Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
## Usage
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
--- ---
## Contributing ## Contributing
@@ -90,7 +128,11 @@ This goes for author sidebar links and "share button" additions -- I have no int
### Pull Requests ### Pull Requests
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way. When submitting a pull request:
1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`).
3. Open a pull request on GitHub and describe the feature or fix.
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc. Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
@@ -115,7 +157,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
### Icons + Demo Images: ### Icons + Demo Images:
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam) - [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/) - [Font Awesome](http://fontawesome.io/)
- [Unsplash](https://unsplash.com/) - [Unsplash](https://unsplash.com/)
### Other: ### Other:
@@ -126,8 +168,9 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
- [Breakpoint](http://breakpoint-sass.com/) - [Breakpoint](http://breakpoint-sass.com/)
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) - [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
- [FitVids.JS](http://fitvidsjs.com/) - [FitVids.JS](http://fitvidsjs.com/)
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV) - [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll) - [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
- [Lunr](http://lunrjs.com)
--- ---
@@ -135,7 +178,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Michael Rose Copyright (c) 2013-2018 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@@ -154,3 +197,49 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 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 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
creators Garrett Knoll, Arthur Shlain, and tracy tam.
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
Copyright (c) 2017 Dave Gandy.
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
and [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
Copyright (c) 2017, Miriam Eric Suzanne.
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
Magnific Popup is distributed under the terms of the MIT License.
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
Copyright (c) 2017 Karl Swedberg.
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
Copyright (c) 2015 Luke Jackson.
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
Copyright (c) 2017 Vladimir Jimenez.
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
Copyright (c) 2017 Oliver Nightingale.
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
+1
View File
@@ -44,6 +44,7 @@ task :preview do
ENV["LISTEN_GEM_DEBUGGING"] = "1" ENV["LISTEN_GEM_DEBUGGING"] = "1"
listener = Listen.to( listener = Listen.to(
base.join("_data"),
base.join("_includes"), base.join("_includes"),
base.join("_layouts"), base.join("_layouts"),
base.join("_sass"), base.join("_sass"),
+36 -21
View File
@@ -5,8 +5,10 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use # For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process. # `jekyll serve`. If you change this file, please restart the server process.
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
# Site Settings # Site Settings
locale : "en" locale : "en-US"
title : "Site Title" title : "Site Title"
title_separator : "-" title_separator : "-"
name : "Your Name" name : "Your Name"
@@ -18,7 +20,7 @@ teaser : # path of fallback teaser image, e.g. "/assets/images
# breadcrumbs : false # true, false (default) # breadcrumbs : false # true, false (default)
words_per_minute : 200 words_per_minute : 200
comments: comments:
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom" provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "staticman_v2" "custom"
disqus: disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse: discourse:
@@ -29,29 +31,40 @@ comments:
num_posts : # 5 (default) num_posts : # 5 (default)
colorscheme : # "light" (default), "dark" colorscheme : # "light" (default), "dark"
staticman: staticman:
allowedFields : ['name', 'email', 'url', 'message'] allowedFields : # ['name', 'email', 'url', 'message']
branch : "master" branch : # "master"
commitMessage : "New comment." commitMessage : # "New comment."
filename : comment-{@timestamp} filename : # comment-{@timestamp}
format : "yml" format : # "yml"
moderation : true moderation : # true
path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default) path : # "/_data/comments/{options.slug}" (default)
requiredFields : ['name', 'email', 'message'] requiredFields : # ['name', 'email', 'message']
transforms: transforms:
email : "md5" email : # "md5"
generatedFields: generatedFields:
date: date:
type : "date" type : # "date"
options: options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
reCaptcha:
siteKey :
secret :
atom_feed: atom_feed:
path : # blank (default) uses feed.xml path : # blank (default) uses feed.xml
search : # true, false (default)
search_full_content : # true, false (default)
search_provider : # lunr (default), algolia
algolia:
application_id : # YOUR_APPLICATION_ID
index_name : # YOUR_INDEX_NAME
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
powered_by : # true (default), false
# SEO Related # SEO Related
google_site_verification : google_site_verification :
bing_site_verification : bing_site_verification :
alexa_site_verification :
yandex_site_verification : yandex_site_verification :
naver_site_verification :
# Social Sharing # Social Sharing
twitter: twitter:
@@ -83,6 +96,7 @@ author:
location : "Somewhere" location : "Somewhere"
email : email :
uri : uri :
home : # null (default), "absolute or relative url to link to author home"
bitbucket : bitbucket :
codepen : codepen :
dribbble : dribbble :
@@ -90,15 +104,16 @@ author:
facebook : facebook :
foursquare : foursquare :
github : github :
gitlab :
google_plus : google_plus :
keybase : keybase :
instagram : instagram :
lastfm : lastfm :
linkedin : linkedin : # "john-doe-12345678" (the last part of your profile url, e.g. https://www.linkedin.com/in/john-doe-12345678)
pinterest : pinterest :
soundcloud : soundcloud :
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username) stackoverflow : # "123456/username" (the last part of your profile url, e.g. https://stackoverflow.com/users/123456/username)
steam : steam : # "steamId" (the last part of your profile url, e.g. https://steamcommunity.com/id/steamId/)
tumblr : tumblr :
twitter : twitter :
vine : vine :
@@ -174,11 +189,11 @@ sass:
permalink: /:categories/:title/ permalink: /:categories/:title/
paginate: 5 # amount of posts to show paginate: 5 # amount of posts to show
paginate_path: /page:num/ paginate_path: /page:num/
timezone: # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Plugins # Plugins (previously gems:)
gems: plugins:
- jekyll-paginate - jekyll-paginate
- jekyll-sitemap - jekyll-sitemap
- jekyll-gist - jekyll-gist
@@ -243,4 +258,4 @@ defaults:
read_time: true read_time: true
comments: # true comments: # true
share: true share: true
related: true related: true
+448 -47
View File
@@ -40,6 +40,8 @@ en: &DEFAULT_EN
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..." loading_label : "Loading..."
search_placeholder_text : "Enter your search term..."
results_found : "Result(s) found"
en-US: en-US:
<<: *DEFAULT_EN <<: *DEFAULT_EN
en-CA: en-CA:
@@ -78,17 +80,17 @@ es: &DEFAULT_ES
email_label : "Email" email_label : "Email"
recent_posts : "Entradas recientes" recent_posts : "Entradas recientes"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml" undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
comment_form_info : comment_form_info : "Su dirección de correo no será publicada. Se han resaltado los campos requeridos"
comment_form_comment_label : comment_form_comment_label : "Comentario"
comment_form_md_info : comment_form_md_info : "Markdown está soportado."
comment_form_name_label : comment_form_name_label : "Nombre"
comment_form_email_label : comment_form_email_label : "Dirección de E-mail"
comment_form_website_label : comment_form_website_label : "Sitio web (opcional)"
comment_btn_submit : comment_btn_submit : "Enviar Commentario"
comment_btn_submitted : comment_btn_submitted : "Enviado"
comment_success_msg : comment_success_msg : "Gracias por su comentario!, Este se visualizará en el sitio una vez haya sido aprobado"
comment_error_msg : comment_error_msg : "Lo sentimos, ha ocurrido un error al enviar su comentario. Por favor asegurese que todos los campos han sido diligenciados e intente de nuevo"
loading_label : loading_label : "Cargando..."
es-ES: es-ES:
<<: *DEFAULT_ES <<: *DEFAULT_ES
es-CO: es-CO:
@@ -186,7 +188,6 @@ tr-TR:
<<: *DEFAULT_TR <<: *DEFAULT_TR
# Portuguese # Portuguese
# -----------------
pt: &DEFAULT_PT pt: &DEFAULT_PT
page : "Página" page : "Página"
pagination_previous : "Anterior" pagination_previous : "Anterior"
@@ -225,6 +226,9 @@ pt: &DEFAULT_PT
comment_success_msg : "Obrigado pelo seu comentário! Será visível no site logo que aprovado." comment_success_msg : "Obrigado pelo seu comentário! Será visível no site logo que aprovado."
comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente." comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente."
loading_label : "A carregar..." loading_label : "A carregar..."
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese # Brazilian Portuguese
pt-BR: pt-BR:
page : "Página" page : "Página"
@@ -235,8 +239,8 @@ pt-BR:
menu_label : menu_label :
toc_label : "Nesta página" toc_label : "Nesta página"
ext_link_label : "Link direto" ext_link_label : "Link direto"
less_than : "meno que" less_than : "menos que"
minute_read : "minutos de leitura" minute_read : "minuto(s) de leitura"
share_on_label : "Compartilhe em" share_on_label : "Compartilhe em"
meta_label : meta_label :
tags_label : "Tags:" tags_label : "Tags:"
@@ -244,28 +248,26 @@ pt-BR:
date_label : "Atualizado em:" date_label : "Atualizado em:"
comments_label : "Deixe um comentário" comments_label : "Deixe um comentário"
comments_title : comments_title :
more_label : "Aprenda Mais" more_label : "Aprenda mais"
related_label : "Você Talvez Goste Também" related_label : "Talvez você goste também"
follow_label : "Acompanhe em" follow_label : "Acompanhe em"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Feito com" powered_by : "Feito com"
website_label : "Site" website_label : "Site"
email_label : "Email" email_label : "Email"
recent_posts : "Postagens recentes" recent_posts : "Postagens recentes"
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml" undefined_wpm : "Parâmetro indefinido em words_per_minute no _config.yml"
comment_form_info : comment_form_info : "Seu email não será publicado. Os campos obrigatórios estão marcados"
comment_form_comment_label : comment_form_comment_label : "Comentário"
comment_form_md_info : comment_form_md_info : "Markdown é suportado."
comment_form_name_label : comment_form_name_label : "Nome"
comment_form_email_label : comment_form_email_label : "Email"
comment_form_website_label : comment_form_website_label : "Site (opcional)"
comment_btn_submit : comment_btn_submit : "Enviar Comentário"
comment_btn_submitted : comment_btn_submitted : "Enviado"
comment_success_msg : comment_success_msg : "Obrigado pelo seu comentário! Ele aparecerá no site assim que for aprovado."
comment_error_msg : comment_error_msg : "Desculpe, ocorreu um erro no envio. Por favor verifique se todos os campos obrigatórios foram preenchidos e tente novamente."
loading_label : loading_label : "Carregando..."
pt-PT:
<<: *DEFAULT_PT
# Italian # Italian
# ----------------- # -----------------
@@ -312,7 +314,7 @@ it-IT:
# Chinese (zh-CN Chinese - China) # Chinese (zh-CN Chinese - China)
# ----------------- # -----------------
zh: &DEFAULT_ZH zh: &DEFAULT_ZH_HANS
page : "页面" page : "页面"
pagination_previous : "向前" pagination_previous : "向前"
pagination_next : "向后" pagination_next : "向后"
@@ -322,12 +324,12 @@ zh: &DEFAULT_ZH
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
minute_read : "分钟 阅读" minute_read : "分钟读完"
share_on_label : "分享" share_on_label : "分享"
meta_label : meta_label :
tags_label : "标签:" tags_label : "标签:"
categories_label : "分类:" categories_label : "分类:"
date_label : "最新的:" date_label : "更新时间:"
comments_label : "留下评论" comments_label : "留下评论"
comments_title : "评论" comments_title : "评论"
more_label : "了解更多" more_label : "了解更多"
@@ -351,13 +353,11 @@ zh: &DEFAULT_ZH
comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。" comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "正在加载..." loading_label : "正在加载..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH_HANS
zh-HK:
<<: *DEFAULT_ZH
zh-SG: zh-SG:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH_HANS
# Taiwan (Traditional Chinese) # Taiwan (Traditional Chinese)
zh-TW: zh-TW: &DEFAULT_ZH_HANT
page : "頁面" page : "頁面"
pagination_previous : "較舊" pagination_previous : "較舊"
pagination_next : "較新" pagination_next : "較新"
@@ -395,16 +395,17 @@ zh-TW:
comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。" comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。"
comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。" comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。"
loading_label : "載入中..." loading_label : "載入中..."
zh-HK:
<<: *DEFAULT_ZH_HANT
# German / Deutsch # German / Deutsch
# ----------------- # -----------------
de: &DEFAULT_DE de: &DEFAULT_DE
page : "Seite" page : "Seite"
pagination_previous : "Vorherige" pagination_previous : "Vorherige"
pagination_next : "Nächste" pagination_next : "Nächste"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Start"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : menu_label : "Menü ein-/ausschalten"
toc_label : "Auf dieser Seite" toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link" ext_link_label : "Direkter Link"
less_than : "weniger als" less_than : "weniger als"
@@ -414,13 +415,13 @@ de: &DEFAULT_DE
tags_label : "Tags:" tags_label : "Tags:"
categories_label : "Kategorien:" categories_label : "Kategorien:"
date_label : "Aktualisiert:" date_label : "Aktualisiert:"
comments_label : "Hinterlassen sie einen Kommentar" comments_label : "Hinterlassen Sie einen Kommentar"
comments_title : "Kommentare" comments_title : "Kommentare"
more_label : "Mehr anzeigen" more_label : "Mehr anzeigen"
related_label : "Ihnen gefällt vielleicht auch" related_label : "Ihnen gefällt vielleicht auch"
follow_label : "Folgen:" follow_label : "Folgen:"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Powered by" powered_by : "Möglich durch"
website_label : "Webseite" website_label : "Webseite"
email_label : "E-Mail" email_label : "E-Mail"
recent_posts : "Aktuelle Beiträge" recent_posts : "Aktuelle Beiträge"
@@ -429,12 +430,12 @@ de: &DEFAULT_DE
comment_form_comment_label : "Kommentar" comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown wird unterstützt." comment_form_md_info : "Markdown wird unterstützt."
comment_form_name_label : "Name" comment_form_name_label : "Name"
comment_form_email_label : "E-Mail Addresse" comment_form_email_label : "E-Mail-Addresse"
comment_form_website_label : "Webseite (optional)" comment_form_website_label : "Webseite (optional)"
comment_btn_submit : "Kommentar absenden" comment_btn_submit : "Kommentar absenden"
comment_btn_submitted : "Versendet" comment_btn_submitted : "Versendet"
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde." comment_success_msg : "Danke für Ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut." comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen Sie alle benötigten Felder aus und versuchen Sie es erneut."
loading_label : "Lade..." loading_label : "Lade..."
de-DE: de-DE:
<<: *DEFAULT_DE <<: *DEFAULT_DE
@@ -575,8 +576,408 @@ ru: &DEFAULT_RU
comment_success_msg : "Спасибо за Ваш комментарий! Он будет опубликован на сайте после проверки." comment_success_msg : "Спасибо за Ваш комментарий! Он будет опубликован на сайте после проверки."
comment_error_msg : "К сожалению, произошла ошибка с отправкой комментария. Пожалуйста, убедитесь, что все обязательные поля заполнены и попытайтесь снова." comment_error_msg : "К сожалению, произошла ошибка с отправкой комментария. Пожалуйста, убедитесь, что все обязательные поля заполнены и попытайтесь снова."
loading_label : "Отправка..." loading_label : "Отправка..."
search_placeholder_text : "Введите поисковый запрос..."
results_found : "Найдено"
ru-RU: ru-RU:
<<: *DEFAULT_RU <<: *DEFAULT_RU
# Lithuanian / Lietuviškai
# -----------------
lt: &DEFAULT_LT
page : "Puslapis"
pagination_previous : "Ankstesnis"
pagination_next : "Sekantis"
breadcrumb_home_label : "Pagrindinis"
breadcrumb_separator : "/"
menu_label : "Meniu rodymas"
toc_label : "Turinys"
ext_link_label : "Tiesioginė nuoroda"
less_than : "mažiau nei"
minute_read : "min. skaitymo"
share_on_label : "Pasidalinti"
meta_label :
tags_label : "Žymės:"
categories_label : "Kategorijos:"
date_label : "Atnaujinta:"
comments_label : "Palikti komentarą"
comments_title : "Komentaras"
more_label : "Skaityti daugiau"
related_label : "Taip pat turėtų patikti"
follow_label : "Sekti:"
feed_label : "Šaltinis"
powered_by : "Sukurta su"
website_label : "Tinklapis"
email_label : "El. paštas"
recent_posts : "Naujausi įrašai"
undefined_wpm : "Nedeklaruotas parametras words_per_minute faile _config.yml"
comment_form_info : "El. pašto adresas nebus viešinamas. Būtini laukai pažymėti."
comment_form_comment_label : "Komentaras"
comment_form_md_info : "Markdown palaikomas."
comment_form_name_label : "Vardas"
comment_form_email_label : "El. paštas"
comment_form_website_label : "Tinklapis (nebūtina)"
comment_btn_submit : "Komentuoti"
comment_btn_submitted : "Įrašytas"
comment_success_msg : "Ačiū už komentarą! Jis bus parodytas kai bus patvirtintas."
comment_error_msg : "Atleiskite, įvyko netikėta klaida įrašant komentarą. Pasitikrinkite ar užpildėte visus būtinus laukus ir pamėginkite dar kartą."
loading_label : "Kraunama..."
lt-LT:
<<: *DEFAULT_LT
# Greek
# --------------
gr: &DEFAULT_GR
page : "Σελίδα"
pagination_previous : "Προηγούμενo"
pagination_next : "Επόμενo"
breadcrumb_home_label : "Αρχική"
breadcrumb_separator : "/"
menu_label : "Μενού"
toc_label : "Περιεχόμενα"
ext_link_label : "Εξωτερικός Σύνδεσμος"
less_than : "Λιγότερο από"
minute_read : "λεπτά ανάγνωσης"
share_on_label : "Μοιραστείτε το"
meta_label :
tags_label : "Ετικέτες:"
categories_label : "Κατηγορίες:"
date_label : "Ενημερώθηκε:"
comments_label : "Αφήστε ένα σχόλιο"
comments_title : "Σχόλια"
more_label : "Διάβαστε περισσότερα"
related_label : "Σχετικές αναρτήσεις"
follow_label : "Ακολουθήστε:"
feed_label : "RSS Feed"
powered_by : "Δημιουργήθηκε με"
website_label : "Ιστοσελίδα"
email_label : "Email"
recent_posts : "Τελευταίες αναρτήσεις"
undefined_wpm : "Δεν έχει οριστεί η παράμετρος words_per_minute στο αρχείο _config.yml"
comment_form_info : "Η διεύθυνση email σας δεν θα δημοσιευθεί. Τα απαιτούμενα πεδία εμφανίζονται με αστερίσκο"
comment_form_comment_label : "Σχόλιο"
comment_form_md_info : "Το πεδίο υποστηρίζει Markdown."
comment_form_name_label : "Όνομα"
comment_form_email_label : "Διεύθυνση email"
comment_form_website_label : "Ιστοσελίδα (προαιρετικό)"
comment_btn_submit : "Υπόβαλε ένα σχόλιο"
comment_btn_submitted : "Έχει υποβληθεί"
comment_success_msg : "Ευχαριστούμε για το σχόλιό σας! Θα εμφανιστεί στην ιστοσελίδα αφού εγκριθεί."
comment_error_msg : "Λυπούμαστε, παρουσιάστηκε σφάλμα με την υποβολή σας. Παρακαλούμε βεβαιωθείτε ότι έχετε όλα τα απαιτούμενα πεδία συμπληρωμένα και δοκιμάστε ξανά."
loading_label : "Φόρτωση..."
search_placeholder_text : "Εισάγετε όρο αναζήτησης..."
results_found : "Αποτελέσματα"
gr-GR:
<<: *DEFAULT_GR
# Swedish
# -----------------
sv: &DEFAULT_SV
page : "Sidan"
pagination_previous : "Föregående"
pagination_next : "Nästa"
breadcrumb_home_label : "Hem"
breadcrumb_separator : "/"
menu_label : "Meny ridå"
toc_label : "På denna sida"
ext_link_label : "Direkt länk"
less_than : "mindre än"
minute_read : "minut läsning"
share_on_label : "Dela på"
meta_label :
tags_label : "Taggar:"
categories_label : "Kategorier:"
date_label : "Uppdaterades:"
comments_label : "Lämna en kommentar"
comments_title : "Kommentarer"
more_label : "Lär dig mer"
related_label : "Du kanske vill även läsa:"
follow_label : "Följ:"
feed_label : "Flöde"
powered_by : "Framställd med"
website_label : "Webbsida"
email_label : "E-post"
recent_posts : "Senaste inlägg"
undefined_wpm : "Odefinerade parametrar words_per_minute i _config.yml"
comment_form_info : "Din e-post adress kommer inte att publiceras. Obligatoriska fält är markerade."
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Använd Markdown för text-formateringen."
comment_form_name_label : "Namn"
comment_form_email_label : "E-post adress"
comment_form_website_label : "Webdsida (valfritt)"
comment_btn_submit : "Skicka en kommentar"
comment_btn_submitted : "Kommentaren har tagits emot"
comment_success_msg : "Tack för din kommentar! Den kommer att visas på sidan så fort den har godkännts."
comment_error_msg : "Tyvärr det har blivit något fel i en av fälten, se till att du fyller i alla rutor och försök igen."
loading_label : "Laddar..."
sv-SE:
<<: *DEFAULT_SV
sv-FI:
<<: *DEFAULT_SV
# Dutch
# -----------------
nl: &DEFAULT_NL
page : "Pagina"
pagination_previous : "Vorige"
pagination_next : "Volgende"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Wissel Menu"
toc_label : "Op deze pagina"
ext_link_label : "Directe Link"
less_than : "minder dan"
minute_read : "minuut gelezen"
share_on_label : "Deel op"
meta_label :
tags_label : "Labels:"
categories_label : "Categorieën:"
date_label : "Bijgewerkt:"
comments_label : "Laat een reactie achter"
comments_title : "Commentaren"
more_label : "Meer informatie"
related_label : "Bekijk ook eens"
follow_label : "Volg:"
feed_label : "Feed"
powered_by : "Aangedreven door"
website_label : "Website"
email_label : "Email"
recent_posts : "Recente berichten"
undefined_wpm : "Niet gedefinieerde parameter words_per_minute bij _config.yml"
comment_form_info : "Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd"
comment_form_comment_label : "Commentaar"
comment_form_md_info : "Markdown wordt ondersteund."
comment_form_name_label : "Naam"
comment_form_email_label : "E-mailadres"
comment_form_website_label : "Website (optioneel)"
comment_btn_submit : "Commentaar toevoegen"
comment_btn_submitted : "Toegevoegd"
comment_success_msg : "Bedankt voor uw reactie! Het zal op de site worden weergegeven zodra het is goedgekeurd."
comment_error_msg : "Sorry, er is een fout opgetreden bij uw inzending. Zorg ervoor dat alle vereiste velden zijn voltooid en probeer het opnieuw."
loading_label : "Laden..."
nl-BE:
<<: *DEFAULT_NL
nl-NL:
<<: *DEFAULT_NL
# Indonesian
# -----------------
id: &DEFAULT_ID
page : "Halaman"
pagination_previous : "Kembali"
pagination_next : "Maju"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Menu Toggle"
toc_label : "Pada Halaman Ini"
ext_link_label : "Link langsung"
less_than : "Kurang dari"
minute_read : "Waktu baca"
share_on_label : "Berbagi di"
meta_label :
tags_label : "Golongan:"
categories_label : "Kategori:"
date_label : "Diupdate:"
comments_label : "Tinggalkan komentar"
comments_title : "Komentar"
more_label : "Pelajari lagi"
related_label : "Anda juga akan suka"
follow_label : "Ikuti:"
feed_label : "Feed"
powered_by : "Didukung oleh"
website_label : "Website"
email_label : "Email"
recent_posts : "Posting terbaru"
undefined_wpm : "Parameter terdeskripsi words_per_minute di _config.yml"
comment_form_info : "Email Anda tidak akan dipublish. Kolom yang diperlukan ditandai"
comment_form_comment_label : "Komentar"
comment_form_md_info : "Markdown disupport."
comment_form_name_label : "Nama"
comment_form_email_label : "Alamat email"
comment_form_website_label : "Website (opsional)"
comment_btn_submit : "Submit Komentar"
comment_btn_submitted : "Telah disubmit"
comment_success_msg : "Terimakasih atas komentar Anda! Komentar ini akan tampil setelah disetujui."
comment_error_msg : "Maaf, ada kesalahan pada submisi Anda. Pastikan seluruh kolom sudah dilengkapi dan coba kembali."
loading_label : "Sedang meload..."
id-ID:
<<: *DEFAULT_ID
# Vietnamese
# -----------------
vi: &DEFAULT_VI
page : "Trang"
pagination_previous : "Trước"
pagination_next : "Sau"
breadcrumb_home_label : "Trang chủ"
breadcrumb_separator : "/"
menu_label : "Menu"
toc_label : "Tại trang này"
ext_link_label : "Đường dẫn trực tiếp"
less_than : "nhỏ hơn"
minute_read : "phút đọc"
share_on_label : "Chia sẻ tại"
meta_label :
tags_label : "Nhãn:"
categories_label : "Chủ đề:"
date_label : "Cập nhật:"
comments_label : "Để lại bình luận"
comments_title : "Bình luận"
more_label : "Mở rộng"
related_label : "Có thể bạn cũng thích"
follow_label : "Theo dõi:"
feed_label : "Feed"
powered_by : "Được hỗ trợ bởi"
website_label : "Website"
email_label : "Email"
recent_posts : "Bài viết mới"
undefined_wpm : "Chưa định nghĩa thông số words_per_minute tại _config.yml"
comment_form_info : "Email của bạn sẽ được giữ bí mật. Các phần bắt buộc được đánh dấu."
comment_form_comment_label : "Bình luận"
comment_form_md_info : "Hỗ trợ Markdown."
comment_form_name_label : "Tên"
comment_form_email_label : "Địa chỉ email"
comment_form_website_label : "Website (không bắt buộc)"
comment_btn_submit : "Gửi bình luận"
comment_btn_submitted : "Đã được gửi"
comment_success_msg : "Cảm ơn bạn đã bình luận! Bình luận sẽ xuất hiện sau khi được duyệt."
comment_error_msg : "Rất tiếc, có lỗi trong việc gửi bình luận. Hãy đảm bảo toàn bộ các phần bắt buộc đã được điền đầy đủ và thử lại."
loading_label : "Đang tải..."
vi-VN:
<<: *DEFAULT_VI
# Danish
# ------
da: &DEFAULT_DA
page : "Side"
pagination_previous : "Forrige"
pagination_next : "Næste"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label : "Vis/skjul menu"
toc_label : "På denne side"
ext_link_label : "Direkte link"
less_than : "mindre end"
minute_read : "minutters læsning"
share_on_label : "Del på"
meta_label :
tags_label : "Nøgleord:"
categories_label : "Kategorier:"
date_label : "Opdateret:"
comments_label : "Skriv en kommentar"
comments_title : "Kommentarer"
more_label : "Lær mere"
related_label : "Måske kan du også lide"
follow_label : "Følg:"
feed_label : "Feed"
powered_by : "Drives af"
website_label : "Website"
email_label : "E-mail"
recent_posts : "Seneste indlæg"
undefined_wpm : "Parameteren words_per_minute er ikke defineret i _config.yml"
comment_form_info : "Din e-mail bliver ikke offentliggjort. Obligatoriske felter er markeret"
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown er understøttet."
comment_form_name_label : "Navn"
comment_form_email_label : "E-mail"
comment_form_website_label : "Website (frivillig)"
comment_btn_submit : "Send kommentar"
comment_btn_submitted : "Sendt"
comment_success_msg : "Tak for din kommentar! Den bliver vist på siden, så snart den er godkendt."
comment_error_msg : "Desværre skete der en fejl. Prøv igen, mens du sørger for at alle obligatoriske felter er udfyldt."
loading_label : "Indlæser..."
search_placeholder_text : "Hvad leder du efter..."
results_found : "Resultat(er) fundet"
da-DK:
<<: *DEFAULT_DA
# Polish
# ------
pl: &DEFAULT_PL
page : "Strona"
pagination_previous : "Poprzednia"
pagination_next : "Następna"
breadcrumb_home_label : "Strona główna"
breadcrumb_separator : "/"
menu_label : "Przełącz menu"
toc_label : "Spis treści"
ext_link_label : "Link bezpośredni"
less_than : "mniej niż"
minute_read : "minut(y)"
share_on_label : "Udostępnij"
meta_label :
tags_label : "Tagi:"
categories_label : "Kategorie:"
date_label : "Ostatnia aktualizacja:"
comments_label : "Zostaw komentarz"
comments_title : "Komentarze"
more_label : "Dowiedz się więcej"
related_label : "Także może Ci się spodobać"
follow_label : "Śledź:"
feed_label : "Feed"
powered_by : "Powstało dzięki"
website_label : "Strona"
email_label : "Email"
recent_posts : "Najnowsze wpisy"
undefined_wpm : "Parametr words_per_minute nie został zdefiniowany w _config.yml."
comment_form_info : "Twój adres email nie będzie udostępiony. Wymagane pola są oznaczone."
comment_form_comment_label : "Skomentuj"
comment_form_md_info : "Markdown jest wspierany"
comment_form_name_label : "Imię"
comment_form_email_label : "Adres email"
comment_form_website_label : "Strona www (opcjonalna)"
comment_btn_submit : "Skomentuj"
comment_btn_submitted : "Komentarz dodany"
comment_success_msg : "Dziękuję za Twój komentarz! Zostanie dodany po akceptacji."
comment_error_msg : "Niestety wystąpił błąd. Proszę upewnij się, że wszystkie wymagane pola zostały wypełnione i spróbuj ponownie."
loading_label : "Trwa ładowanie strony..."
da-PL:
<<: *DEFAULT_PL
# Japanese
# -----------------
ja: &DEFAULT_JA
page : "ページ"
pagination_previous : "前へ"
pagination_next : "次へ"
breadcrumb_home_label : "ホーム"
breadcrumb_separator : "/"
menu_label : "メニュー"
toc_label : "目次"
ext_link_label : "リンク"
less_than :
minute_read :
share_on_label : "共有"
meta_label :
tags_label : "タグ:"
categories_label : "カテゴリー:"
date_label : "更新日時:"
comments_label : "コメントする"
comments_title : "コメント"
more_label : "さらに詳しく"
related_label : "関連記事"
follow_label : "フォロー"
feed_label :
powered_by :
website_label :
email_label :
recent_posts : "最近の投稿"
undefined_wpm : "パラメータ words_per_minute が _config.yml で定義されていません"
comment_form_info : "メールアドレスが公開されることはありません。次の印のある項目は必ず入力してください:"
comment_form_comment_label : "コメント"
comment_form_md_info : "Markdown を使用できます"
comment_form_name_label : "名前"
comment_form_email_label : "メールアドレス"
comment_form_website_label : "URL (任意)"
comment_btn_submit : "コメントを送信する"
comment_btn_submitted : "送信しました"
comment_success_msg : "コメントありがとうございます! コメントは承認されるとページに表示されます。"
comment_error_msg : "送信エラーです。必須項目がすべて入力されていることを確認して再送信してください。"
loading_label : "読み込み中..."
search_placeholder_text : "検索キーワードを入力してください..."
results_found : "件"
ja-JP:
<<: *DEFAULT_JA
# Another locale # Another locale
# -------------- # --------------
#
+1 -1
View File
@@ -1,4 +1,4 @@
{% if site.analytics.provider and page.analytics != false %} {% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
{% case site.analytics.provider %} {% case site.analytics.provider %}
{% when "google" %} {% when "google" %}
+2 -2
View File
@@ -25,13 +25,13 @@
{% endif %} {% endif %}
<h2 class="archive__item-title" itemprop="headline"> <h2 class="archive__item-title" itemprop="headline">
{% if post.link %} {% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a> <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
{% else %} {% else %}
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
{% endif %} {% endif %}
</h2> </h2>
{% if post.read_time %} {% if post.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %} {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article> </article>
+1 -1
View File
@@ -1,7 +1,7 @@
<!-- <!--
<li> <li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs"> <a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link <i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a> </a>
</li> </li>
--> -->
+57 -35
View File
@@ -1,23 +1,37 @@
{% if page.author and site.data.authors[page.author] %} {% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[page.author] %} {% assign author = site.data.authors[author] | default: author %}
{% else %}
{% assign author = site.author %}
{% endif %}
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image"> {% assign author_src = author.avatar %}
{% else %} {% else %}
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image"> {% assign author_src = author.avatar | absolute_url %}
{% endif %}
{% if author.home %}
{% if author.home contains "://" %}
{% assign author_link = author.home %}
{% else %}
{% assign author_link = author.home | absolute_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
</a>
{% else %}
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="author__content"> <div class="author__content">
<h3 class="author__name" itemprop="name">{{ author.name }}</h3> {% if author.home %}
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
{% else %}
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %}
{% if author.bio %} {% if author.bio %}
<p class="author__bio" itemprop="description"> <p class="author__bio" itemprop="description">
{{ author.bio }} {{ author.bio }}
@@ -30,14 +44,14 @@
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place"> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span> <i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
</li> </li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li> <li>
<a href="{{ author.uri }}" itemprop="url"> <a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }} <i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -46,7 +60,7 @@
<li> <li>
<a href="mailto:{{ author.email }}"> <a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" /> <meta itemprop="email" content="{{ author.email }}" />
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }} <i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -54,7 +68,7 @@
{% if author.keybase %} {% if author.keybase %}
<li> <li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs"> <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
<i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase <i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -62,7 +76,7 @@
{% if author.twitter %} {% if author.twitter %}
<li> <li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs"> <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter <i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -70,15 +84,15 @@
{% if author.facebook %} {% if author.facebook %}
<li> <li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs"> <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook <i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if author.google_plus %} {% if author.google_plus %}
<li> <li>
<a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs"> <a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs">
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+ <i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -86,7 +100,7 @@
{% if author.linkedin %} {% if author.linkedin %}
<li> <li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs"> <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -94,7 +108,7 @@
{% if author.xing %} {% if author.xing %}
<li> <li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs"> <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING <i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -102,7 +116,7 @@
{% if author.instagram %} {% if author.instagram %}
<li> <li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs"> <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram <i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -110,7 +124,7 @@
{% if author.tumblr %} {% if author.tumblr %}
<li> <li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs"> <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr <i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -118,7 +132,7 @@
{% if author.bitbucket %} {% if author.bitbucket %}
<li> <li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs"> <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -126,7 +140,15 @@
{% if author.github %} {% if author.github %}
<li> <li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs"> <a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub <i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
</a>
</li>
{% endif %}
{% if author.gitlab %}
<li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -134,7 +156,7 @@
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li> <li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs"> <a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow <i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -142,7 +164,7 @@
{% if author.lastfm %} {% if author.lastfm %}
<li> <li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs"> <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm <i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -150,7 +172,7 @@
{% if author.dribbble %} {% if author.dribbble %}
<li> <li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs"> <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble <i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -158,7 +180,7 @@
{% if author.pinterest %} {% if author.pinterest %}
<li> <li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs"> <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest <i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -166,7 +188,7 @@
{% if author.foursquare %} {% if author.foursquare %}
<li> <li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs"> <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare <i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -174,7 +196,7 @@
{% if author.steam %} {% if author.steam %}
<li> <li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs"> <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam <i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -183,13 +205,13 @@
{% if author.youtube contains "://" %} {% if author.youtube contains "://" %}
<li> <li>
<a href="{{ author.youtube }}" itemprop="sameAs"> <a href="{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube <i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
</a> </a>
</li> </li>
{% else author.youtube %} {% else author.youtube %}
<li> <li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs"> <a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube <i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -198,7 +220,7 @@
{% if author.soundcloud %} {% if author.soundcloud %}
<li> <li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs"> <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud <i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -206,7 +228,7 @@
{% if author.weibo %} {% if author.weibo %}
<li> <li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs"> <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo <i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -214,7 +236,7 @@
{% if author.flickr %} {% if author.flickr %}
<li> <li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs"> <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr <i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -222,7 +244,7 @@
{% if author.codepen %} {% if author.codepen %}
<li> <li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs"> <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen <i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -230,7 +252,7 @@
{% if author.vine %} {% if author.vine %}
<li> <li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs"> <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine <i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
</a> </a>
</li> </li>
{% endif %} {% endif %}
+3 -3
View File
@@ -1,4 +1,4 @@
{% case site.categories.type %} {% case site.category_archive.type %}
{% when "liquid" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
{% when "jekyll-archives" %} {% when "jekyll-archives" %}
@@ -9,7 +9,7 @@
{% assign path_type = nil %} {% assign path_type = nil %}
{% assign crumb_path = '/' %} {% assign crumb_path = '/' %}
{% else %} {% else %}
{% assign crumb_path = site.categories.path %} {% assign crumb_path = site.category_archive.path %}
{% endif %} {% endif %}
<nav class="breadcrumbs"> <nav class="breadcrumbs">
@@ -36,4 +36,4 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ol> </ol>
</nav> </nav>
+2 -2
View File
@@ -1,3 +1,3 @@
<!--[if lt IE 9]> <!--[if lt IE 9]>
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div> <div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
<![endif]--> <![endif]-->
+2 -2
View File
@@ -11,10 +11,10 @@
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %} {% endcomment %}
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign category_hashes = (page_categories | split: ',' | sort:0) %} {% assign category_hashes = page_categories | split: ',' | sort %}
<p class="page__taxonomy"> <p class="page__taxonomy">
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong> <strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
<span itemprop="keywords"> <span itemprop="keywords">
{% for hash in category_hashes %} {% for hash in category_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
+2 -2
View File
@@ -1,6 +1,6 @@
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment"> <article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper"> <div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80"> <img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
</div> </div>
<div class="comment__content-wrapper"> <div class="comment__content-wrapper">
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person"> <h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -19,4 +19,4 @@
</p> </p>
<div itemprop="text">{{ include.message | markdownify }}</div> <div itemprop="text">{{ include.message | markdownify }}</div>
</div> </div>
</article> </article>
+13 -20
View File
@@ -1,22 +1,15 @@
{% if site.comments.disqus.shortname %} {% if site.comments.disqus.shortname %}
<script type="text/javascript"> <script>
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_config = function () {
var disqus_shortname = '{{ site.comments.disqus.shortname }}'; this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
/* * * DON'T EDIT BELOW THIS LINE * * */ };
(function() { (function() { // DON'T EDIT BELOW THIS LINE
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var d = document, s = d.createElement('script');
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); s.setAttribute('data-timestamp', +new Date());
})(); (d.head || d.body).appendChild(s);
})();
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</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="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %} {% endif %}
+14 -14
View File
@@ -1,18 +1,18 @@
{% if site.comments.provider and page.comments %} {% if site.comments.provider and page.comments %}
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "disqus" %} {% when "disqus" %}
{% include /comments-providers/disqus.html %} {% include /comments-providers/disqus.html %}
{% when "discourse" %} {% when "discourse" %}
{% include /comments-providers/discourse.html %} {% include /comments-providers/discourse.html %}
{% when "facebook" %} {% when "facebook" %}
{% include /comments-providers/facebook.html %} {% include /comments-providers/facebook.html %}
{% when "google-plus" %} {% when "google-plus" %}
{% include /comments-providers/google-plus.html %} {% include /comments-providers/google-plus.html %}
{% when "staticman" %} {% when "staticman" %}
{% include /comments-providers/staticman.html %} {% include /comments-providers/staticman.html %}
{% when "custom" %} {% when "staticman_v2" %}
{% include /comments-providers/custom.html %} {% include /comments-providers/staticman_v2.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% endcase %} {% endcase %}
{% endif %} {% endif %}
+1 -1
View File
@@ -7,7 +7,7 @@
var form = this; var form = this;
$(form).addClass('disabled'); $(form).addClass('disabled');
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}'); $('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
$.ajax({ $.ajax({
type: $(this).attr('method'), type: $(this).attr('method'),
@@ -7,7 +7,7 @@
var form = this; var form = this;
$(form).addClass('disabled'); $(form).addClass('disabled');
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}'); $('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
$.ajax({ $.ajax({
type: $(this).attr('method'), type: $(this).attr('method'),
+162 -76
View File
@@ -1,83 +1,169 @@
<div class="page__comments"> <div class="page__comments">
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %} {% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "discourse" %} {% when "discourse" %}
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="discourse-comments"></section> <section id="discourse-comments"></section>
{% when "disqus" %} {% when "disqus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="disqus_thread"></section> <section id="disqus_thread"></section>
{% when "facebook" %} {% when "facebook" %}
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section> <section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
{% when "google-plus" %} {% when "google-plus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> <section id="g-comments" class="g-comments">Loading Google+ Comments ...</section>
{% when "staticman" %} <script>
<section id="static-comments"> function initComment() {
{% if site.repository and site.staticman.branch %} gapi.comments.render("g-comments", {
<!-- Start static comments --> href: "{{ page.url | absolute_url }}",
<div class="js-comments"> width: "624",
{% if site.data.comments[page.slug] %} first_party_property: "BLOGGER",
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4> view_type: "FILTERED_POSTMOD"
{% assign comments = site.data.comments[page.slug] | sort %} })
}
</script>
<script async type="text/javascript" src="https://apis.google.com/js/plusone.js" onload="initComment()" />
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>-->
{% when "staticman_v2" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% for comment in comments %} {% for comment in comments %}
{% assign email = comment[1].email %} {% assign email = comment[1].email %}
{% assign name = comment[1].name %} {% assign name = comment[1].name %}
{% assign url = comment[1].url %} {% assign url = comment[1].url %}
{% assign date = comment[1].date %} {% assign date = comment[1].date %}
{% assign message = comment[1].message %} {% assign message = comment[1].message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %} {% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div>
<!-- End static comments -->
<!-- Start new comment form -->
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
<div class="form__spinner">
<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</div> </div>
<!-- End static comments -->
<fieldset> <!-- Start new comment form -->
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label> <div class="page__comments-form">
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea> <h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div> <p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
</fieldset> <form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v2/entry/{{ site.repository }}/{{ site.staticman.branch }}/comments">
<fieldset> <div class="form__spinner">
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label> <i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" /> <span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</fieldset> </div>
<fieldset>
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label> <div class="form-group">
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" /> <label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
</fieldset> <textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
<fieldset> <div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label> </div>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/> <div class="form-group">
</fieldset> <label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
<fieldset class="hidden" style="display: none;"> <input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
<input type="hidden" name="options[slug]" value="{{ page.slug }}"> </div>
<label for="comment-form-location">Not used. Leave blank if you are a human.</label> <div class="form-group">
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/> <label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
</fieldset> <input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
<!-- Start comment form alert messaging --> </div>
<p class="hidden js-notice"> <div class="form-group">
<strong class="js-notice-text"></strong> <label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
</p> <input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
<!-- End comment form alert messaging --> </div>
<fieldset> <div class="form-group hidden" style="display: none;">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button> <input type="hidden" name="options[slug]" value="{{ page.slug }}">
</fieldset> <label for="comment-form-location">Not used. Leave blank if you are a human.</label>
</form> <input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
<!-- End new comment form --> <input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">
{% endif %} <input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">
</section> </div>
{% when "custom" %} <!-- Start comment form alert messaging -->
<section id="custom-comments"></section> <p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
</div>
<div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</div>
</form>
</div>
<!-- End new comment form -->
{% if site.reCaptcha.siteKey %}<script async src="https://www.google.com/recaptcha/api.js"></script>{% endif %}
{% endif %}
</section>
{% when "staticman" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
{% assign comments = site.data.comments[page.slug] | sort %}
{% for comment in comments %}
{% assign email = comment[1].email %}
{% assign name = comment[1].name %}
{% assign url = comment[1].url %}
{% assign date = comment[1].date %}
{% assign message = comment[1].message %}
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
{% endfor %}
{% endif %}
</div>
<!-- End static comments -->
<!-- Start new comment form -->
<div class="page__comments-form">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
<div class="form__spinner">
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
</div>
<div class="form-group">
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
</div>
<div class="form-group">
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
</div>
<div class="form-group">
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
</div>
<div class="form-group">
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</div>
<div class="form-group hidden" style="display: none;">
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
</div>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<div class="form-group">
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
</div>
</form>
</div>
<!-- End new comment form -->
{% endif %}
</section>
{% when "custom" %}
<section id="custom-comments"></section>
{% endcase %} {% endcase %}
</div> </div>
+1 -1
View File
@@ -1,5 +1,5 @@
{% if include.id %} {% if include.id %}
{% assign feature_row = page.[include.id] %} {% assign feature_row = page[include.id] %}
{% else %} {% else %}
{% assign feature_row = page.feature_row %} {% assign feature_row = page.feature_row %}
{% endif %} {% endif %}
+9 -6
View File
@@ -4,19 +4,22 @@
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li> <li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
{% endif %} {% endif %}
{% if site.twitter.username %} {% if site.twitter.username %}
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
{% endif %} {% endif %}
{% if site.facebook.username %} {% if site.facebook.username %}
<li><a href="https://facebook.com/{{ site.facebook.username }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li> <li><a href="https://www.facebook.com/{{ site.facebook.username }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
{% endif %} {% endif %}
{% if site.author.github %} {% if site.author.github %}
<li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li> <li><a href="https://github.com/{{ site.author.github }}"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
{% endif %}
{% if site.author.gitlab %}
<li><a href="https://gitlab.com/{{ site.author.gitlab }}"><i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
{% endif %} {% endif %}
{% if site.author.bitbucket %} {% if site.author.bitbucket %}
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li> <li><a href="https://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
{% endif %} {% endif %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li> <li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
</ul> </ul>
</div> </div>
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div> <div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
+1 -1
View File
@@ -1,5 +1,5 @@
{% if include.id %} {% if include.id %}
{% assign gallery = page.[include.id] %} {% assign gallery = page[include.id] %}
{% else %} {% else %}
{% assign gallery = page.gallery %} {% assign gallery = page.gallery %}
{% endif %} {% endif %}
+1 -1
View File
@@ -18,7 +18,7 @@
<!-- Uniq --> <!-- Uniq -->
{% assign __names = __names | sort %} {% assign __names = __names | sort %}
{% for name in __names | sort %} {% for name in __names %}
<!-- If not equal to previous then it must be unique as sorted --> <!-- If not equal to previous then it must be unique as sorted -->
{% unless name == previous %} {% unless name == previous %}
+10 -1
View File
@@ -31,4 +31,13 @@
</style> </style>
<![endif]--> <![endif]-->
<meta http-equiv="cleartype" content="on"> {% if site.head_scripts %}
{% for script in site.head_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | absolute_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% endif %}
+14 -2
View File
@@ -10,10 +10,22 @@
{% else %} {% else %}
{% assign domain = site.url | append: site.baseurl %} {% assign domain = site.url | append: site.baseurl %}
{% endif %} {% endif %}
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li> <li class="masthead__menu-item">
<a href="{{ domain }}{{ link.url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
</li>
{% endfor %} {% endfor %}
</ul> </ul>
<button><div class="navicon"></div></button> {% if site.search == true %}
<button class="search__toggle" type="button">
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
</svg>
</button>
{% endif %}
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
<div class="navicon"></div>
</button>
<ul class="hidden-links hidden"></ul> <ul class="hidden-links hidden"></ul>
</nav> </nav>
</div> </div>
+11 -3
View File
@@ -22,6 +22,14 @@
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %} {% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
{% endif %} {% endif %}
{% if page.header.image_description %}
{% assign image_description = page.header.image_description %}
{% else %}
{% assign image_description = page.title %}
{% endif %}
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}" <div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}" style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
> >
@@ -34,18 +42,18 @@
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }} {{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
{% endif %} {% endif %}
</h1> </h1>
{% if page.excerpt %} {% if page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p> <p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %} {% endif %}
{% if site.read_time and page.read_time %} {% if site.read_time and page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
{% if page.header.cta_url %} {% if page.header.cta_url %}
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p> <p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %} {% endif %}
</div> </div>
{% else %} {% else %}
<img src="{{ img_path }}" alt="{{ page.title }}" class="page__hero-image"> <img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
{% endif %} {% endif %}
{% if page.header.caption %} {% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span> <span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
+1 -1
View File
@@ -60,7 +60,7 @@
{% comment %} Link next page {% endcomment %} {% comment %} Link next page {% endcomment %}
{% if paginator.next_page %} {% if paginator.next_page %}
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li></a></li> <li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
{% else %} {% else %}
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li> <li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
{% endif %} {% endif %}
+23 -1
View File
@@ -1,4 +1,26 @@
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script> {% if site.footer_scripts %}
{% for script in site.footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | absolute_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
{% include search/lunr-search-scripts.html %}
{%- when "algolia" -%}
{% include search/algolia-search-scripts.html %}
{%- endcase -%}
{% endif %}
{% include analytics.html %} {% include analytics.html %}
{% include /comments-providers/scripts.html %} {% include /comments-providers/scripts.html %}
@@ -0,0 +1,54 @@
<!-- Including InstantSearch.js library and styling -->
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
<script>
// Instanciating InstantSearch.js with Algolia credentials
const search = instantsearch({
appId: '{{ site.algolia.application_id }}',
apiKey: '{{ site.algolia.search_only_api_key }}',
indexName: '{{ site.algolia.index_name }}',
searchParameters: {
restrictSearchableAttributes: [
'title',
'content'
]
}
});
const hitTemplate = function(hit) {
const url = hit.url;
const title = hit._highlightResult.title.value;
const content = hit._highlightResult.html.value;
return `
<div class="list__item">
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
<div class="archive__item-excerpt" itemprop="description">${content}</div>
</article>
</div>
`;
}
// Adding searchbar and results widgets
search.addWidget(
instantsearch.widgets.searchBox({
container: '.search-searchbar',
{% unless site.algolia.powered_by == false %}poweredBy: true,{% endunless %}
placeholder: '{{ site.data.ui-text[site.locale].search_placeholder_text | default: "Enter your search term..." }}'
})
);
search.addWidget(
instantsearch.widgets.hits({
container: '.search-hits',
templates: {
item: hitTemplate
}
})
);
// Starting the search
search.start();
</script>
+10
View File
@@ -0,0 +1,10 @@
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
{% case lang %}
{% when "gr" %}
{% assign lang = "gr" %}
{% else %}
{% assign lang = "en" %}
{% endcase %}
<script src="{{ '/assets/js/lunr/lunr.min.js' | absolute_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
+11
View File
@@ -0,0 +1,11 @@
<div class="search-content__inner-wrap">
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
+88 -69
View File
@@ -1,82 +1,111 @@
<!-- begin SEO --> <!-- begin _includes/seo.html -->
{% if site.url %} {%- if site.url -%}
{% assign seo_url = site.url | append: site.baseurl %} {%- assign seo_url = site.url | append: site.baseurl -%}
{% endif %} {%- endif -%}
{% assign seo_url = seo_url | default: site.github.url %} {%- assign seo_url = seo_url | default: site.github.url -%}
{% if page.title %} {% if site.title_separator %}
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %} {% assign title_separator = site.title_separator | default: '-' | replace: '|', '&#124;' %}
{% endif %} {% endif %}
{% if seo_title %} {%- if page.title -%}
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %} {%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
{% endif %} {%- endif -%}
{% if site.url %} {%- if seo_title -%}
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %} {%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
{% endif %} {%- endif -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title> {%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
{% assign seo_description = page.description | default: page.excerpt | default: site.description %} {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{% if seo_description %} {%- if seo_description -%}
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %} {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{% endif %} {%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
{%- assign author = site.data.authors[author] | default: author -%}
{%- if author.twitter -%}
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
{%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
{%- unless page_teaser_image contains '://' -%}
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
{%- endunless -%}
{%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image -%}
{%- unless site_og_image contains '://' -%}
{%- assign site_og_image = site_og_image | absolute_url -%}
{%- endunless -%}
{%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%}
{%- assign og_type = "article" -%}
{%- else -%}
{%- assign og_type = "website" -%}
{%- endif -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<meta name="description" content="{{ seo_description }}"> <meta name="description" content="{{ seo_description }}">
{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %} {% if author.name %}
{% if seo_author %} <meta name="author" content="{{ author.name | default: author }}">
{% if seo_author.twitter %}
{% assign seo_author_twitter = seo_author.twitter %}
{% else %}
{% if site.data.authors and site.data.authors[seo_author] %}
{% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
{% else %}
{% assign seo_author_twitter = seo_author %}
{% endif %}
{% endif %}
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% endif %} {% endif %}
<meta name="author" content="{{ seo_author }}"> <meta property="og:type" content="{{ og_type }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
<meta property="og:site_name" content="{{ site.title }}"> <meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}"> <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta property="og:url" content="{{ canonical_url }}">
{% if seo_url %}
<link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
<meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
{% endif %}
{% if page.excerpt %} {% if page.excerpt %}
<meta property="og:description" content="{{ seo_description }}"> <meta property="og:description" content="{{ seo_description }}">
{% endif %} {% endif %}
{% if page_large_image %}
<meta property="og:image" content="{{ page_large_image }}">
{% elsif page_teaser_image %}
<meta property="og:image" content="{{ page_teaser_image }}">
{% endif %}
{% if site.twitter.username %} {% if site.twitter.username %}
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}"> <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}"> <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta name="twitter:description" content="{{ seo_description }}"> <meta name="twitter:description" content="{{ seo_description }}">
<meta name="twitter:url" content="{{ canonical_url }}"> <meta name="twitter:url" content="{{ canonical_url }}">
{% if page.header.image %} {% if page_large_image %}
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}"> <meta name="twitter:image" content="{{ page_large_image }}">
{% else %} {% else %}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
{% if page.header.teaser %} {% if page_teaser_image %}
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}"> <meta name="twitter:image" content="{{ page_teaser_image }}">
{% elsif site.og_image %}
<meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if seo_author_twitter %} {% if author_twitter %}
<meta name="twitter:creator" content="@{{ seo_author_twitter }}"> <meta name="twitter:creator" content="@{{ author_twitter }}">
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
{% if og_type == "article" and page.last_modified_at %}
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
{% endif %}
{% if site.facebook %} {% if site.facebook %}
{% if site.facebook.publisher %} {% if site.facebook.publisher %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}"> <meta property="article:publisher" content="{{ site.facebook.publisher }}">
@@ -87,26 +116,13 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if page.header.image %} <link rel="canonical" href="{{ canonical_url }}">
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
{% elsif page.header.overlay_image %}
<meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
{% elsif page.header.teaser %}
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
{% elsif site.og_image %}
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
{% endif %}
{% if page.date %}
<meta property="og:type" content="article">
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
{% if paginator.previous_page %} {% if paginator.previous_page %}
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}"> <link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
{% endif %} {% endif %}
{% if paginator.next_page %} {% if paginator.next_page %}
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}"> <link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
{% endif %} {% endif %}
{% if site.og_image %} {% if site.og_image %}
@@ -115,7 +131,7 @@
"@context": "http://schema.org", "@context": "http://schema.org",
"@type": "Organization", "@type": "Organization",
"url": {{ seo_url | jsonify }}, "url": {{ seo_url | jsonify }},
"logo": {{ site.og_image | absolute_url | jsonify }} "logo": {{ site_og_image | jsonify }}
} }
</script> </script>
{% endif %} {% endif %}
@@ -123,11 +139,11 @@
{% if site.social %} {% if site.social %}
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context" : "http://schema.org", "@context": "http://schema.org",
"@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}", "@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
"name" : "{{ site.social.name | default: site.name }}", "name": {{ site.social.name | default: site.name | jsonify }},
"url" : {{ seo_url | jsonify }}, "url": {{ seo_url | jsonify }},
"sameAs" : {{ site.social.links | jsonify }} "sameAs": {{ site.social.links | jsonify }}
} }
</script> </script>
{% endif %} {% endif %}
@@ -144,4 +160,7 @@
{% if site.yandex_site_verification %} {% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}"> <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %} {% endif %}
<!-- end SEO --> {% if site.naver-site-verification %}
<meta name="naver-site-verification" content="{{ site.naver-site-verification }}">
{% endif %}
<!-- end _includes/seo.html -->
+4 -4
View File
@@ -3,11 +3,11 @@
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4> <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
{% endif %} {% endif %}
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a> <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a> <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a> <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a> <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section> </section>
+2 -2
View File
@@ -11,10 +11,10 @@
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ --> <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %} {% endcomment %}
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %} {% assign tag_hashes = page_tags | split: ',' | sort %}
<p class="page__taxonomy"> <p class="page__taxonomy">
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong> <strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
<span itemprop="keywords"> <span itemprop="keywords">
{% for hash in tag_hashes %} {% for hash in tag_hashes %}
{% assign keyValue = hash | split: '#' %} {% assign keyValue = hash | split: '#' %}
+1 -1
View File
@@ -1,6 +1,6 @@
<aside class="sidebar__right"> <aside class="sidebar__right">
<nav class="toc" markdown="1"> <nav class="toc" markdown="1">
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header> <header><h4 class="nav__title"><i class="fas fa-{{ include.icon | default: 'file-alt' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
* Auto generated table of contents * Auto generated table of contents
{:toc .toc__menu} {:toc .toc__menu}
</nav> </nav>
+75
View File
@@ -0,0 +1,75 @@
{% capture tocWorkspace %}
{%- comment -%}
Version 1.0.2
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
Usage:
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
Output:
An unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
{%- endcomment -%}
{% capture my_toc %}{% endcapture %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign nodes = include.html | split: '<h' %}
{% assign firstHeader = true %}
{% for node in nodes %}
{% if node == "" %}
{% continue %}
{% endif %}
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
{% if headerLevel < minHeader or headerLevel > maxHeader %}
{% continue %}
{% endif %}
{% if firstHeader %}
{% assign firstHeader = false %}
{% assign minHeader = headerLevel %}
{% endif %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% assign _workspace = node | split: '</h' %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign space = '' %}
{% for i in (1..indentAmount) %}
{% assign space = space | prepend: ' ' %}
{% endfor %}
{% capture my_toc %}{{ my_toc }}
{{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}](#{{ html_id }}){% endcapture %}
{% endfor %}
{% if include.class %}
{% capture my_toc %}{:.{{ include.class }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% if include.id %}
{% capture my_toc %}{: #{{ include.id }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
+1 -1
View File
@@ -4,7 +4,7 @@
<!-- Courtesy of embedresponsively.com //--> <!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container"> <div class="responsive-video-container">
{% if video_provider == "vimeo" %} {% if video_provider == "vimeo" %}
<iframe src="http://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> <iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %} {% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe> <iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% endif %} {% endif %}
+12 -4
View File
@@ -3,8 +3,8 @@
<!doctype html> <!doctype html>
<!-- <!--
Minimal Mistakes Jekyll Theme 4.2.2 by Michael Rose Minimal Mistakes Jekyll Theme 4.10.0 by Michael Rose
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
--> -->
@@ -19,7 +19,15 @@
{% include browser-upgrade.html %} {% include browser-upgrade.html %}
{% include masthead.html %} {% include masthead.html %}
{{ content }} <div class="initial-content">
{{ content }}
</div>
{% if site.search == true %}
<div class="search-content">
{% include search/search_form.html %}
</div>
{% endif %}
<div class="page__footer"> <div class="page__footer">
<footer> <footer>
@@ -31,4 +39,4 @@
{% include scripts.html %} {% include scripts.html %}
</body> </body>
</html> </html>
@@ -4,8 +4,6 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}
@@ -21,6 +19,17 @@ layout: default
{% unless page.header.overlay_color or page.header.overlay_image %} {% unless page.header.overlay_color or page.header.overlay_image %}
<h1 class="page__title">{{ page.title }}</h1> <h1 class="page__title">{{ page.title }}</h1>
{% endunless %} {% endunless %}
{{ content }} {{ content }}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div> </div>
</div> </div>
+27 -11
View File
@@ -21,21 +21,29 @@ layout: default
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %} {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %} {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
<div class="page__inner-wrap"> <div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %} {% unless page.header.overlay_color or page.header.overlay_image %}
<header> <header>
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %} {% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %} {% if page.read_time %}
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
</header> </header>
{% endunless %} {% endunless %}
<section class="page__content" itemprop="text"> <section class="page__content" itemprop="text">
{% if page.toc %}
<aside class="sidebar__right">
<nav class="toc">
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
</nav>
</aside>
{% endif %}
{{ content }} {{ content }}
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %} {% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
</section> </section>
<footer class="page__meta"> <footer class="page__meta">
@@ -43,10 +51,10 @@ layout: default
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4> <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %} {% endif %}
{% include page__taxonomy.html %} {% include page__taxonomy.html %}
{% if page.modified %} {% if page.last_modified_at %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p> <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
{% elsif page.date %} {% elsif page.date %}
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p> <p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
{% endif %} {% endif %}
</footer> </footer>
@@ -55,22 +63,30 @@ layout: default
{% include post_pagination.html %} {% include post_pagination.html %}
</div> </div>
{% if site.comments.provider and page.comments %} {% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %} {% include comments.html %}
{% endif %} {% endif %}
</article> </article>
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %} {% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %} {% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related"> <div class="page__related">
{% if site.data.ui-text[site.locale].related_label %} <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper"> <div class="grid__wrapper">
{% for post in site.related_posts limit:4 %} {% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %} {% include archive-single.html type="grid" %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
{% elsif page.id and page.related %}
<div class="page__related">
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
<div class="grid__wrapper">
{% for post in site.posts limit:4 %}
{% include archive-single.html type="grid" %}
{% endfor %}
</div>
</div>
{% endif %} {% endif %}
</div> </div>
+1 -1
View File
@@ -13,7 +13,7 @@ layout: default
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %} {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %} {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
<section class="page__content" itemprop="text"> <section class="page__content" itemprop="text">
{{ content }} {{ content }}
-315
View File
@@ -1,315 +0,0 @@
/* ==========================================================================
BASE ELEMENTS
========================================================================== */
html {
/* sticky footer fix */
position: relative;
min-height: 100%;
}
body {
margin: 0;
padding: 0;
color: $text-color;
font-family: $global-font-family;
line-height: 1.5;
&.overflow--hidden {
/* when primary navigation is visible, the content in the background won't scroll */
overflow: hidden;
}
}
h1, h2, h3, h4, h5, h6 {
margin: 2em 0 0.5em;
line-height: 1.2;
font-family: $header-font-family;
font-weight: bold;
}
h1 {
margin-top: 0;
font-size: $type-size-3;
}
h2 {
font-size: $type-size-4;
}
h3 {
font-size: $type-size-5;
}
h4 {
font-size: $type-size-6;
}
h5 {
font-size: $type-size-6;
}
h6 {
font-size: $type-size-6;
}
small, .small {
font-size: $type-size-6;
}
p {
margin-bottom: 1.3em;
}
u,
ins {
text-decoration: none;
border-bottom: 1px solid $text-color;
a {
color: inherit;
}
}
del a {
color: inherit;
}
/* reduce orphans and widows when printing */
p, pre, blockquote, ul, ol, dl, figure, table, fieldset {
orphans: 3;
widows: 3;
}
/* abbreviations */
abbr[title],
abbr[data-original-title] {
text-decoration: none;
cursor: help;
border-bottom: 1px dotted $text-color;
}
/* blockquotes */
blockquote {
margin: 2em 1em 2em 0;
padding-left: 1em;
padding-right: 1em;
font-style: italic;
border-left: 0.25em solid $primary-color;
cite {
font-style: italic;
&:before {
content: "\2014";
padding-right: 5px;
}
}
}
/* links */
a {
&:focus {
@extend %tab-focus;
}
&:hover,
&:active {
outline: 0;
}
}
/* code */
tt, code, kbd, samp, pre {
font-family: $monospace;
}
pre {
overflow-x: auto; /* add scrollbars to wide code blocks*/
}
p > code,
a > code,
li > code,
figcaption > code,
td > code {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
font-size: $type-size-6;
background: $code-background-color;
border: 1px solid $lighter-gray;
border-radius: $border-radius;
box-shadow: $box-shadow;
&:before, &:after {
letter-spacing: -0.2em;
content: "\00a0"; /* non-breaking space*/
}
}
/* horizontal rule */
hr {
display: block;
margin: 1em 0;
border: 0;
border-top: 1px solid $border-color;
}
/* lists */
ul li,
ol li {
margin-bottom: 0.5em;
}
li ul,
li ol {
margin-top: 0.5em;
}
/*
Media and embeds
========================================================================== */
/* Figures and images */
figure {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
flex-wrap: wrap;
margin: 2em 0;
img,
iframe,
.fluid-width-video-wrapper {
margin-bottom: 1em;
}
img {
width: 100%;
border-radius: $border-radius;
-webkit-transition: $global-transition;
transition: $global-transition;
}
> a {
display: block;
}
&.half {
> a,
> img {
@include breakpoint($small) {
width: calc(50% - 0.5em);
}
}
figcaption {
width: 100%;
}
}
&.third {
> a,
> img {
@include breakpoint($small) {
width: calc(33.3333% - 0.5em);
}
}
figcaption {
width: 100%;
}
}
}
/* Figure captions */
figcaption {
margin-bottom: 0.5em;
color: mix(#fff, $text-color, 25%);
font-family: $caption-font-family;
font-size: $type-size-6;
a {
color: inherit;
text-decoration: none;
border-bottom: 1px solid $light-gray;
-webkit-transition: $global-transition;
transition: $global-transition;
&:hover {
color: #000;
border-bottom-color: #000;
}
}
}
/* Fix IE9 SVG bug */
svg:not(:root) {
overflow: hidden;
}
/*
Navigation lists
========================================================================== */
/**
* Removes margins, padding, and bullet points from navigation lists
*
* Example usage:
* <nav>
* <ul>
* <li><a href="#link-1">Link 1</a></li>
* <li><a href="#link-2">Link 2</a></li>
* <li><a href="#link-3">Link 3</a></li>
* </ul>
* </nav>
*/
nav {
ul {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
/* override white-space for nested lists */
ul li,
ol li {
margin-bottom: 0;
}
li ul,
li ol {
margin-top: 0;
}
}
/*
Global animation transition
========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
-webkit-transition: $global-transition;
transition: $global-transition;
}
-153
View File
@@ -1,153 +0,0 @@
/* ==========================================================================
BUTTONS
========================================================================== */
/*
Default button
========================================================================== */
.btn {
/* default button */
display: inline-block;
margin-bottom: 0.25em;
padding: 0.5em 1em;
color: #fff !important;
font-family: $sans-serif;
font-size: $type-size-6;
font-weight: bold;
text-align: center;
text-decoration: none;
background-color: $primary-color;
border: 0 !important;
border-radius: $border-radius;
cursor: pointer;
&:hover {
background-color: mix(white, #000, 20%);
}
.icon {
margin-right: 0.5em;
}
.icon + .hidden {
margin-left: -0.5em; /* override for hidden text*/
}
/* fills width of parent container */
&--block {
display: block;
width: 100%;
+ .btn--block {
margin-top: 0.25em;
}
}
/* for dark backgrounds */
&--inverse {
color: $gray !important;
border: 1px solid $light-gray !important; /* override*/
background-color: #fff;
&:hover {
color: #fff !important;
border-color: $gray;
}
}
/* light outline */
&--light-outline {
border: 1px solid #fff !important; /* override*/
background-color: transparent;
}
/* information */
&--info {
background-color: $info-color;
&:hover {
background-color: mix(#000, $info-color, 20%);
}
}
/* warning */
&--warning {
background-color: $warning-color;
&:hover {
background-color: mix(#000, $warning-color, 20%);
}
}
/* success */
&--success {
background-color: $success-color;
&:hover {
background-color: mix(#000, $success-color, 20%);
}
}
/* danger */
&--danger {
background-color: $danger-color;
&:hover {
background-color: mix(#000, $danger-color, 20%);
}
}
/* disabled */
&--disabled {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
/* social buttons */
$social:
(facebook, $facebook-color),
(twitter, $twitter-color),
(google-plus, $google-plus-color),
(linkedin, $linkedin-color);
@each $socialnetwork, $color in $social {
&--#{$socialnetwork} {
background-color: $color;
&:hover {
background-color: mix(#000, $color, 20%);
}
}
}
/* extra large button */
&--x-large {
font-size: $type-size-4;
}
/* large button */
&--large {
font-size: $type-size-5;
}
/* small button */
&--small {
font-size: $type-size-7;
}
}
-80
View File
@@ -1,80 +0,0 @@
/* ==========================================================================
FOOTER
========================================================================== */
.page__footer {
@include full();
@include clearfix;
/* sticky footer fix start */
position: absolute;
bottom: 0;
width: 100%;
clear: both;
height: auto;
/* sticky footer fix end */
margin-top: 3em;
color: mix(#fff, $gray, 25%);
-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s;
background-color: $lighter-gray;
border-top: 1px solid $light-gray;
footer {
@include container;
@include clearfix;
margin-top: 2em;
padding: 0 1em 2em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
a {
color: inherit;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.fa {
color: mix(#fff, $gray, 25%);
}
}
.page__footer-copyright {
font-family: $global-font-family;
font-size: $type-size-7;
}
.page__footer-follow {
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
display: inline-block;
padding-top: 5px;
padding-bottom: 5px;
font-family: $sans-serif-narrow;
font-size: $type-size-6;
text-transform: uppercase;
}
li + li:before {
content: "";
padding-right: 5px;
}
a {
padding-right: 10px;
font-weight: bold;
}
}
-391
View File
@@ -1,391 +0,0 @@
/* ==========================================================================
Forms
========================================================================== */
form {
margin: 0 0 5px 0;
fieldset {
margin-bottom: 5px;
padding: 0;
border-width: 0;
}
legend {
display: block;
width: 100%;
margin-bottom: 5px * 2;
*margin-left: -7px;
padding: 0;
color: $text-color;
border: 0;
border-bottom: 1px solid mix(#fff, #000, 80%);
white-space: normal;
}
p {
margin-bottom: 5px / 2;
}
ul {
list-style-type: none;
margin: 0 0 5px 0;
padding: 0;
}
br {
display: none;
}
}
label,
input,
button,
select,
textarea {
vertical-align: baseline;
*vertical-align: middle;
}
input,
button,
select,
textarea {
box-sizing: border-box;
font-family: $sans-serif;
}
label {
display: block;
margin-bottom: 0.25em;
color: $text-color;
cursor: pointer;
small {
font-size: $type-size-6;
}
input,
textarea,
select {
display: block;
}
}
input,
textarea,
select {
display: inline-block;
width: 100%;
padding: 0.25em;
margin-bottom: 0.5em;
color: $text-color;
background-color: #fff;
border: 1px solid mix(#fff, #000, 80%);
border-radius: $border-radius;
box-shadow: $box-shadow;
&:hover {
border-color: mix(#fff, $primary-color, 50%);
}
}
.input-mini {
width: 60px;
}
.input-small {
width: 90px;
}
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
width: auto;
height: auto;
padding: 0;
margin: 3px 0;
*margin-top: 0;
line-height: normal;
cursor: pointer;
border-radius: 0;
border: 0 \9;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
*width: 13px;
*height: 13px;
}
input[type="image"] {
border: 0;
box-shadow: none;
}
input[type="file"] {
width: auto;
padding: initial;
line-height: initial;
border: initial;
background-color: transparent;
background-color: initial;
box-shadow: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
width: auto;
height: auto;
cursor: pointer;
*overflow: visible;
}
select,
input[type="file"] {
*margin-top: 4px;
}
select {
width: auto;
background-color: #fff;
}
select[multiple],
select[size] {
height: auto;
}
textarea {
resize: vertical;
height: auto;
overflow: auto;
vertical-align: top;
}
input[type="hidden"] {
display: none;
}
.form {
position: relative;
}
.radio,
.checkbox {
padding-left: 18px;
font-weight: normal;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
float: left;
margin-left: -18px;
}
.radio.inline,
.checkbox.inline {
display: inline-block;
padding-top: 5px;
margin-bottom: 0;
vertical-align: middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
margin-left: 10px;
}
/*
Disabled state
========================================================================== */
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
opacity: 0.5;
cursor: not-allowed;
}
/*
Focus & active state
========================================================================== */
input:focus,
textarea:focus {
border-color: $primary-color;
outline: 0;
outline: thin dotted \9;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
box-shadow: none;
}
/*
Help text
========================================================================== */
.help-block,
.help-inline {
color: $info-color;
}
.help-block {
display: block;
margin-bottom: 1em;
line-height: 1em;
}
.help-inline {
display: inline-block;
vertical-align: middle;
padding-left: 5px;
}
/*
.form-inline
========================================================================== */
.form-inline input,
.form-inline textarea,
.form-inline select {
display: inline-block;
margin-bottom: 0;
}
.form-inline label {
display: inline-block;
}
.form-inline .radio,
.form-inline .checkbox,
.form-inline .radio {
padding-left: 0;
margin-bottom: 0;
vertical-align: middle;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
float: left;
margin-left: 0;
margin-right: 3px; }
/*
.form-search
========================================================================== */
.form-search input,
.form-search textarea,
.form-search select {
display: inline-block;
margin-bottom: 0;
}
.form-search .search-query {
padding-left: 14px;
padding-right: 14px;
margin-bottom: 0;
border-radius: 14px;
}
.form-search label {
display: inline-block;
}
.form-search .radio,
.form-search .checkbox,
.form-inline .radio {
padding-left: 0;
margin-bottom: 0;
vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"] {
float: left;
margin-left: 0;
margin-right: 3px;
}
/*
.form--loading
========================================================================== */
.form--loading:before {
content: '';
}
.form--loading .form__spinner {
display: block;
}
.form:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
z-index: 10;
}
.form__spinner {
display: none;
position: absolute;
top: 50%;
left: 50%;
z-index: 11;
}
/*
Google search form
========================================================================== */
#goog-fixurl {
ul {
list-style: none;
margin-left: 0;
padding-left: 0;
li {
list-style-type: none;
}
}
}
#goog-wm-qt {
width: auto;
margin-right: 10px;
margin-bottom: 20px;
padding: 8px 20px;
display: inline-block;
font-size: $type-size-6;
background-color: #fff;
color: #000;
border-width: 2px !important;
border-style: solid !important;
border-color: lighten(#000,50);
border-radius: $border-radius;
}
#goog-wm-sb {
@extend .btn;
}
-558
View File
@@ -1,558 +0,0 @@
/* ==========================================================================
NAVIGATION
========================================================================== */
/*
Breadcrumb navigation links
========================================================================== */
.breadcrumbs {
@include container;
@include clearfix;
margin-top: 0;
margin-bottom: 0;
padding-left: 2em;
padding-right: 2em;
font-family: $sans-serif;
-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.30s;
animation-delay: 0.30s;
@include breakpoint($large) {
padding-left: 1em;
padding-right: 1em;
}
@include breakpoint($x-large) {
max-width: $x-large;
}
ol {
padding: 0;
list-style: none;
font-size: $type-size-6;
@include breakpoint($large) {
@include span(10 of 12 last);
}
@include breakpoint($x-large) {
@include prefix(0.5 of 12);
}
}
li {
display: inline;
}
.current {
font-weight: bold;
}
}
/*
Post pagination navigation links
========================================================================== */
.pagination {
@include full();
@include clearfix();
margin-top: 1em;
padding-top: 1em;
ul {
margin: 0;
padding: 0;
list-style-type: none;
font-family: $sans-serif;
}
li {
display: block;
float: left;
margin-left: -1px;
a {
display: block;
margin-bottom: 0.25em;
padding: 0.5em 1em;
font-family: $sans-serif;
font-size: 14px;
font-weight: bold;
line-height: 1.5;
text-align: center;
text-decoration: none;
color: mix(#fff, $gray, 25%);
border: 1px solid $light-gray;
border-radius: 0;
&:hover {
color: $link-color-hover;
}
&.current {
color: #fff;
background: $primary-color;
}
&.disabled {
color: mix(#fff, $gray, 75%);
pointer-events: none;
cursor: not-allowed;
}
}
&:first-child {
margin-left: 0;
a {
border-top-left-radius: $border-radius;
border-bottom-left-radius: $border-radius;
}
}
&:last-child {
a {
border-top-right-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
}
}
/* next/previous buttons */
&--pager {
display: block;
padding: 1em 2em;
float: left;
width: 50%;
font-family: $sans-serif;
font-size: $type-size-5;
font-weight: bold;
text-align: center;
text-decoration: none;
color: $link-color;
border: 1px solid $light-gray;
border-radius: $border-radius;
&:hover {
color: $link-color-hover;
}
&:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
&:last-child {
margin-left: -1px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&.disabled {
color: mix(#fff, $gray, 75%);
pointer-events: none;
cursor: not-allowed;
}
}
}
.page__content + .pagination,
.page__meta + .pagination,
.page__share + .pagination,
.page__comments + .pagination {
margin-top: 2em;
padding-top: 2em;
border-top: 1px solid $border-color;
}
/*
Priority plus navigation
========================================================================== */
.greedy-nav {
position: relative;
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
background: $background-color;
a {
display: block;
margin: 0 1rem;
padding: 0.5rem 0;
color: $masthead-link-color;
text-decoration: none;
&:hover {
color: $masthead-link-color-hover;
}
&.site-title {
margin-left: 0;
}
}
button {
padding: 0 0.5rem;
align-self: stretch;
border: 0;
outline: none;
color: #fff;
background-color: $primary-color;
cursor: pointer;
}
.visible-links {
display: -webkit-box;
display: flex;
-webkit-box-pack: end;
justify-content: flex-end;
-webkit-box-flex: 1;
flex: 1;
padding-right: 2rem;
overflow: hidden;
li {
-webkit-box-flex: 0;
flex: none;
&:last-child {
a {
margin-right: 0;
}
}
}
a {
position: relative;
&:before {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 4px;
background: mix(#fff, $primary-color, 50%);
width: 100%;
-webkit-transition: $global-transition;
transition: $global-transition;
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
}
&:hover:before {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/
}
}
}
.hidden-links {
position: absolute;
top: 100%;
right: 0;
margin-top: 15px;
padding: 5px;
border: 1px solid $border-color;
border-radius: $border-radius;
background: #fff;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
&.hidden {
display: none;
}
a {
margin: 0;
padding: 10px 20px;
font-size: $type-size-5;
&:hover {
color: $masthead-link-color-hover;
background: mix(#fff, $primary-color, 75%);
}
}
&:before {
content: "";
position: absolute;
top: -11px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $border-color transparent;
display: block;
z-index: 0;
}
&:after {
content: "";
position: absolute;
top: -10px;
right: 10px;
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: #fff transparent;
display: block;
z-index: 1;
}
li {
display: block;
border-bottom: 1px solid $border-color;
&:last-child {
border-bottom: none;
}
}
}
}
/*
Navigation list
========================================================================== */
.nav__list {
margin-bottom: 1.5em;
input[type="checkbox"],
label {
display: none;
}
@include breakpoint(max-width ($large - 1px)) {
label {
position: relative;
display: inline-block;
padding: 0.5em 2.5em 0.5em 1em;
color: $gray;
font-size: $type-size-6;
font-weight: bold;
border: 1px solid $light-gray;
border-radius: $border-radius;
z-index: 20;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
cursor: pointer;
&:before,
&:after {
content: '';
position: absolute;
right: 1em;
top: 1.25em;
width: 0.75em;
height: 0.125em;
line-height: 1;
background-color: $gray;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
}
&:after {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
&:hover {
color: #fff;
border-color: $gray;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
}
/* selected*/
input:checked + label {
color: white;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
/* on hover show expand*/
label:hover:after {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
input:checked + label:hover:after {
-webkit-transform: rotate(0);
-ms-transform: rotate(0);
transform: rotate(0);
}
ul {
margin-bottom: 1em;
}
a {
display: block;
padding: 0.25em 0;
@include breakpoint($large) {
padding-top: 0.125em;
padding-bottom: 0.125em;
}
&:hover {
text-decoration: underline;
}
}
}
}
.nav__list .nav__items {
margin: 0;
font-size: 1.25rem;
a {
color: inherit;
}
.active {
margin-left: -0.5em;
padding-left: 0.5em;
padding-right: 0.5em;
color: #fff;
font-weight: bold;
background: $primary-color;
border-radius: $border-radius;
&:hover {
color: #fff;
}
}
@include breakpoint(max-width ($large - 1px)) {
position: relative;
max-height: 0;
opacity: 0%;
overflow: hidden;
z-index: 10;
-webkit-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
-webkit-transform: translate(0, 10%);
-ms-transform: translate(0, 10%);
transform: translate(0, 10%);
}
}
@include breakpoint(max-width ($large - 1px)) {
.nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
overflow: visible;
opacity: 1;
margin-top: 1em;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
.nav__title {
margin: 0;
padding: 0.5rem 1rem;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
font-weight: bold;
}
.nav__sub-title {
display: block;
margin: 0.5rem 0;
padding: 0.5rem 0;
font-family: $sans-serif-narrow;
font-size: $type-size-6;
font-weight: bold;
text-transform: uppercase;
border-bottom: 1px solid $border-color;
}
/*
Table of contents navigation
========================================================================== */
.toc {
font-family: $sans-serif-narrow;
color: $gray;
text-transform: uppercase;
letter-spacing: 1px;
background-color: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
.nav__title {
color: #fff;
font-size: $type-size-6;
background: $primary-color;
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
}
}
.toc__menu {
margin: 0;
padding: 0;
width: 100%;
list-style: none;
font-size: 0.8rem;
a {
display: block;
padding: 0.5rem 1rem;
color: $gray;
font-size: $type-size-7;
font-weight: bold;
line-height: 1.5;
border-bottom: 1px solid $border-color;
&:hover {
color: #000;
background: $lighter-gray;
}
}
> li:last-child {
a {
border-bottom: none;
}
}
li ul > li a {
padding-left: 2rem;
font-weight: normal;
}
/* hide sub sub links on small screens*/
li > ul li {
display: none;
@include breakpoint($medium) {
display: block;
}
}
}
-99
View File
@@ -1,99 +0,0 @@
/* ==========================================================================
NOTICE TEXT BLOCKS
========================================================================== */
/**
* Default Kramdown usage (no indents!):
* <div class="notice" markdown="1">
* #### Headline for the Notice
* Text for the notice
* </div>
*/
@mixin notice($notice-color) {
margin: 2em 0 !important; /* override*/
padding: 1em;
font-family: $global-font-family;
font-size: $type-size-6 !important;
text-indent: initial; /* override*/
background-color: mix(#fff, $notice-color, 90%);
border-radius: $border-radius;
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
h4 {
margin-top: 0 !important; /* override*/
margin-bottom: 0.75em;
}
@at-root .page__content #{&} h4 {
/* using at-root to override .page-content h4 font size*/
margin-bottom: 0;
font-size: 1em;
}
p {
&:last-child {
margin-bottom: 0 !important; /* override*/
}
}
h4 + p {
/* remove space above paragraphs that appear directly after notice headline*/
margin-top: 0;
padding-top: 0;
}
a {
color: $notice-color;
&:hover {
color: mix(#000, $notice-color, 40%);
}
}
code {
background-color: mix(#fff, $notice-color, 95%)
}
ul {
&:last-child {
margin-bottom: 0; /* override*/
}
}
}
/* Default notice */
.notice {
@include notice($light-gray);
}
/* Primary notice */
.notice--primary {
@include notice($primary-color);
}
/* Info notice */
.notice--info {
@include notice($info-color);
}
/* Warning notice */
.notice--warning {
@include notice($warning-color);
}
/* Success notice */
.notice--success {
@include notice($success-color);
}
/* Danger notice */
.notice--danger {
@include notice($danger-color);
}
-18
View File
@@ -1,18 +0,0 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */
/*
Hide the following elements on print
========================================================================== */
@media print {
.masthead,
.toc,
.page__share,
.page__related,
.ads,
.page__footer {
display: none;
}
}
-187
View File
@@ -1,187 +0,0 @@
/* ==========================================================================
STYLE RESETS
========================================================================== */
@include border-box-sizing;
html {
/* apply a natural box layout model to all elements */
box-sizing: border-box;
background-color: $background-color;
font-size: 16px;
@include breakpoint($medium) {
font-size: 18px;
}
@include breakpoint($large) {
font-size: 20px;
}
@include breakpoint($x-large) {
font-size: 22px;
}
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
/* Remove margin */
body { margin: 0; }
/* Selected elements */
::-moz-selection {
color: #fff;
background: #000;
}
::selection {
color: #fff;
background: #000;
}
/* Display HTML5 elements in IE6-9 and FF3 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
/* Display block in IE6-9 and FF3 */
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/* Prevents modern browsers from displaying 'audio' without controls */
audio:not([controls]) {
display: none;
}
a {
color: $link-color;
}
/* Apply focus state */
a:focus {
@extend %tab-focus;
}
/* Remove outline from links */
a:hover,
a:active {
outline: 0;
}
/* Prevent sub and sup affecting line-height in all browsers */
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* img border in anchor's and image quality */
img {
/* Responsive images (ensure images don't scale beyond their parents) */
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
width: auto\9; /* IE7-8 need help adjusting responsive images*/
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}
/* Prevent max-width from affecting Google Maps */
#map_canvas img,
.google-maps img {
max-width: none;
}
/* Consistent form font size in all browsers, margin changes, misc */
button,
input,
select,
textarea {
margin: 0;
font-size: 100%;
vertical-align: middle;
}
button,
input {
*overflow: visible; /* inner spacing ie IE6/7*/
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
padding: 0;
border: 0;
}
button,
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
}
label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
}
input[type="search"] { /* Appearance in Safari/Chrome*/
box-sizing: content-box;
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
}
textarea {
overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; /* readability and alignment cross-browser*/
}
-231
View File
@@ -1,231 +0,0 @@
/* ==========================================================================
SIDEBAR
========================================================================== */
/*
Default
========================================================================== */
.sidebar {
-webkit-transform: translate3d(0, 0 , 0);
transform: translate3d(0, 0 , 0);
@include clearfix();
margin-bottom: 1em;
@include breakpoint($large) {
@include span(2 of 12);
opacity: 0.75;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
&:hover {
opacity: 1;
}
}
@include breakpoint($x-large) {
padding-right: 0;
}
h2, h3, h4, h5, h6 {
margin-bottom: 0;
font-family: $sans-serif-narrow;
}
p, li {
font-family: $sans-serif;
font-size: $type-size-6;
line-height: 1.5;
}
img {
width: 100%;
}
}
.sidebar__right {
margin-bottom: 1em;
@include breakpoint($large) {
position: relative;
float: right;
width: $right-sidebar-width-narrow;
margin-left: span(0.5 of 12);
z-index: 10;
}
@include breakpoint($x-large) {
width: $right-sidebar-width;
}
}
/*
Author profile and links
========================================================================== */
.author__avatar {
display: table-cell;
vertical-align: top;
width: 36px;
height: 36px;
@include breakpoint($large) {
display: block;
width: auto;
height: auto;
}
img {
max-width: 110px;
border-radius: 50%;
@include breakpoint($large) {
padding: 5px;
border: 1px solid $border-color;
}
}
}
.author__content {
display: table-cell;
vertical-align: top;
padding-left: 15px;
padding-right: 25px;
line-height: 1;
@include breakpoint($large) {
display: block;
width: 100%;
padding-left: 0;
padding-right: 0;
}
}
.author__name {
margin: 0;
@include breakpoint($large) {
margin-top: 10px;
margin-bottom: 10px;
}
}
.sidebar .author__name {
font-family: $sans-serif;
font-size: $type-size-5;
}
.author__bio {
margin: 0;
@include breakpoint($large) {
margin-top: 10px;
margin-bottom: 20px;
}
}
.author__urls-wrapper {
position: relative;
display: table-cell;
vertical-align: middle;
font-family: $sans-serif;
z-index: 10;
position: relative;
cursor: pointer;
li:last-child {
a {
margin-bottom: 0;
}
}
@include breakpoint($large) {
display: block;
}
button {
margin-bottom: 0;
@include breakpoint($large) {
display: none;
}
}
}
.author__urls {
display: none;
position: absolute;
right: 0;
margin-top: 15px;
padding: 10px;
list-style-type: none;
border: 1px solid $border-color;
border-radius: $border-radius;
background: #fff;
z-index: -1;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default;
@include breakpoint($large) {
display: block;
position: relative;
margin: 0;
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
}
&:before {
display: block;
content: "";
position: absolute;
top: -11px;
left: calc(50% - 10px);
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: $border-color transparent;
z-index: 0;
@include breakpoint($large) {
display: none;
}
}
&:after {
display: block;
content: "";
position: absolute;
top: -10px;
left: calc(50% - 10px);
width: 0;
border-style: solid;
border-width: 0 10px 10px;
border-color: #fff transparent;
z-index: 1;
@include breakpoint($large) {
display: none;
}
}
li {
white-space: nowrap;
}
a {
display: block;
margin-bottom: 5px;
padding-right: 5px;
padding-top: 2px;
padding-bottom: 2px;
color: inherit;
font-size: $type-size-5;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
-146
View File
@@ -1,146 +0,0 @@
/* ==========================================================================
Syntax highlighting
========================================================================== */
div.highlighter-rouge,
figure.highlight {
position: relative;
margin-bottom: 1em;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
border: 1px solid $border-color;
border-radius: $border-radius;
background-color: $code-background-color;
box-shadow: $box-shadow;
&:before {
position: absolute;
top: 0;
right: 0;
padding: 0.5em;
background-color: $lighter-gray;
content: "\f121";
font-family: "fontawesome" !important;
line-height: 1;
text-transform: none;
speak: none;
}
.highlight {
margin: 0;
padding: 1em;
}
}
figure.highlight {
padding-left: 1em;
padding-right: 1em;
}
.highlight table {
font-size: 1em;
border: 0;
td {
padding: 5px;
border: 0;
/* line numbers*/
&.gutter {
padding-right: 1em;
color: $light-gray;
}
}
pre {
margin: 0;
}
}
.highlight pre { width: 100%; }
/*
Solarized Light
http://ethanschoonover.com/solarized
SOLARIZED HEX ROLE
--------- -------- ------------------------------------------
base01 #586e75 body text / default code / primary content
base1 #93a1a1 comments / secondary content
base3 #fdf6e3 background
orange #cb4b16 constants
red #dc322f regex, special keywords
blue #22b3eb reserved keywords
cyan #2aa198 strings, numbers
green #859900 operators, other keywords
========================================================================== */
.highlight .c { color: #93a1a1 } /* Comment */
.highlight .err { color: #586e75 } /* Error */
.highlight .g { color: #586e75 } /* Generic */
.highlight .k { color: #859900 } /* Keyword */
.highlight .l { color: #586e75 } /* Literal */
.highlight .n { color: #586e75 } /* Name */
.highlight .o { color: #859900 } /* Operator */
.highlight .x { color: #cb4b16 } /* Other */
.highlight .p { color: #586e75 } /* Punctuation */
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
.highlight .cp { color: #859900 } /* Comment.Preproc */
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
.highlight .cs { color: #859900 } /* Comment.Special */
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #dc322f } /* Generic.Error */
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
.highlight .gi { color: #859900 } /* Generic.Inserted */
.highlight .go { color: #586e75 } /* Generic.Output */
.highlight .gp { color: #586e75 } /* Generic.Prompt */
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
.highlight .gt { color: #586e75 } /* Generic.Traceback */
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
.highlight .kd { color: #22b3eb } /* Keyword.Declaration */
.highlight .kn { color: #859900 } /* Keyword.Namespace */
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
.highlight .kr { color: #22b3eb } /* Keyword.Reserved */
.highlight .kt { color: #dc322f } /* Keyword.Type */
.highlight .ld { color: #586e75 } /* Literal.Date */
.highlight .m { color: #2aa198 } /* Literal.Number */
.highlight .s { color: #2aa198 } /* Literal.String */
.highlight .na { color: #586e75 } /* Name.Attribute */
.highlight .nb { color: #B58900 } /* Name.Builtin */
.highlight .nc { color: #22b3eb } /* Name.Class */
.highlight .no { color: #cb4b16 } /* Name.Constant */
.highlight .nd { color: #22b3eb } /* Name.Decorator */
.highlight .ni { color: #cb4b16 } /* Name.Entity */
.highlight .ne { color: #cb4b16 } /* Name.Exception */
.highlight .nf { color: #22b3eb } /* Name.Function */
.highlight .nl { color: #586e75 } /* Name.Label */
.highlight .nn { color: #586e75 } /* Name.Namespace */
.highlight .nx { color: #586e75 } /* Name.Other */
.highlight .py { color: #586e75 } /* Name.Property */
.highlight .nt { color: #22b3eb } /* Name.Tag */
.highlight .nv { color: #22b3eb } /* Name.Variable */
.highlight .ow { color: #859900 } /* Operator.Word */
.highlight .w { color: #586e75 } /* Text.Whitespace */
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
-38
View File
@@ -1,38 +0,0 @@
/* ==========================================================================
TABLES
========================================================================== */
table {
margin-bottom: 1em;
width: 100%;
font-family: $global-font-family;
font-size: $type-size-6;
border-collapse: collapse;
border: 1px solid $light-gray;
& + table {
margin-top: 1em;
}
}
thead {
background-color: $lighter-gray;
border-bottom: 1px solid $light-gray;
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
border-right: 1px solid $light-gray;
}
td {
padding: 0.5em;
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
}
tr, td, th {
vertical-align: middle;
}
-128
View File
@@ -1,128 +0,0 @@
/* ==========================================================================
Variables
========================================================================== */
/*
Typography
========================================================================== */
$doc-font-size : 16 !default;
/* paragraph indention */
$paragraph-indent : false !default; // true, false (default)
$indent-var : 1.3em !default;
/* system typefaces */
$serif : Georgia, Times, serif !default;
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */
$sans-serif-narrow : $sans-serif !default;
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */
$georgia : Georgia, serif !default;
$times : Times, serif !default;
$bodoni : "Bodoni MT", serif !default;
$calisto : "Calisto MT", serif !default;
$garamond : Garamond, serif !default;
$global-font-family : $sans-serif !default;
$header-font-family : $sans-serif !default;
$caption-font-family : $serif !default;
/* type scale */
$type-size-1 : 2.441em !default; // ~39.056px
$type-size-2 : 1.953em !default; // ~31.248px
$type-size-3 : 1.563em !default; // ~25.008px
$type-size-4 : 1.25em !default; // ~20px
$type-size-5 : 1em !default; // ~16px
$type-size-6 : 0.75em !default; // ~12px
$type-size-7 : 0.6875em !default; // ~11px
$type-size-8 : 0.625em !default; // ~10px
/*
Colors
========================================================================== */
$gray : #7a8288 !default;
$dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff !default;
$background-color : #fff !default;
$code-background-color : #fafafa !default;
$code-background-color-dark : $light-gray !default;
$text-color : $dark-gray !default;
$border-color : $lighter-gray !default;
$primary-color : #7a8288 !default;
$success-color : #62c462 !default;
$warning-color : #f89406 !default;
$danger-color : #ee5f5b !default;
$info-color : #52adc8 !default;
/* brands */
$behance-color : #1769FF !default;
$dribbble-color : #ea4c89 !default;
$facebook-color : #3b5998 !default;
$flickr-color : #ff0084 !default;
$foursquare-color : #0072b1 !default;
$github-color : #171516 !default;
$google-plus-color : #dd4b39 !default;
$instagram-color : #517fa4 !default;
$lastfm-color : #d51007 !default;
$linkedin-color : #007bb6 !default;
$pinterest-color : #cb2027 !default;
$rss-color : #fa9b39 !default;
$soundcloud-color : #ff3300 !default;
$stackoverflow-color : #fe7a15 !default;
$tumblr-color : #32506d !default;
$twitter-color : #55acee !default;
$vimeo-color : #1ab7ea !default;
$vine-color : #00bf8f !default;
$youtube-color : #bb0000 !default;
$xing-color : #006567 !default;
/* links */
$link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
/*
Breakpoints
========================================================================== */
$small : 600px !default;
$medium : 768px !default;
$medium-wide : 900px !default;
$large : 1024px !default;
$x-large : 1280px !default;
/*
Grid
========================================================================== */
$right-sidebar-width-narrow : 200px !default;
$right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px !default;
/*
Other
========================================================================== */
$border-radius : 4px !default;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width : 1.5rem !default;
$navicon-height : 0.25rem !default;
$global-transition : all 0.2s ease-in-out !default;
+40
View File
@@ -0,0 +1,40 @@
/*!
* Minimal Mistakes Jekyll Theme 4.10.0 by Michael Rose
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
*/
/* Variables */
@import "minimal-mistakes/variables";
/* Mixins and functions */
@import "minimal-mistakes/vendor/breakpoint/breakpoint";
@include breakpoint-set("to ems", true);
@import "minimal-mistakes/vendor/magnific-popup/magnific-popup"; // Magnific Popup
@import "minimal-mistakes/vendor/susy/susy";
@import "minimal-mistakes/mixins";
/* Core CSS */
@import "minimal-mistakes/reset";
@import "minimal-mistakes/base";
@import "minimal-mistakes/forms";
@import "minimal-mistakes/tables";
@import "minimal-mistakes/animations";
/* Components */
@import "minimal-mistakes/buttons";
@import "minimal-mistakes/notices";
@import "minimal-mistakes/masthead";
@import "minimal-mistakes/navigation";
@import "minimal-mistakes/footer";
@import "minimal-mistakes/search";
@import "minimal-mistakes/syntax";
/* Utility classes */
@import "minimal-mistakes/utilities";
/* Layout specific */
@import "minimal-mistakes/page";
@import "minimal-mistakes/archive";
@import "minimal-mistakes/sidebar";
@import "minimal-mistakes/print";
@@ -5,18 +5,15 @@
.archive { .archive {
margin-bottom: 2em; margin-bottom: 2em;
@include breakpoint($medium) {
@include span(12 of 12);
}
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
@include prefix(0.5 of 12); width: calc(100% - #{$right-sidebar-width-narrow});
padding-right: $right-sidebar-width-narrow;
} }
a { @include breakpoint($x-large) {
color: inherit; width: calc(100% - #{$right-sidebar-width});
text-decoration: none; padding-right: $right-sidebar-width;
} }
} }
@@ -24,7 +21,7 @@
margin: 1.414em 0 0; margin: 1.414em 0 0;
padding-bottom: 0.5em; padding-bottom: 0.5em;
font-size: $type-size-5; font-size: $type-size-5;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
+ .list__item .archive__item-title { + .list__item .archive__item-title {
@@ -35,6 +32,13 @@
.archive__item-title { .archive__item-title {
margin-bottom: 0.25em; margin-bottom: 0.25em;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
line-height: initial;
overflow: hidden;
text-overflow: ellipsis;
a {
color: inherit;
}
a + a { a + a {
opacity: 0.5; opacity: 0.5;
@@ -43,7 +47,6 @@
/* remove border*/ /* remove border*/
.page__content { .page__content {
.archive__item-title { .archive__item-title {
margin-top: 1em; margin-top: 1em;
border-bottom: none; border-bottom: none;
@@ -67,49 +70,85 @@
} }
} }
.archive__item:hover {
.archive__item-teaser {
box-shadow: 0 0 10px rgba(#000, 0.25);
}
.archive__item-title {
text-decoration: underline;
}
}
/* /*
List view List view
========================================================================== */ ========================================================================== */
.list__item { .list__item {
@include breakpoint($medium) {
padding-right: $right-sidebar-width-narrow;
}
@include breakpoint($large) {
padding-right: $right-sidebar-width;
}
@include breakpoint($x-large) {
padding-right: $right-sidebar-width-wide;
}
.page__meta { .page__meta {
margin: 0 0 4px; margin: 0 0 4px;
font-size: 0.6em;
} }
} }
/* /*
Grid view Grid view
========================================================================== */ ========================================================================== */
.archive {
.grid__wrapper {
/* extend grid elements to the right */
@include breakpoint($large) {
margin-right: -1 * $right-sidebar-width-narrow;
}
@include breakpoint($x-large) {
margin-right: -1 * $right-sidebar-width;
}
}
}
.grid__item { .grid__item {
margin-bottom: 2em; margin-bottom: 2em;
@include breakpoint($small) {
float: left;
width: span(5 of 10);
&:nth-child(2n + 1) {
clear: both;
margin-left: 0;
}
&:nth-child(2n + 2) {
clear: none;
margin-left: gutter(of 10);
}
}
@include breakpoint($medium) {
margin-left: 0; /* override margin*/
margin-right: 0; /* override margin*/
width: span(3 of 12);
&:nth-child(2n + 1) {
clear: none;
}
&:nth-child(4n + 1) {
clear: both;
}
&:nth-child(4n + 2) {
clear: none;
margin-left: gutter(1 of 12);
}
&:nth-child(4n + 3) {
clear: none;
margin-left: gutter(1 of 12);
}
&:nth-child(4n + 4) {
clear: none;
margin-left: gutter(1 of 12);
}
}
.page__meta { .page__meta {
margin: 0 0 4px; margin: 0 0 4px;
font-size: 0.6em;
} }
.archive__item-title { .archive__item-title {
@@ -119,31 +158,23 @@
.archive__item-excerpt { .archive__item-excerpt {
display: none; display: none;
}
@include breakpoint($small) { @include breakpoint($medium) {
@include gallery(5 of 10);
.archive__item-teaser {
max-height: 200px;
}
}
@include breakpoint($medium) {
margin-left: 0; /* reset before mixin does its thing*/
margin-right: 0; /* reset before mixin does its thing*/
@include gallery(2.5 of 10);
.archive__item-teaser {
max-height: 120px;
}
.archive__item-excerpt {
display: block; display: block;
font-size: $type-size-6; font-size: $type-size-6;
} }
} }
}
.archive__item-teaser {
@include breakpoint($small) {
max-height: 200px;
}
@include breakpoint($medium) {
max-height: 120px;
}
}
}
/* /*
Features Features
@@ -160,8 +191,24 @@
font-size: 1.25rem; font-size: 1.25rem;
@include breakpoint($small) { @include breakpoint($small) {
float: left;
margin-bottom: 0; margin-bottom: 0;
@include gallery(4 of 12); width: span(4 of 12);
&:nth-child(3n + 1) {
clear: both;
margin-left: 0;
}
&:nth-child(3n + 2) {
clear: none;
margin-left: gutter(of 12);
}
&:nth-child(3n + 3) {
clear: none;
margin-left: gutter(of 12);
}
.feature__item-teaser { .feature__item-teaser {
max-height: 200px; max-height: 200px;
@@ -170,7 +217,11 @@
} }
&--left { &--left {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -179,19 +230,25 @@
@include breakpoint($small) { @include breakpoint($small) {
.archive__item-teaser { .archive__item-teaser {
@include span(5 of 12); float: left;
width: span(5 of 12);
} }
.archive__item-body { .archive__item-body {
@include span(7 of 12 last); float: right;
@include prefix(0.5 of 12); padding-left: gutter(0.5 of 12);
@include suffix(1 of 12); padding-right: gutter(1 of 12);
width: span(7 of 12);
} }
} }
} }
&--right { &--right {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -202,19 +259,25 @@
text-align: right; text-align: right;
.archive__item-teaser { .archive__item-teaser {
@include span(5 of 12 rtl); float: right;
width: span(5 of 12);
} }
.archive__item-body { .archive__item-body {
@include span(7 of 12 last rtl); float: right;
@include prefix(0.5 of 12); width: span(7 of 12);
@include suffix(1 of 12); padding-left: gutter(0.5 of 12);
padding-right: gutter(1 of 12);
} }
} }
} }
&--center { &--center {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
font-size: 1.25rem; font-size: 1.25rem;
.archive__item-teaser { .archive__item-teaser {
@@ -235,4 +298,22 @@
} }
} }
} }
} }
/* Place inside an archive layout */
.archive {
.feature__wrapper {
.archive__item-title {
margin-top: 0.25em;
font-size: 1em;
}
}
.feature__item,
.feature__item--left,
.feature__item--center,
.feature__item--right {
font-size: 1em;
}
}
@@ -21,7 +21,12 @@ body {
} }
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
margin: 2em 0 0.5em; margin: 2em 0 0.5em;
line-height: 1.2; line-height: 1.2;
font-family: $header-font-family; font-family: $header-font-family;
@@ -53,7 +58,8 @@ h6 {
font-size: $type-size-6; font-size: $type-size-6;
} }
small, .small { small,
.small {
font-size: $type-size-6; font-size: $type-size-6;
} }
@@ -76,7 +82,15 @@ del a {
/* reduce orphans and widows when printing */ /* reduce orphans and widows when printing */
p, pre, blockquote, ul, ol, dl, figure, table, fieldset { p,
pre,
blockquote,
ul,
ol,
dl,
figure,
table,
fieldset {
orphans: 3; orphans: 3;
widows: 3; widows: 3;
} }
@@ -118,13 +132,28 @@ a {
&:hover, &:hover,
&:active { &:active {
color: $link-color-hover;
outline: 0; outline: 0;
} }
&:visited {
color: $link-color-visited;
}
}
/* buttons */
button:focus {
@extend %tab-focus;
} }
/* code */ /* code */
tt, code, kbd, samp, pre { tt,
code,
kbd,
samp,
pre {
font-family: $monospace; font-family: $monospace;
} }
@@ -141,11 +170,10 @@ td > code {
padding-bottom: 0.1rem; padding-bottom: 0.1rem;
font-size: $type-size-6; font-size: $type-size-6;
background: $code-background-color; background: $code-background-color;
border: 1px solid $lighter-gray;
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: $box-shadow;
&:before, &:after { &:before,
&:after {
letter-spacing: -0.2em; letter-spacing: -0.2em;
content: "\00a0"; /* non-breaking space*/ content: "\00a0"; /* non-breaking space*/
} }
@@ -182,9 +210,9 @@ figure {
display: -webkit-box; display: -webkit-box;
display: flex; display: flex;
-webkit-box-pack: justify; -webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
-webkit-box-align: start; -webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
margin: 2em 0; margin: 2em 0;
@@ -236,32 +264,26 @@ figure {
figcaption { figcaption {
margin-bottom: 0.5em; margin-bottom: 0.5em;
color: mix(#fff, $text-color, 25%); color: $muted-text-color;
font-family: $caption-font-family; font-family: $caption-font-family;
font-size: $type-size-6; font-size: $type-size-6;
a { a {
color: inherit;
text-decoration: none;
border-bottom: 1px solid $light-gray;
-webkit-transition: $global-transition; -webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
&:hover { &:hover {
color: #000; color: $link-color-hover;
border-bottom-color: #000;
} }
} }
} }
/* Fix IE9 SVG bug */ /* Fix IE9 SVG bug */
svg:not(:root) { svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
/* /*
Navigation lists Navigation lists
========================================================================== */ ========================================================================== */
@@ -309,7 +331,28 @@ nav {
Global animation transition Global animation transition
========================================================================== */ ========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser { b,
i,
strong,
em,
blockquote,
p,
q,
span,
figure,
img,
h1,
h2,
header,
input,
a,
tr,
td,
form button,
input[type="submit"],
.btn,
.highlight,
.archive__item-teaser {
-webkit-transition: $global-transition; -webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
} }
+98
View File
@@ -0,0 +1,98 @@
/* ==========================================================================
BUTTONS
========================================================================== */
/*
Default button
========================================================================== */
.btn {
/* default */
display: inline-block;
margin-bottom: 0.25em;
padding: 0.5em 1em;
font-family: $sans-serif;
font-size: $type-size-6;
font-weight: bold;
text-align: center;
text-decoration: none;
border-width: 0;
border-radius: $border-radius;
cursor: pointer;
.icon {
margin-right: 0.5em;
}
.icon + .hidden {
margin-left: -0.5em; /* override for hidden text*/
}
/* button colors */
$buttoncolors:
(primary, $primary-color),
(inverse, #fff),
(light-outline, transparent),
(success, $success-color),
(warning, $warning-color),
(danger, $danger-color),
(info, $info-color),
(facebook, $facebook-color),
(twitter, $twitter-color),
(google-plus, $google-plus-color),
(linkedin, $linkedin-color);
@each $buttoncolor, $color in $buttoncolors {
&--#{$buttoncolor} {
@include yiq-contrasted($color);
@if ($buttoncolor == inverse) {
border: 1px solid $border-color;
}
@if ($buttoncolor == light-outline) {
border: 1px solid #fff;
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
&:visited {
@include yiq-contrasted($color);
}
}
}
/* fills width of parent container */
&--block {
display: block;
width: 100%;
+ .btn--block {
margin-top: 0.25em;
}
}
/* disabled */
&--disabled {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
/* extra large button */
&--x-large {
font-size: $type-size-4;
}
/* large button */
&--large {
font-size: $type-size-5;
}
/* small button */
&--small {
font-size: $type-size-7;
}
}
@@ -3,28 +3,31 @@
========================================================================== */ ========================================================================== */
.page__footer { .page__footer {
@include full();
@include clearfix; @include clearfix;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
/* sticky footer fix start */ /* sticky footer fix start */
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%;
clear: both;
height: auto; height: auto;
/* sticky footer fix end */ /* sticky footer fix end */
margin-top: 3em; margin-top: 3em;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.45s; -webkit-animation-delay: 0.45s;
animation-delay: 0.45s; animation-delay: 0.45s;
background-color: $lighter-gray; background-color: $footer-background-color;
border-top: 1px solid $light-gray;
footer { footer {
@include container;
@include clearfix; @include clearfix;
margin-left: auto;
margin-right: auto;
margin-top: 2em; margin-top: 2em;
max-width: 100%;
padding: 0 1em 2em; padding: 0 1em 2em;
@include breakpoint($x-large) { @include breakpoint($x-large) {
@@ -41,8 +44,11 @@
} }
} }
.fa { .fas,
color: mix(#fff, $gray, 25%); .fab,
.far,
.fal {
color: $muted-text-color;
} }
} }
@@ -52,7 +58,6 @@
} }
.page__footer-follow { .page__footer-follow {
ul { ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -77,4 +82,4 @@
padding-right: 10px; padding-right: 10px;
font-weight: bold; font-weight: bold;
} }
} }
@@ -4,6 +4,8 @@
form { form {
margin: 0 0 5px 0; margin: 0 0 5px 0;
padding: 1em;
background-color: $form-background-color;
fieldset { fieldset {
margin-bottom: 5px; margin-bottom: 5px;
@@ -19,7 +21,6 @@ form {
padding: 0; padding: 0;
color: $text-color; color: $text-color;
border: 0; border: 0;
border-bottom: 1px solid mix(#fff, #000, 80%);
white-space: normal; white-space: normal;
} }
@@ -80,14 +81,10 @@ select {
padding: 0.25em; padding: 0.25em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
color: $text-color; color: $text-color;
background-color: #fff; background-color: $background-color;
border: 1px solid mix(#fff, #000, 80%); border: $border-color;
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: $box-shadow; box-shadow: $box-shadow;
&:hover {
border-color: mix(#fff, $primary-color, 50%);
}
} }
.input-mini { .input-mini {
@@ -199,10 +196,9 @@ input[type="hidden"] {
margin-left: 10px; margin-left: 10px;
} }
/* /*
Disabled state Disabled state
========================================================================== */ ========================================================================== */
input[disabled], input[disabled],
select[disabled], select[disabled],
@@ -214,16 +210,17 @@ textarea[readonly] {
cursor: not-allowed; cursor: not-allowed;
} }
/* /*
Focus & active state Focus & active state
========================================================================== */ ========================================================================== */
input:focus, input:focus,
textarea:focus { textarea:focus {
border-color: $primary-color; border-color: $primary-color;
outline: 0; outline: 0;
outline: thin dotted \9; outline: thin dotted \9;
box-shadow: inset 0 1px 3px rgba($text-color, 0.06),
0 0 5px rgba($primary-color, 0.7);
} }
input[type="file"]:focus, input[type="file"]:focus,
@@ -233,14 +230,13 @@ select:focus {
box-shadow: none; box-shadow: none;
} }
/* /*
Help text Help text
========================================================================== */ ========================================================================== */
.help-block, .help-block,
.help-inline { .help-inline {
color: $info-color; color: $muted-text-color;
} }
.help-block { .help-block {
@@ -255,10 +251,19 @@ select:focus {
padding-left: 5px; padding-left: 5px;
} }
/*
.form-group
========================================================================== */
.form-group {
margin-bottom: 5px;
padding: 0;
border-width: 0;
}
/* /*
.form-inline .form-inline
========================================================================== */ ========================================================================== */
.form-inline input, .form-inline input,
.form-inline textarea, .form-inline textarea,
@@ -283,12 +288,12 @@ select:focus {
.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,
@@ -323,13 +328,12 @@ select:focus {
margin-right: 3px; margin-right: 3px;
} }
/* /*
.form--loading .form--loading
========================================================================== */ ========================================================================== */
.form--loading:before { .form--loading:before {
content: ''; content: "";
} }
.form--loading .form__spinner { .form--loading .form__spinner {
@@ -354,11 +358,9 @@ select:focus {
z-index: 11; z-index: 11;
} }
/* /*
Google search form Google search form
========================================================================== */ ========================================================================== */
#goog-fixurl { #goog-fixurl {
ul { ul {
@@ -382,10 +384,10 @@ select:focus {
color: #000; color: #000;
border-width: 2px !important; border-width: 2px !important;
border-style: solid !important; border-style: solid !important;
border-color: lighten(#000,50); border-color: $border-color;
border-radius: $border-radius; border-radius: $border-radius;
} }
#goog-wm-sb { #goog-wm-sb {
@extend .btn; @extend .btn;
} }
@@ -5,20 +5,22 @@
.masthead { .masthead {
position: relative; position: relative;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.15s; -webkit-animation-delay: 0.15s;
animation-delay: 0.15s; animation-delay: 0.15s;
z-index: 20; z-index: 20;
&__inner-wrap { &__inner-wrap {
@include container;
@include clearfix; @include clearfix;
margin-left: auto;
margin-right: auto;
padding: 1em;
max-width: 100%;
display: -webkit-box; display: -webkit-box;
display: flex; display: flex;
-webkit-box-pack: justify; -webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
padding: 1em 1em 1em;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
@include breakpoint($x-large) { @include breakpoint($x-large) {
@@ -41,13 +43,17 @@
padding: 0.5rem 0; padding: 0.5rem 0;
align-self: stretch; align-self: stretch;
-webkit-box-align: center; -webkit-box-align: center;
align-items: center; align-items: center;
font-weight: bold; font-weight: bold;
z-index: 20; z-index: 20;
} }
.masthead__menu { .masthead__menu {
float: left;
margin-left: 0;
margin-right: 0;
width: 100%; width: 100%;
clear: both;
.site-nav { .site-nav {
margin-left: 0; margin-left: 0;
@@ -74,4 +80,4 @@
padding-right: 2em; padding-right: 2em;
font-weight: 700; font-weight: 700;
} }
} }
@@ -50,4 +50,43 @@
content: ""; content: "";
display: table; display: table;
} }
}
/*
Compass YIQ Color Contrast
https://github.com/easy-designs/yiq-color-contrast
========================================================================== */
@function yiq-is-light(
$color,
$threshold: $yiq-contrasted-threshold
) {
$red: red($color);
$green: green($color);
$blue: blue($color);
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
@if $yiq-debug { @debug $yiq, $threshold; }
@return if($yiq >= $threshold, true, false);
}
@function yiq-contrast-color(
$color,
$dark: $yiq-contrasted-dark-default,
$light: $yiq-contrasted-light-default,
$threshold: $yiq-contrasted-threshold
) {
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
}
@mixin yiq-contrasted(
$background-color,
$dark: $yiq-contrasted-dark-default,
$light: $yiq-contrasted-light-default,
$threshold: $yiq-contrasted-threshold
) {
background-color: $background-color;
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
} }
@@ -7,17 +7,16 @@
========================================================================== */ ========================================================================== */
.breadcrumbs { .breadcrumbs {
@include container;
@include clearfix; @include clearfix;
margin-top: 0; margin: 0 auto;
margin-bottom: 0; max-width: 100%;
padding-left: 2em; padding-left: 2em;
padding-right: 2em; padding-right: 2em;
font-family: $sans-serif; font-family: $sans-serif;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.30s; -webkit-animation-delay: 0.3s;
animation-delay: 0.30s; animation-delay: 0.3s;
@include breakpoint($large) { @include breakpoint($large) {
padding-left: 1em; padding-left: 1em;
@@ -34,11 +33,12 @@
font-size: $type-size-6; font-size: $type-size-6;
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
width: span(10 of 12);
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
@include prefix(0.5 of 12); padding-left: gutter(0.5 of 12);
} }
} }
@@ -51,16 +51,16 @@
} }
} }
/* /*
Post pagination navigation links Post pagination navigation links
========================================================================== */ ========================================================================== */
.pagination { .pagination {
@include full();
@include clearfix(); @include clearfix();
float: left;
margin-top: 1em; margin-top: 1em;
padding-top: 1em; padding-top: 1em;
width: 100%;
ul { ul {
margin: 0; margin: 0;
@@ -84,21 +84,22 @@
line-height: 1.5; line-height: 1.5;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: 0; border-radius: 0;
&:hover { &:hover {
color: $link-color-hover; color: $link-color-hover;
} }
&.current { &.current,
&.current.disabled {
color: #fff; color: #fff;
background: $primary-color; background: $primary-color;
} }
&.disabled { &.disabled {
color: mix(#fff, $gray, 75%); color: rgba($muted-text-color, 0.5);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -132,12 +133,12 @@
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: $link-color; color: $muted-text-color;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: $border-radius; border-radius: $border-radius;
&:hover { &:hover {
color: $link-color-hover; @include yiq-contrasted($muted-text-color);
} }
&:first-child { &:first-child {
@@ -152,7 +153,7 @@
} }
&.disabled { &.disabled {
color: mix(#fff, $gray, 75%); color: rgba($muted-text-color, 0.5);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -168,17 +169,16 @@
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
} }
/* /*
Priority plus navigation Priority plus navigation
========================================================================== */ ========================================================================== */
.greedy-nav { .greedy-nav {
position: relative; position: relative;
display: -webkit-box; display: -webkit-box;
display: flex; display: flex;
-webkit-box-align: center; -webkit-box-align: center;
align-items: center; align-items: center;
background: $background-color; background: $background-color;
a { a {
@@ -197,7 +197,7 @@
} }
} }
button { &__toggle {
padding: 0 0.5rem; padding: 0 0.5rem;
align-self: stretch; align-self: stretch;
border: 0; border: 0;
@@ -211,21 +211,14 @@
display: -webkit-box; display: -webkit-box;
display: flex; display: flex;
-webkit-box-pack: end; -webkit-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
-webkit-box-flex: 1; -webkit-box-flex: 1;
flex: 1; flex: 1;
padding-right: 2rem;
overflow: hidden; overflow: hidden;
li { li {
-webkit-box-flex: 0; -webkit-box-flex: 0;
flex: none; flex: none;
&:last-child {
a {
margin-right: 0;
}
}
} }
a { a {
@@ -237,18 +230,18 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
height: 4px; height: 4px;
background: mix(#fff, $primary-color, 50%); background: $primary-color;
width: 100%; width: 100%;
-webkit-transition: $global-transition; -webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
-webkit-transform: scaleX(0) translate3d(0, 0 , 0); -webkit-transform: scaleX(0) translate3d(0, 0, 0);
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/ transform: scaleX(0) translate3d(0, 0, 0); /* hide*/
} }
&:hover:before { &:hover:before {
-webkit-transform: scaleX(1); -webkit-transform: scaleX(1);
-ms-transform: scaleX(1); -ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/ transform: scaleX(1); /* reveal*/
} }
} }
} }
@@ -261,7 +254,7 @@
padding: 5px; padding: 5px;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background: #fff; background: $background-color;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12); box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
&.hidden { &.hidden {
@@ -275,7 +268,7 @@
&:hover { &:hover {
color: $masthead-link-color-hover; color: $masthead-link-color-hover;
background: mix(#fff, $primary-color, 75%); background: $navicon-link-color-hover;
} }
} }
@@ -300,7 +293,7 @@
width: 0; width: 0;
border-style: solid; border-style: solid;
border-width: 0 10px 10px; border-width: 0 10px 10px;
border-color: #fff transparent; border-color: $background-color transparent;
display: block; display: block;
z-index: 1; z-index: 1;
} }
@@ -316,10 +309,19 @@
} }
} }
.no-js {
.greedy-nav {
.visible-links {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
overflow: visible;
}
}
}
/* /*
Navigation list Navigation list
========================================================================== */ ========================================================================== */
.nav__list { .nav__list {
margin-bottom: 1.5em; margin-bottom: 1.5em;
@@ -330,7 +332,6 @@
} }
@include breakpoint(max-width ($large - 1px)) { @include breakpoint(max-width ($large - 1px)) {
label { label {
position: relative; position: relative;
display: inline-block; display: inline-block;
@@ -347,7 +348,7 @@
&:before, &:before,
&:after { &:after {
content: ''; content: "";
position: absolute; position: absolute;
right: 1em; right: 1em;
top: 1.25em; top: 1.25em;
@@ -361,8 +362,8 @@
&:after { &:after {
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
transform: rotate(90deg); transform: rotate(90deg);
} }
&:hover { &:hover {
@@ -391,14 +392,14 @@
/* on hover show expand*/ /* on hover show expand*/
label:hover:after { label:hover:after {
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
transform: rotate(90deg); transform: rotate(90deg);
} }
input:checked + label:hover:after { input:checked + label:hover:after {
-webkit-transform: rotate(0); -webkit-transform: rotate(0);
-ms-transform: rotate(0); -ms-transform: rotate(0);
transform: rotate(0); transform: rotate(0);
} }
ul { ul {
@@ -433,14 +434,7 @@
margin-left: -0.5em; margin-left: -0.5em;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
color: #fff;
font-weight: bold; font-weight: bold;
background: $primary-color;
border-radius: $border-radius;
&:hover {
color: #fff;
}
} }
@include breakpoint(max-width ($large - 1px)) { @include breakpoint(max-width ($large - 1px)) {
@@ -452,8 +446,8 @@
-webkit-transition: 0.3s ease-in-out; -webkit-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
-webkit-transform: translate(0, 10%); -webkit-transform: translate(0, 10%);
-ms-transform: translate(0, 10%); -ms-transform: translate(0, 10%);
transform: translate(0, 10%); transform: translate(0, 10%);
} }
} }
@@ -466,8 +460,8 @@
opacity: 1; opacity: 1;
margin-top: 1em; margin-top: 1em;
-webkit-transform: translate(0, 0); -webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0); -ms-transform: translate(0, 0);
transform: translate(0, 0); transform: translate(0, 0);
} }
} }
@@ -490,17 +484,16 @@
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
/* /*
Table of contents navigation Table of contents navigation
========================================================================== */ ========================================================================== */
.toc { .toc {
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
color: $gray; color: $gray;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
background-color: #fff; background-color: $background-color;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: $box-shadow; box-shadow: $box-shadow;
@@ -524,15 +517,14 @@
a { a {
display: block; display: block;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
color: $gray; color: $muted-text-color;
font-size: $type-size-7; font-size: $type-size-7;
font-weight: bold; font-weight: bold;
line-height: 1.5; line-height: 1.5;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
&:hover { &:hover {
color: #000; color: $text-color;
background: $lighter-gray;
} }
} }
@@ -543,7 +535,7 @@
} }
li ul > li a { li ul > li a {
padding-left: 2rem; padding-left: 1.75rem;
font-weight: normal; font-weight: normal;
} }
@@ -555,4 +547,4 @@
display: block; display: block;
} }
} }
} }
@@ -13,6 +13,7 @@
@mixin notice($notice-color) { @mixin notice($notice-color) {
margin: 2em 0 !important; /* override*/ margin: 2em 0 !important; /* override*/
padding: 1em; padding: 1em;
color: $dark-gray;
font-family: $global-font-family; font-family: $global-font-family;
font-size: $type-size-6 !important; font-size: $type-size-6 !important;
text-indent: initial; /* override*/ text-indent: initial; /* override*/
@@ -3,15 +3,17 @@
========================================================================== */ ========================================================================== */
#main { #main {
@include container;
@include clearfix; @include clearfix;
margin-left: auto;
margin-top: 2em; margin-top: 2em;
margin-right: auto;
padding-left: 1em; padding-left: 1em;
padding-right: 1em; padding-right: 1em;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.35s; max-width: 100%;
animation-delay: 0.35s; -webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
@include breakpoint($x-large) { @include breakpoint($x-large) {
max-width: $x-large; max-width: $x-large;
@@ -20,18 +22,32 @@
.page { .page {
@include breakpoint($large) { @include breakpoint($large) {
@include span(10 of 12 last); float: right;
@include prefix(0.5 of 12); width: calc(100% - #{$right-sidebar-width-narrow});
@include suffix(2 of 12); padding-right: $right-sidebar-width-narrow;
}
@include breakpoint($x-large) {
width: calc(100% - #{$right-sidebar-width});
padding-right: $right-sidebar-width;
} }
.page__inner-wrap { .page__inner-wrap {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
.page__content, .page__content,
.page__meta, .page__meta,
.page__share { .page__share {
@include full(); position: relative;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
} }
} }
} }
@@ -51,13 +67,14 @@
} }
.page__content { .page__content {
h2 { h2 {
padding-bottom: 0.5em; padding-bottom: 0.5em;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
p, li, dl { p,
li,
dl {
font-size: 1em; font-size: 1em;
} }
@@ -74,9 +91,7 @@
} }
} }
a { a:not(.btn) {
text-decoration: none;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
@@ -113,10 +128,10 @@
position: relative; position: relative;
margin-bottom: 2em; margin-bottom: 2em;
@include clearfix; @include clearfix;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.25s; -webkit-animation-delay: 0.25s;
animation-delay: 0.25s; animation-delay: 0.25s;
&--overlay { &--overlay {
position: relative; position: relative;
@@ -126,10 +141,10 @@
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
-webkit-animation: intro 0.3s both; -webkit-animation: $intro-transition;
animation: intro 0.3s both; animation: $intro-transition;
-webkit-animation-delay: 0.25s; -webkit-animation-delay: 0.25s;
animation-delay: 0.25s; animation-delay: 0.25s;
a { a {
color: #fff; color: #fff;
@@ -185,7 +200,7 @@
text-align: right; text-align: right;
z-index: 5; z-index: 5;
opacity: 0.5; opacity: 0.5;
border-radius: $border-radius 0 $border-radius 0; border-radius: $border-radius 0 0 0;
@include breakpoint($large) { @include breakpoint($large) {
padding: 5px 10px; padding: 5px 10px;
@@ -226,14 +241,13 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* /*
Page meta Page meta
========================================================================== */ ========================================================================== */
.page__meta { .page__meta {
margin-top: 2em; margin-top: 2em;
color: mix(#fff, $gray, 25%); color: $muted-text-color;
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
@@ -252,7 +266,6 @@
text-transform: uppercase; text-transform: uppercase;
} }
/* /*
Page taxonomy Page taxonomy
========================================================================== */ ========================================================================== */
@@ -273,7 +286,7 @@
margin-bottom: 8px; margin-bottom: 8px;
padding: 5px 10px; padding: 5px 10px;
text-decoration: none; text-decoration: none;
border: 1px solid $light-gray; border: 1px solid mix(#000, $border-color, 25%);
border-radius: $border-radius; border-radius: $border-radius;
&:hover { &:hover {
@@ -282,13 +295,16 @@
} }
} }
/* /*
Comments Comments
========================================================================== */ ========================================================================== */
.page__comments { .page__comments {
@include full(); float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
} }
.page__comments-title { .page__comments-title {
@@ -301,8 +317,6 @@
} }
.page__comments-form { .page__comments-form {
padding: 1em;
background: $lighter-gray;
-webkit-transition: $global-transition; -webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
@@ -379,20 +393,24 @@
} }
} }
/* /*
Related Related
========================================================================== */ ========================================================================== */
.page__related { .page__related {
@include clearfix();
float: left;
margin-top: 2em; margin-top: 2em;
padding-top: 1em; padding-top: 1em;
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
@include clearfix();
float: left;
@include breakpoint($large) { @include breakpoint($large) {
@include pre(2.5 of 12); float: right;
width: calc(100% - #{$right-sidebar-width-narrow});
}
@include breakpoint($x-large) {
width: calc(100% - #{$right-sidebar-width});
} }
a { a {
@@ -405,4 +423,30 @@
margin-bottom: 10px; margin-bottom: 10px;
font-size: $type-size-6; font-size: $type-size-6;
text-transform: uppercase; text-transform: uppercase;
} }
/*
Wide Pages
========================================================================== */
.wide {
.page {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
.page__related {
@include breakpoint($large) {
padding-right: 0;
}
@include breakpoint($x-large) {
padding-right: 0;
}
}
}
+252
View File
@@ -0,0 +1,252 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */
@media print {
[hidden] {
display: none;
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
margin: 0;
padding: 0;
min-height: auto !important;
font-size: 16px;
}
body {
margin: 0 auto;
background: #fff !important;
color: #000 !important;
font-size: 1rem;
line-height: 1.5;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #000;
line-height: 1.2;
margin-bottom: 0.75rem;
margin-top: 0;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.75rem;
}
h4 {
font-size: 1.5rem;
}
h5 {
font-size: 1.25rem;
}
h6 {
font-size: 1rem;
}
a,
a:visited {
color: #000;
text-decoration: underline;
word-wrap: break-word;
}
table {
border-collapse: collapse;
}
thead {
display: table-header-group;
}
table,
th,
td {
border-bottom: 1px solid #000;
}
td,
th {
padding: 8px 16px;
}
img {
border: 0;
display: block;
max-width: 100% !important;
vertical-align: middle;
}
hr {
border: 0;
border-bottom: 2px solid #bbb;
height: 0;
margin: 2.25rem 0;
padding: 0;
}
dt {
font-weight: bold;
}
dd {
margin: 0;
margin-bottom: 0.75rem;
}
abbr[title],
acronym[title] {
border: 0;
text-decoration: none;
}
table,
blockquote,
pre,
code,
figure,
li,
hr,
ul,
ol,
a,
tr {
page-break-inside: avoid;
}
h2,
h3,
h4,
p,
a {
orphans: 3;
widows: 3;
}
h1,
h2,
h3,
h4,
h5,
h6 {
page-break-after: avoid;
page-break-inside: avoid;
}
h1 + p,
h2 + p,
h3 + p {
page-break-before: avoid;
}
img {
page-break-after: auto;
page-break-before: auto;
page-break-inside: avoid;
}
pre {
white-space: pre-wrap !important;
word-wrap: break-word;
}
a[href^='http://']:after,
a[href^='https://']:after,
a[href^='ftp://']:after {
content: " (" attr(href) ")";
font-size: 80%;
}
abbr[title]:after,
acronym[title]:after {
content: " (" attr(title) ")";
}
#main {
max-width: 100%;
}
.page {
margin: 0;
padding: 0;
width: 100%;
}
.page-break,
.page-break-before {
page-break-before: always;
}
.page-break-after {
page-break-after: always;
}
.no-print {
display: none;
}
a.no-reformat:after {
content: '';
}
abbr[title].no-reformat:after,
acronym[title].no-reformat:after {
content: '';
}
.page__hero-caption {
color: #000 !important;
background: #fff !important;
opacity: 1;
a {
color: #000 !important;
}
}
/*
Hide the following elements on print
========================================================================== */
.masthead,
.toc,
.page__share,
.page__related,
.pagination,
.ads,
.page__footer,
.page__comments-form,
.author__avatar,
.author__content,
.author__urls-wrapper,
.nav__list,
.sidebar,
.adsbygoogle {
display: none !important;
height: 1px !important;
}
}
@@ -2,7 +2,7 @@
STYLE RESETS STYLE RESETS
========================================================================== */ ========================================================================== */
@include border-box-sizing; * { box-sizing: border-box; }
html { html {
/* apply a natural box layout model to all elements */ /* apply a natural box layout model to all elements */
@@ -172,7 +172,7 @@ input[type="checkbox"] {
} }
input[type="search"] { /* Appearance in Safari/Chrome*/ input[type="search"] { /* Appearance in Safari/Chrome*/
box-sizing: content-box; box-sizing: border-box;
-webkit-appearance: textfield; -webkit-appearance: textfield;
} }
+125
View File
@@ -0,0 +1,125 @@
/* ==========================================================================
SEARCH
========================================================================== */
.layout--search {
.archive__item-teaser {
margin-bottom: 0.25em;
}
}
.search__toggle {
margin-left: 1rem;
margin-right: 1rem;
border: 0;
outline: none;
color: $muted-text-color;
background-color: transparent;
cursor: pointer;
-webkit-transition: 0.2s;
transition: 0.2s;
&:hover {
color: $text-color;
}
}
.search-icon {
width: 100%;
height: 100%;
}
.search-content {
display: none;
visibility: hidden;
padding-top: 1em;
padding-bottom: 1em;
&__inner-wrap {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 1em;
padding-right: 1em;
-webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
.search-input {
display: block;
margin-bottom: 0;
padding: 0;
border: none;
outline: none;
box-shadow: none;
background-color: transparent;
font-size: $type-size-3;
@include breakpoint($large) {
font-size: $type-size-2;
}
@include breakpoint($x-large) {
font-size: $type-size-1;
}
}
&.is--visible {
display: block;
visibility: visible;
&::after {
content: "";
display: block;
}
}
.results__found {
margin-top: 0.5em;
font-size: $type-size-6;
}
.archive__item {
margin-bottom: 2em;
@include breakpoint($large) {
width: 75%;
}
@include breakpoint($x-large) {
width: 50%;
}
}
.archive__item-title {
margin-top: 0;
}
.archive__item-excerpt {
margin-bottom: 0;
}
}
/* Algolia search */
.ais-search-box {
max-width: 100% !important;
margin-bottom: 2em;
}
.archive__item-title .ais-Highlight {
color: $link-color;
font-style: normal;
text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
color: $link-color;
font-style: normal;
font-weight: bold;
}
@@ -7,33 +7,52 @@
========================================================================== */ ========================================================================== */
.sidebar { .sidebar {
-webkit-transform: translate3d(0, 0 , 0);
transform: translate3d(0, 0 , 0);
@include clearfix(); @include clearfix();
margin-bottom: 1em; margin-bottom: 1em;
@include breakpoint(max-width $large) {
/* fix z-index order of follow links */
position: relative;
z-index: 10;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
@include breakpoint($large) { @include breakpoint($large) {
@include span(2 of 12); float: left;
width: calc(#{$right-sidebar-width-narrow} - 1em);
opacity: 0.75; opacity: 0.75;
-webkit-transition: opacity 0.2s ease-in-out; -webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out;
&:hover { &:hover {
opacity: 1; opacity: 1;
} }
&.sticky {
overflow-y: auto;
/* calculate height of nav list */
height: calc(
100vh - 90px - 2em
); // viewport height - approx. masthead height - main content top margin
}
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
padding-right: 0; width: calc(#{$right-sidebar-width} - 1em);
} }
h2, h3, h4, h5, h6 { h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0; margin-bottom: 0;
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
} }
p, li { p,
li {
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
line-height: 1.5; line-height: 1.5;
@@ -48,15 +67,30 @@
margin-bottom: 1em; margin-bottom: 1em;
@include breakpoint($large) { @include breakpoint($large) {
position: relative; position: absolute;
float: right; top: 0;
right: 0;
width: $right-sidebar-width-narrow; width: $right-sidebar-width-narrow;
margin-left: span(0.5 of 12); margin-right: -1 * $right-sidebar-width-narrow;
padding-left: 1em;
z-index: 10; z-index: 10;
} }
@include breakpoint($x-large) { @include breakpoint($x-large) {
width: $right-sidebar-width; width: $right-sidebar-width;
margin-right: -1 * $right-sidebar-width;
}
}
.splash .sidebar__right {
@include breakpoint($large) {
position: relative;
float: right;
margin-right: 0;
}
@include breakpoint($x-large) {
margin-right: 0;
} }
} }
@@ -100,6 +134,11 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
a {
color: inherit;
text-decoration: none;
}
} }
.author__name { .author__name {
@@ -161,11 +200,15 @@
list-style-type: none; list-style-type: none;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background: #fff; background: $background-color;
z-index: -1; z-index: -1;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12); box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default; cursor: default;
&.is--visible {
display: block;
}
@include breakpoint($large) { @include breakpoint($large) {
display: block; display: block;
position: relative; position: relative;
@@ -202,7 +245,7 @@
width: 0; width: 0;
border-style: solid; border-style: solid;
border-width: 0 10px 10px; border-width: 0 10px 10px;
border-color: #fff transparent; border-color: $background-color transparent;
z-index: 1; z-index: 1;
@include breakpoint($large) { @include breakpoint($large) {
@@ -228,4 +271,27 @@
text-decoration: underline; text-decoration: underline;
} }
} }
} }
/*
Wide Pages
========================================================================== */
.wide .sidebar__right {
margin-bottom: 1em;
@include breakpoint($large) {
position: initial;
top: initial;
right: initial;
width: initial;
margin-right: initial;
padding-left: initial;
z-index: initial;
}
@include breakpoint($x-large) {
width: initial;
margin-right: initial;
}
}
+324
View File
@@ -0,0 +1,324 @@
/* ==========================================================================
Syntax highlighting
========================================================================== */
div.highlighter-rouge,
figure.highlight {
position: relative;
margin-bottom: 1em;
background: $base00;
color: $base05;
font-family: $monospace;
font-size: $type-size-6;
line-height: 1.8;
border-radius: $border-radius;
> pre,
pre.highlight {
margin: 0;
padding: 1em;
}
}
.highlight table {
margin-bottom: 0;
font-size: 1em;
border: 0;
td {
padding: 0;
width: calc(100% - 1em);
border: 0;
/* line numbers*/
&.gutter,
&.rouge-gutter {
padding-right: 1em;
width: 1em;
color: $base04;
border-right: 1px solid $base04;
text-align: right;
}
/* code */
&.code,
&.rouge-code {
padding-left: 1em;
}
}
pre {
margin: 0;
}
}
.highlight pre {
width: 100%;
}
.highlight .hll {
background-color: $base06;
}
.highlight {
.c {
/* Comment */
color: $base04;
}
.err {
/* Error */
color: $base08;
}
.k {
/* Keyword */
color: $base0e;
}
.l {
/* Literal */
color: $base09;
}
.n {
/* Name */
color: $base05;
}
.o {
/* Operator */
color: $base0c;
}
.p {
/* Punctuation */
color: $base05;
}
.cm {
/* Comment.Multiline */
color: $base04;
}
.cp {
/* Comment.Preproc */
color: $base04;
}
.c1 {
/* Comment.Single */
color: $base04;
}
.cs {
/* Comment.Special */
color: $base04;
}
.gd {
/* Generic.Deleted */
color: $base08;
}
.ge {
/* Generic.Emph */
font-style: italic;
}
.gh {
/* Generic.Heading */
color: $base05;
font-weight: bold;
}
.gi {
/* Generic.Inserted */
color: $base0b;
}
.gp {
/* Generic.Prompt */
color: $base04;
font-weight: bold;
}
.gs {
/* Generic.Strong */
font-weight: bold;
}
.gu {
/* Generic.Subheading */
color: $base0c;
font-weight: bold;
}
.kc {
/* Keyword.Constant */
color: $base0e;
}
.kd {
/* Keyword.Declaration */
color: $base0e;
}
.kn {
/* Keyword.Namespace */
color: $base0c;
}
.kp {
/* Keyword.Pseudo */
color: $base0e;
}
.kr {
/* Keyword.Reserved */
color: $base0e;
}
.kt {
/* Keyword.Type */
color: $base0a;
}
.ld {
/* Literal.Date */
color: $base0b;
}
.m {
/* Literal.Number */
color: $base09;
}
.s {
/* Literal.String */
color: $base0b;
}
.na {
/* Name.Attribute */
color: $base0d;
}
.nb {
/* Name.Builtin */
color: $base05;
}
.nc {
/* Name.Class */
color: $base0a;
}
.no {
/* Name.Constant */
color: $base08;
}
.nd {
/* Name.Decorator */
color: $base0c;
}
.ni {
/* Name.Entity */
color: $base05;
}
.ne {
/* Name.Exception */
color: $base08;
}
.nf {
/* Name.Function */
color: $base0d;
}
.nl {
/* Name.Label */
color: $base05;
}
.nn {
/* Name.Namespace */
color: $base0a;
}
.nx {
/* Name.Other */
color: $base0d;
}
.py {
/* Name.Property */
color: $base05;
}
.nt {
/* Name.Tag */
color: $base0c;
}
.nv {
/* Name.Variable */
color: $base08;
}
.ow {
/* Operator.Word */
color: $base0c;
}
.w {
/* Text.Whitespace */
color: $base05;
}
.mf {
/* Literal.Number.Float */
color: $base09;
}
.mh {
/* Literal.Number.Hex */
color: $base09;
}
.mi {
/* Literal.Number.Integer */
color: $base09;
}
.mo {
/* Literal.Number.Oct */
color: $base09;
}
.sb {
/* Literal.String.Backtick */
color: $base0b;
}
.sc {
/* Literal.String.Char */
color: $base05;
}
.sd {
/* Literal.String.Doc */
color: $base04;
}
.s2 {
/* Literal.String.Double */
color: $base0b;
}
.se {
/* Literal.String.Escape */
color: $base09;
}
.sh {
/* Literal.String.Heredoc */
color: $base0b;
}
.si {
/* Literal.String.Interpol */
color: $base09;
}
.sx {
/* Literal.String.Other */
color: $base0b;
}
.sr {
/* Literal.String.Regex */
color: $base0b;
}
.s1 {
/* Literal.String.Single */
color: $base0b;
}
.ss {
/* Literal.String.Symbol */
color: $base0b;
}
.bp {
/* Name.Builtin.Pseudo */
color: $base05;
}
.vc {
/* Name.Variable.Class */
color: $base08;
}
.vg {
/* Name.Variable.Global */
color: $base08;
}
.vi {
/* Name.Variable.Instance */
color: $base08;
}
.il {
/* Literal.Number.Integer.Long */
color: $base09;
}
}
.gist {
th, td {
border-bottom: 0;
}
}
@@ -8,7 +8,6 @@ table {
font-family: $global-font-family; font-family: $global-font-family;
font-size: $type-size-6; font-size: $type-size-6;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid $light-gray;
& + table { & + table {
margin-top: 1em; margin-top: 1em;
@@ -16,23 +15,23 @@ table {
} }
thead { thead {
background-color: $lighter-gray; background-color: $border-color;
border-bottom: 1px solid $light-gray; border-bottom: 2px solid mix(#000, $border-color, 25%);
} }
th { th {
padding: 0.5em; padding: 0.5em;
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
border-right: 1px solid $light-gray;
} }
td { td {
padding: 0.5em; padding: 0.5em;
border-bottom: 1px solid $light-gray; border-bottom: 1px solid mix(#000, $border-color, 25%);
border-right: 1px solid $light-gray;
} }
tr, td, th { tr,
td,
th {
vertical-align: middle; vertical-align: middle;
} }
@@ -8,7 +8,8 @@
/* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */ /* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
.hidden { .hidden,
.is--hidden {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
@@ -46,7 +47,7 @@ body:hover .visually-hidden button {
/* screen readers */ /* screen readers */
.screen-reader-text:focus, .screen-reader-text:focus,
.screen-reader-shortcut:focus { .screen-reader-shortcut:focus {
clip: auto !important; clip: auto !important;
height: auto !important; height: auto !important;
width: auto !important; width: auto !important;
@@ -57,10 +58,9 @@ body:hover .visually-hidden button {
background: #fff; background: #fff;
z-index: 100000; z-index: 100000;
text-decoration: none; text-decoration: none;
box-shadow: 0 0 2px 2px rgba(0,0,0,.6); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
} }
/* /*
Skip links Skip links
========================================================================== */ ========================================================================== */
@@ -79,7 +79,6 @@ body:hover .visually-hidden button {
list-style: none; list-style: none;
} }
/* /*
Type Type
========================================================================== */ ========================================================================== */
@@ -104,19 +103,21 @@ body:hover .visually-hidden button {
white-space: nowrap; white-space: nowrap;
} }
/* /*
Alignment Alignment
========================================================================== */ ========================================================================== */
/* clearfix */ /* clearfix */
.cf { clear: both; } .cf {
clear: both;
.wrapper {
@include container();
} }
.wrapper {
margin-left: auto;
margin-right: auto;
width: 100%;
}
/* /*
Images Images
@@ -159,7 +160,7 @@ body:hover .visually-hidden button {
/* file page content container */ /* file page content container */
.full { .full {
@include breakpoint($large){ @include breakpoint($large) {
margin-right: -1 * span(2.5 of 12) !important; margin-right: -1 * span(2.5 of 12) !important;
} }
} }
@@ -182,8 +183,11 @@ body:hover .visually-hidden button {
/* social icons*/ /* social icons*/
.social-icons { .social-icons {
.fa { .fas,
color: #000; .fab,
.far,
.fal {
color: $text-color;
} }
.fa-behance, .fa-behance,
@@ -191,12 +195,18 @@ body:hover .visually-hidden button {
color: $behance-color; color: $behance-color;
} }
.fa-dribbble { .fa-bitbucket {
color: $bitbucket-color;
}
.fa-dribbble,
.fa-dribble-square {
color: $dribbble-color; color: $dribbble-color;
} }
.fa-facebook, .fa-facebook,
.fa-facebook-square { .fa-facebook-square,
.fa-facebook-f {
color: $facebook-color; color: $facebook-color;
} }
@@ -215,7 +225,8 @@ body:hover .visually-hidden button {
} }
.fa-google-plus, .fa-google-plus,
.fa-google-plus-square { .fa-google-plus-square,
.fa-google-plus-g {
color: $google-plus-color; color: $google-plus-color;
} }
@@ -229,7 +240,7 @@ body:hover .visually-hidden button {
} }
.fa-linkedin, .fa-linkedin,
.fa-linkedin-square { .fa-linkedin-in {
color: $linkedin-color; color: $linkedin-color;
} }
@@ -264,7 +275,8 @@ body:hover .visually-hidden button {
} }
.fa-vimeo, .fa-vimeo,
.fa-vimeo-square { .fa-vimeo-square,
.fa-vimeo-v {
color: $vimeo-color; color: $vimeo-color;
} }
@@ -272,9 +284,7 @@ body:hover .visually-hidden button {
color: $vine-color; color: $vine-color;
} }
.fa-youtube, .fa-youtube {
.fa-youtube-square,
.fa-youtube-play {
color: $youtube-color; color: $youtube-color;
} }
@@ -284,7 +294,6 @@ body:hover .visually-hidden button {
} }
} }
/* /*
Navicons Navicons
========================================================================== */ ========================================================================== */
@@ -324,26 +333,26 @@ body:hover .visually-hidden button {
background: transparent; background: transparent;
/* overlay the lines by setting both their top values to 0*/ /* overlay the lines by setting both their top values to 0*/
&:before, &:after{ &:before,
&:after {
-webkit-transform-origin: 50% 50%; -webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%;
transform-origin: 50% 50%; transform-origin: 50% 50%;
top: 0; top: 0;
width: $navicon-width; width: $navicon-width;
} }
/* rotate the lines to form the x shape*/ /* rotate the lines to form the x shape*/
&:before{ &:before {
-webkit-transform: rotate3d(0,0,1,45deg); -webkit-transform: rotate3d(0, 0, 1, 45deg);
transform: rotate3d(0,0,1,45deg); transform: rotate3d(0, 0, 1, 45deg);
} }
&:after{ &:after {
-webkit-transform: rotate3d(0,0,1,-45deg); -webkit-transform: rotate3d(0, 0, 1, -45deg);
transform: rotate3d(0,0,1,-45deg); transform: rotate3d(0, 0, 1, -45deg);
} }
} }
/* /*
Sticky, fixed to top content Sticky, fixed to top content
========================================================================== */ ========================================================================== */
@@ -361,7 +370,6 @@ body:hover .visually-hidden button {
} }
} }
/* /*
Wells Wells
========================================================================== */ ========================================================================== */
@@ -376,7 +384,6 @@ body:hover .visually-hidden button {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
} }
/* /*
Modals Modals
========================================================================== */ ========================================================================== */
@@ -431,7 +438,6 @@ body:hover .visually-hidden button {
} }
} }
/* /*
Footnotes Footnotes
========================================================================== */ ========================================================================== */
@@ -444,7 +450,9 @@ body:hover .visually-hidden button {
.footnotes { .footnotes {
color: mix(#fff, $gray, 25%); color: mix(#fff, $gray, 25%);
ol, li, p { ol,
li,
p {
margin-bottom: 0; margin-bottom: 0;
font-size: $type-size-6; font-size: $type-size-6;
} }
@@ -459,7 +467,6 @@ a.reversefootnote {
} }
} }
/* /*
Required Required
========================================================================== */ ========================================================================== */
@@ -469,21 +476,21 @@ a.reversefootnote {
font-weight: bold; font-weight: bold;
} }
/* /*
Google Custom Search Engine Google Custom Search Engine
========================================================================== */ ========================================================================== */
.gsc-control-cse { .gsc-control-cse {
table,
table, tr, td { tr,
td {
border: 0; /* remove table borders widget */ border: 0; /* remove table borders widget */
} }
} }
/* /*
Responsive Video Embed Responsive Video Embed
========================================================================== */ ========================================================================== */
.responsive-video-container { .responsive-video-container {
position: relative; position: relative;
@@ -504,3 +511,10 @@ a.reversefootnote {
} }
} }
// full screen video fixes
:-webkit-full-screen-ancestor {
.masthead,
.page__footer {
position: static;
}
}
+153
View File
@@ -0,0 +1,153 @@
/* ==========================================================================
Variables
========================================================================== */
/*
Typography
========================================================================== */
$doc-font-size: 16 !default;
/* paragraph indention */
$paragraph-indent: false !default; // true, false (default)
$indent-var: 1.3em !default;
/* system typefaces */
$serif: Georgia, Times, serif !default;
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI",
"Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace: Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */
$sans-serif-narrow: $sans-serif !default;
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */
$georgia: Georgia, serif !default;
$times: Times, serif !default;
$bodoni: "Bodoni MT", serif !default;
$calisto: "Calisto MT", serif !default;
$garamond: Garamond, serif !default;
$global-font-family: $sans-serif !default;
$header-font-family: $sans-serif !default;
$caption-font-family: $serif !default;
/* type scale */
$type-size-1: 2.441em !default; // ~39.056px
$type-size-2: 1.953em !default; // ~31.248px
$type-size-3: 1.563em !default; // ~25.008px
$type-size-4: 1.25em !default; // ~20px
$type-size-5: 1em !default; // ~16px
$type-size-6: 0.75em !default; // ~12px
$type-size-7: 0.6875em !default; // ~11px
$type-size-8: 0.625em !default; // ~10px
/*
Colors
========================================================================== */
$gray: #7a8288 !default;
$dark-gray: mix(#000, $gray, 40%) !default;
$darker-gray: mix(#000, $gray, 60%) !default;
$light-gray: mix(#fff, $gray, 50%) !default;
$lighter-gray: mix(#fff, $gray, 90%) !default;
$background-color: #fff !default;
$code-background-color: #fafafa !default;
$code-background-color-dark: $light-gray !default;
$text-color: $dark-gray !default;
$muted-text-color: mix(#fff, $text-color, 35%) !default;
$border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
$primary-color: #7a8288 !default;
$success-color: #62c462 !default;
$warning-color: #f89406 !default;
$danger-color: #ee5f5b !default;
$info-color: #52adc8 !default;
/* YIQ color contrast */
$yiq-contrasted-dark-default: $dark-gray !default;
$yiq-contrasted-light-default: #fff !default;
$yiq-contrasted-threshold: 175 !default;
$yiq-debug: false !default;
/* brands */
$behance-color: #1769ff !default;
$bitbucket-color: #205081 !default;
$dribbble-color: #ea4c89 !default;
$facebook-color: #3b5998 !default;
$flickr-color: #ff0084 !default;
$foursquare-color: #0072b1 !default;
$github-color: #171516 !default;
$google-plus-color: #dd4b39 !default;
$instagram-color: #517fa4 !default;
$lastfm-color: #d51007 !default;
$linkedin-color: #007bb6 !default;
$pinterest-color: #cb2027 !default;
$rss-color: #fa9b39 !default;
$soundcloud-color: #ff3300 !default;
$stackoverflow-color: #fe7a15 !default;
$tumblr-color: #32506d !default;
$twitter-color: #55acee !default;
$vimeo-color: #1ab7ea !default;
$vine-color: #00bf8f !default;
$youtube-color: #bb0000 !default;
$xing-color: #006567 !default;
/* links */
$link-color: $info-color !default;
$link-color-hover: mix(#000, $link-color, 25%) !default;
$link-color-visited: mix(#fff, $link-color, 25%) !default;
$masthead-link-color: $primary-color !default;
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
/* syntax highlighting (base16) */
$base00: #263238 !default;
$base01: #2e3c43 !default;
$base02: #314549 !default;
$base03: #546e7a !default;
$base04: #b2ccd6 !default;
$base05: #eeffff !default;
$base06: #eeffff !default;
$base07: #ffffff !default;
$base08: #f07178 !default;
$base09: #f78c6c !default;
$base0a: #ffcb6b !default;
$base0b: #c3e88d !default;
$base0c: #89ddff !default;
$base0d: #82aaff !default;
$base0e: #c792ea !default;
$base0f: #ff5370 !default;
/*
Breakpoints
========================================================================== */
$small: 600px !default;
$medium: 768px !default;
$medium-wide: 900px !default;
$large: 1024px !default;
$x-large: 1280px !default;
/*
Grid
========================================================================== */
$right-sidebar-width-narrow: 200px !default;
$right-sidebar-width: 300px !default;
$right-sidebar-width-wide: 400px !default;
/*
Other
========================================================================== */
$border-radius: 4px !default;
$box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width: 1.5rem !default;
$navicon-height: 0.25rem !default;
$global-transition: all 0.2s ease-in-out !default;
$intro-transition: intro 0.3s both !default;
+23
View File
@@ -0,0 +1,23 @@
/* ==========================================================================
Air skin
========================================================================== */
/* Colors */
$background-color: #eeeeee !default;
$text-color: #222831 !default;
$muted-text-color: #393e46 !default;
$primary-color: #0092ca !default;
$border-color: mix(#fff, #393e46, 75%) !default;
$footer-background-color: $primary-color !default;
$link-color: #393e46 !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
.page__footer {
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+30
View File
@@ -0,0 +1,30 @@
/* ==========================================================================
Aqua skin
========================================================================== */
/* Colors */
$gray : #1976d2 !default;
$dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff !default;
$background-color : #f0fff0 !default;
$code-background-color : $lighter-gray !default;
$code-background-color-dark : $light-gray !default;
$text-color : $dark-gray !default;
$border-color : $lighter-gray !default;
$primary-color : $gray !default;
$success-color : #27ae60 !default;
$warning-color : #e67e22 !default;
$danger-color : #c0392b !default;
$info-color : #03a9f4 !default;
/* links */
$link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
@@ -0,0 +1,51 @@
/* ==========================================================================
Contrast skin
========================================================================== */
/* Colors */
$text-color: #000 !default;
$muted-text-color: $text-color !default;
$primary-color: #ff0000 !default;
$border-color: mix(#fff, $text-color, 75%) !default;
$footer-background-color: #000 !default;
$link-color: #0000ff !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
/* contrast syntax highlighting (base16) */
$base00: #000000 !default;
$base01: #242422 !default;
$base02: #484844 !default;
$base03: #6c6c66 !default;
$base04: #918f88 !default;
$base05: #b5b3aa !default;
$base06: #d9d7cc !default;
$base07: #fdfbee !default;
$base08: #ff6c60 !default;
$base09: #e9c062 !default;
$base0a: #ffffb6 !default;
$base0b: #a8ff60 !default;
$base0c: #c6c5fe !default;
$base0d: #96cbfe !default;
$base0e: #ff73fd !default;
$base0f: #b18a3d !default;
.page__content {
.notice,
.notice--primary,
.notice--info,
.notice--warning,
.notice--success,
.notice--danger {
color: $text-color;
}
}
.page__footer {
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+42
View File
@@ -0,0 +1,42 @@
/* ==========================================================================
Dark skin
========================================================================== */
/* Colors */
$background-color: #252a34 !default;
$text-color: #eaeaea !default;
$primary-color: #00adb5 !default;
$border-color: mix(#fff, $background-color, 20%) !default;
$code-background-color: mix(#000, $background-color, 15%) !default;
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
$form-background-color: mix(#000, $background-color, 15%) !default;
$footer-background-color: mix(#000, $background-color, 30%) !default;
$link-color: mix($primary-color, $text-color, 40%) !default;
$link-color-hover: mix(#fff, $link-color, 25%) !default;
$link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* dark syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
$base02: #d0d0d0 !default;
$base03: #b0b0b0 !default;
$base04: #000000 !default;
$base05: #101010 !default;
$base06: #151515 !default;
$base07: #202020 !default;
$base08: #ff0086 !default;
$base09: #fd8900 !default;
$base0a: #aba800 !default;
$base0b: #00c918 !default;
$base0c: #1faaaa !default;
$base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
@@ -0,0 +1,5 @@
/* ==========================================================================
Default skin
========================================================================== */
// Intentionally left blank
+33
View File
@@ -0,0 +1,33 @@
/* ==========================================================================
Dirt skin
========================================================================== */
/* Colors */
$background-color: #f3f3f3 !default;
$text-color: #343434 !default;
$muted-text-color: #8e8b82 !default;
$primary-color: #343434 !default;
$border-color: #e9dcbe !default;
$footer-background-color: #e9dcbe !default;
$link-color: #343434 !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
/* dirt syntax highlighting (base16) */
$base00: #231e18 !default;
$base01: #302b25 !default;
$base02: #48413a !default;
$base03: #9d8b70 !default;
$base04: #b4a490 !default;
$base05: #cabcb1 !default;
$base06: #d7c8bc !default;
$base07: #e4d4c8 !default;
$base08: #d35c5c !default;
$base09: #ca7f32 !default;
$base0a: #e0ac16 !default;
$base0b: #b7ba53 !default;
$base0c: #6eb958 !default;
$base0d: #88a4d3 !default;
$base0e: #bb90e2 !default;
$base0f: #b49368 !default;
+23
View File
@@ -0,0 +1,23 @@
/* ==========================================================================
Mint skin
========================================================================== */
/* Colors */
$background-color: #f3f6f6 !default;
$text-color: #40514e !default;
$muted-text-color: #40514e !default;
$primary-color: #11999e !default;
$border-color: mix(#fff, #40514e, 75%) !default;
$footer-background-color: #30e3ca !default;
$link-color: #11999e !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
.page__footer {
color: #fff !important; // override
}
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
+53
View File
@@ -0,0 +1,53 @@
/* ==========================================================================
Neon skin
========================================================================== */
/* Colors */
$background-color: #141010 !default;
$text-color: #fff6fb !default;
$primary-color: #f21368 !default;
$border-color: mix(#fff, $background-color, 20%) !default;
$code-background-color: mix(#000, $background-color, 15%) !default;
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
$form-background-color: mix(#000, $background-color, 15%) !default;
$footer-background-color: mix($primary-color, #000, 10%) !default;
$link-color: $primary-color !default;
$link-color-hover: mix(#fff, $link-color, 25%) !default;
$link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* neon syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
$base02: #d0d0d0 !default;
$base03: #b0b0b0 !default;
$base04: #000000 !default;
$base05: #101010 !default;
$base06: #151515 !default;
$base07: #202020 !default;
$base08: #ff0086 !default;
$base09: #fd8900 !default;
$base0a: #aba800 !default;
$base0b: #00c918 !default;
$base0c: #1faaaa !default;
$base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
/* next/previous buttons */
.pagination--pager {
color: $text-color;
background-color: $primary-color;
border-color: transparent;
&:visited {
color: $text-color;
}
}
+60
View File
@@ -0,0 +1,60 @@
/* ==========================================================================
Plum skin
========================================================================== */
/* Colors */
$background-color: #521477 !default;
$text-color: #fffd86 !default;
$primary-color: #c327ab !default;
$border-color: mix(#fff, $background-color, 20%) !default;
$code-background-color: mix(#000, $background-color, 15%) !default;
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
$form-background-color: mix(#000, $background-color, 15%) !default;
$footer-background-color: mix(#000, $background-color, 25%) !default;
$link-color: $primary-color !default;
$link-color-hover: mix(#fff, $link-color, 25%) !default;
$link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* plum syntax highlighting (base16) */
$base00: #ffffff !default;
$base01: #e0e0e0 !default;
$base02: #d0d0d0 !default;
$base03: #b0b0b0 !default;
$base04: #000000 !default;
$base05: #101010 !default;
$base06: #151515 !default;
$base07: #202020 !default;
$base08: #ff0086 !default;
$base09: #fd8900 !default;
$base0a: #aba800 !default;
$base0b: #00c918 !default;
$base0c: #1faaaa !default;
$base0d: #3777e6 !default;
$base0e: #ad00a1 !default;
$base0f: #cc6633 !default;
.author__urls.social-icons .svg-inline--fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
.page__content {
a,
a:visited {
color: inherit;
}
}
/* next/previous buttons */
.pagination--pager {
color: $text-color;
background-color: $primary-color;
border-color: transparent;
&:visited {
color: $text-color;
}
}
@@ -0,0 +1,44 @@
/* ==========================================================================
Sunrise skin
========================================================================== */
/* Colors */
$dark-gray: #0e2431 !default;
$background-color: #e8d5b7 !default;
$text-color: #000 !default;
$muted-text-color: $dark-gray !default;
$primary-color: #fc3a52 !default;
$border-color: mix(#000, $background-color, 20%) !default;
$code-background-color: mix(#fff, $background-color, 20%) !default;
$code-background-color-dark: mix(#000, $background-color, 10%) !default;
$form-background-color: mix(#fff, $background-color, 15%) !default;
$footer-background-color: #f9b248 !default;
$link-color: mix(#000, $primary-color, 10%) !default;
$link-color-hover: mix(#fff, $link-color, 25%) !default;
$link-color-visited: mix(#000, $link-color, 25%) !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
/* sunrise syntax highlighting (base16) */
$base00: #1d1f21 !default;
$base01: #282a2e !default;
$base02: #373b41 !default;
$base03: #969896 !default;
$base04: #b4b7b4 !default;
$base05: #c5c8c6 !default;
$base06: #e0e0e0 !default;
$base07: #ffffff !default;
$base08: #cc6666 !default;
$base09: #de935f !default;
$base0a: #f0c674 !default;
$base0b: #b5bd68 !default;
$base0c: #8abeb7 !default;
$base0d: #81a2be !default;
$base0e: #b294bb !default;
$base0f: #a3685a !default;
.author__urls.social-icons .fa,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}

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