jekyll-theme-consulting 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/banner.html +12 -6
  3. data/_includes/contact.html +13 -0
  4. data/_includes/footer.html +3 -38
  5. data/_includes/head.html +6 -5
  6. data/_includes/header.html +37 -9
  7. data/_includes/navigation.html +9 -5
  8. data/_includes/scripts.html +5 -7
  9. data/_includes/sidebar.html +17 -0
  10. data/_includes/thread.html +21 -0
  11. data/_layouts/default.html +32 -16
  12. data/_layouts/home.html +4 -2
  13. data/_layouts/landing.html +21 -0
  14. data/_layouts/page.html +1 -1
  15. data/_layouts/post.html +22 -7
  16. data/_sass/base/_page.scss +39 -0
  17. data/_sass/base/_typography.scss +186 -140
  18. data/_sass/components/_box.scss +26 -247
  19. data/_sass/components/_button.scss +87 -65
  20. data/_sass/components/_features.scss +156 -0
  21. data/_sass/components/_form.scss +182 -88
  22. data/_sass/components/_icon.scss +17 -0
  23. data/_sass/components/_image.scss +74 -37
  24. data/_sass/components/_list.scss +255 -25
  25. data/_sass/components/_mini-posts.scss +31 -0
  26. data/_sass/components/_posts.scss +179 -0
  27. data/_sass/components/_section.scss +39 -0
  28. data/_sass/components/_table.scss +81 -35
  29. data/_sass/ie8.scss +28 -0
  30. data/_sass/ie9.scss +84 -0
  31. data/_sass/layout/_banner.scss +75 -44
  32. data/_sass/layout/_footer.scss +18 -44
  33. data/_sass/layout/_header.scss +49 -85
  34. data/_sass/layout/_main.scss +58 -0
  35. data/_sass/layout/_menu.scss +98 -0
  36. data/_sass/layout/_sidebar.scss +222 -0
  37. data/_sass/layout/_wrapper.scss +13 -0
  38. data/_sass/libs/_functions.scss +0 -56
  39. data/_sass/libs/_mixins.scss +1 -8
  40. data/_sass/libs/_skel.scss +585 -0
  41. data/_sass/libs/_vars.scss +25 -15
  42. data/_sass/main.scss +58 -51
  43. data/assets/css/font-awesome.min.css +2 -2
  44. data/assets/css/ie8.scss +5 -0
  45. data/assets/css/ie9.scss +5 -0
  46. data/assets/css/main.scss +5 -0
  47. data/assets/fonts/FontAwesome.otf +0 -0
  48. data/assets/fonts/fontawesome-webfont.eot +0 -0
  49. data/assets/fonts/fontawesome-webfont.svg +682 -2668
  50. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  51. data/assets/fonts/fontawesome-webfont.woff +0 -0
  52. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  53. data/assets/images/pic01.jpg +0 -0
  54. data/assets/images/pic02.jpg +0 -0
  55. data/assets/images/pic03.jpg +0 -0
  56. data/assets/images/pic04.jpg +0 -0
  57. data/assets/images/pic05.jpg +0 -0
  58. data/assets/images/pic06.jpg +0 -0
  59. data/assets/images/pic07.jpg +0 -0
  60. data/assets/images/pic08.jpg +0 -0
  61. data/assets/images/pic09.jpg +0 -0
  62. data/assets/images/pic10.jpg +0 -0
  63. data/assets/images/pic11.jpg +0 -0
  64. data/assets/js/ie/.directory +3 -0
  65. data/assets/js/ie/html5shiv.js +8 -0
  66. data/assets/js/ie/respond.min.js +6 -0
  67. data/assets/js/jquery.min.js +5 -2
  68. data/assets/js/main.js +255 -76
  69. data/assets/js/skel.min.js +2 -0
  70. metadata +35 -30
  71. data/_sass/base/_reset.scss +0 -70
  72. data/_sass/components/_actions.scss +0 -18
  73. data/_sass/components/_container.scss +0 -14
  74. data/_sass/components/_icons.scss +0 -44
  75. data/_sass/components/_menu.scss +0 -21
  76. data/_sass/components/_poptrox.scss +0 -121
  77. data/_sass/components/_row.scss +0 -21
  78. data/_sass/components/_sections.scss +0 -18
  79. data/_sass/layout/_breakpoints.scss +0 -358
  80. data/_sass/libs/_breakpoints.scss +0 -223
  81. data/_sass/libs/_html-grid.scss +0 -149
  82. data/_sass/libs/_vendor.scss +0 -376
  83. data/_sass/noscript.scss +0 -25
  84. data/assets/css/images/arrow.svg +0 -17
  85. data/assets/css/images/banner.svg +0 -206
  86. data/assets/css/images/circles.svg +0 -30
  87. data/assets/css/images/falling.svg +0 -37
  88. data/assets/css/images/loader.gif +0 -0
  89. data/assets/css/images/overlay.png +0 -0
  90. data/assets/css/images/poptrox-closer.svg +0 -6
  91. data/assets/css/images/poptrox-nav.svg +0 -6
  92. data/assets/css/noscript.css +0 -19
  93. data/assets/css/styles.scss +0 -4
  94. data/assets/images/bouncing.svg +0 -50
  95. data/assets/js/breakpoints.min.js +0 -2
  96. data/assets/js/browser.min.js +0 -2
  97. data/assets/js/jquery.poptrox.min.js +0 -2
  98. data/assets/js/jquery.scrolly.min.js +0 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c29e8fb45f13c51e51ad5e0da71013f087be1fda
4
- data.tar.gz: a3b51840014512dd98d3f343bf490aef31b8e4b7
3
+ metadata.gz: 0dbc5fc11f18fb4b8997acb09c381f14ee1ff467
4
+ data.tar.gz: 01c01a029137e2b9ac3383e62074dd42a5f89398
5
5
  SHA512:
6
- metadata.gz: 369e6cdb718acc0b9d5ff62c35ba6922b6f93f201ea7025d68844f36e1de5213d86f6c1c21aa3379432caa55d21b365e9ab12741f0153ee554f09b5c95b4f97a
7
- data.tar.gz: 360dfc38ea021e050c2ed9981641d97684f0bf30ea26bd5cb0fe09edd8c22d5d1abf36ab842757edd8a80e6bb7a2a25203788ce4e894e1126b758154a276d094
6
+ metadata.gz: e47dc5fc16ebdc20ce193025fcef64e1d05eda5c080b03541a9717f467cd09bb94e6a67cc45f8ae46fc5be716bbc403ce475d7ce4be9e5805d0b56eabc68eacc
7
+ data.tar.gz: eb2bcfbad8061a2079f4139d642e9f0ca0232e3338a8554f844f51e987be60e124adea42c44f8fd3e6379dfd723e50f31e01d538dd40ebf3183a9bad5e14c6b3
@@ -1,10 +1,16 @@
1
1
  <!-- Banner -->
2
2
  <section id="banner">
3
+ <div class="content">
3
4
  <header>
4
- <h2>{{ site.title }}</h2>
5
+ <h1>{{ include.title }}</h1>
6
+ {% if include.subtitle %}<p>{{ include.subtitle }}</p>{% endif %}
5
7
  </header>
6
- <p>{{ site.description }}</p>
7
- <footer>
8
- <a href="#first" class="button style2 scrolly">Act on this message</a>
9
- </footer>
10
- </section>
8
+ {% if include.description %}<p>{{ include.description }}</p>{% endif %}
9
+ <ul class="actions">
10
+ <li><a href="{{ include.button_url | default: '#' }}" class="button big">{{ include.button_label | default: 'Ask for advice!' }}</a></li>
11
+ </ul>
12
+ </div>
13
+ <span class="image object">
14
+ <img src="{{ include.image_url | default: 'assets/images/pic01.jpg' | absolute_url }}" alt="" />
15
+ </span>
16
+ </section>
@@ -0,0 +1,13 @@
1
+ <!-- Section -->
2
+ <section>
3
+ <header class="major">
4
+ <h2>{{ include.title }}</h2>
5
+ </header>
6
+ <ul class="contact">
7
+ <li class="fa-envelope-o"><a href="#">{{ site.email }}</a></li>
8
+ <li class="fa-phone">{{ site.phone }}</li>
9
+ <li class="fa-home">{{ site.street_address }}<br />
10
+ {{ site.city }}, {{ site.state }} {{ site.zip_code }}<br />
11
+ {{ site.country }}</li>
12
+ </ul>
13
+ </section>
@@ -1,39 +1,4 @@
1
1
  <!-- Footer -->
2
- <section id="footer">
3
- <ul class="icons">
4
- {% if site.twitter_url %}
5
- <li><a href="{{ site.twitter_url }}" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
6
- {% endif %}
7
- {% if site.facebook_url %}
8
- <li><a href="{{ site.facebook_url }}" class="icon alt fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
9
- {% endif %}
10
- {% if site.instagram_url %}
11
- <li><a href="{{ site.instagram_url }}" class="icon alt fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
12
- {% endif %}
13
- {% if site.pinterest_url %}
14
- <li><a href="{{ site.pinterest_url }}" class="icon alt fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
15
- {% endif %}
16
- {% if site.500px_url %}
17
- <li><a href="{{ site.500px_url }}" class="icon alt fa-500px" target="_blank"><span class="label">500px</span></a></li>
18
- {% endif %}
19
- {% if site.gitlab_url %}
20
- <li><a href="{{ site.gitlab_url }}" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
21
- {% endif %}
22
- {% if site.github_url %}
23
- <li><a href="{{ site.github_url }}" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
24
- {% endif %}
25
- {% if site.slack_url %}
26
- <li><a href="{{ site.slack_url }}" class="icon alt fa-slack" target="_blank"><span class="label">Slack</span></a></li>
27
- {% endif %}
28
- {% if site.linkedin_url %}
29
- <li><a href="{{ site.linkedin_url }}" class="icon alt fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
30
- {% endif %}
31
- </ul>
32
- <div class="copyright">
33
- <ul class="menu">
34
- <li>&copy; {{ site.title }}. All rights reserved.</li>
35
- <li>Design: <a href="http://github.com/moodule" target="_blank">MOODULE</a></li>
36
- <li>Inspired by: <a href="http://html5up.net" target="_blank">HTML5 UP</a></li>
37
- </ul>
38
- </div>
39
- </section>
2
+ <footer id="footer">
3
+ <p class="copyright">&copy; {{ site.copyright_holder }}. All rights reserved. Design: <a href="https://github.com/moodule">MOODULE</a>.
4
+ </footer>
data/_includes/head.html CHANGED
@@ -1,10 +1,11 @@
1
1
  <head>
2
- <title>{{ site.title }} - {{ site.subtitle }}</title>
2
+ <title>{{ include.title }} - {{ include.subtitle }}</title>
3
3
  <meta charset="utf-8" />
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
5
- <link rel="stylesheet" href="{{ 'assets/css/styles.css' | absolute_url }}" />
6
- {% if site.favicon_url %}
7
- <link rel="icon" href="{{ site.favicon_url | absolute_url }}" />
8
- {% endif %}
5
+ <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
9
6
  <noscript><link rel="stylesheet" href="{{ 'assets/css/noscript.css' | absolute_url }}" /></noscript>
7
+ {% if site.favicon_url %}<link rel="icon" href="{{ site.favicon_url | absolute_url }}" />{% endif %}
8
+ <!--[if lte IE 8]><script src="{{ 'assets/js/ie/html5shiv.js' | absolute_url }}"></script><![endif]-->
9
+ <!--[if lte IE 9]><link rel="stylesheet" href="{{ 'assets/css/ie9.css' | absolute_url }}" /><![endif]-->
10
+ <!--[if lte IE 8]><link rel="stylesheet" href="{{ 'assets/css/ie8.css' | absolute_url }}" /><![endif]-->
10
11
  </head>
@@ -1,10 +1,38 @@
1
1
  <!-- Header -->
2
- <section id="header">
3
- <header>
4
- <a href="{{ site.baseurl }}/"><h1>{{ page.title }}</h1></a>
5
- <p>{{ page.subtitle }}</p>
6
- </header>
7
- <footer>
8
- <a href="#banner" class="button style2 scrolly-middle">Proceed as anticipated</a>
9
- </footer>
10
- </section>
2
+ <header id="header">
3
+ <a href="{{ '' | absolute_url }}" style="flex: 0 0 0; border-bottom: none;">
4
+ <span class="icon"><img src="{{ 'assets/images/logo.svg' | absolute_url }}" width="24" height="24"></span>
5
+ </a>&nbsp;
6
+ <a href="{{ '' | absolute_url }}" class="logo">
7
+ <strong>{{ include.title }}</strong> - {{ include.subtitle }}
8
+ </a>
9
+ <ul class="icons">
10
+ {% if site.twitter_url %}
11
+ <li><a href="{{ site.twitter_url }}" class="icon fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
12
+ {% endif %}
13
+ {% if site.facebook_url %}
14
+ <li><a href="{{ site.facebook_url }}" class="icon fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
15
+ {% endif %}
16
+ {% if site.instagram_url %}
17
+ <li><a href="{{ site.instagram_url }}" class="icon fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
18
+ {% endif %}
19
+ {% if site.pinterest_url %}
20
+ <li><a href="{{ site.pinterest_url }}" class="icon fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
21
+ {% endif %}
22
+ {% if site.500px_url %}
23
+ <li><a href="{{ site.500px_url }}" class="icon fa-500px" target="_blank"><span class="label">500px</span></a></li>
24
+ {% endif %}
25
+ {% if site.gitlab_url %}
26
+ <li><a href="{{ site.gitlab_url }}" class="icon fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
27
+ {% endif %}
28
+ {% if site.github_url %}
29
+ <li><a href="{{ site.github_url }}" class="icon fa-github" target="_blank"><span class="label">GitHub</span></a></li>
30
+ {% endif %}
31
+ {% if site.slack_url %}
32
+ <li><a href="{{ site.slack_url }}" class="icon fa-slack" target="_blank"><span class="label">Slack</span></a></li>
33
+ {% endif %}
34
+ {% if site.linkedin_url %}
35
+ <li><a href="{{ site.linkedin_url }}" class="icon fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
36
+ {% endif %}
37
+ </ul>
38
+ </header>
@@ -1,10 +1,13 @@
1
- <!-- Navbar -->
2
- <nav id="nav">
1
+ <!-- Menu -->
2
+ <nav id="menu">
3
+ <header class="major">
4
+ <h2>Menu</h2>
5
+ </header>
3
6
  <ul>
4
- {% for item in site.data.navigation.menu %}
7
+ {% for item in include.menu %}
5
8
  {% if item.menu[0] %}
6
- <li class="submenu {% if item.url == page.url %} current {% endif %}">
7
- <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
9
+ <li>
10
+ <span class="opener {% if item.url == page.url %} current {% endif %}">{{ item.title }}</span>
8
11
  <ul>
9
12
  {% for subitem in item.menu %}
10
13
  <li {% if subitem.url == page.url %} class="current" {% endif %}>
@@ -12,6 +15,7 @@
12
15
  </li>
13
16
  {% endfor %}
14
17
  </ul>
18
+ </li>
15
19
  {% else %}
16
20
  <li {% if item.url == page.url %} class="current" {% endif %}>
17
21
  <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
@@ -1,8 +1,6 @@
1
1
  <!-- Scripts -->
2
- <script src="assets/js/jquery.min.js"></script>
3
- <script src="assets/js/jquery.scrolly.min.js"></script>
4
- <script src="assets/js/jquery.poptrox.min.js"></script>
5
- <script src="assets/js/browser.min.js"></script>
6
- <script src="assets/js/breakpoints.min.js"></script>
7
- <script src="assets/js/util.js"></script>
8
- <script src="assets/js/main.js"></script>
2
+ <script src="{{ 'assets/js/jquery.min.js' | absolute_url }}"></script>
3
+ <script src="{{ 'assets/js/skel.min.js' | absolute_url }}"></script>
4
+ <script src="{{ 'assets/js/util.js' | absolute_url }}"></script>
5
+ <script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
6
+ <!--[if lte IE 8]><script src="{{ 'assets/js/ie/respond.min.js' | absolute_url }}"></script><![endif]-->
@@ -0,0 +1,17 @@
1
+ <!-- Sidebar -->
2
+ <div id="sidebar">
3
+ <div class="inner">
4
+
5
+ <!-- Search -->
6
+ <section id="search" class="alt">
7
+ <form method="post" action="#">
8
+ <input type="text" name="query" id="query" placeholder="Search" />
9
+ </form>
10
+ </section>
11
+
12
+ {% include navigation.html menu=include.menu %}
13
+
14
+ {% include footer.html %}
15
+
16
+ </div>
17
+ </div>
@@ -0,0 +1,21 @@
1
+ {%- if site.posts.size > 0 -%}
2
+ <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
3
+ <ul class="post-list">
4
+ {%- for post in site.posts -%}
5
+ <li>
6
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
7
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
8
+ <h3>
9
+ <a class="post-link" href="{{ post.url | absolute_url }}">
10
+ {{ post.title | escape }}
11
+ </a>
12
+ </h3>
13
+ {%- if site.show_excerpts -%}
14
+ {{ post.excerpt }}
15
+ {%- endif -%}
16
+ </li>
17
+ {%- endfor -%}
18
+ </ul>
19
+
20
+ <p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | absolute_url }}">via RSS</a></p>
21
+ {%- endif -%}
@@ -1,22 +1,38 @@
1
- <!DOCTYPE HTML>
2
- <!--
3
- Drop by MOODULE
4
- https://github.com/moodule
5
- Free for personal and commercial use under the CCA 4.0 license
6
- -->
7
- <html>
8
-
9
- {% include head.html %}
1
+ {% assign collection = site.collections | where: "label", page.collection | first %}
10
2
 
11
- <body class="is-preload">
3
+ {% assign menu = collection.menu | default: site.menu %}
12
4
 
13
- {% include header.html %}
5
+ {% assign title = collection.title | default: site.title | default: page.title %}
6
+ {% assign subtitle = collection.subtitle | default: site.subtitle | default: page.subtitle %}
7
+ {% assign description = collection.description | default: site.description | default: page.description %}
14
8
 
15
- {{ content }}
9
+ <!DOCTYPE html>
10
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
16
11
 
17
- {% include footer.html %}
12
+ {% include head.html title=title subtitle=subtitle %}
18
13
 
19
- {% include scripts.html %}
14
+ <body>
20
15
 
21
- </body>
22
- </html>
16
+ <!-- Wrapper -->
17
+ <div id="wrapper">
18
+
19
+ <!-- Main -->
20
+ <div id="main">
21
+ <div class="inner">
22
+
23
+ {% include header.html title=title subtitle=subtitle %}
24
+
25
+ {{ content }}
26
+
27
+ </div>
28
+ </div>
29
+
30
+ {% include sidebar.html menu=menu %}
31
+
32
+ </div>
33
+
34
+ {% include scripts.html %}
35
+
36
+ </body>
37
+
38
+ </html>
data/_layouts/home.html CHANGED
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% include banner.html %}
4
+ {% include banner.html title=page.title subtitle=page.subtitle description=page.description button_label=page.cta_label button_url=page.cta_destination %}
5
5
 
6
- {{ content }}
6
+ {{ content }}
7
+
8
+ {% include thread.html %}
@@ -0,0 +1,21 @@
1
+ {% assign menu = collection.menu | default: site.data.navigation.menu %}
2
+
3
+ <!DOCTYPE html>
4
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
5
+
6
+ {% include head.html %}
7
+
8
+ <body>
9
+
10
+ {% include navigation.html menu=menu %}
11
+
12
+ <main class="page-content" aria-label="Content">
13
+ <div class="wrapper">
14
+ {{ content }}
15
+ </div>
16
+ </main>
17
+
18
+ {% include footer.html %}
19
+ </body>
20
+
21
+ </html>
data/_layouts/page.html CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: defaut
2
+ layout: default
3
3
  ---
4
4
  {{ content }}
data/_layouts/post.html CHANGED
@@ -1,13 +1,28 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article class="container box style3">
5
- <h1>{{ page.title }}</h1>
6
- <p>{{ page.date | date_to_string }} - {{ page.author }}</p>
4
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
7
5
 
8
- {{ content }}
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {%- if page.author -%}
14
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
15
+ {%- endif -%}
16
+ </p>
17
+ </header>
9
18
 
10
- <p>
11
- - <a href="{{ 'about.html' | absolute_url }}">{{ site.author }}</a>
12
- </p>
19
+ <div class="post-content e-content" itemprop="articleBody">
20
+ {{ content }}
21
+ </div>
22
+
23
+ {%- if site.disqus.shortname -%}
24
+ {%- include disqus_comments.html -%}
25
+ {%- endif -%}
26
+
27
+ <a class="u-url" href="{{ page.url | absolute_url }}" hidden></a>
13
28
  </article>
@@ -0,0 +1,39 @@
1
+ ///
2
+ /// Editorial by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Basic */
8
+
9
+ // MSIE: Required for IEMobile.
10
+ @-ms-viewport {
11
+ width: device-width;
12
+ }
13
+
14
+ // MSIE: Prevents scrollbar from overlapping content.
15
+ body {
16
+ -ms-overflow-style: scrollbar;
17
+ }
18
+
19
+ // Ensures page width is always >=320px.
20
+ @include breakpoint(xsmall) {
21
+ html, body {
22
+ min-width: 320px;
23
+ }
24
+ }
25
+
26
+ body {
27
+ background: _palette(bg);
28
+
29
+ // Prevents animation/transition "flicker".
30
+ // Automatically added/removed by js/main.js.
31
+ &.is-loading,
32
+ &.is-resizing {
33
+ *, *:before, *:after {
34
+ @include vendor('animation', 'none !important');
35
+ @include vendor('transition', 'none !important');
36
+ }
37
+ }
38
+
39
+ }
@@ -1,140 +1,186 @@
1
- /* Basic */
2
-
3
- // Set box model to border-box.
4
- // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
5
- html {
6
- box-sizing: border-box;
7
- }
8
-
9
- *, *:before, *:after {
10
- box-sizing: inherit;
11
- }
12
-
13
- body {
14
- background-color: _palette(bg);
15
- background-image: linear-gradient(rgba(25, 45, 60, 0.7), rgba(25, 45, 60, 0.7)), url('../images/bg-1.jpg');
16
- background-repeat: no-repeat, no-repeat;
17
- background-size: cover, cover;
18
- background-position: center 0, center 0;
19
- background-attachment: fixed, fixed;
20
- font-family: 'Source Sans Pro', sans-serif;
21
- font-size: 18pt;
22
- line-height: 1.75em;
23
- font-weight: 300;
24
- letter-spacing: 1px;
25
- color: _palette(fg);
26
- text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25);
27
- -webkit-text-stroke: 0.25px;
28
-
29
- &.is-scroll {
30
- background-attachment: scroll, scroll;
31
- background-size: auto, 100% auto;
32
- }
33
-
34
- // Stops initial animations until page loads.
35
- &.is-preload {
36
- *, *:before, *:after {
37
- @include vendor('animation', 'none !important');
38
- @include vendor('transition', 'none !important');
39
- }
40
- }
41
-
42
- }
43
-
44
- input, textarea, select {
45
- font-family: 'Source Sans Pro', sans-serif;
46
- font-size: 18pt;
47
- line-height: 1.75em;
48
- font-weight: 300;
49
- letter-spacing: 1px;
50
- color: _palette(bg);
51
- text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25);
52
- -webkit-text-stroke: 0.25px;
53
- }
54
-
55
- h1, h2, h3, h4, h5, h6 {
56
- font-weight: 400;
57
- text-transform: uppercase;
58
- line-height: 1.75em;
59
- }
60
-
61
- h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
62
- color: inherit;
63
- text-decoration: none;
64
- }
65
-
66
- h2 {
67
- font-size: 1.25em;
68
- letter-spacing: 8px;
69
- }
70
-
71
- h3 {
72
- font-size: 1em;
73
- letter-spacing: 5px;
74
- }
75
-
76
- strong, b {
77
- font-weight: 400;
78
- }
79
-
80
- em, i {
81
- font-style: italic;
82
- }
83
-
84
- a {
85
- @include vendor('transition', ('border-color 0.35s ease-in-out', 'color 0.35s ease-in-out'));
86
- color: _palette(accent-light);
87
- text-shadow: 0 0 0.5px _palette(accent);
88
- text-decoration: none;
89
- border-bottom: dotted 1px _palette(accent-light);
90
-
91
- &:hover {
92
- border-bottom-color: _palette(accent);
93
- }
94
- }
95
-
96
- sub {
97
- position: relative;
98
- top: 0.5em;
99
- font-size: 0.8em;
100
- }
101
-
102
- sup {
103
- position: relative;
104
- top: -0.5em;
105
- font-size: 0.8em;
106
- }
107
-
108
- hr {
109
- border: 0;
110
- border-top: solid 1px _palette(border);
111
- margin: 2em 0 2em 0;
112
- }
113
-
114
- blockquote {
115
- border-left: solid 0.5em _palette(border);
116
- padding: 1em 0 1em 2em;
117
- font-style: italic;
118
- }
119
-
120
- p, ul, ol, dl, table {
121
- margin-bottom: 1em;
122
- }
123
-
124
- header {
125
- margin-bottom: 1em;
126
-
127
- p {
128
- display: block;
129
- margin: 0.5em 0 0 0;
130
- padding: 0 0 1.5em 0;
131
- }
132
- }
133
-
134
- footer {
135
- margin-top: 1em;
136
- }
137
-
138
- br.clear {
139
- clear: both;
140
- }
1
+ ///
2
+ /// Editorial by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Type */
8
+
9
+ body, input, select, textarea {
10
+ color: _palette(fg);
11
+ font-family: _font(family);
12
+ font-size: 13pt;
13
+ font-weight: _font(weight);
14
+ line-height: 1.65;
15
+
16
+ @include breakpoint(xlarge) {
17
+ font-size: 11pt;
18
+ }
19
+
20
+ @include breakpoint(large) {
21
+ font-size: 10pt;
22
+ }
23
+
24
+ @include breakpoint(xxsmall) {
25
+ font-size: 9pt;
26
+ }
27
+ }
28
+
29
+ a {
30
+ @include vendor('transition', (
31
+ 'color #{_duration(transition)} ease-in-out',
32
+ 'border-bottom-color #{_duration(transition)} ease-in-out'
33
+ ));
34
+ border-bottom: dotted 1px;
35
+ color: _palette(accent);
36
+ text-decoration: none;
37
+
38
+ &:hover {
39
+ border-bottom-color: _palette(accent);
40
+ color: _palette(accent) !important;
41
+
42
+ strong {
43
+ color: inherit;
44
+ }
45
+ }
46
+ }
47
+
48
+ strong, b {
49
+ color: _palette(fg-bold);
50
+ font-weight: _font(weight-bold);
51
+ }
52
+
53
+ em, i {
54
+ font-style: italic;
55
+ }
56
+
57
+ p {
58
+ margin: 0 0 _size(element-margin) 0;
59
+ }
60
+
61
+ h1, h2, h3, h4, h5, h6 {
62
+ color: _palette(fg-bold);
63
+ font-family: _font(family-heading);
64
+ font-weight: _font(weight-heading);
65
+ line-height: 1.5;
66
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
67
+
68
+ a {
69
+ color: inherit;
70
+ text-decoration: none;
71
+ }
72
+ }
73
+
74
+ h1 {
75
+ font-size: 4em;
76
+ margin: 0 0 (_size(element-margin) * 0.25) 0;
77
+ line-height: 1.3;
78
+ }
79
+
80
+ h2 {
81
+ font-size: 1.75em;
82
+ }
83
+
84
+ h3 {
85
+ font-size: 1.25em;
86
+ }
87
+
88
+ h4 {
89
+ font-size: 1.1em;
90
+ }
91
+
92
+ h5 {
93
+ font-size: 0.9em;
94
+ }
95
+
96
+ h6 {
97
+ font-size: 0.7em;
98
+ }
99
+
100
+ @include breakpoint(xlarge) {
101
+ h1 {
102
+ font-size: 3.5em;
103
+ }
104
+ }
105
+
106
+ @include breakpoint(medium) {
107
+ h1 {
108
+ font-size: 3.25em;
109
+ }
110
+ }
111
+
112
+ @include breakpoint(small) {
113
+ h1 {
114
+ font-size: 2em;
115
+ line-height: 1.4;
116
+ }
117
+
118
+ h2 {
119
+ font-size: 1.5em;
120
+ }
121
+ }
122
+
123
+ sub {
124
+ font-size: 0.8em;
125
+ position: relative;
126
+ top: 0.5em;
127
+ }
128
+
129
+ sup {
130
+ font-size: 0.8em;
131
+ position: relative;
132
+ top: -0.5em;
133
+ }
134
+
135
+ blockquote {
136
+ border-left: solid 3px _palette(border);
137
+ font-style: italic;
138
+ margin: 0 0 _size(element-margin) 0;
139
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
140
+ }
141
+
142
+ code {
143
+ background: _palette(border-bg);
144
+ border-radius: _size(border-radius);
145
+ border: solid 1px _palette(border);
146
+ font-family: _font(family-fixed);
147
+ font-size: 0.9em;
148
+ margin: 0 0.25em;
149
+ padding: 0.25em 0.65em;
150
+ }
151
+
152
+ pre {
153
+ -webkit-overflow-scrolling: touch;
154
+ font-family: _font(family-fixed);
155
+ font-size: 0.9em;
156
+ margin: 0 0 _size(element-margin) 0;
157
+
158
+ code {
159
+ display: block;
160
+ line-height: 1.75;
161
+ padding: 1em 1.5em;
162
+ overflow-x: auto;
163
+ }
164
+ }
165
+
166
+ hr {
167
+ border: 0;
168
+ border-bottom: solid 1px _palette(border);
169
+ margin: _size(element-margin) 0;
170
+
171
+ &.major {
172
+ margin: (_size(element-margin) * 1.5) 0;
173
+ }
174
+ }
175
+
176
+ .align-left {
177
+ text-align: left;
178
+ }
179
+
180
+ .align-center {
181
+ text-align: center;
182
+ }
183
+
184
+ .align-right {
185
+ text-align: right;
186
+ }