jekyll-theme-consulting 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact.html +2 -2
  3. data/_includes/contact_form.html +5 -3
  4. data/_includes/head.html +10 -1
  5. data/_includes/scripts.html +9 -20
  6. data/_includes/search.html +8 -6
  7. data/_sass/large.scss +49 -0
  8. data/_sass/large/base/_page.scss +0 -0
  9. data/_sass/large/base/_reset.scss +0 -0
  10. data/_sass/large/base/_typography.scss +15 -0
  11. data/_sass/large/components/_actions.scss +0 -0
  12. data/_sass/large/components/_box.scss +0 -0
  13. data/_sass/large/components/_button.scss +0 -0
  14. data/_sass/large/components/_contact.scss +0 -0
  15. data/_sass/large/components/_facts.scss +0 -0
  16. data/_sass/large/components/_features.scss +0 -0
  17. data/_sass/large/components/_form.scss +0 -0
  18. data/_sass/large/components/_icon.scss +0 -0
  19. data/_sass/large/components/_icons.scss +0 -0
  20. data/_sass/large/components/_image.scss +0 -0
  21. data/_sass/large/components/_list.scss +0 -0
  22. data/_sass/large/components/_mini-posts.scss +0 -0
  23. data/_sass/large/components/_pagination.scss +0 -0
  24. data/_sass/large/components/_posts.scss +12 -0
  25. data/_sass/large/components/_row.scss +9 -0
  26. data/_sass/large/components/_section.scss +0 -0
  27. data/_sass/large/components/_table.scss +0 -0
  28. data/_sass/large/layout/_banner.scss +0 -0
  29. data/_sass/large/layout/_footer.scss +0 -0
  30. data/_sass/large/layout/_header.scss +0 -0
  31. data/_sass/large/layout/_main.scss +23 -0
  32. data/_sass/large/layout/_menu.scss +0 -0
  33. data/_sass/large/layout/_sidebar.scss +0 -0
  34. data/_sass/large/layout/_wrapper.scss +0 -0
  35. data/_sass/main.scss +27 -47
  36. data/_sass/main/base/_page.scss +33 -0
  37. data/_sass/main/base/_reset.scss +67 -0
  38. data/_sass/main/base/_typography.scss +200 -0
  39. data/_sass/main/components/_actions.scss +57 -0
  40. data/_sass/main/components/_box.scss +20 -0
  41. data/_sass/main/components/_button.scss +79 -0
  42. data/_sass/main/components/_contact.scss +41 -0
  43. data/_sass/main/components/_facts.scss +143 -0
  44. data/_sass/main/components/_features.scss +99 -0
  45. data/_sass/main/components/_form.scss +253 -0
  46. data/_sass/main/components/_icon.scss +27 -0
  47. data/_sass/main/components/_icons.scss +29 -0
  48. data/_sass/main/components/_image.scss +72 -0
  49. data/_sass/main/components/_list.scss +50 -0
  50. data/_sass/main/components/_mini-posts.scss +25 -0
  51. data/_sass/main/components/_pagination.scss +52 -0
  52. data/_sass/main/components/_posts.scss +54 -0
  53. data/_sass/main/components/_row.scss +3 -0
  54. data/_sass/main/components/_section.scss +47 -0
  55. data/_sass/main/components/_table.scss +75 -0
  56. data/_sass/main/layout/_banner.scss +66 -0
  57. data/_sass/{layout → main/layout}/_footer.scss +1 -7
  58. data/_sass/main/layout/_header.scss +65 -0
  59. data/_sass/main/layout/_main.scss +26 -0
  60. data/_sass/main/layout/_menu.scss +155 -0
  61. data/_sass/main/layout/_sidebar.scss +235 -0
  62. data/_sass/main/layout/_wrapper.scss +7 -0
  63. data/_sass/medium.scss +48 -0
  64. data/_sass/medium/base/_page.scss +0 -0
  65. data/_sass/medium/base/_reset.scss +0 -0
  66. data/_sass/medium/base/_typography.scss +5 -0
  67. data/_sass/medium/components/_actions.scss +0 -0
  68. data/_sass/medium/components/_box.scss +0 -0
  69. data/_sass/medium/components/_button.scss +0 -0
  70. data/_sass/medium/components/_contact.scss +0 -0
  71. data/_sass/medium/components/_facts.scss +0 -0
  72. data/_sass/medium/components/_features.scss +31 -0
  73. data/_sass/medium/components/_form.scss +0 -0
  74. data/_sass/medium/components/_icon.scss +0 -0
  75. data/_sass/medium/components/_icons.scss +0 -0
  76. data/_sass/medium/components/_image.scss +0 -0
  77. data/_sass/medium/components/_list.scss +0 -0
  78. data/_sass/medium/components/_mini-posts.scss +0 -0
  79. data/_sass/medium/components/_pagination.scss +0 -0
  80. data/_sass/medium/components/_posts.scss +0 -0
  81. data/_sass/medium/components/_row.scss +7 -0
  82. data/_sass/medium/components/_section.scss +0 -0
  83. data/_sass/medium/components/_table.scss +0 -0
  84. data/_sass/medium/layout/_banner.scss +0 -0
  85. data/_sass/medium/layout/_footer.scss +0 -0
  86. data/_sass/medium/layout/_header.scss +0 -0
  87. data/_sass/medium/layout/_main.scss +0 -0
  88. data/_sass/medium/layout/_menu.scss +0 -0
  89. data/_sass/medium/layout/_sidebar.scss +0 -0
  90. data/_sass/medium/layout/_wrapper.scss +0 -0
  91. data/_sass/small.scss +50 -0
  92. data/_sass/small/base/_page.scss +6 -0
  93. data/_sass/small/base/_reset.scss +0 -0
  94. data/_sass/small/base/_typography.scss +18 -0
  95. data/_sass/small/components/_actions.scss +0 -0
  96. data/_sass/small/components/_box.scss +0 -0
  97. data/_sass/small/components/_button.scss +0 -0
  98. data/_sass/small/components/_contact.scss +0 -0
  99. data/_sass/small/components/_facts.scss +45 -0
  100. data/_sass/small/components/_features.scss +29 -0
  101. data/_sass/small/components/_form.scss +0 -0
  102. data/_sass/small/components/_icon.scss +0 -0
  103. data/_sass/small/components/_icons.scss +0 -0
  104. data/_sass/small/components/_image.scss +0 -0
  105. data/_sass/small/components/_list.scss +0 -0
  106. data/_sass/small/components/_mini-posts.scss +0 -0
  107. data/_sass/small/components/_pagination.scss +15 -0
  108. data/_sass/small/components/_posts.scss +59 -0
  109. data/_sass/small/components/_row.scss +11 -0
  110. data/_sass/small/components/_section.scss +0 -0
  111. data/_sass/small/components/_table.scss +0 -0
  112. data/_sass/small/layout/_banner.scss +11 -0
  113. data/_sass/small/layout/_footer.scss +0 -0
  114. data/_sass/small/layout/_header.scss +0 -0
  115. data/_sass/small/layout/_main.scss +16 -0
  116. data/_sass/small/layout/_menu.scss +0 -0
  117. data/_sass/small/layout/_sidebar.scss +0 -0
  118. data/_sass/small/layout/_wrapper.scss +0 -0
  119. data/{_sass/components/_cookieconsent.scss → assets/css/cookieconsent.css} +4 -2
  120. data/assets/css/fontawesome-all.min.css +1 -1
  121. data/assets/css/large.scss +5 -0
  122. data/assets/css/medium.scss +5 -0
  123. data/assets/css/small.scss +5 -0
  124. data/assets/js/cookieconsent.style.min.js +1 -0
  125. metadata +118 -30
  126. data/_sass/base/_page.scss +0 -48
  127. data/_sass/base/_reset.scss +0 -76
  128. data/_sass/base/_typography.scss +0 -241
  129. data/_sass/components/_actions.scss +0 -63
  130. data/_sass/components/_box.scss +0 -26
  131. data/_sass/components/_button.scss +0 -85
  132. data/_sass/components/_contact.scss +0 -47
  133. data/_sass/components/_facts.scss +0 -183
  134. data/_sass/components/_features.scss +0 -155
  135. data/_sass/components/_form.scss +0 -259
  136. data/_sass/components/_icon.scss +0 -33
  137. data/_sass/components/_icons.scss +0 -35
  138. data/_sass/components/_image.scss +0 -78
  139. data/_sass/components/_list.scss +0 -56
  140. data/_sass/components/_mini-posts.scss +0 -31
  141. data/_sass/components/_pagination.scss +0 -70
  142. data/_sass/components/_posts.scss +0 -124
  143. data/_sass/components/_row.scss +0 -31
  144. data/_sass/components/_section.scss +0 -53
  145. data/_sass/components/_table.scss +0 -81
  146. data/_sass/layout/_banner.scss +0 -78
  147. data/_sass/layout/_header.scss +0 -71
  148. data/_sass/layout/_main.scss +0 -58
  149. data/_sass/layout/_menu.scss +0 -161
  150. data/_sass/layout/_sidebar.scss +0 -241
  151. data/_sass/layout/_wrapper.scss +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4c23aeec799db35bf0968393a876876b5ea969d13c97cd538f824c8b1b97096
4
- data.tar.gz: b7ad3011d26f8f2e9a85fc1cb3c245026eca7b95970fa87f8cf635eee206fb45
3
+ metadata.gz: 2adcea103d20da627eea87aff2d690b3c9c0b09c2ddabbfee106344e3cb2d1c5
4
+ data.tar.gz: 7580f71cdabec769c807dd4a8164fcfc6ed9586c4a174021da5a897a43b27ef6
5
5
  SHA512:
6
- metadata.gz: d8a284b3fba12bd49f4e5ebb0448f429a7f777cbc14aca0d98f802976944b155d91d476ae4119490ae8fb9b7862c9f9ff58dd36c715134333f2d4ada40401126
7
- data.tar.gz: 26399c4b29a200f67e5cb7b60b3363c6dda81a21f36665f9a5d19a45b60b1823a374d8ec36e8b94bcd55d48aad4886dc86fff1a21f7657ef0cc5e788a6f07d1e
6
+ metadata.gz: d314adffe609d80f8670a43dc231d808c26f53240609cbfa7ec59700594490c3d1d550b6f8e5f89483c3e9204302178d07df889ccd4e4140dc5b2f6b6f1bf00b
7
+ data.tar.gz: 51dd977cf8c2dcb7a060169a22a49fcca13acbf0c39e9547f332ee08d8033c08a701c29c2687ac7a884ac1fc037abbbf7020663c75abfe9c7335eed57f065f8d
@@ -12,10 +12,10 @@
12
12
  <h2>Contact Me</h2>
13
13
  </header>
14
14
  <div class="row gtr-200">
15
- <div class="col-6 col-12-medium">
15
+ <div class="col-6 col-12-medium col-12-small col-12-xsmall">
16
16
  {% include contact_form.html form_id=form_id name_input_id=name_input_id email_input_id=email_input_id message_input_id=message_input_id submit_input_id=submit_input_id reset_input_id=reset_input_id recaptcha_widget_id=recaptcha_widget_id onsubmit_callback=onsubmit_callback onreset_callback=onreset_callback %}
17
17
  </div>
18
- <div class="col-6 col-12-medium">
18
+ <div class="col-6 col-12-medium col-12-small col-12-xsmall">
19
19
  <ul class="contact">
20
20
  <li class="icon solid fa-envelope"><a href="#">{{ site.email }}</a></li>
21
21
  <li class="icon solid fa-phone">{{ site.phone }}</li>
@@ -1,9 +1,9 @@
1
1
  <form id="{{ include.form_id | 'contact-form' }}" method="post" action="#" onsubmit="{{ include.onsubmit_callback | 'sendContactMessage' }}()" onreset="{{ include.onreset_callback | 'resetContactForm' }}()" >
2
2
  <div class="row gtr-uniform">
3
- <div class="col-6 col-12-xsmall">
3
+ <div class="col-6 col-12-small col-12-xsmall">
4
4
  <input type="text" name="{{ include.name_input_id | 'contact-name' }}" id="{{ include.name_input_id | 'contact-name' }}" value="" placeholder="Name" required minlength="4" maxlength="64" />
5
5
  </div>
6
- <div class="col-6 col-12-xsmall">
6
+ <div class="col-6 col-12-small col-12-xsmall">
7
7
  <input type="email" name="{{ include.email_input_id | 'contact-email' }}" id="{{ include.email_input_id | 'contact-email' }}" value="" placeholder="Email" required minlength="8" maxlength="64" />
8
8
  </div>
9
9
  <!-- Break -->
@@ -13,10 +13,12 @@
13
13
  <!-- Break -->
14
14
  <div class="col-12">
15
15
  <ul class="actions">
16
- <li><div id="{{ include.recaptcha_widget_id | 'recaptcha-checkbox' }}" ></div></li>
17
16
  <li><input type="submit" id="{{ include.submit_input_id | 'contact-submit-button' }}" value="Send Message" class="primary button solid fa-envelope" disabled/></li>
18
17
  <li><input type="reset" id="{{ include.reset_input_id | 'contact-reset-button' }}" value="Reset" class="icon button fa-undo" /></li>
19
18
  </ul>
19
+ <ul class="actions">
20
+ <li><div id="{{ include.recaptcha_widget_id | 'recaptcha-checkbox' }}" ></div></li>
21
+ </ul>
20
22
  </div>
21
23
  </div>
22
24
  </form>
data/_includes/head.html CHANGED
@@ -3,7 +3,13 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
6
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
6
+ <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" media="all" />
7
+ <link rel="stylesheet" href="{{ 'assets/css/large.css' | absolute_url }}" media="screen and (min-width: 981px)" />
8
+ <link rel="stylesheet" href="{{ 'assets/css/medium.css' | absolute_url }}" media="screen and (min-width: 737px) and (max-width:980px)" />
9
+ <link rel="stylesheet" href="{{ 'assets/css/small.css' | absolute_url }}" media="screen and (max-width:736px)" />
10
+ <link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet';this.media='all'">
11
+ <link rel="preload" href="{{ 'assets/css/fontawesome-all.min.css' | absolute_url }}" as="style" onload="this.onload=null;this.rel='stylesheet';this.media='all'">
12
+ <link rel="preload" href="{{ 'assets/css/cookieconsent.css' | absolute_url }}" as="style" onload="this.onload=null;this.rel='stylesheet';this.media='all'">
7
13
  {%- if include.stylesheets -%}
8
14
  {%- for file in include.stylesheets -%}
9
15
  <link rel="stylesheet" href="{{ file.url | absolute_url }}" />
@@ -16,5 +22,8 @@
16
22
  <link rel="icon" href="{{ site.favicon | absolute_url }}" />
17
23
  {%- endif -%}
18
24
  <noscript><link rel="stylesheet" href="{{ 'assets/css/noscript.css' | absolute_url }}" /></noscript>
25
+ <noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700&display=swap" /></noscript>
26
+ <noscript><link rel="stylesheet" href="{{ 'assets/css/fontawesome-all.min.css' | absolute_url }}" /></noscript>
27
+ <noscript><link rel="stylesheet" href="{{ 'assets/css/cookieconsent.css' | absolute_url }}" /></noscript>
19
28
  {% seo %}
20
29
  </head>
@@ -1,24 +1,13 @@
1
1
  <!-- Scripts -->
2
- <script src="{{ 'assets/js/jquery.min.js' | absolute_url }}" type="text/javascript" ></script>
3
- <script src="{{ 'assets/js/jquery.scrolly.min.js' | absolute_url }}" type="text/javascript" ></script>
4
- <script src="{{ 'assets/js/browser.min.js' | absolute_url }}" type="text/javascript" ></script>
5
- <script src="{{ 'assets/js/breakpoints.min.js' | absolute_url }}" type="text/javascript" ></script>
6
- <script src="{{ 'assets/js/lazy-loading.js' | absolute_url }}" type="text/javascript" ></script>
7
- <script src="{{ 'assets/js/util.js' | absolute_url }}" type="text/javascript" ></script>
8
- <script src="{{ 'assets/js/main.js' | absolute_url }}" type="text/javascript" ></script>
9
- <script src="{{ 'assets/js/cookieconsent.min.js' | absolute_url }}" type="text/javascript" data-cfasync="false" ></script>
10
- <script>
11
- window.cookieconsent.initialise({
12
- "palette": {
13
- "popup": {
14
- "background": "#252e39"
15
- },
16
- "button": {
17
- "background": "#14a7d0"
18
- }
19
- }
20
- });
21
- </script>
2
+ <script src="{{ 'assets/js/jquery.min.js' | absolute_url }}" type="text/javascript" defer ></script>
3
+ <script src="{{ 'assets/js/jquery.scrolly.min.js' | absolute_url }}" type="text/javascript" defer ></script>
4
+ <script src="{{ 'assets/js/browser.min.js' | absolute_url }}" type="text/javascript" defer ></script>
5
+ <script src="{{ 'assets/js/breakpoints.min.js' | absolute_url }}" type="text/javascript" defer ></script>
6
+ <script src="{{ 'assets/js/lazy-loading.js' | absolute_url }}" type="text/javascript" defer ></script>
7
+ <script src="{{ 'assets/js/util.js' | absolute_url }}" type="text/javascript" defer ></script>
8
+ <script src="{{ 'assets/js/main.js' | absolute_url }}" type="text/javascript" defer ></script>
9
+ <script src="{{ 'assets/js/cookieconsent.min.js' | absolute_url }}" type="text/javascript" data-cfasync="false" defer ></script>
10
+ <script src="{{ 'assets/js/cookieconsent.style.min.js' | absolute_url }}" type="text/javascript" defer ></script>
22
11
  {%- if include.scripts -%}
23
12
  {%- for file in include.scripts -%}
24
13
  <script src="{{ file.url | absolute_url }}" type="text/javascript" /></script>
@@ -8,11 +8,13 @@
8
8
  <ul id="search-results">
9
9
  </ul>
10
10
  </nav>
11
- <script src="{{ 'assets/js/simple-jekyll-search.min.js' | absolute_url }}" type="text/javascript" ></script>
12
11
  <script>
13
- SimpleJekyllSearch({
14
- searchInput: document.getElementById('search-input'),
15
- resultsContainer: document.getElementById('search-results'),
16
- json: "{{ '/index.json' | absolute_url }}"
17
- })
12
+ function attachSearchFunction() {
13
+ SimpleJekyllSearch({
14
+ searchInput: document.getElementById('search-input'),
15
+ resultsContainer: document.getElementById('search-results'),
16
+ json: "{{ '/index.json' | absolute_url }}"
17
+ });
18
+ }
18
19
  </script>
20
+ <script src="{{ 'assets/js/simple-jekyll-search.min.js' | absolute_url }}" onload="attachSearchFunction()" type="text/javascript" defer ></script>
data/_sass/large.scss ADDED
@@ -0,0 +1,49 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/vendor';
5
+ @import 'libs/breakpoints';
6
+ @import 'libs/html-grid';
7
+
8
+ // Breakpoints.
9
+
10
+ @include breakpoints((
11
+ xlarge: ( 1281px, 1680px ),
12
+ large: ( 981px, 1280px )
13
+ ));
14
+
15
+ // Base.
16
+
17
+ @import 'large/base/reset';
18
+ @import 'large/base/page';
19
+ @import 'large/base/typography';
20
+
21
+ // Component.
22
+
23
+ @import 'large/components/row';
24
+ @import 'large/components/section';
25
+ @import 'large/components/form';
26
+ @import 'large/components/box';
27
+ @import 'large/components/icon';
28
+ @import 'large/components/image';
29
+ @import 'large/components/list';
30
+ @import 'large/components/actions';
31
+ @import 'large/components/icons';
32
+ @import 'large/components/contact';
33
+ @import 'large/components/pagination';
34
+ @import 'large/components/table';
35
+ @import 'large/components/button';
36
+ @import 'large/components/mini-posts';
37
+ @import 'large/components/features';
38
+ @import 'large/components/facts';
39
+ @import 'large/components/posts';
40
+
41
+ // Layout.
42
+
43
+ @import 'large/layout/wrapper';
44
+ @import 'large/layout/main';
45
+ @import 'large/layout/sidebar';
46
+ @import 'large/layout/header';
47
+ @import 'large/layout/banner';
48
+ @import 'large/layout/footer';
49
+ @import 'large/layout/menu';
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ body, input, select, textarea {
2
+ @include breakpoint('<=xlarge') {
3
+ font-size: 11pt;
4
+ }
5
+
6
+ @include breakpoint('<=large') {
7
+ font-size: 10pt;
8
+ }
9
+ }
10
+
11
+ @include breakpoint('<=xlarge') {
12
+ h1 {
13
+ font-size: 3.5em;
14
+ }
15
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,12 @@
1
+ .posts {
2
+ $gutter: (_size(gutter) * 2);
3
+ @include breakpoint('<=xlarge') {
4
+ article {
5
+ width: calc(50% - #{$gutter});
6
+
7
+ &:nth-last-child(3) {
8
+ margin-bottom: $gutter;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,9 @@
1
+ .row {
2
+ @include breakpoint('<=xlarge') {
3
+ @include html-grid(1.5em, 'xlarge');
4
+ }
5
+
6
+ @include breakpoint('<=large') {
7
+ @include html-grid(1.5em, 'large');
8
+ }
9
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,23 @@
1
+ #main {
2
+ > .inner {
3
+ @include breakpoint('<=xlarge') {
4
+ > section {
5
+ @include padding(5em, 5em);
6
+ }
7
+
8
+ #header {
9
+ padding: 2em 5em 1em 5em;
10
+ }
11
+ }
12
+
13
+ @include breakpoint('<=large') {
14
+ > section {
15
+ @include padding(4em, 4em);
16
+ }
17
+
18
+ #header {
19
+ padding: 2em 4em 1em 4em;
20
+ }
21
+ }
22
+ }
23
+ }
File without changes
File without changes
File without changes
data/_sass/main.scss CHANGED
@@ -4,59 +4,39 @@
4
4
  @import 'libs/vendor';
5
5
  @import 'libs/breakpoints';
6
6
  @import 'libs/html-grid';
7
- @import 'fontawesome-all.min.css';
8
- @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700');
9
-
10
- /*
11
- Editorial by HTML5 UP
12
- html5up.net | @ajlkn
13
- Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
14
- */
15
-
16
- // Breakpoints.
17
-
18
- @include breakpoints((
19
- xlarge: ( 1281px, 1680px ),
20
- large: ( 981px, 1280px ),
21
- medium: ( 737px, 980px ),
22
- small: ( 481px, 736px ),
23
- xsmall: ( 361px, 480px ),
24
- xxsmall: ( null, 360px )
25
- ));
26
7
 
27
8
  // Base.
28
9
 
29
- @import 'base/reset';
30
- @import 'base/page';
31
- @import 'base/typography';
10
+ @import 'main/base/reset';
11
+ @import 'main/base/page';
12
+ @import 'main/base/typography';
32
13
 
33
14
  // Component.
34
15
 
35
- @import 'components/row';
36
- @import 'components/section';
37
- @import 'components/form';
38
- @import 'components/box';
39
- @import 'components/cookieconsent';
40
- @import 'components/icon';
41
- @import 'components/image';
42
- @import 'components/list';
43
- @import 'components/actions';
44
- @import 'components/icons';
45
- @import 'components/contact';
46
- @import 'components/pagination';
47
- @import 'components/table';
48
- @import 'components/button';
49
- @import 'components/mini-posts';
50
- @import 'components/features';
51
- @import 'components/facts';
52
- @import 'components/posts';
16
+ @import 'main/components/row';
17
+ @import 'main/components/section';
18
+ @import 'main/components/form';
19
+ @import 'main/components/box';
20
+ @import 'main/components/icon';
21
+ @import 'main/components/image';
22
+ @import 'main/components/list';
23
+ @import 'main/components/actions';
24
+ @import 'main/components/icons';
25
+ @import 'main/components/contact';
26
+ @import 'main/components/pagination';
27
+ @import 'main/components/table';
28
+ @import 'main/components/button';
29
+ @import 'main/components/mini-posts';
30
+ @import 'main/components/features';
31
+ @import 'main/components/facts';
32
+ @import 'main/components/posts';
53
33
 
54
34
  // Layout.
55
35
 
56
- @import 'layout/wrapper';
57
- @import 'layout/main';
58
- @import 'layout/sidebar';
59
- @import 'layout/header';
60
- @import 'layout/banner';
61
- @import 'layout/footer';
62
- @import 'layout/menu';
36
+ @import 'main/layout/wrapper';
37
+ @import 'main/layout/main';
38
+ @import 'main/layout/sidebar';
39
+ @import 'main/layout/header';
40
+ @import 'main/layout/banner';
41
+ @import 'main/layout/footer';
42
+ @import 'main/layout/menu';
@@ -0,0 +1,33 @@
1
+ // MSIE: Required for IEMobile.
2
+ @-ms-viewport {
3
+ width: device-width;
4
+ }
5
+
6
+ // MSIE: Prevents scrollbar from overlapping content.
7
+ body {
8
+ -ms-overflow-style: scrollbar;
9
+ }
10
+
11
+ // Set box model to border-box.
12
+ // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
13
+ html {
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ *, *:before, *:after {
18
+ box-sizing: inherit;
19
+ }
20
+
21
+ body {
22
+ background: _palette(bg);
23
+
24
+ // Stops initial animations until page loads or stops resizing.
25
+ &.is-preload,
26
+ &.is-resizing {
27
+ *, *:before, *:after {
28
+ @include vendor('animation', 'none !important');
29
+ @include vendor('transition', 'none !important');
30
+ }
31
+ }
32
+
33
+ }
@@ -0,0 +1,67 @@
1
+ html, body, div, span, applet, object,
2
+ iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
3
+ pre, a, abbr, acronym, address, big, cite,
4
+ code, del, dfn, em, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var, b,
6
+ u, i, center, dl, dt, dd, ol, ul, li, fieldset,
7
+ form, label, legend, table, caption, tbody,
8
+ tfoot, thead, tr, th, td, article, aside,
9
+ canvas, details, embed, figure, figcaption,
10
+ footer, header, hgroup, menu, nav, output, ruby,
11
+ section, summary, time, mark, audio, video {
12
+ margin: 0;
13
+ padding: 0;
14
+ border: 0;
15
+ font-size: 100%;
16
+ font: inherit;
17
+ vertical-align: baseline;
18
+ }
19
+
20
+ article, aside, details, figcaption, figure,
21
+ footer, header, hgroup, menu, nav, section {
22
+ display: block;
23
+ }
24
+
25
+ body {
26
+ line-height: 1;
27
+ }
28
+
29
+ ol, ul {
30
+ list-style:none;
31
+ }
32
+
33
+ blockquote, q {
34
+ quotes: none;
35
+
36
+ &:before,
37
+ &:after {
38
+ content: '';
39
+ content: none;
40
+ }
41
+ }
42
+
43
+ table {
44
+ border-collapse: collapse;
45
+ border-spacing: 0;
46
+ }
47
+
48
+ body {
49
+ -webkit-text-size-adjust: none;
50
+ }
51
+
52
+ mark {
53
+ background-color: transparent;
54
+ color: inherit;
55
+ }
56
+
57
+ input::-moz-focus-inner {
58
+ border: 0;
59
+ padding: 0;
60
+ }
61
+
62
+ input, select, textarea {
63
+ -moz-appearance: none;
64
+ -webkit-appearance: none;
65
+ -ms-appearance: none;
66
+ appearance: none;
67
+ }