Compare commits

..
66 Commits
Author SHA1 Message Date
Michael Rose 4092d08c8c Merge branch 'release/3.4.6' 2016-09-09 10:37:32 -04:00
Michael Rose f12a902372 Update CHANGELOG.md and bump version to 3.4.6 2016-09-09 10:37:06 -04:00
Michael Rose 6db88b709a Disable compress layout by default
- Due to several issues related to content and JavaScript HTML compression has been disabled.
- To enable add `layout: compress` to _layout/default.html YAML Front Matter
2016-09-09 10:33:42 -04:00
nmiglio f5cf9d8fd8 Completed Italian translation (#514)
cc/ #449
2016-09-09 10:29:15 -04:00
Michael Rose 6617549249 Merge branch 'release/3.4.5' into develop 2016-09-09 10:12:30 -04:00
Michael Rose 233dcde6f9 Merge branch 'release/3.4.5' 2016-09-09 10:12:25 -04:00
Michael Rose 3889ff311e Update CHANGELOG.md and bump version to 3.4.5 2016-09-09 10:12:07 -04:00
Michael Rose 3c034e59f4 Improve styling of {% highlight %} tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close #513 and close #512
2016-09-09 09:58:27 -04:00
Roger Schaerer 0c2d3bbb9f get Follow-Button label from ui-text and default to "Follow" (#496) 2016-09-02 08:33:54 -04:00
Michael Rose a718162d96 Merge branch 'uru-ch-clarified-comment-stackoverflow-author-profile' into develop
* uru-ch-clarified-comment-stackoverflow-author-profile:
  clarified comment for author.stackoverflow value
2016-08-29 21:46:06 -04:00
rschaerer d3ac1123da clarified comment for author.stackoverflow value 2016-08-29 01:39:27 +02:00
Michael Rose a40e93fa41 Merge branch 'release/3.4.4' into develop 2016-08-25 14:34:08 -04:00
Michael Rose 50c1dfe4cf Merge branch 'release/3.4.4' 2016-08-25 14:34:03 -04:00
Michael Rose bcae932f8c Update CHANGELOG.md and bump version to 3.4.4 2016-08-25 14:33:44 -04:00
Michael Rose 467e5dc84e Update gems: colorator (1.1.0), forwardable-extended (2.6.0), github-pages (93), jekyll (= 3.2.1), minima (= 1.0.1) 2016-08-25 14:28:51 -04:00
Michael Rose bff773668b Merge branch 'feature/fix-page-hero-liquid-warning' into develop 2016-08-25 14:25:31 -04:00
Michael Rose 86a4ca6e2d Merge branch 'hotfix' of https://github.com/vwchu/minimal-mistakes into feature/fix-page-hero-liquid-warning 2016-08-25 14:24:14 -04:00
Vincent Chu 0d6816e770 Fix Liquid syntax error for offending parentheses
Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/single.html
Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/archive.html
Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/splash.html
2016-08-25 13:20:38 -04:00
Michael Rose 16a1a9a505 Exclude vendor 2016-08-23 08:53:39 -04:00
Michael Rose 3c12f7c168 Merge branch 'feature/fr-translations' into develop 2016-08-23 08:48:34 -04:00
Michael Rose 8bbf9bb62b Merge branch 'master' of https://github.com/flohw/minimal-mistakes into feature/fr-translations 2016-08-23 08:47:57 -04:00
Flohw 306d6b40b0 Add french translations 2016-08-23 10:00:37 +02:00
Michael Rose 4be38f4c8a Merge branch 'release/3.4.3' into develop 2016-08-22 09:20:05 -04:00
Michael Rose da6ec43918 Merge branch 'release/3.4.3' 2016-08-22 09:20:00 -04:00
Michael Rose 00bdeacb49 Update CHANGELOG and bump version to 3.4.3 2016-08-22 09:19:41 -04:00
Michael Rose 8f161b04db Add structured data markup for itemprop="comment"
- Close #458
2016-08-22 09:17:16 -04:00
Ryan Carpenter f173b97404 Use page.header.teaser instead of site.og_image in twitter:image and og:image meta tags (#466) 2016-08-22 08:56:04 -04:00
Michael Rose f52a18c3d8 Merge branch 'develop' of https://github.com/mmistakes/minimal-mistakes into develop
* 'develop' of https://github.com/mmistakes/minimal-mistakes:
  formats og:locale tag with underscores (#465)
2016-08-21 23:26:14 -04:00
Ryan Carpenter c4d71dbea7 formats og:locale tag with underscores (#465)
See http://fbdevwiki.com/wiki/Locales
2016-08-21 23:25:41 -04:00
Michael Rose e4abec0a6f Adjust padding on .highlight blocks to align overflow scrollbar to the bottom 2016-08-21 23:16:46 -04:00
Michael Rose 06a8249a69 Make "honeypot" input less obvious for spam bots 2016-08-21 17:22:37 -04:00
Michael Rose b29f3ab8a1 Merge branch 'hotfix/3.4.2' into develop 2016-08-11 22:34:11 -04:00
Michael Rose 4340aa7835 Merge branch 'hotfix/3.4.2' 2016-08-11 22:34:10 -04:00
Michael Rose a524629685 Update CHANGELOG.md and bump version to 3.4.2
- Close #448
2016-08-11 22:34:02 -04:00
Michael Rose 804b2171a6 Improve UX of comment form
- Remove modal and insert notices above submit button
- Disable form on successfully submission
- Add "loading..." icon and text to button on submit
- Remove unused text string translations
2016-08-11 22:32:27 -04:00
Michael Rose 3a9350d54c Lighten disabled pagination links 2016-08-11 22:28:35 -04:00
Michael Rose b5472d33c0 Merge branch 'hotfix/3.4.1' into develop 2016-08-11 15:23:31 -04:00
Michael Rose c94c1c59b9 Merge branch 'hotfix/3.4.1' 2016-08-11 15:23:26 -04:00
Michael Rose c3efe21834 Update CHANGELOG.md and bump version to 3.4.1 2016-08-11 15:23:07 -04:00
Michael Rose 304f465430 Don't link author name if url is blank 2016-08-11 15:22:29 -04:00
Michael Rose d86a6c995c Add staticman.filename config with UNIX timestamp for sorting data files
example ~> comment-1470943149
2016-08-11 15:20:09 -04:00
Michael Rose 8fe82c73a9 Merge branch 'release/3.4.0' into develop 2016-08-11 11:25:50 -04:00
Michael Rose 5819e4dc78 Merge branch 'release/3.4.0' 2016-08-11 11:25:44 -04:00
Michael Rose 0dd3f3b4dd Update CHANGELOG.md and bump version to 3.4.0 2016-08-11 11:25:10 -04:00
Michael Rose 9706f6e201 Merge branch 'feature/staticman-commenting' into develop 2016-08-11 10:22:58 -04:00
Michael Rose 985b58479e Mention Staticman comments in README.md
- Close #424
2016-08-11 10:17:06 -04:00
Michael Rose 64ac7952c1 Add default commitMessage text and date generated field to Staticman config 2016-08-11 10:15:03 -04:00
Michael Rose 7aa4e3ca3d Move comments above form elements and add missing English UI text strings 2016-08-11 10:14:27 -04:00
Michael Rose cb26538572 Disable comments by default 2016-08-10 16:11:19 -04:00
Michael Rose a3b78e5a80 Add English default text for comment submission modals and titles 2016-08-10 16:08:50 -04:00
Michael Rose fdcaf16e2f Add includes for static-based comments powered by Staticman
- Configure Staticman with sane defaults
- Build comment form to capture new comments and ajax data to Staticman
- Build comments view that iterates over `_data/comments/post-slug/*.yml` files
2016-08-10 16:08:13 -04:00
Michael Rose fb32147148 Style static comments, form, and modal 2016-08-10 15:45:48 -04:00
Michael Rose a1c7c022e6 Fix typo 2016-08-10 15:31:20 -04:00
Michael Rose 41c99f428d Merge branch 'release/3.3.7' into develop 2016-08-08 16:15:45 -04:00
Michael Rose 24878a3479 Merge branch 'release/3.3.7' 2016-08-08 16:15:34 -04:00
Michael Rose 5e0e5684d6 Update CHANGELOG.md, README.me, and bump version to 3.3.7 2016-08-08 16:15:15 -04:00
Michael Rose 4cc9fcb40a Use Jekyll native Sass/SCSS preprocessor
- Move .scss files to default `_sass` folder
- Configure Sass/SCSS in `_config.yml`
- Run .scss files through Autoprefixer
- Remove unnecessary npm scripts for building CSS
- Close #333
2016-08-08 16:01:37 -04:00
Michael Rose b6be3aa0c2 Re-enable Jekyll plugins in _config.yml
- Close #417
2016-08-07 20:47:11 -04:00
Michael Rose ca9ff3248c Fallback to site.github.url for use in {{ base_path }} when site.url is nil 2016-08-04 10:47:39 -04:00
Michael Rose ad001a435c Merge branch 'hotfix/3.3.6' into develop 2016-08-01 10:29:15 -04:00
Michael Rose e3bdd1020d Merge branch 'hotfix/3.3.6' 2016-08-01 10:29:10 -04:00
Michael Rose 98e61b2b52 Update CHANGELOG and bump version to 3.3.6 2016-08-01 10:28:53 -04:00
Michael Rose 3e2e7daa51 Fix blank site.teaser bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close #412
2016-08-01 10:27:54 -04:00
Michael Rose f3fd789041 Remove Bug Fixes heading 2016-08-01 09:53:43 -04:00
Michael Rose ce26520993 Remove Bug Fixes heading 2016-08-01 09:53:18 -04:00
Michael Rose 99d06d5617 Merge branch 'release/3.3.5' into develop 2016-08-01 09:05:43 -04:00
127 changed files with 864 additions and 280 deletions
+106 -4
View File
@@ -1,16 +1,118 @@
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
### Enhancements
- Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
### Bug Fixes
- Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
### Enhancements
- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
### Bug Fixes
- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
### Maintenance
- Clarified comment for `author.stackoverflow` value used in author sidebar links. [#487](https://github.com/mmistakes/minimal-mistakes/pull/487)
- Add list of localized text strings. [#488](https://github.com/mmistakes/minimal-mistakes/pull/488)
- Add `{% highlight %}` code block examples to demo site.
- Add documentation for using custom sidebar navigation menus. [#476](https://github.com/mmistakes/minimal-mistakes/issues/476)
## [3.4.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.4)
### Enhancements
- Add French "comments" related localized UI text. [#472](https://github.com/mmistakes/minimal-mistakes/pull/472)
### Bug Fixes
- Exclude `vendor` in Jekyll config file.
- Fix Liquid syntax error for offending parenthesis. [#479](https://github.com/mmistakes/minimal-mistakes/issues/479)
### Maintenance
- Update gems: `colorator` (1.1.0), `forwardable-extended` (2.6.0), `github-pages` (93), `jekyll` (= 3.2.1), `minima` (= 1.0.1).
## [3.4.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.3)
### Enhancements
- Make ["honeypot" `input`](https://github.com/mmistakes/minimal-mistakes/commit/06a8249a69a37dddda7e2a5bfbe32056c1a9a607) in Staticman comment form less obvious to spam bots
- Add padding to `.highlight` code blocks to better [align `overflow` scrollbar](https://github.com/mmistakes/minimal-mistakes/commit/e4abec0a6f7f8cff72505ca0754615df294fd5b3) to the bottom.
- Add additional image options for Twitter card social sharing meta tags. [#466](https://github.com/mmistakes/minimal-mistakes/pull/466)
- Add structured data markup for Staticman comments. [#458](https://github.com/mmistakes/minimal-mistakes/issues/458)
### Bug Fixes
- Format `og:locale` tag with `_` instead of `-`. [#462](https://github.com/mmistakes/minimal-mistakes/issues/462)
### Maintenance
- Add note to docs about using `url: http://localhost:4000` when working locally.
## [3.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.2)
### Enhancements
- Improve UX of static comment forms. [#448](https://github.com/mmistakes/minimal-mistakes/issues/448)
## [3.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.1)
### Enhancements
- Add `staticman.filename` configuration with UNIX timestamp for sorting data files. example ~> `comment-1470943149`.
### Bug Fixes
- Don't add `<a>` to author name if URL is blank.
## [3.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.0)
### Enhancements
- Support static-based commenting via [Staticman](https://staticman.net/) for sites hosted with GitHub Pages. [#424](https://github.com/mmistakes/minimal-mistakes/issues/424)
## [3.3.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.7)
### Bug Fixes
- Re-enabled Jekyll plugins in `_config.yml` in case they aren't autoloaded in `Gemfile`. [#417](https://github.com/mmistakes/minimal-mistakes/issues/417)
### Enhancements
- Fallback to `site.github.url` for use in `{{ base_path }}` when `site.url` is `nil`.
- Replace Sass and Autoprefixer `npm` build scripts with [Jekyll's built-in asset support](https://jekyllrb.com/docs/assets/). [#333](https://github.com/mmistakes/minimal-mistakes/issues/333)
### Maintenance
- Document `site.repository` and its role with [`github-metadata`](https://github.com/jekyll/github-metadata) gem.
- Add sample [archive page with content](https://mmistakes.github.io/minimal-mistakes/archive-layout-with-content/) for testing styles on demo site.
## [3.3.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.6)
### Bug Fixes
- Fix blank `site.teaser` bug. [#412](https://github.com/mmistakes/minimal-mistakes/issues/412)
## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5) ## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5)
### Enhancements ### Enhancements
- Add English default text `site.locale` strings [#407](https://github.com/mmistakes/minimal-mistakes/issues/407) - Add English default text `site.locale` strings. [#407](https://github.com/mmistakes/minimal-mistakes/issues/407)
- Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411) - Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
- Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409) - Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
### Bug Fixes
### Maintenance ### Maintenance
- Remove unused Google AdSense variables in `_config.yml` [#404](https://github.com/mmistakes/minimal-mistakes/issues/404) - Remove unused Google AdSense variables in `_config.yml`. [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
- Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems. - Update `Gemfile` instructions for using `github-pages` vs. native `jekyll` gems.
- Disable `gems:` in `_config.yml` and enable plugins with Bundler instead. - Disable `gems:` in `_config.yml` and enable plugins with Bundler instead.
- Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.` - Add `repository` to `_config.yml` to suppress GitHub Pages error `Liquid Exception: No repo name found.`
+13 -7
View File
@@ -12,7 +12,7 @@ GEM
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.10.0) coffee-script-source (1.10.0)
colorator (0.1) colorator (1.1.0)
ethon (0.9.0) ethon (0.9.0)
ffi (>= 1.3.0) ffi (>= 1.3.0)
execjs (2.7.0) execjs (2.7.0)
@@ -20,11 +20,12 @@ GEM
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.14) ffi (1.9.14)
ffi (1.9.14-x64-mingw32) ffi (1.9.14-x64-mingw32)
forwardable-extended (2.6.0)
gemoji (2.1.0) gemoji (2.1.0)
github-pages (89) github-pages (93)
activesupport (= 4.2.7) activesupport (= 4.2.7)
github-pages-health-check (= 1.1.0) github-pages-health-check (= 1.2.0)
jekyll (= 3.1.6) jekyll (= 3.2.1)
jekyll-coffeescript (= 1.0.1) jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1) jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0) jekyll-gist (= 1.4.0)
@@ -40,9 +41,10 @@ GEM
liquid (= 3.0.6) liquid (= 3.0.6)
listen (= 3.0.6) listen (= 3.0.6)
mercenary (~> 0.3) mercenary (~> 0.3)
minima (= 1.0.1)
rouge (= 1.11.1) rouge (= 1.11.1)
terminal-table (~> 1.4) terminal-table (~> 1.4)
github-pages-health-check (1.1.0) github-pages-health-check (1.2.0)
addressable (~> 2.3) addressable (~> 2.3)
net-dns (~> 0.8) net-dns (~> 0.8)
octokit (~> 4.0) octokit (~> 4.0)
@@ -52,13 +54,14 @@ GEM
activesupport (>= 2) activesupport (>= 2)
nokogiri (>= 1.4) nokogiri (>= 1.4)
i18n (0.7.0) i18n (0.7.0)
jekyll (3.1.6) jekyll (3.2.1)
colorator (~> 0.1) colorator (~> 1.0)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1) jekyll-watch (~> 1.1)
kramdown (~> 1.3) kramdown (~> 1.3)
liquid (~> 3.0) liquid (~> 3.0)
mercenary (~> 0.3.3) mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7) rouge (~> 1.7)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
jekyll-coffeescript (1.0.1) jekyll-coffeescript (1.0.1)
@@ -95,6 +98,7 @@ GEM
rb-inotify (>= 0.9.7) rb-inotify (>= 0.9.7)
mercenary (0.3.6) mercenary (0.3.6)
mini_portile2 (2.1.0) mini_portile2 (2.1.0)
minima (1.0.1)
minitest (5.9.0) minitest (5.9.0)
multipart-post (2.0.0) multipart-post (2.0.0)
net-dns (0.8.0) net-dns (0.8.0)
@@ -106,6 +110,8 @@ GEM
pkg-config (~> 1.1.7) pkg-config (~> 1.1.7)
octokit (4.3.0) octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3) sawyer (~> 0.7.0, >= 0.5.3)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
pkg-config (1.1.7) pkg-config (1.1.7)
public_suffix (1.5.3) public_suffix (1.5.3)
rb-fsevent (0.9.7) rb-fsevent (0.9.7)
+2 -1
View File
@@ -20,10 +20,11 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
### Notable Features ### Notable Features
- Compatible with Jekyll 3.x and GitHub Pages - Compatible with Jekyll 3.x and GitHub Pages
- Support for Jekyll's built-in Sass/SCSS preprocessor
- Several layout options (single, archive, splash pages) - Several layout options (single, archive, splash pages)
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data - SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more. - Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom). - Optional comments ([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).
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom). - Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
- UI localized text: English (default), Spanish, French, and Turkish. - UI localized text: English (default), Spanish, French, and Turkish.
+37 -14
View File
@@ -18,7 +18,7 @@ teaser : # filename of teaser fallback teaser image placed in
# 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", custom" provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "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:
@@ -28,6 +28,22 @@ comments:
appid : appid :
num_posts : # 5 (default) num_posts : # 5 (default)
colorscheme : # "light" (default), "dark" colorscheme : # "light" (default), "dark"
staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : # "master", "gh-pages"
commitMessage : "New comment."
filename : comment-{@timestamp}
format : "yml"
moderation : true
path : "_data/comments/{options.slug}"
requiredFields : ['name', 'email', 'message']
transforms:
email : "md5"
generatedFields:
date:
type : "date"
options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
atom_feed: atom_feed:
path : # blank (default) uses feed.xml path : # blank (default) uses feed.xml
@@ -81,7 +97,7 @@ author:
linkedin : linkedin :
pinterest : pinterest :
soundcloud : soundcloud :
stackoverflow : # http://stackoverflow.com/users/123456/username stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
steam : steam :
tumblr : tumblr :
twitter : twitter :
@@ -98,6 +114,7 @@ include:
exclude: exclude:
- "*.sublime-project" - "*.sublime-project"
- "*.sublime-workspace" - "*.sublime-workspace"
- vendor
- .asset-cache - .asset-cache
- .bundle - .bundle
- .jekyll-assets-cache - .jekyll-assets-cache
@@ -145,6 +162,12 @@ kramdown:
enable_coderay: false enable_coderay: false
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting # Outputting
permalink: /:categories/:title/ permalink: /:categories/:title/
paginate: 5 # amount of posts to show paginate: 5 # amount of posts to show
@@ -153,20 +176,20 @@ timezone: # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# Plugins # Plugins
# gems: gems:
# - jekyll-paginate - jekyll-paginate
# - jekyll-sitemap - jekyll-sitemap
# - jekyll-gist - jekyll-gist
# - jekyll-feed - jekyll-feed
# - jemoji - jemoji
# mimic GitHub Pages with --safe # mimic GitHub Pages with --safe
# whitelist: whitelist:
# - jekyll-paginate - jekyll-paginate
# - jekyll-sitemap - jekyll-sitemap
# - jekyll-gist - jekyll-gist
# - jekyll-feed - jekyll-feed
# - jemoji - jemoji
# Archives # Archives
+217 -144
View File
@@ -3,30 +3,42 @@
# English (default) # English (default)
# ----------------- # -----------------
en: &DEFAULT_EN en: &DEFAULT_EN
page : "Page" page : "Page"
pagination_previous : "Previous" pagination_previous : "Previous"
pagination_next : "Next" pagination_next : "Next"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
toc_label : "On This Page" toc_label : "On This Page"
ext_link_label : "Direct Link" ext_link_label : "Direct Link"
less_than : "less than" less_than : "less than"
minute_read : "minute read" minute_read : "minute read"
share_on_label : "Share on" share_on_label : "Share on"
meta_label : meta_label :
tags_label : "Tags:" tags_label : "Tags:"
categories_label : "Categories:" categories_label : "Categories:"
date_label : "Updated:" date_label : "Updated:"
comments_label : "Leave a Comment" comments_label : "Leave a Comment"
more_label : "Learn More" comments_title : "Comments"
related_label : "You May Also Enjoy" more_label : "Learn More"
follow_label : "Follow:" related_label : "You May Also Enjoy"
feed_label : "Feed" follow_label : "Follow:"
powered_by : "Powered by" feed_label : "Feed"
website_label : "Website" powered_by : "Powered by"
email_label : "Email" website_label : "Website"
recent_posts : "Recent Posts" email_label : "Email"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml" recent_posts : "Recent Posts"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submitted : "Submitted"
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."
loading_label : "Loading..."
en-US: en-US:
<<: *DEFAULT_EN <<: *DEFAULT_EN
en-CA: en-CA:
@@ -39,30 +51,42 @@ en-AU:
# Spanish # Spanish
# -------------- # --------------
es: &DEFAULT_ES es: &DEFAULT_ES
page : "Página" page : "Página"
pagination_previous : "Anterior" pagination_previous : "Anterior"
pagination_next : "Siguiente" pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio" breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/" breadcrumb_separator : "/"
toc_label : "Contenidos" toc_label : "Contenidos"
ext_link_label : "Enlace" ext_link_label : "Enlace"
less_than : "menos de" less_than : "menos de"
minute_read : "minuto de lectura" minute_read : "minuto de lectura"
share_on_label : "Compartir" share_on_label : "Compartir"
meta_label : meta_label :
tags_label : "Etiquetas:" tags_label : "Etiquetas:"
categories_label : "Categorías:" categories_label : "Categorías:"
date_label : "Actualizado:" date_label : "Actualizado:"
comments_label : "Comentar" comments_label : "Comentar"
more_label : "Ver más" comments_title :
related_label : "Podrías ver también" more_label : "Ver más"
follow_label : "Seguir:" related_label : "Podrías ver también"
feed_label : "Feed" follow_label : "Seguir:"
powered_by : "Powered by" feed_label : "Feed"
website_label : "Sitio web" powered_by : "Powered by"
email_label : "Email" website_label : "Sitio web"
recent_posts : "Entradas recientes" email_label : "Email"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml" recent_posts : "Entradas recientes"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
comment_form_name_label :
comment_form_email_label :
comment_form_website_label :
comment_btn_submit :
comment_btn_submitted :
comment_success_msg :
comment_error_msg :
loading_label :
es-ES: es-ES:
<<: *DEFAULT_ES <<: *DEFAULT_ES
es-CO: es-CO:
@@ -71,30 +95,43 @@ es-CO:
# French # French
# ----------------- # -----------------
fr: &DEFAULT_FR fr: &DEFAULT_FR
page : "Page" page : "Page"
pagination_previous : "Précédent" pagination_previous : "Précédent"
pagination_next : "Suivant" pagination_next : "Suivant"
breadcrumb_home_label : "Accueil" breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/" breadcrumb_separator : "/"
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "plus petit que"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
tags_label : "Tags :" tags_label : "Tags :"
categories_label : "Catégories :" categories_label : "Catégories :"
date_label : "Mis à jour :" date_label : "Mis à jour :"
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
more_label : "Lire plus" comments_title :
related_label : "Vous pourriez aimer" more_label : "Lire plus"
follow_label : "Suivez moi" related_label : "Vous pourriez aimer"
feed_label : "Flux" follow_label : "Suivez moi"
powered_by : "Propulsé par" feed_label : "Flux"
website_label : "Site" powered_by : "Propulsé par"
email_label : "Email" website_label : "Site"
recent_posts : "Posts récents" email_label : "Email"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml" recent_posts : "Posts récents"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
comments_title : "Commentaires"
comment_form_info : "Votre adresse email ne sera pas visible. Les champs obligatoires sont marqués"
comment_form_comment_label : "Commentaire"
comment_form_md_info : "Markdown est supporté."
comment_form_name_label : "Nom"
comment_form_email_label : "Adresse mail"
comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..."
fr-FR: fr-FR:
<<: *DEFAULT_FR <<: *DEFAULT_FR
fr-BE: fr-BE:
@@ -105,60 +142,84 @@ fr-CH:
# Turkish # Turkish
# ----------------- # -----------------
tr: &DEFAULT_TR tr: &DEFAULT_TR
page : "Sayfa" page : "Sayfa"
pagination_previous : "Önceki" pagination_previous : "Önceki"
pagination_next : "Sonraki" pagination_next : "Sonraki"
breadcrumb_home_label : "Ana Sayfa" breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/" breadcrumb_separator : "/"
toc_label : "İçindekiler" toc_label : "İçindekiler"
ext_link_label : "Doğrudan Bağlantı" ext_link_label : "Doğrudan Bağlantı"
less_than : "Şu süreden az: " less_than : "Şu süreden az: "
minute_read : "dakika tahmini okuma süresi" minute_read : "dakika tahmini okuma süresi"
share_on_label : "Paylaş" share_on_label : "Paylaş"
meta_label : meta_label :
tags_label : "Etiketler:" tags_label : "Etiketler:"
categories_label : "Kategoriler:" categories_label : "Kategoriler:"
date_label : "Güncelleme tarihi:" date_label : "Güncelleme tarihi:"
comments_label : "Yorum yapın" comments_label : "Yorum yapın"
more_label : "Daha fazlasını öğrenin" comments_title :
related_label : "Bunlar ilginizi çekebilir:" more_label : "Daha fazlasını öğrenin"
follow_label : "Takip et:" related_label : "Bunlar ilginizi çekebilir:"
feed_label : "RSS" follow_label : "Takip et:"
powered_by : "Emeği geçenler: " feed_label : "RSS"
website_label : "Web sayfası" powered_by : "Emeği geçenler: "
email_label : "E-posta" website_label : "Web sayfası"
recent_posts : "Son yazılar" email_label : "E-posta"
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi" recent_posts : "Son yazılar"
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
comment_form_name_label :
comment_form_email_label :
comment_form_website_label :
comment_btn_submit :
comment_btn_submitted :
comment_success_msg :
comment_error_msg :
loading_label :
tr-TR: tr-TR:
<<: *DEFAULT_TR <<: *DEFAULT_TR
# Brazilian Portguese # Brazilian Portguese
# ----------------- # -----------------
pt: &DEFAULT_PT pt: &DEFAULT_PT
page : "Página" page : "Página"
pagination_previous : "Anterior" pagination_previous : "Anterior"
pagination_next : "Próxima" pagination_next : "Próxima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
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 : "meno que"
minute_read : "minutos de leitura" minute_read : "minutos de leitura"
share_on_label : "Compartilhe em" share_on_label : "Compartilhe em"
meta_label : meta_label :
tags_label : "Tags:" tags_label : "Tags:"
categories_label : "Categorias:" categories_label : "Categorias:"
date_label : "Atualizado em:" date_label : "Atualizado em:"
comments_label : "Deixe um comentário" comments_label : "Deixe um comentário"
more_label : "Aprenda Mais" comments_title :
related_label : "Você Talvez Goste Também" more_label : "Aprenda Mais"
follow_label : "Acompanhe em" related_label : "Você Talvez Goste Também"
feed_label : "Feed" follow_label : "Acompanhe em"
powered_by : "Feito com" feed_label : "Feed"
website_label : "Site" powered_by : "Feito com"
email_label : "Email" website_label : "Site"
recent_posts : "Postagens recentes" email_label : "Email"
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml" recent_posts : "Postagens recentes"
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
comment_form_name_label :
comment_form_email_label :
comment_form_website_label :
comment_btn_submit :
comment_btn_submitted :
comment_success_msg :
comment_error_msg :
loading_label :
pt-BR: pt-BR:
<<: *DEFAULT_PT <<: *DEFAULT_PT
pt-PT: pt-PT:
@@ -167,30 +228,42 @@ pt-PT:
# Italian # Italian
# ----------------- # -----------------
it: &DEFAULT_IT it: &DEFAULT_IT
page : "Pagina" page : "Pagina"
pagination_previous : "Precedente" pagination_previous : "Precedente"
pagination_next : "Prossima" pagination_next : "Prossima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
toc_label : "Indice della pagina" toc_label : "Indice della pagina"
ext_link_label : "Link" ext_link_label : "Link"
less_than : "meno di" less_than : "meno di"
minute_read : "minuto/i di lettura" minute_read : "minuto/i di lettura"
share_on_label : "Condividi" share_on_label : "Condividi"
meta_label : meta_label :
tags_label : "Tags:" tags_label : "Tags:"
categories_label : "Categorie:" categories_label : "Categorie:"
date_label : "Aggiornato:" date_label : "Aggiornato:"
comments_label : "Scrivi un commento" comments_label : "Scrivi un commento"
more_label : "Scopri di più" comments_title :
related_label : "Potrebbe Piacerti Anche" more_label : "Scopri di più"
follow_label : "Segui:" related_label : "Potrebbe Piacerti Anche"
feed_label : "Feed" follow_label : "Segui:"
powered_by : "Powered by" feed_label : "Feed"
website_label : "Website" powered_by : "Powered by"
email_label : "Email" website_label : "Website"
recent_posts : "Articoli Recenti" email_label : "Email"
undefined_wpm : "Parametro words_per_minute non definito in _config.yml" recent_posts : "Articoli Recenti"
undefined_wpm : "Parametro words_per_minute non definito in _config.yml"
comment_form_info : "Il tuo indirizzo email non sarà pubblicato. Sono segnati i campi obbligatori"
comment_form_comment_label : "Commenta"
comment_form_md_info : "Il linguaggio Markdown è supportato"
comment_form_name_label : "Nome"
comment_form_email_label : "Indirizzo email"
comment_form_website_label : "Sito Web (opzionale)"
comment_btn_submit : "Invia commento"
comment_btn_submitted : "Inviato"
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
loading_label : "Caricamento..."
it-IT: it-IT:
<<: *DEFAULT_IT <<: *DEFAULT_IT
+2 -2
View File
@@ -3,7 +3,7 @@
{% if post.header.teaser %} {% if post.header.teaser %}
{% capture teaser %}{{ post.header.teaser }}{% endcapture %} {% capture teaser %}{{ post.header.teaser }}{% endcapture %}
{% else %} {% else %}
{% capture teaser %}{{ site.teaser }}{% endcapture %} {% assign teaser = site.teaser %}
{% endif %} {% endif %}
{% if post.id %} {% if post.id %}
@@ -14,7 +14,7 @@
<div class="{{ include.type | default: "list" }}__item"> <div class="{{ include.type | default: "list" }}__item">
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork"> <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
{% if include.type == "grid" and teaser != blank %} {% if include.type == "grid" and teaser %}
<div class="archive__item-teaser"> <div class="archive__item-teaser">
<img src= <img src=
{% if teaser contains "://" %} {% if teaser contains "://" %}
+1 -1
View File
@@ -20,7 +20,7 @@
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">Follow</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
+5 -1
View File
@@ -1 +1,5 @@
{% capture base_path %}{{ site.url }}{{ site.baseurl }}{% endcapture %} {% if site.url %}
{% assign base_path = site.url | append: site.baseurl %}
{% else %}
{% assign base_path = site.github.url %}
{% endif %}
+22
View File
@@ -0,0 +1,22 @@
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80">
</div>
<div class="comment__content-wrapper">
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
{% unless include.url == blank %}
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
{% else %}
<span itemprop="name">{{ include.name }}</span>
{% endunless %}
</h3>
<p class="comment__date">
{% if include.date %}
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
{% if include.index %}</a>{% endif %}
{% endif %}
</p>
<div itemprop="text">{{ include.message | markdownify }}</div>
</div>
</article>
@@ -9,6 +9,8 @@
{% 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" %}
{% include /comments-providers/staticman.html %}
{% when "custom" %} {% when "custom" %}
{% include /comments-providers/custom.html %} {% include /comments-providers/custom.html %}
{% endcase %} {% endcase %}
@@ -0,0 +1,42 @@
{% if site.repository and site.staticman.branch %}
<script>
(function ($) {
var $comments = $('.js-comments');
$('#new_comment').submit(function () {
var form = this;
$(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..." }}');
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
contentType: 'application/x-www-form-urlencoded',
success: function (data) {
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
$('.page__comments-form .js-notice').removeClass('notice--danger');
$('.page__comments-form .js-notice').addClass('notice--success');
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
},
error: function (err) {
console.log(err);
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
$('.page__comments-form .js-notice').removeClass('notice--success');
$('.page__comments-form .js-notice').addClass('notice--danger');
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
$(form).removeClass('disabled');
}
});
return false;
});
function showAlert(message) {
$('.page__comments-form .js-notice').removeClass('hidden');
$('.page__comments-form .js-notice-text').html(message);
}
})(jQuery);
</script>
{% endif %}
+68 -1
View File
@@ -1,14 +1,81 @@
{% include base_path %} {% include base_path %}
<div class="page__comments"> <div class="page__comments">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4> {% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
{% case site.comments.provider %} {% case site.comments.provider %}
{% when "disqus" %} {% when "disqus" %}
<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>
<section class="fb-comments" data-href="{{ base_path }}{{ page.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="{{ base_path }}{{ page.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>
<section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> <section class="g-comments" data-href="{{ base_path }}{{ page.url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
{% when "staticman" %}
<section id="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 -->
<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>
<fieldset>
<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>
</fieldset>
<fieldset>
<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" />
</fieldset>
<fieldset>
<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" />
</fieldset>
<fieldset>
<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"/>
</fieldset>
<fieldset class="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"/>
</fieldset>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
<strong class="js-notice-text"></strong>
</p>
<!-- End comment form alert messaging -->
<fieldset>
<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>
</fieldset>
</form>
<!-- End new comment form -->
{% endif %}
</section>
{% when "custom" %} {% when "custom" %}
<section id="comments"></section> <section id="comments"></section>
{% endcase %} {% endcase %}
+8 -2
View File
@@ -39,7 +39,7 @@
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %} {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% endif %} {% endif %}
<meta property="og:locale" content="{{ site.locale | default: "en" }}"> <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 }}">
@@ -63,7 +63,9 @@
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}"> <meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% else %} {% else %}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
{% if site.og_image %} {% if page.header.teaser %}
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% elsif site.og_image %}
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}"> <meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
{% endif %} {% endif %}
{% endif %} {% endif %}
@@ -87,6 +89,10 @@
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}"> <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% elsif page.header.overlay_image %} {% 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 | prepend: "/images/" | prepend: base_path }}{% endif %}"> <meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% elsif page.header.teaser %}
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% elsif site.og_image %}
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% endif %} {% endif %}
{% if page.date %} {% if page.date %}
+1 -1
View File
@@ -2,7 +2,7 @@
layout: default 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 %}
{% endif %} {% endif %}
-1
View File
@@ -1,5 +1,4 @@
--- ---
layout: compress
--- ---
{% include base_path %} {% include base_path %}
+1 -1
View File
@@ -4,7 +4,7 @@ layout: default
{% include base_path %} {% include base_path %}
{% 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 %}
{% endif %} {% endif %}
+1 -1
View File
@@ -4,7 +4,7 @@ layout: default
{% include base_path %} {% include base_path %}
{% 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 %}
{% endif %} {% endif %}
@@ -2,6 +2,15 @@
ANIMATIONS ANIMATIONS
========================================================================== */ ========================================================================== */
@-webkit-keyframes intro {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes intro { @keyframes intro {
0% { 0% {
opacity: 0; opacity: 0;
@@ -41,7 +41,7 @@
} }
} }
// remove border /* remove border*/
.page__content { .page__content {
.archive__item-title { .archive__item-title {
@@ -129,8 +129,8 @@
} }
@include breakpoint($medium) { @include breakpoint($medium) {
margin-left: 0; // reset before mixin does its thing margin-left: 0; /* reset before mixin does its thing*/
margin-right: 0; // reset before mixin does its thing margin-right: 0; /* reset before mixin does its thing*/
@include gallery(2.5 of 10); @include gallery(2.5 of 10);
.archive__item-teaser { .archive__item-teaser {
+10 -4
View File
@@ -129,7 +129,7 @@ tt, code, kbd, samp, pre {
} }
pre { pre {
overflow-x: auto; // add scrollbars to wide code blocks overflow-x: auto; /* add scrollbars to wide code blocks*/
} }
p > code, p > code,
@@ -147,7 +147,7 @@ td > code {
&:before, &:after { &:before, &:after {
letter-spacing: -0.2em; letter-spacing: -0.2em;
content: "\00a0"; // non-breaking space content: "\00a0"; /* non-breaking space*/
} }
} }
@@ -179,9 +179,12 @@ li ol {
/* Figures and images */ /* Figures and images */
figure { figure {
display: -webkit-box;
display: flex; display: flex;
justify-content: space-between; -webkit-box-pack: justify;
align-items: flex-start; justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
margin: 2em 0; margin: 2em 0;
@@ -194,6 +197,7 @@ figure {
img { img {
width: 100%; width: 100%;
border-radius: $border-radius; border-radius: $border-radius;
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
} }
@@ -240,6 +244,7 @@ figcaption {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
border-bottom: 1px solid $light-gray; border-bottom: 1px solid $light-gray;
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
&:hover { &:hover {
@@ -305,5 +310,6 @@ nav {
========================================================================== */ ========================================================================== */
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;
transition: $global-transition; transition: $global-transition;
} }
@@ -31,7 +31,7 @@
} }
.icon + .hidden { .icon + .hidden {
margin-left: -0.5em; // override for hidden text margin-left: -0.5em; /* override for hidden text*/
} }
/* fills width of parent container */ /* fills width of parent container */
@@ -49,7 +49,7 @@
&--inverse { &--inverse {
color: $gray !important; color: $gray !important;
border: 1px solid $light-gray !important; // override border: 1px solid $light-gray !important; /* override*/
background-color: #fff; background-color: #fff;
&:hover { &:hover {
@@ -61,7 +61,7 @@
/* light outline */ /* light outline */
&--light-outline { &--light-outline {
border: 1px solid #fff !important; // override border: 1px solid #fff !important; /* override*/
background-color: transparent; background-color: transparent;
} }
@@ -111,7 +111,6 @@
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
filter: alpha(opacity=65); filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
opacity: 0.65; opacity: 0.65;
} }
@@ -14,8 +14,10 @@
/* sticky footer fix end */ /* sticky footer fix end */
margin-top: 3em; margin-top: 3em;
color: mix(#fff, $gray, 25%); color: mix(#fff, $gray, 25%);
animation: intro 0.3s both; -webkit-animation: intro 0.3s both;
animation-delay: 0.45s; animation: intro 0.3s both;
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s;
background-color: $lighter-gray; background-color: $lighter-gray;
border-top: 1px solid $light-gray; border-top: 1px solid $light-gray;
+48 -7
View File
@@ -2,7 +2,7 @@
Forms Forms
========================================================================== */ ========================================================================== */
btnform { form {
margin: 0 0 5px 0; margin: 0 0 5px 0;
fieldset { fieldset {
@@ -51,17 +51,20 @@ input,
button, button,
select, select,
textarea { textarea {
font-family: $sans-serif;
box-sizing: border-box; box-sizing: border-box;
font-family: $sans-serif;
} }
label { label {
display: block; display: block;
margin-bottom: 10px / 8; margin-bottom: 0.25em;
font-weight: bold;
color: $text-color; color: $text-color;
cursor: pointer; cursor: pointer;
small {
font-size: $type-size-6;
}
input, input,
textarea, textarea,
select { select {
@@ -74,11 +77,13 @@ textarea,
select { select {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
padding: 4px; padding: 0.25em;
margin-bottom: 5px / 4; margin-bottom: 0.5em;
color: $text-color;
background-color: #fff; background-color: #fff;
border: 1px solid mix(#fff, #000, 80%); border: 1px solid mix(#fff, #000, 80%);
color: $text-color; border-radius: $border-radius;
box-shadow: $box-shadow;
&:hover { &:hover {
border-color: mix(#fff, $primary-color, 50%); border-color: mix(#fff, $primary-color, 50%);
@@ -165,6 +170,10 @@ input[type="hidden"] {
display: none; display: none;
} }
.form {
position: relative;
}
.radio, .radio,
.checkbox { .checkbox {
padding-left: 18px; padding-left: 18px;
@@ -315,6 +324,38 @@ select:focus {
} }
/*
.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 Google search form
========================================================================== */ ========================================================================== */
@@ -5,8 +5,10 @@
.masthead { .masthead {
position: relative; position: relative;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
animation: intro 0.3s both; -webkit-animation: intro 0.3s both;
animation-delay: 0.15s; animation: intro 0.3s both;
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
z-index: 20; z-index: 20;
&__inner-wrap { &__inner-wrap {
@@ -3,9 +3,9 @@
========================================================================== */ ========================================================================== */
%tab-focus { %tab-focus {
// Default /* Default*/
outline: thin dotted $warning-color; outline: thin dotted $warning-color;
// Webkit /* Webkit*/
outline: 5px auto $warning-color; outline: 5px auto $warning-color;
outline-offset: -2px; outline-offset: -2px;
} }
@@ -23,21 +23,24 @@
Bourbon clearfix Bourbon clearfix
========================================================================== */ ========================================================================== */
// Provides an easy way to include a clearfix for containing floats. /*
// * Provides an easy way to include a clearfix for containing floats.
// @link http://cssmojo.com/latest_new_clearfix_so_far/ * link http://cssmojo.com/latest_new_clearfix_so_far/
// *
// @example scss - Usage * example scss - Usage
// .element { *
// @include clearfix; * .element {
// } * @include clearfix;
// * }
// @example css - CSS Output *
// .element::after { * example css - CSS Output
// clear: both; *
// content: ""; * .element::after {
// display: table; * clear: both;
// } * content: "";
* display: table;
* }
*/
@mixin clearfix { @mixin clearfix {
clear: both; clear: both;
@@ -14,8 +14,10 @@
padding-left: 2em; padding-left: 2em;
padding-right: 2em; padding-right: 2em;
font-family: $sans-serif; font-family: $sans-serif;
animation: intro 0.3s both; -webkit-animation: intro 0.3s both;
animation-delay: 0.30s; animation: intro 0.3s both;
-webkit-animation-delay: 0.30s;
animation-delay: 0.30s;
@include breakpoint($large) { @include breakpoint($large) {
padding-left: 1em; padding-left: 1em;
@@ -95,7 +97,7 @@
} }
&.disabled { &.disabled {
color: $light-gray; color: mix(#fff, $gray, 75%);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -129,7 +131,7 @@
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: mix(#fff, $gray, 25%); color: mix(#fff, $gray, 50%);
border: 1px solid $light-gray; border: 1px solid $light-gray;
border-radius: $border-radius; border-radius: $border-radius;
@@ -149,7 +151,7 @@
} }
&.disabled { &.disabled {
color: $light-gray; color: mix(#fff, $gray, 75%);
pointer-events: none; pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
} }
@@ -232,12 +234,17 @@
height: 4px; height: 4px;
background: mix(#fff, $primary-color, 50%); background: mix(#fff, $primary-color, 50%);
width: 100%; width: 100%;
-webkit-transition: $global-transition;
transition: $global-transition; transition: $global-transition;
transform: scaleX(0); // hide -webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0); /* hide*/
} }
&:hover:before { &:hover:before {
transform: scaleX(1); // reveal -webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1); /* reveal*/
} }
} }
} }
@@ -414,7 +421,7 @@
font-weight: normal; font-weight: normal;
} }
// hide sub sub links on small screens /* hide sub sub links on small screens*/
li > ul li { li > ul li {
display: none; display: none;
@@ -11,34 +11,34 @@
*/ */
@mixin notice($notice-color) { @mixin notice($notice-color) {
margin: 2em 0 !important; // override margin: 2em 0 !important; /* override*/
padding: 1em; padding: 1em;
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*/
background-color: mix(#fff, $notice-color, 90%); background-color: mix(#fff, $notice-color, 90%);
border-radius: $border-radius; border-radius: $border-radius;
box-shadow: 0 1px 1px rgba($notice-color, 0.25); box-shadow: 0 1px 1px rgba($notice-color, 0.25);
h4 { h4 {
margin-top: 0 !important; // override margin-top: 0 !important; /* override*/
margin-bottom: 0.75em; margin-bottom: 0.75em;
} }
@at-root .page__content #{&} h4 { @at-root .page__content #{&} h4 {
// using at-root to override .page-content h4 font size /* using at-root to override .page-content h4 font size*/
margin-bottom: 0; margin-bottom: 0;
font-size: 1em; font-size: 1em;
} }
p { p {
&:last-child { &:last-child {
margin-bottom: 0 !important; // override margin-bottom: 0 !important; /* override*/
} }
} }
h4 + p { h4 + p {
// remove space above paragraphs that appear directly after notice headline /* remove space above paragraphs that appear directly after notice headline*/
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
} }
@@ -57,7 +57,7 @@
ul { ul {
&:last-child { &:last-child {
margin-bottom: 0; // override margin-bottom: 0; /* override*/
} }
} }
} }
+79 -1
View File
@@ -63,7 +63,7 @@
p { p {
margin: 0 0 $indent-var; margin: 0 0 $indent-var;
// sibling indentation /* sibling indentation*/
@if $paragraph-indent == true { @if $paragraph-indent == true {
& + p { & + p {
text-indent: $indent-var; text-indent: $indent-var;
@@ -294,6 +294,84 @@
text-transform: uppercase; text-transform: uppercase;
} }
.page__comments-form {
padding: 1em;
background: $lighter-gray;
transition: $global-transition;
&.disabled {
input,
button,
textarea,
label {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
}
}
.comment {
@include clearfix();
margin: 1em 0;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
.comment__avatar-wrapper {
float: left;
width: 60px;
height: 60px;
@include breakpoint($large) {
width: 100px;
height: 100px;
}
}
.comment__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
@include breakpoint($large) {
width: 80px;
height: 80px;
padding: 5px;
border: 1px solid $border-color;
}
}
.comment__content-wrapper {
float: right;
width: calc(100% - 60px);
@include breakpoint($large) {
width: calc(100% - 100px);
}
}
.comment__author {
margin: 0;
a {
text-decoration: none;
}
}
.comment__date {
@extend .page__meta;
margin: 0;
a {
text-decoration: none;
}
}
/* /*
Related Related
+18 -13
View File
@@ -24,6 +24,11 @@ body { margin: 0; }
/* Selected elements */ /* Selected elements */
::-moz-selection {
color: #fff;
background: #000;
}
::selection { ::selection {
color: #fff; color: #fff;
background: #000; background: #000;
@@ -100,9 +105,9 @@ sub {
img { img {
/* Responsive images (ensure images don't scale beyond their parents) */ /* Responsive images (ensure images don't scale beyond their parents) */
max-width: 100%; // part 1: Set a maximum relative to the parent max-width: 100%; /* part 1: Set a maximum relative to the parent*/
width: auto\9; // IE7-8 need help adjusting responsive images 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 height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
vertical-align: middle; vertical-align: middle;
border: 0; border: 0;
@@ -129,12 +134,12 @@ textarea {
button, button,
input { input {
*overflow: visible; // inner spacing ie IE6/7 *overflow: visible; /* inner spacing ie IE6/7*/
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
} }
button::-moz-focus-inner, button::-moz-focus-inner,
input::-moz-focus-inner { // inner padding and border oddities in FF3/4 input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
padding: 0; padding: 0;
border: 0; border: 0;
} }
@@ -143,8 +148,8 @@ button,
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls 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="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-appearance: button; // corrects inability to style clickable `input` types in iOS -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 cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
} }
label, label,
@@ -155,20 +160,20 @@ input[type="reset"],
input[type="submit"], input[type="submit"],
input[type="radio"], input[type="radio"],
input[type="checkbox"] { input[type="checkbox"] {
cursor: pointer; // improves usability and consistency of cursor style between image-type `input` and others cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
} }
input[type="search"] { // Appearance in Safari/Chrome input[type="search"] { /* Appearance in Safari/Chrome*/
box-sizing: content-box; box-sizing: content-box;
-webkit-appearance: textfield; -webkit-appearance: textfield;
} }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none; // inner-padding issues in Chrome OSX, Safari 5 -webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
} }
textarea { textarea {
overflow: auto; // remove vertical scrollbar in IE6-9 overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; // readability and alignment cross-browser vertical-align: top; /* readability and alignment cross-browser*/
} }
@@ -13,6 +13,7 @@
@include breakpoint($large) { @include breakpoint($large) {
@include span(2 of 12); @include span(2 of 12);
opacity: 0.75; opacity: 0.75;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out;
&:hover { &:hover {
@@ -2,10 +2,13 @@
Syntax highlighting Syntax highlighting
========================================================================== */ ========================================================================== */
div.highlighter-rouge, figure.highlight { div.highlighter-rouge,
figure.highlight {
position: relative; position: relative;
margin-bottom: 1em; margin-bottom: 1em;
padding: 1em; font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background-color: $code-background-color; background-color: $code-background-color;
@@ -19,7 +22,6 @@ div.highlighter-rouge, figure.highlight {
background-color: $lighter-gray; background-color: $lighter-gray;
content: "\f121"; content: "\f121";
font-family: "fontawesome" !important; font-family: "fontawesome" !important;
font-size: $type-size-6;
line-height: 1; line-height: 1;
text-transform: none; text-transform: none;
speak: none; speak: none;
@@ -27,15 +29,36 @@ div.highlighter-rouge, figure.highlight {
.highlight { .highlight {
margin: 0; margin: 0;
font-family: $monospace; padding: 1em;
font-size: $type-size-7;
line-height: 1.8;
} }
} }
.highlight table td { padding: 5px; } figure.highlight {
.highlight table pre { margin: 0; } 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 Solarized Light
@@ -179,7 +179,7 @@ body:hover .visually-hidden button {
vertical-align: middle; vertical-align: middle;
} }
// social icons /* social icons*/
.social-icons { .social-icons {
.fa { .fa {
@@ -295,6 +295,7 @@ body:hover .visually-hidden button {
height: $navicon-height; height: $navicon-height;
background: #fff; background: #fff;
margin: auto; margin: auto;
-webkit-transition: 0.3s;
transition: 0.3s; transition: 0.3s;
&:before, &:before,
@@ -305,6 +306,7 @@ body:hover .visually-hidden button {
width: $navicon-width; width: $navicon-width;
height: $navicon-height; height: $navicon-height;
background: #fff; background: #fff;
-webkit-transition: 0.3s;
transition: 0.3s; transition: 0.3s;
} }
@@ -318,22 +320,26 @@ body:hover .visually-hidden button {
} }
.close .navicon { .close .navicon {
// hide the middle line /* hide the middle line*/
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{
transform-origin: 50% 50%; -webkit-transform-origin: 50% 50%;
-ms-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{
transform: rotate3d(0,0,1,45deg); -webkit-transform: rotate3d(0,0,1,45deg);
transform: rotate3d(0,0,1,45deg);
} }
&:after{ &:after{
transform: rotate3d(0,0,1,-45deg); -webkit-transform: rotate3d(0,0,1,-45deg);
transform: rotate3d(0,0,1,-45deg);
} }
} }
@@ -371,6 +377,61 @@ body:hover .visually-hidden button {
} }
/*
Modals
========================================================================== */
.show-modal {
overflow: hidden;
position: relative;
&:before {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
background-color: rgba(255, 255, 255, 0.85);
}
.modal {
display: block;
}
}
.modal {
display: none;
position: fixed;
width: 300px;
top: 50%;
left: 50%;
margin-left: -150px;
margin-top: -150px;
min-height: 0;
z-index: 9999;
background: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
&__title {
margin: 0;
padding: 0.5em 1em;
}
&__supporting-text {
padding: 0 1em 0.5em 1em;
}
&__actions {
padding: 0.5em 1em;
border-top: 1px solid $border-color;
}
}
/* /*
Footnotes Footnotes
========================================================================== */ ========================================================================== */
@@ -396,4 +457,14 @@ a.reversefootnote {
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }
} }
/*
Required
========================================================================== */
.required {
color: $danger-color;
font-weight: bold;
}

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