minimal-mistakes-jekyll 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +571 -0
  3. data/LICENSE +21 -0
  4. data/README.md +122 -0
  5. data/_includes/analytics-providers/custom.html +3 -0
  6. data/_includes/analytics-providers/google-universal.html +9 -0
  7. data/_includes/analytics-providers/google.html +11 -0
  8. data/_includes/analytics.html +12 -0
  9. data/_includes/archive-single.html +40 -0
  10. data/_includes/author-profile.html +102 -0
  11. data/_includes/base_path +5 -0
  12. data/_includes/breadcrumbs.html +41 -0
  13. data/_includes/browser-upgrade.html +3 -0
  14. data/_includes/category-list.html +28 -0
  15. data/_includes/comment.html +22 -0
  16. data/_includes/comments-providers/custom.html +3 -0
  17. data/_includes/comments-providers/discourse.html +14 -0
  18. data/_includes/comments-providers/disqus.html +22 -0
  19. data/_includes/comments-providers/facebook.html +8 -0
  20. data/_includes/comments-providers/google-plus.html +2 -0
  21. data/_includes/comments-providers/scripts.html +18 -0
  22. data/_includes/comments-providers/staticman.html +42 -0
  23. data/_includes/comments.html +82 -0
  24. data/_includes/feature_row +52 -0
  25. data/_includes/footer.html +24 -0
  26. data/_includes/footer/custom.html +3 -0
  27. data/_includes/gallery +49 -0
  28. data/_includes/group-by-array +47 -0
  29. data/_includes/head.html +21 -0
  30. data/_includes/head/custom.html +5 -0
  31. data/_includes/masthead.html +23 -0
  32. data/_includes/nav_list +46 -0
  33. data/_includes/page__hero.html +55 -0
  34. data/_includes/page__taxonomy.html +9 -0
  35. data/_includes/paginator.html +70 -0
  36. data/_includes/post_pagination.html +16 -0
  37. data/_includes/read-time.html +17 -0
  38. data/_includes/scripts.html +4 -0
  39. data/_includes/seo.html +145 -0
  40. data/_includes/sidebar.html +25 -0
  41. data/_includes/social-share.html +15 -0
  42. data/_includes/tag-list.html +28 -0
  43. data/_includes/toc +7 -0
  44. data/_layouts/archive-taxonomy.html +16 -0
  45. data/_layouts/archive.html +24 -0
  46. data/_layouts/compress.html +10 -0
  47. data/_layouts/default.html +30 -0
  48. data/_layouts/single.html +76 -0
  49. data/_layouts/splash.html +22 -0
  50. data/_sass/_animations.scss +21 -0
  51. data/_sass/_archive.scss +238 -0
  52. data/_sass/_base.scss +315 -0
  53. data/_sass/_buttons.scss +153 -0
  54. data/_sass/_footer.scss +80 -0
  55. data/_sass/_forms.scss +391 -0
  56. data/_sass/_masthead.scss +53 -0
  57. data/_sass/_mixins.scss +53 -0
  58. data/_sass/_navigation.scss +432 -0
  59. data/_sass/_notices.scss +99 -0
  60. data/_sass/_page.scss +401 -0
  61. data/_sass/_print.scss +18 -0
  62. data/_sass/_reset.scss +187 -0
  63. data/_sass/_sidebar.scss +232 -0
  64. data/_sass/_syntax.scss +146 -0
  65. data/_sass/_tables.scss +38 -0
  66. data/_sass/_utilities.scss +470 -0
  67. data/_sass/_variables.scss +147 -0
  68. data/_sass/vendor/breakpoint/_breakpoint.scss +114 -0
  69. data/_sass/vendor/breakpoint/_context.scss +95 -0
  70. data/_sass/vendor/breakpoint/_helpers.scss +151 -0
  71. data/_sass/vendor/breakpoint/_legacy-settings.scss +50 -0
  72. data/_sass/vendor/breakpoint/_no-query.scss +15 -0
  73. data/_sass/vendor/breakpoint/_parsers.scss +215 -0
  74. data/_sass/vendor/breakpoint/_respond-to.scss +82 -0
  75. data/_sass/vendor/breakpoint/_settings.scss +71 -0
  76. data/_sass/vendor/breakpoint/parsers/_double.scss +33 -0
  77. data/_sass/vendor/breakpoint/parsers/_query.scss +82 -0
  78. data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -0
  79. data/_sass/vendor/breakpoint/parsers/_single.scss +26 -0
  80. data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -0
  81. data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  82. data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -0
  83. data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  84. data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  85. data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -0
  86. data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  87. data/_sass/vendor/font-awesome/_animated.scss +34 -0
  88. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
  89. data/_sass/vendor/font-awesome/_core.scss +12 -0
  90. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
  91. data/_sass/vendor/font-awesome/_font-awesome.scss +18 -0
  92. data/_sass/vendor/font-awesome/_icons.scss +733 -0
  93. data/_sass/vendor/font-awesome/_larger.scss +13 -0
  94. data/_sass/vendor/font-awesome/_list.scss +19 -0
  95. data/_sass/vendor/font-awesome/_mixins.scss +60 -0
  96. data/_sass/vendor/font-awesome/_path.scss +15 -0
  97. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
  98. data/_sass/vendor/font-awesome/_screen-reader.scss +5 -0
  99. data/_sass/vendor/font-awesome/_stacked.scss +20 -0
  100. data/_sass/vendor/font-awesome/_variables.scss +744 -0
  101. data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -0
  102. data/_sass/vendor/magnific-popup/_settings.scss +46 -0
  103. data/_sass/vendor/susy/_su.scss +4 -0
  104. data/_sass/vendor/susy/_susy.scss +4 -0
  105. data/_sass/vendor/susy/_susyone.scss +4 -0
  106. data/_sass/vendor/susy/susy/_su.scss +7 -0
  107. data/_sass/vendor/susy/susy/language/_susy.scss +24 -0
  108. data/_sass/vendor/susy/susy/language/_susyone.scss +13 -0
  109. data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -0
  110. data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -0
  111. data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -0
  112. data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -0
  113. data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -0
  114. data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -0
  115. data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -0
  116. data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -0
  117. data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -0
  118. data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -0
  119. data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -0
  120. data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -0
  121. data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -0
  122. data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -0
  123. data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -0
  124. data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -0
  125. data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -0
  126. data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -0
  127. data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -0
  128. data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -0
  129. data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -0
  130. data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -0
  131. data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -0
  132. data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -0
  133. data/_sass/vendor/susy/susy/output/_float.scss +9 -0
  134. data/_sass/vendor/susy/susy/output/_shared.scss +15 -0
  135. data/_sass/vendor/susy/susy/output/_support.scss +9 -0
  136. data/_sass/vendor/susy/susy/output/float/_container.scss +16 -0
  137. data/_sass/vendor/susy/susy/output/float/_end.scss +40 -0
  138. data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -0
  139. data/_sass/vendor/susy/susy/output/float/_span.scss +35 -0
  140. data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -0
  141. data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -0
  142. data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -0
  143. data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -0
  144. data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -0
  145. data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -0
  146. data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -0
  147. data/_sass/vendor/susy/susy/output/support/_background.scss +58 -0
  148. data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -0
  149. data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -0
  150. data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -0
  151. data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -0
  152. data/_sass/vendor/susy/susy/output/support/_support.scss +85 -0
  153. data/_sass/vendor/susy/susy/su/_grid.scss +103 -0
  154. data/_sass/vendor/susy/susy/su/_settings.scss +73 -0
  155. data/_sass/vendor/susy/susy/su/_utilities.scss +111 -0
  156. data/_sass/vendor/susy/susy/su/_validation.scss +57 -0
  157. data/assets/css/main.scss +39 -0
  158. data/assets/fonts/FontAwesome.otf +0 -0
  159. data/assets/fonts/fontawesome-webfont.eot +0 -0
  160. data/assets/fonts/fontawesome-webfont.svg +685 -0
  161. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  162. data/assets/fonts/fontawesome-webfont.woff +0 -0
  163. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  164. data/assets/images/bio-photo.jpg +0 -0
  165. data/assets/images/mm-browser-mockups.png +0 -0
  166. data/assets/images/mm-layout-examples.png +0 -0
  167. data/assets/js/_main.js +100 -0
  168. data/assets/js/main.min.js +5 -0
  169. data/assets/js/plugins/jquery.fitvids.js +82 -0
  170. data/assets/js/plugins/jquery.greedy-navigation.js +72 -0
  171. data/assets/js/plugins/jquery.magnific-popup.js +2049 -0
  172. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -0
  173. data/assets/js/plugins/stickyfill.min.js +8 -0
  174. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +5 -0
  175. metadata +259 -0
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.0.2
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,30 @@
1
+ ---
2
+ ---
3
+
4
+ {% include base_path %}
5
+
6
+ <!doctype html>
7
+ <html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
8
+ <head>
9
+ {% include head.html %}
10
+ {% include head/custom.html %}
11
+ </head>
12
+
13
+ <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
14
+
15
+ {% include browser-upgrade.html %}
16
+ {% include masthead.html %}
17
+
18
+ {{ content }}
19
+
20
+ <div class="page__footer">
21
+ <footer>
22
+ {% include footer/custom.html %}
23
+ {% include footer.html %}
24
+ </footer>
25
+ </div>
26
+
27
+ {% include scripts.html %}
28
+
29
+ </body>
30
+ </html>
@@ -0,0 +1,76 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include base_path %}
6
+
7
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
8
+ {% include page__hero.html %}
9
+ {% endif %}
10
+
11
+ {% if page.url != "/" and site.breadcrumbs %}
12
+ {% unless paginator %}
13
+ {% include breadcrumbs.html %}
14
+ {% endunless %}
15
+ {% endif %}
16
+
17
+ <div id="main" role="main">
18
+ {% include sidebar.html %}
19
+
20
+ <article class="page" itemscope itemtype="http://schema.org/CreativeWork">
21
+ {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
22
+ {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
23
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
24
+ {% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
25
+
26
+ <div class="page__inner-wrap">
27
+ {% unless page.header.overlay_color or page.header.overlay_image %}
28
+ <header>
29
+ {% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
30
+ {% if page.read_time %}
31
+ <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
32
+ {% endif %}
33
+ </header>
34
+ {% endunless %}
35
+
36
+ <section class="page__content" itemprop="text">
37
+ {{ content }}
38
+ {% 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 %}
39
+ </section>
40
+
41
+ <footer class="page__meta">
42
+ {% if site.data.ui-text[site.locale].meta_label %}
43
+ <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
44
+ {% endif %}
45
+ {% include page__taxonomy.html %}
46
+ {% if page.modified %}
47
+ <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>
48
+ {% elsif page.date %}
49
+ <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>
50
+ {% endif %}
51
+ </footer>
52
+
53
+ {% if page.share %}{% include social-share.html %}{% endif %}
54
+
55
+ {% include post_pagination.html %}
56
+ </div>
57
+
58
+ {% if site.comments.provider and page.comments %}
59
+ {% include comments.html %}
60
+ {% endif %}
61
+ </article>
62
+
63
+ {% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
64
+ {% if page.id and page.related and site.related_posts.size > 0 %}
65
+ <div class="page__related">
66
+ {% if site.data.ui-text[site.locale].related_label %}
67
+ <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
68
+ {% endif %}
69
+ <div class="grid__wrapper">
70
+ {% for post in site.related_posts limit:4 %}
71
+ {% include archive-single.html type="grid" %}
72
+ {% endfor %}
73
+ </div>
74
+ </div>
75
+ {% endif %}
76
+ </div>
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include base_path %}
6
+
7
+ {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
8
+ {% include page__hero.html %}
9
+ {% endif %}
10
+
11
+ <div id="main" role="main">
12
+ <article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
13
+ {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
14
+ {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
16
+ {% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
17
+
18
+ <section class="page__content" itemprop="text">
19
+ {{ content }}
20
+ </section>
21
+ </article>
22
+ </div>
@@ -0,0 +1,21 @@
1
+ /* ==========================================================================
2
+ ANIMATIONS
3
+ ========================================================================== */
4
+
5
+ @-webkit-keyframes intro {
6
+ 0% {
7
+ opacity: 0;
8
+ }
9
+ 100% {
10
+ opacity: 1;
11
+ }
12
+ }
13
+
14
+ @keyframes intro {
15
+ 0% {
16
+ opacity: 0;
17
+ }
18
+ 100% {
19
+ opacity: 1;
20
+ }
21
+ }
@@ -0,0 +1,238 @@
1
+ /* ==========================================================================
2
+ ARCHIVE
3
+ ========================================================================== */
4
+
5
+ .archive {
6
+ margin-bottom: 2em;
7
+
8
+ @include breakpoint($medium) {
9
+ @include span(12 of 12);
10
+ }
11
+
12
+ @include breakpoint($large) {
13
+ @include span(10 of 12 last);
14
+ @include prefix(0.5 of 12);
15
+ }
16
+
17
+ a {
18
+ color: inherit;
19
+ text-decoration: none;
20
+ }
21
+ }
22
+
23
+ .archive__subtitle {
24
+ margin: 1.414em 0 0;
25
+ padding-bottom: 0.5em;
26
+ font-size: $type-size-5;
27
+ color: mix(#fff, $gray, 25%);
28
+ border-bottom: 1px solid $border-color;
29
+
30
+ + .list__item .archive__item-title {
31
+ margin-top: 0.5em;
32
+ }
33
+ }
34
+
35
+ .archive__item-title {
36
+ margin-bottom: 0.25em;
37
+ font-family: $sans-serif-narrow;
38
+
39
+ a + a {
40
+ opacity: 0.5;
41
+ }
42
+ }
43
+
44
+ /* remove border*/
45
+ .page__content {
46
+
47
+ .archive__item-title {
48
+ margin-top: 1em;
49
+ border-bottom: none;
50
+ }
51
+ }
52
+
53
+ .archive__item-excerpt {
54
+ margin-top: 0;
55
+ font-size: $type-size-6;
56
+
57
+ & + p {
58
+ text-indent: 0;
59
+ }
60
+ }
61
+
62
+ .archive__item-teaser {
63
+ border-radius: $border-radius;
64
+ overflow: hidden;
65
+ img {
66
+ width: 100%;
67
+ }
68
+ }
69
+
70
+ .archive__item:hover {
71
+ .archive__item-teaser {
72
+ box-shadow: 0 0 10px rgba(#000, 0.25);
73
+ }
74
+
75
+ .archive__item-title {
76
+ text-decoration: underline;
77
+ }
78
+ }
79
+
80
+
81
+ /*
82
+ List view
83
+ ========================================================================== */
84
+
85
+ .list__item {
86
+ @include breakpoint($medium) {
87
+ padding-right: $right-sidebar-width-narrow;
88
+ }
89
+
90
+ @include breakpoint($large) {
91
+ padding-right: $right-sidebar-width;
92
+ }
93
+
94
+ @include breakpoint($x-large) {
95
+ padding-right: $right-sidebar-width-wide;
96
+ }
97
+
98
+ .page__meta {
99
+ margin: 0 0 4px;
100
+ }
101
+ }
102
+
103
+
104
+ /*
105
+ Grid view
106
+ ========================================================================== */
107
+
108
+ .grid__item {
109
+ margin-bottom: 2em;
110
+
111
+ .page__meta {
112
+ margin: 0 0 4px;
113
+ }
114
+
115
+ .archive__item-title {
116
+ margin-top: 0.5em;
117
+ font-size: $type-size-5;
118
+ }
119
+
120
+ .archive__item-excerpt {
121
+ display: none;
122
+ }
123
+
124
+ @include breakpoint($small) {
125
+ @include gallery(5 of 10);
126
+ .archive__item-teaser {
127
+ max-height: 200px;
128
+ }
129
+ }
130
+
131
+ @include breakpoint($medium) {
132
+ margin-left: 0; /* reset before mixin does its thing*/
133
+ margin-right: 0; /* reset before mixin does its thing*/
134
+ @include gallery(2.5 of 10);
135
+
136
+ .archive__item-teaser {
137
+ max-height: 120px;
138
+ }
139
+
140
+ .archive__item-excerpt {
141
+ display: block;
142
+ font-size: $type-size-6;
143
+ }
144
+ }
145
+ }
146
+
147
+
148
+ /*
149
+ Features
150
+ ========================================================================== */
151
+
152
+ .feature__wrapper {
153
+ @include clearfix();
154
+ margin-bottom: 2em;
155
+ border-bottom: 1px solid $border-color;
156
+ }
157
+
158
+ .feature__item {
159
+ margin-bottom: 2em;
160
+ font-size: 1.25rem;
161
+
162
+ @include breakpoint($small) {
163
+ margin-bottom: 0;
164
+ @include gallery(4 of 12);
165
+
166
+ .feature__item-teaser {
167
+ max-height: 200px;
168
+ overflow: hidden;
169
+ }
170
+ }
171
+
172
+ &--left {
173
+ @include full();
174
+ font-size: 1.25rem;
175
+
176
+ .archive__item-teaser {
177
+ margin-bottom: 2em;
178
+ }
179
+
180
+ @include breakpoint($small) {
181
+ .archive__item-teaser {
182
+ @include span(5 of 12);
183
+ }
184
+
185
+ .archive__item-body {
186
+ @include span(7 of 12 last);
187
+ @include prefix(0.5 of 12);
188
+ @include suffix(1 of 12);
189
+ }
190
+ }
191
+ }
192
+
193
+ &--right {
194
+ @include full();
195
+ font-size: 1.25rem;
196
+
197
+ .archive__item-teaser {
198
+ margin-bottom: 2em;
199
+ }
200
+
201
+ @include breakpoint($small) {
202
+ text-align: right;
203
+
204
+ .archive__item-teaser {
205
+ @include span(5 of 12 rtl);
206
+ }
207
+
208
+ .archive__item-body {
209
+ @include span(7 of 12 last rtl);
210
+ @include prefix(0.5 of 12);
211
+ @include suffix(1 of 12);
212
+ }
213
+ }
214
+ }
215
+
216
+ &--center {
217
+ @include full();
218
+ font-size: 1.25rem;
219
+
220
+ .archive__item-teaser {
221
+ margin-bottom: 2em;
222
+ }
223
+
224
+ @include breakpoint($small) {
225
+ text-align: center;
226
+
227
+ .archive__item-teaser {
228
+ margin: 0 auto;
229
+ width: span(5 of 12);
230
+ }
231
+
232
+ .archive__item-body {
233
+ margin: 0 auto;
234
+ width: span(7 of 12);
235
+ }
236
+ }
237
+ }
238
+ }
data/_sass/_base.scss ADDED
@@ -0,0 +1,315 @@
1
+ /* ==========================================================================
2
+ BASE ELEMENTS
3
+ ========================================================================== */
4
+
5
+ html {
6
+ /* sticky footer fix */
7
+ position: relative;
8
+ min-height: 100%;
9
+ }
10
+
11
+ body {
12
+ margin: 0;
13
+ padding: 0;
14
+ color: $text-color;
15
+ font-family: $global-font-family;
16
+ line-height: 1.5;
17
+
18
+ &.overflow--hidden {
19
+ /* when primary navigation is visible, the content in the background won't scroll */
20
+ overflow: hidden;
21
+ }
22
+ }
23
+
24
+ h1, h2, h3, h4, h5, h6 {
25
+ margin: 2em 0 0.5em;
26
+ line-height: 1.2;
27
+ font-family: $header-font-family;
28
+ font-weight: bold;
29
+ }
30
+
31
+ h1 {
32
+ margin-top: 0;
33
+ font-size: $type-size-3;
34
+ }
35
+
36
+ h2 {
37
+ font-size: $type-size-4;
38
+ }
39
+
40
+ h3 {
41
+ font-size: $type-size-5;
42
+ }
43
+
44
+ h4 {
45
+ font-size: $type-size-6;
46
+ }
47
+
48
+ h5 {
49
+ font-size: $type-size-6;
50
+ }
51
+
52
+ h6 {
53
+ font-size: $type-size-6;
54
+ }
55
+
56
+ small, .small {
57
+ font-size: $type-size-6;
58
+ }
59
+
60
+ p {
61
+ margin-bottom: 1.3em;
62
+ }
63
+
64
+ u,
65
+ ins {
66
+ text-decoration: none;
67
+ border-bottom: 1px solid $text-color;
68
+ a {
69
+ color: inherit;
70
+ }
71
+ }
72
+
73
+ del a {
74
+ color: inherit;
75
+ }
76
+
77
+ /* reduce orphans and widows when printing */
78
+
79
+ p, pre, blockquote, ul, ol, dl, figure, table, fieldset {
80
+ orphans: 3;
81
+ widows: 3;
82
+ }
83
+
84
+ /* abbreviations */
85
+
86
+ abbr[title],
87
+ abbr[data-original-title] {
88
+ text-decoration: none;
89
+ cursor: help;
90
+ border-bottom: 1px dotted $text-color;
91
+ }
92
+
93
+ /* blockquotes */
94
+
95
+ blockquote {
96
+ margin: 2em 1em 2em 0;
97
+ padding-left: 1em;
98
+ padding-right: 1em;
99
+ font-style: italic;
100
+ border-left: 0.25em solid $primary-color;
101
+
102
+ cite {
103
+ font-style: italic;
104
+
105
+ &:before {
106
+ content: "\2014";
107
+ padding-right: 5px;
108
+ }
109
+ }
110
+ }
111
+
112
+ /* links */
113
+
114
+ a {
115
+ &:focus {
116
+ @extend %tab-focus;
117
+ }
118
+
119
+ &:hover,
120
+ &:active {
121
+ outline: 0;
122
+ }
123
+ }
124
+
125
+ /* code */
126
+
127
+ tt, code, kbd, samp, pre {
128
+ font-family: $monospace;
129
+ }
130
+
131
+ pre {
132
+ overflow-x: auto; /* add scrollbars to wide code blocks*/
133
+ }
134
+
135
+ p > code,
136
+ a > code,
137
+ li > code,
138
+ figcaption > code,
139
+ td > code {
140
+ padding-top: 0.1rem;
141
+ padding-bottom: 0.1rem;
142
+ font-size: $type-size-6;
143
+ background: $code-background-color;
144
+ border: 1px solid $lighter-gray;
145
+ border-radius: $border-radius;
146
+ box-shadow: $box-shadow;
147
+
148
+ &:before, &:after {
149
+ letter-spacing: -0.2em;
150
+ content: "\00a0"; /* non-breaking space*/
151
+ }
152
+ }
153
+
154
+ /* horizontal rule */
155
+
156
+ hr {
157
+ display: block;
158
+ margin: 1em 0;
159
+ border: 0;
160
+ border-top: 1px solid $border-color;
161
+ }
162
+
163
+ /* lists */
164
+
165
+ ul li,
166
+ ol li {
167
+ margin-bottom: 0.5em;
168
+ }
169
+
170
+ li ul,
171
+ li ol {
172
+ margin-top: 0.5em;
173
+ }
174
+
175
+ /*
176
+ Media and embeds
177
+ ========================================================================== */
178
+
179
+ /* Figures and images */
180
+
181
+ figure {
182
+ display: -webkit-box;
183
+ display: flex;
184
+ -webkit-box-pack: justify;
185
+ justify-content: space-between;
186
+ -webkit-box-align: start;
187
+ align-items: flex-start;
188
+ flex-wrap: wrap;
189
+ margin: 2em 0;
190
+
191
+ img,
192
+ iframe,
193
+ .fluid-width-video-wrapper {
194
+ margin-bottom: 1em;
195
+ }
196
+
197
+ img {
198
+ width: 100%;
199
+ border-radius: $border-radius;
200
+ -webkit-transition: $global-transition;
201
+ transition: $global-transition;
202
+ }
203
+
204
+ > a {
205
+ display: block;
206
+ }
207
+
208
+ &.half {
209
+ > a,
210
+ > img {
211
+ @include breakpoint($small) {
212
+ width: calc(50% - 0.5em);
213
+ }
214
+ }
215
+
216
+ figcaption {
217
+ width: 100%;
218
+ }
219
+ }
220
+
221
+ &.third {
222
+ > a,
223
+ > img {
224
+ @include breakpoint($small) {
225
+ width: calc(33.3333% - 0.5em);
226
+ }
227
+ }
228
+
229
+ figcaption {
230
+ width: 100%;
231
+ }
232
+ }
233
+ }
234
+
235
+ /* Figure captions */
236
+
237
+ figcaption {
238
+ margin-bottom: 0.5em;
239
+ color: mix(#fff, $text-color, 25%);
240
+ font-family: $caption-font-family;
241
+ font-size: $type-size-6;
242
+
243
+ a {
244
+ color: inherit;
245
+ text-decoration: none;
246
+ border-bottom: 1px solid $light-gray;
247
+ -webkit-transition: $global-transition;
248
+ transition: $global-transition;
249
+
250
+ &:hover {
251
+ color: #000;
252
+ border-bottom-color: #000;
253
+ }
254
+ }
255
+ }
256
+
257
+
258
+ /* Fix IE9 SVG bug */
259
+
260
+ svg:not(:root) {
261
+ overflow: hidden;
262
+ }
263
+
264
+
265
+ /*
266
+ Navigation lists
267
+ ========================================================================== */
268
+
269
+ /**
270
+ * Removes margins, padding, and bullet points from navigation lists
271
+ *
272
+ * Example usage:
273
+ * <nav>
274
+ * <ul>
275
+ * <li><a href="#link-1">Link 1</a></li>
276
+ * <li><a href="#link-2">Link 2</a></li>
277
+ * <li><a href="#link-3">Link 3</a></li>
278
+ * </ul>
279
+ * </nav>
280
+ */
281
+
282
+ nav {
283
+ ul {
284
+ margin: 0;
285
+ padding: 0;
286
+ }
287
+
288
+ li {
289
+ list-style: none;
290
+ }
291
+
292
+ a {
293
+ text-decoration: none;
294
+ }
295
+
296
+ /* override white-space for nested lists */
297
+ ul li,
298
+ ol li {
299
+ margin-bottom: 0;
300
+ }
301
+
302
+ li ul,
303
+ li ol {
304
+ margin-top: 0;
305
+ }
306
+ }
307
+
308
+ /*
309
+ Global animation transition
310
+ ========================================================================== */
311
+
312
+ 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 {
313
+ -webkit-transition: $global-transition;
314
+ transition: $global-transition;
315
+ }