made-slowly 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +24 -0
- data/_config.yml +58 -0
- data/_includes/blog-footer.html +37 -0
- data/_includes/blog-nav.html +21 -0
- data/_includes/contact-details.html +30 -0
- data/_includes/contact-footer.html +3 -0
- data/_includes/contact-form.html +16 -0
- data/_includes/cookie-consent.html +29 -0
- data/_includes/disquis.html +25 -0
- data/_includes/email-confirmation.html +110 -0
- data/_includes/footer.html +51 -0
- data/_includes/google-map.html +43 -0
- data/_includes/header.html +135 -0
- data/_includes/list-post-items.html +24 -0
- data/_includes/nav.html +43 -0
- data/_includes/optical-trap.html +93 -0
- data/_includes/paginator.html +17 -0
- data/_includes/portfolio.html +29 -0
- data/_includes/privacy.html +119 -0
- data/_includes/quick-contact.html +24 -0
- data/_includes/robot-403.svg +27 -0
- data/_includes/robot-404.svg +29 -0
- data/_includes/robot-405.svg +28 -0
- data/_includes/scripts.html +40 -0
- data/_includes/services.html +63 -0
- data/_includes/share-buttons.html +130 -0
- data/_includes/site-logo.svg +3 -0
- data/_includes/structured-data.html +79 -0
- data/_includes/terms.html +108 -0
- data/_includes/tracking-header.html +14 -0
- data/_includes/workflow.html +50 -0
- data/_layouts/case-study.html +51 -0
- data/_layouts/categories.html +25 -0
- data/_layouts/compress.html +11 -0
- data/_layouts/default.html +26 -0
- data/_layouts/error-page.html +18 -0
- data/_layouts/home.html +45 -0
- data/_layouts/single-post-old.html +46 -0
- data/_layouts/single-post.html +56 -0
- data/_sass/blog-nav.sass +61 -0
- data/_sass/blog.sass +145 -0
- data/_sass/breakpoints/animations.sass +41 -0
- data/_sass/breakpoints/footer.sass +23 -0
- data/_sass/breakpoints/nav.sass +40 -0
- data/_sass/breakpoints/structures.sass +11 -0
- data/_sass/breakpoints/typography.sass +31 -0
- data/_sass/constants/colors.sass +35 -0
- data/_sass/constants/dimensions.sass +9 -0
- data/_sass/constants/typography.sass +19 -0
- data/_sass/contact.sass +102 -0
- data/_sass/error-page.sass +109 -0
- data/_sass/global/aos-overrides.sass +5 -0
- data/_sass/global/custom-aos.sass +8 -0
- data/_sass/global/footer.sass +52 -0
- data/_sass/global/main.sass +86 -0
- data/_sass/global/nav.sass +136 -0
- data/_sass/global/structure.sass +18 -0
- data/_sass/global/typography.sass +52 -0
- data/_sass/landing.sass +77 -0
- data/_sass/locals/trapping-with-js.sass +57 -0
- data/_sass/mixins/animations.sass +2 -0
- data/_sass/portfolio.sass +112 -0
- data/_sass/privacy.sass +38 -0
- data/_sass/services.sass +130 -0
- data/_sass/single-post.sass +24 -0
- data/assets/aos/aos.css +1 -0
- data/assets/aos/aos.js +546 -0
- data/assets/css/locals/github-syntax.css +211 -0
- data/assets/css/locals/trapping-with-js.sass +5 -0
- data/assets/css/made-slowly-has-all-the-style.sass +34 -0
- data/assets/emails/confirmation.html +5 -0
- data/assets/fonts/Poppins/OFL.txt +93 -0
- data/assets/fonts/Poppins/Poppins-Black.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-BlackItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Bold.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-BoldItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-ExtraBoldItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-ExtraLight.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Italic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Light.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-LightItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Medium.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-MediumItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Regular.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-SemiBold.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-Thin.ttf +0 -0
- data/assets/fonts/Poppins/Poppins-ThinItalic.ttf +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css +5856 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.eot +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.svg +3496 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.ttf +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.woff +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-regular-400.eot +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-regular-400.svg +803 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-regular-400.ttf +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-regular-400.woff +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-solid-900.eot +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-solid-900.svg +4667 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-solid-900.ttf +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-solid-900.woff +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/js/displayItem.js +9 -0
- data/assets/js/mobile-nav-slider.js +24 -0
- data/assets/js/nav.js +17 -0
- data/assets/js/trapping.js +50 -0
- data/assets/js/typing-deleting-effect.js +56 -0
- data/assets/js/typing-effect.js +13 -0
- data/assets/php/contact-submission.php +44 -0
- data/assets/php/email-test.php +29 -0
- data/assets/php/quick-contact-submission.php +44 -0
- metadata +319 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
layout: single-post
|
3
|
+
---
|
4
|
+
<!-- Layout for client case studies -->
|
5
|
+
|
6
|
+
{{ content }}
|
7
|
+
|
8
|
+
{% if page.logos != null %}
|
9
|
+
<h4>Branding</h4><hr>
|
10
|
+
<section class="flex-display">
|
11
|
+
{% for item in page.logos %}
|
12
|
+
<img class="theme-images"
|
13
|
+
src="{{ site.baseurl }}/assets/img/clients/{{ page.directory }}/logos/{{ item }}"
|
14
|
+
alt="{{ page.directory }} {{ item }}">
|
15
|
+
{% endfor %}
|
16
|
+
</section>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if page.icons != null %}
|
20
|
+
<h4 class="blog-para">Iconography</h4><hr>
|
21
|
+
<section class="flex-display">
|
22
|
+
{% for item in page.icons %}
|
23
|
+
<img class="theme-images"
|
24
|
+
src="{{ site.baseurl }}/assets/img/clients/{{ page.directory }}/iconography/{{ item }}"
|
25
|
+
alt="{{ page.directory }} {{ item }}">
|
26
|
+
{% endfor %}
|
27
|
+
</section>
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if page.colors != null %}
|
31
|
+
<h4 class="blog-para">Colour Scheme</h4><hr>
|
32
|
+
<section class="flex-display">
|
33
|
+
{% for item in page.colors %}
|
34
|
+
<svg class="theme-colors"
|
35
|
+
xmlns="http://www.w3.org/2000/svg"
|
36
|
+
viewBox="0, 0, 50, 50" preserveAspectRatio="none" ><defs/>
|
37
|
+
<circle cx="25" cy="25" r="20"
|
38
|
+
fill="#{{ item }}"
|
39
|
+
alt="{{ page.directory }} color #{{ item }}" />
|
40
|
+
</svg>
|
41
|
+
{% endfor %}
|
42
|
+
</section>
|
43
|
+
{% endif %}
|
44
|
+
|
45
|
+
<h4 class="blog-para">Typography</h4><hr>
|
46
|
+
<section class="flex-display">
|
47
|
+
<img class="theme-images"
|
48
|
+
src="{{ site.baseurl }}/assets/img/clients/{{ page.directory }}/font/font.png"
|
49
|
+
width="100%"
|
50
|
+
alt="{{ page.directory }} font {{ page.font }}">
|
51
|
+
</section>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
thumbnail:
|
4
|
+
---
|
5
|
+
|
6
|
+
<section class="blog-masthead global-masthead">
|
7
|
+
|
8
|
+
<h1>
|
9
|
+
{{ page.title }} | {{ page.category }}
|
10
|
+
</h1>
|
11
|
+
|
12
|
+
</section>
|
13
|
+
|
14
|
+
<div class="blog-wrapper">
|
15
|
+
<!-- list posts in page.catogory -->
|
16
|
+
{% for category in site.categories %}
|
17
|
+
{% if category[0] == page.category %}
|
18
|
+
{% for post in category[1] %}
|
19
|
+
{% include list-post-items.html %}
|
20
|
+
{% endfor %}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
|
24
|
+
{% include paginator.html %}
|
25
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.1.0
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# https://github.com/penibelst/jekyll-compress-html
|
6
|
+
# © 2014–2015 Anatol Broder
|
7
|
+
# MIT License
|
8
|
+
---
|
9
|
+
|
10
|
+
{% capture _LINE_FEED %}
|
11
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ 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 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,26 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
{% include header.html %}
|
6
|
+
|
7
|
+
{% if page.url == "/" %}
|
8
|
+
<a name"#"></a>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% include nav.html %}
|
12
|
+
|
13
|
+
{% if page.url == "/styleguide/" %}
|
14
|
+
<section class="global-wrapper" style="margin:100px 2rem">
|
15
|
+
{{ content }}
|
16
|
+
</section>
|
17
|
+
{% else %}
|
18
|
+
{{ content }}
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% include footer.html %}
|
22
|
+
|
23
|
+
{% include scripts.html %}
|
24
|
+
|
25
|
+
</body>
|
26
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<section class="landing-wraper">
|
5
|
+
<div class="landing-content">
|
6
|
+
<h1 class="h-light">
|
7
|
+
{{ page.title }}</h1>
|
8
|
+
<div class="mouse">
|
9
|
+
<div class="scroll"></div>
|
10
|
+
</div>
|
11
|
+
{% assign n = page.subtitle | size %}
|
12
|
+
{% for items in page.subtitle %}
|
13
|
+
<h3 class="h-light landing-page-sub-title"> {{ items }} </h3>
|
14
|
+
{% if n != forloop.index %}
|
15
|
+
<!-- keeping these outside <h incase it affects seo -->
|
16
|
+
<span class="h-light landing-page-sub-title">|</span>
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
<div class="btn-landing">
|
21
|
+
<div
|
22
|
+
data-aos="fade-in"
|
23
|
+
data-aos-delay="1000"
|
24
|
+
data-aos-easing="ease">
|
25
|
+
<!-- wrapping in div to use AOS -->
|
26
|
+
<!-- really need to write our own AOS -->
|
27
|
+
<a href="/#services" class="btn btn-pop btn-solid btn-pink" role="button">{{ page.cta }}</a>
|
28
|
+
</div>
|
29
|
+
<!--
|
30
|
+
<div data-aos="fade-up">
|
31
|
+
<a href="" class="btn btn-outline btn-color-swoosh" role="button">INSTANT QUOTE</a>
|
32
|
+
</div>
|
33
|
+
-->
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</section>
|
37
|
+
|
38
|
+
|
39
|
+
{{ content }}
|
40
|
+
|
41
|
+
<a name="services"></a>
|
42
|
+
|
43
|
+
{% include services.html %}
|
44
|
+
|
45
|
+
<section class="spacer portfolio-wraper"></section>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<!-- single post layout -->
|
5
|
+
|
6
|
+
<section class="blog-masthead global-masthead" style="background-image: url('{{ site.baseurl }}/{{ page.background }}');"></section>
|
7
|
+
|
8
|
+
<div class="post-preview-text">
|
9
|
+
|
10
|
+
<h2 class="post-preview-title">{{ page.title }}</h2>
|
11
|
+
|
12
|
+
<h3 class="post-preview-subtitle">{{ page.subtitle }}</h3>
|
13
|
+
|
14
|
+
<p class="post-meta">
|
15
|
+
{{ page.date | date: '%B %d, %Y' }}
|
16
|
+
</p>
|
17
|
+
|
18
|
+
<ul class="post-meta">
|
19
|
+
{% assign n = page.categories | size | minus:1 %}
|
20
|
+
{% assign p = page.categories | sort %}
|
21
|
+
|
22
|
+
{% for categories in p %}
|
23
|
+
|
24
|
+
<li>
|
25
|
+
{% assign i = forloop.index | minus:1 %}
|
26
|
+
<a href="{{ site.baseurl }}/slow-blog/categories/{{ page.categories[ i ] | replace: ' ', '-' }}">
|
27
|
+
{{ page.categories[ i ] }}
|
28
|
+
{% if n != i %} | {% endif %}
|
29
|
+
</a>
|
30
|
+
</li>
|
31
|
+
|
32
|
+
{% endfor %}
|
33
|
+
|
34
|
+
</ul>
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<section class="blog-content">
|
39
|
+
|
40
|
+
{{ content }}
|
41
|
+
|
42
|
+
{% include share-buttons.html %}
|
43
|
+
|
44
|
+
</section>
|
45
|
+
|
46
|
+
{% include blog-footer.html %}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
|
4
|
+
---
|
5
|
+
<!-- single post layout -->
|
6
|
+
|
7
|
+
<section class="single-post-masthead" ></section>
|
8
|
+
|
9
|
+
{% include blog-nav.html %}
|
10
|
+
|
11
|
+
<div class="single-post-header">
|
12
|
+
|
13
|
+
<h1 class="single-post-title">{{ page.title }}</h1>
|
14
|
+
|
15
|
+
<h3 class="single-post-subtitle">{{ page.subtitle }}</h3>
|
16
|
+
|
17
|
+
<ul>
|
18
|
+
<li class="post-meta">
|
19
|
+
<i class="far fa-calendar" aria-hidden="true"></i>
|
20
|
+
</li>
|
21
|
+
<li class="post-meta">
|
22
|
+
<p class="post-meta">{{ page.date | date: '%B %d, %Y' }}</p>
|
23
|
+
</li>
|
24
|
+
<li class="post-meta">
|
25
|
+
<!-- inline style until better solu -->
|
26
|
+
<i class="fas fa-tags" style="padding-left:20px"></i>
|
27
|
+
</li>
|
28
|
+
{% for items in page.categories %}
|
29
|
+
<li class="post-tag">
|
30
|
+
<a href="{{ site.baseurl }}/slow-blog/categories/#{{ items | slugify }}">
|
31
|
+
{{ items | upcase }}
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
{% endfor %}
|
35
|
+
<li class="post-meta">
|
36
|
+
{% include share-buttons.html %}
|
37
|
+
</li>
|
38
|
+
</ul>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<section
|
43
|
+
class="single-post-header-img"
|
44
|
+
style="background-image: url('{{ site.baseurl }}/{{ page.background }}');"></section>
|
45
|
+
|
46
|
+
<section class="blog-content">
|
47
|
+
|
48
|
+
{{ content }}
|
49
|
+
|
50
|
+
{% if page.comments %}
|
51
|
+
{% include disquis.html %}
|
52
|
+
{% endif %}
|
53
|
+
|
54
|
+
</section>
|
55
|
+
|
56
|
+
{% include blog-footer.html %}
|
data/_sass/blog-nav.sass
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
.blog-nav-container
|
2
|
+
margin: 5vh auto
|
3
|
+
width: 100vw
|
4
|
+
|
5
|
+
.blog-nav
|
6
|
+
display: flex
|
7
|
+
flex-direction: column
|
8
|
+
|
9
|
+
.blog-nav-link
|
10
|
+
display: inline
|
11
|
+
float: none
|
12
|
+
color: black
|
13
|
+
padding-top: 2rem
|
14
|
+
margin: 0 10vw
|
15
|
+
text-decoration: none
|
16
|
+
|
17
|
+
.blog-nav-link-active
|
18
|
+
border-bottom: solid 1px $black
|
19
|
+
|
20
|
+
.dropbtn
|
21
|
+
border: solid 2px $light-grey
|
22
|
+
background-color: inherit
|
23
|
+
width: 80vw
|
24
|
+
margin: 0 auto
|
25
|
+
//padding: 4vh 0
|
26
|
+
|
27
|
+
.dropdown-content
|
28
|
+
position: absolute
|
29
|
+
background-color: $white
|
30
|
+
width: 80%
|
31
|
+
left: 10vw
|
32
|
+
border-radius: 4px
|
33
|
+
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2)
|
34
|
+
z-index: 1
|
35
|
+
|
36
|
+
@media screen and ( min-width: 768px )
|
37
|
+
.blog-nav
|
38
|
+
flex-direction: row
|
39
|
+
max-width: 600px
|
40
|
+
justify-content: space-between
|
41
|
+
margin: 0 auto 100px auto
|
42
|
+
border-bottom: solid 1px $light-grey
|
43
|
+
|
44
|
+
.dropbtn
|
45
|
+
display: none
|
46
|
+
|
47
|
+
.dropdown-content
|
48
|
+
display: block
|
49
|
+
margin: 0
|
50
|
+
padding: 0
|
51
|
+
width: 100%
|
52
|
+
position: inherit
|
53
|
+
background-color: inherit
|
54
|
+
box-shadow: none
|
55
|
+
|
56
|
+
.blog-nav-link
|
57
|
+
padding: 0
|
58
|
+
margin: 0
|
59
|
+
text-decoration: none
|
60
|
+
display: block
|
61
|
+
text-align: left
|
data/_sass/blog.sass
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
|
2
|
+
.blog-masthead
|
3
|
+
background-color: $blue
|
4
|
+
|
5
|
+
.blog-strap
|
6
|
+
font-family: sans-serif
|
7
|
+
|
8
|
+
.blog-wrapper
|
9
|
+
background-color: $white
|
10
|
+
display: flex
|
11
|
+
flex-wrap: wrap
|
12
|
+
justify-content: space-between
|
13
|
+
padding: 5vh 5vw
|
14
|
+
|
15
|
+
.post-title
|
16
|
+
background-color: rgba(0, 0, 0, .4)
|
17
|
+
padding: 20px
|
18
|
+
text-align: center
|
19
|
+
|
20
|
+
.post-title,
|
21
|
+
.post-subtitle
|
22
|
+
font-weight: 300
|
23
|
+
|
24
|
+
.post-preview-wrapper
|
25
|
+
flex-basis: 100%
|
26
|
+
padding-bottom: 5vh
|
27
|
+
|
28
|
+
.post-preview-img
|
29
|
+
background-position: center
|
30
|
+
background-size: cover
|
31
|
+
height: 40vh
|
32
|
+
|
33
|
+
.post-preview-text
|
34
|
+
background-color: $white
|
35
|
+
border: solid 1px rgb(230, 232, 237)
|
36
|
+
border-radius: 10px
|
37
|
+
box-shadow: 0 0 6px rgba(0, 0, 0, .1)
|
38
|
+
margin: 0 auto
|
39
|
+
margin-top: -15vh
|
40
|
+
max-width: 512px
|
41
|
+
padding: 20px 0
|
42
|
+
transition: all 0.6s cubic-bezier(.2, .3, 0, 1)
|
43
|
+
width: 90%
|
44
|
+
|
45
|
+
h2,
|
46
|
+
h3,
|
47
|
+
p
|
48
|
+
margin: 0
|
49
|
+
padding: 0
|
50
|
+
padding-bottom: 10px
|
51
|
+
text-align: center
|
52
|
+
|
53
|
+
.post-preview-title,
|
54
|
+
.post-meta li
|
55
|
+
color: $black
|
56
|
+
transition: all .1s ease-in
|
57
|
+
|
58
|
+
// there must be a better way
|
59
|
+
.post-preview-title:hover,
|
60
|
+
.post-meta li:hover
|
61
|
+
color: $vivid-blue
|
62
|
+
|
63
|
+
.post-meta
|
64
|
+
display: inline-block
|
65
|
+
font-size: .8rem
|
66
|
+
margin: 0 auto
|
67
|
+
|
68
|
+
i
|
69
|
+
color: $soft-black
|
70
|
+
|
71
|
+
.post-tag
|
72
|
+
background-color: $light-grey
|
73
|
+
border-radius: 6px
|
74
|
+
display: inline-block
|
75
|
+
font-size: .7rem
|
76
|
+
margin: 0 5px
|
77
|
+
padding: 4px 8px
|
78
|
+
|
79
|
+
.blog-content
|
80
|
+
margin: 10vh auto
|
81
|
+
max-width: 768px
|
82
|
+
width: 90%
|
83
|
+
|
84
|
+
p
|
85
|
+
font-size: 1.1rem
|
86
|
+
line-height: 2rem
|
87
|
+
|
88
|
+
a
|
89
|
+
text-decoration: underline
|
90
|
+
|
91
|
+
h1,
|
92
|
+
h2,
|
93
|
+
h3,
|
94
|
+
h4,
|
95
|
+
h5,
|
96
|
+
h6
|
97
|
+
padding: 3rem 0 0 0
|
98
|
+
|
99
|
+
.blog-image
|
100
|
+
width: 100%
|
101
|
+
|
102
|
+
.theme-colors
|
103
|
+
height: 90px
|
104
|
+
stroke: $soft-black
|
105
|
+
stroke-width: 1px
|
106
|
+
width: 90px
|
107
|
+
|
108
|
+
.theme-images
|
109
|
+
height: auto
|
110
|
+
margin: auto
|
111
|
+
max-height: 100px
|
112
|
+
max-width: 300px
|
113
|
+
padding: 15px 0
|
114
|
+
width: auto
|
115
|
+
|
116
|
+
.flex-display
|
117
|
+
align-items: center
|
118
|
+
display: flex
|
119
|
+
flex-wrap: wrap
|
120
|
+
justify-content: center
|
121
|
+
margin: auto
|
122
|
+
padding: 40px 0
|
123
|
+
|
124
|
+
@media screen and ( min-width: 1024px )
|
125
|
+
.post-preview-wrapper
|
126
|
+
flex-basis: 42.5vw
|
127
|
+
height: 55vh
|
128
|
+
max-width: 600px
|
129
|
+
padding: 0
|
130
|
+
|
131
|
+
.theme-colors
|
132
|
+
height: 120px
|
133
|
+
width: 120px
|
134
|
+
|
135
|
+
.post-preview-wrapper:hover
|
136
|
+
|
137
|
+
.post-preview-text
|
138
|
+
margin-top: -15.5vh
|
139
|
+
box-shadow: 2px 4px 20px rgba(0, 0, 0, .1)
|
140
|
+
|
141
|
+
.post-preview-text
|
142
|
+
width: 80%
|
143
|
+
|
144
|
+
.blog-wrapper
|
145
|
+
padding: 10vh 5vw
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// dont hover on phones or tablets
|
2
|
+
@media screen and ( min-width: 1024px )
|
3
|
+
|
4
|
+
.btn-pop
|
5
|
+
&:hover
|
6
|
+
@include btn-animation
|
7
|
+
box-shadow: $box-shadow-hover
|
8
|
+
|
9
|
+
.btn-color-swoosh
|
10
|
+
&:hover
|
11
|
+
@include btn-animation
|
12
|
+
box-shadow: $box-shadow-hover
|
13
|
+
|
14
|
+
.nav-menu
|
15
|
+
&:hover > a
|
16
|
+
opacity: .5
|
17
|
+
|
18
|
+
a
|
19
|
+
&:hover
|
20
|
+
opacity: 1
|
21
|
+
|
22
|
+
.footer-nav-links
|
23
|
+
&:hover > li
|
24
|
+
opacity: .5
|
25
|
+
|
26
|
+
li
|
27
|
+
&:hover
|
28
|
+
opacity: 1
|
29
|
+
|
30
|
+
.nav-twitter
|
31
|
+
&:hover
|
32
|
+
color: $twitter-blue
|
33
|
+
|
34
|
+
.nav-facebook
|
35
|
+
&:hover
|
36
|
+
color: $facebook-blue
|
37
|
+
|
38
|
+
nav
|
39
|
+
&:hover
|
40
|
+
.site-logo
|
41
|
+
transform: translateY(5px)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@media screen and ( min-width: 768px )
|
2
|
+
|
3
|
+
.footer-wraper
|
4
|
+
grid-column-gap: 5vw
|
5
|
+
grid-row-gap: 20px
|
6
|
+
grid-template-areas: 'footer-header footer-header footer-header' 'sitemap category-links footer-services' 'footer-contact footer-contact footer-contact' 'footer-base footer-base footer-base'
|
7
|
+
grid-template-columns: auto auto auto
|
8
|
+
|
9
|
+
.footer-base
|
10
|
+
flex-direction: row
|
11
|
+
justify-content: space-between
|
12
|
+
|
13
|
+
.footer-services
|
14
|
+
display: block
|
15
|
+
font-weight: 200
|
16
|
+
|
17
|
+
@media screen and ( min-width: 1024px )
|
18
|
+
|
19
|
+
.footer-wraper
|
20
|
+
grid-column-gap: 5vw
|
21
|
+
grid-row-gap: 20px
|
22
|
+
grid-template-areas: 'footer-header footer-header footer-header footer-header' 'sitemap category-links footer-services footer-contact' 'footer-base footer-base footer-base footer-base'
|
23
|
+
grid-template-columns: auto auto auto auto
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// Navbar breakpoints
|
2
|
+
|
3
|
+
@media screen and ( min-width: 1024px )
|
4
|
+
|
5
|
+
.nav-menu
|
6
|
+
background-color: rgba(0, 0, 0, 0)
|
7
|
+
font-size: 1.125rem
|
8
|
+
height: auto
|
9
|
+
justify-content: space-around
|
10
|
+
list-style: none
|
11
|
+
margin: 0
|
12
|
+
padding: 0 20px
|
13
|
+
position: relative
|
14
|
+
text-align: right
|
15
|
+
transform: translateX(0)
|
16
|
+
|
17
|
+
a
|
18
|
+
transition: opacity .2s ease-in-out
|
19
|
+
|
20
|
+
.nav-menu-topbar
|
21
|
+
display: none
|
22
|
+
|
23
|
+
.nav-link
|
24
|
+
display: inline
|
25
|
+
margin: 0
|
26
|
+
margin-left: 2rem
|
27
|
+
opacity: 1
|
28
|
+
padding: 0
|
29
|
+
|
30
|
+
.nav-socials
|
31
|
+
display: inline
|
32
|
+
font-size: 1.1rem
|
33
|
+
padding: 0 0 0 1rem
|
34
|
+
transition: color .2s ease-in
|
35
|
+
|
36
|
+
.burger
|
37
|
+
display: none
|
38
|
+
|
39
|
+
.mob-socials
|
40
|
+
display: none
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Breakpoints for typography
|
2
|
+
|
3
|
+
// break for large mobile displays
|
4
|
+
@media screen and ( min-width: 576px )
|
5
|
+
|
6
|
+
h1
|
7
|
+
font-size: 2.6rem
|
8
|
+
letter-spacing: 3px
|
9
|
+
|
10
|
+
h2
|
11
|
+
font-size: 1.6rem
|
12
|
+
|
13
|
+
h3
|
14
|
+
font-size: 1.3rem
|
15
|
+
|
16
|
+
h4
|
17
|
+
font-size: 1rem
|
18
|
+
|
19
|
+
// break for tablets
|
20
|
+
@media screen and ( min-width: 768px )
|
21
|
+
|
22
|
+
h1
|
23
|
+
font-size: 3.2rem
|
24
|
+
letter-spacing: 3px
|
25
|
+
line-height: 4rem
|
26
|
+
|
27
|
+
// break for tablets
|
28
|
+
@media screen and ( min-width: 1024px )
|
29
|
+
|
30
|
+
h1
|
31
|
+
font-size: 3.6rem
|
@@ -0,0 +1,35 @@
|
|
1
|
+
$pure-white: rgb(255, 255, 255)
|
2
|
+
$white: rgb(240, 240, 240)
|
3
|
+
$soft-white: rgb(230, 230, 230)
|
4
|
+
|
5
|
+
$pure-black: rgb(0, 0, 0)
|
6
|
+
$black: rgb(10, 10, 10)
|
7
|
+
$soft-black: rgb(93, 107, 122)
|
8
|
+
|
9
|
+
$twitter-dark-mode: rgb(23, 32, 42)
|
10
|
+
|
11
|
+
$light-grey: rgb(220, 220, 220)
|
12
|
+
|
13
|
+
$grey: rgb(130, 130, 130)
|
14
|
+
|
15
|
+
$pink: rgb(193, 28, 66)
|
16
|
+
$vivid-pink: rgb(255, 0, 230)
|
17
|
+
|
18
|
+
$yellow: rgb(224, 209, 3)
|
19
|
+
$vivd-yellow: rgb(250, 255, 0)
|
20
|
+
|
21
|
+
$blue: rgb(59, 77, 114)
|
22
|
+
$vivid-blue: rgb(41, 119, 185)
|
23
|
+
$light-blue: rgb(120, 149, 215)
|
24
|
+
|
25
|
+
$red: rgb(255, 0, 0)
|
26
|
+
|
27
|
+
$nav-bg: rgb(40, 40, 50)
|
28
|
+
|
29
|
+
$footer-bg: $nav-bg
|
30
|
+
|
31
|
+
$box-shadow-shade: rgba(0, 0, 0, .2)
|
32
|
+
|
33
|
+
$twitter-blue: rgb(56, 161, 243)
|
34
|
+
|
35
|
+
$facebook-blue: rgb(66, 103, 178)
|