jekyll-theme-squire 0.1.3 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/custom-head.html +6 -0
- data/_includes/disqus_comments.html +1 -1
- data/_includes/footer.html +36 -33
- data/_includes/google-analytics.html +1 -1
- data/_includes/head.html +13 -10
- data/_includes/header.html +28 -28
- data/_includes/social.html +19 -17
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +33 -6
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +14 -3
- data/_sass/jekyll-theme-squire/_base.scss +282 -0
- data/_sass/jekyll-theme-squire/_layout.scss +342 -0
- data/_sass/jekyll-theme-squire/custom-styles.scss +2 -0
- data/_sass/jekyll-theme-squire/custom-variables.scss +1 -0
- data/_sass/{minima.scss → jekyll-theme-squire/initialize.scss} +9 -15
- data/_sass/jekyll-theme-squire/skins/classic.scss +91 -0
- data/_sass/jekyll-theme-squire/skins/dark.scss +95 -0
- data/_sass/jekyll-theme-squire/skins/solarized-dark.scss +4 -0
- data/_sass/jekyll-theme-squire/skins/solarized.scss +140 -0
- data/assets/css/style.scss +3 -1
- data/assets/{minima-social-icons.svg → jekyll-theme-squire-social-icons.svg} +14 -3
- metadata +30 -32
- data/_sass/minima/_base.scss +0 -256
- data/_sass/minima/_layout.scss +0 -298
- data/_sass/minima/_syntax-highlighting.scss +0 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 356c49a3e68329afc36dd74477e7c6394216764a0d2d05e745012e96cbb3eea2
|
4
|
+
data.tar.gz: 0b50fe0dbfdd35bce9db6ff680835940f76e643f51c9a07896e961ec33ef9c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef4faae516043da23634f95ff36e283add768ac44084b896b579dca7beaa27fe52db87220dc6d652b35a94f3e1bcca7c9f8400d0a1f8fea9d567603ea06c543f
|
7
|
+
data.tar.gz: 60e6b7931981bae464d92623c3d6a7c214b3e39c4dcd6a5973a4233170d316c0394eb0314dbca728513e818d5f91ccb006b7d7f3c44bf7acf3c72cc83f482f64
|
@@ -0,0 +1,6 @@
|
|
1
|
+
{% comment %}
|
2
|
+
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
|
3
|
+
|
4
|
+
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
|
5
|
+
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
|
6
|
+
{% endcomment %}
|
data/_includes/footer.html
CHANGED
@@ -1,34 +1,37 @@
|
|
1
1
|
<footer class="site-footer h-card">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
</
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<div class="footer-col-wrapper">
|
7
|
+
<div class="footer-col">
|
8
|
+
<p class="feed-subscribe">
|
9
|
+
<a href="{{ 'feed.xml' | relative_url }}">
|
10
|
+
<svg class="svg-icon orange">
|
11
|
+
<use xlink:href="{{ 'assets/jekyll-theme-squire-social-icons.svg#rss' | relative_url }}"></use>
|
12
|
+
</svg><span>Subscribe</span>
|
13
|
+
</a>
|
14
|
+
</p>
|
15
|
+
{%- if site.author %}
|
16
|
+
<ul class="contact-list">
|
17
|
+
{% if site.author.name -%}
|
18
|
+
<li class="p-name">{{ site.author.name | escape }}</li>
|
19
|
+
{% endif -%}
|
20
|
+
{% if site.author.email -%}
|
21
|
+
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
|
22
|
+
{%- endif %}
|
23
|
+
</ul>
|
24
|
+
{%- endif %}
|
25
|
+
</div>
|
26
|
+
<div class="footer-col">
|
27
|
+
<p>{{ site.description | escape }}</p>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="social-links">
|
32
|
+
{%- include social.html -%}
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</div>
|
36
|
+
|
37
|
+
</footer>
|
data/_includes/head.html
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
9
|
+
{%- include google-analytics.html -%}
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
{%- include custom-head.html -%}
|
13
|
+
|
14
|
+
</head>
|
data/_includes/header.html
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
<header class="site-header">
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
</div>
|
28
|
-
</nav>
|
29
|
-
{%- endif -%}
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
7
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
8
|
+
|
9
|
+
{%- if titles_size > 0 -%}
|
10
|
+
<nav class="site-nav">
|
11
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
12
|
+
<label for="nav-trigger">
|
13
|
+
<span class="menu-icon">
|
14
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
15
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
16
|
+
</svg>
|
17
|
+
</span>
|
18
|
+
</label>
|
19
|
+
|
20
|
+
<div class="trigger">
|
21
|
+
{%- for path in page_paths -%}
|
22
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
23
|
+
{%- if my_page.title -%}
|
24
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
25
|
+
{%- endif -%}
|
26
|
+
{%- endfor -%}
|
30
27
|
</div>
|
31
|
-
</
|
28
|
+
</nav>
|
29
|
+
{%- endif -%}
|
30
|
+
</div>
|
31
|
+
</header>
|
data/_includes/social.html
CHANGED
@@ -1,19 +1,21 @@
|
|
1
|
-
{%- assign social = site.
|
1
|
+
{%- assign social = site.jekyll-theme-squire.social_links -%}
|
2
2
|
|
3
3
|
<ul class="social-media-list">
|
4
|
-
{%-
|
5
|
-
{%- if social.
|
6
|
-
{%- if social.
|
7
|
-
{%- if social.
|
8
|
-
{%- if social.
|
9
|
-
{%- if social.
|
10
|
-
{%- if social.
|
11
|
-
{%-
|
12
|
-
{%- if social.
|
13
|
-
{%-
|
14
|
-
{%- if social.
|
15
|
-
{%- if social.
|
16
|
-
{%- if social.
|
17
|
-
{%- if social.
|
18
|
-
{%- if social.
|
19
|
-
|
4
|
+
{%- for glb in social.gitlab -%}{%- if glb.username and glb.instance -%}<li><a rel="me" href="https://{{ glb.instance | cgi_escape | escape}}/{{glb.username}}" title="{{ glb.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#gitlab' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
5
|
+
{%- if social.dribbble -%}<li><a rel="me" href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
6
|
+
{%- if social.facebook -%}<li><a rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
7
|
+
{%- if social.flickr -%}<li><a rel="me" href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
8
|
+
{%- if social.github -%}<li><a rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
9
|
+
{%- if social.stackoverflow -%}<li><a rel="me" href="https://stackoverflow.com/users/{{ social.stackoverflow | cgi_escape | escape }}" title="{{ social.stackoverflow | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#stackoverflow' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
10
|
+
{%- if social.instagram -%}<li><a rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
11
|
+
{%- if social.linkedin -%}<li><a rel="me" href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
12
|
+
{%- if social.pinterest -%}<li><a rel="me" href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
13
|
+
{%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
14
|
+
{%- if social.twitter -%}<li><a rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
15
|
+
{%- if social.youtube -%}<li><a rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
16
|
+
{%- if social.youtube_channel -%}<li><a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
17
|
+
{%- if social.telegram -%}<li><a rel="me" href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
18
|
+
{%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#keybase' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
19
|
+
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
20
|
+
{%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/jekyll-theme-squire-social-icons.svg#devto' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
21
|
+
</ul>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -9,12 +9,22 @@ layout: default
|
|
9
9
|
|
10
10
|
{{ content }}
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
|
13
|
+
{% if site.paginate %}
|
14
|
+
{% assign posts = paginator.posts %}
|
15
|
+
{% else %}
|
16
|
+
{% assign posts = site.posts %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
|
20
|
+
{%- if posts.size > 0 -%}
|
21
|
+
{%- if page.list_title -%}
|
22
|
+
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
23
|
+
{%- endif -%}
|
14
24
|
<ul class="post-list">
|
15
|
-
{%-
|
25
|
+
{%- assign date_format = site.jekyll-theme-squire.date_format | default: "%b %-d, %Y" -%}
|
26
|
+
{%- for post in posts -%}
|
16
27
|
<li>
|
17
|
-
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
28
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
19
29
|
<h3>
|
20
30
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
@@ -28,7 +38,24 @@ layout: default
|
|
28
38
|
{%- endfor -%}
|
29
39
|
</ul>
|
30
40
|
|
31
|
-
|
41
|
+
{% if site.paginate %}
|
42
|
+
<div class="pager">
|
43
|
+
<ul class="pagination">
|
44
|
+
{%- if paginator.previous_page %}
|
45
|
+
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
|
46
|
+
{%- else %}
|
47
|
+
<li><div class="pager-edge">•</div></li>
|
48
|
+
{%- endif %}
|
49
|
+
<li><div class="current-page">{{ paginator.page }}</div></li>
|
50
|
+
{%- if paginator.next_page %}
|
51
|
+
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
|
52
|
+
{%- else %}
|
53
|
+
<li><div class="pager-edge">•</div></li>
|
54
|
+
{%- endif %}
|
55
|
+
</ul>
|
56
|
+
</div>
|
57
|
+
{%- endif %}
|
58
|
+
|
32
59
|
{%- endif -%}
|
33
60
|
|
34
|
-
</div>
|
61
|
+
</div>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -6,12 +6,23 @@ layout: default
|
|
6
6
|
<header class="post-header">
|
7
7
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
8
|
<p class="post-meta">
|
9
|
+
{%- assign date_format = site.jekyll-theme-squire.date_format | default: "%b %-d, %Y" -%}
|
9
10
|
<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
11
|
{{ page.date | date: date_format }}
|
12
12
|
</time>
|
13
|
+
{%- if page.modified_date -%}
|
14
|
+
~
|
15
|
+
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
|
16
|
+
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
17
|
+
{{ mdate | date: date_format }}
|
18
|
+
</time>
|
19
|
+
{%- endif -%}
|
13
20
|
{%- if page.author -%}
|
14
|
-
•
|
21
|
+
• {% for author in page.author %}
|
22
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
23
|
+
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
24
|
+
{%- if forloop.last == false %}, {% endif -%}
|
25
|
+
{% endfor %}
|
15
26
|
{%- endif -%}</p>
|
16
27
|
</header>
|
17
28
|
|
@@ -24,4 +35,4 @@ layout: default
|
|
24
35
|
{%- endif -%}
|
25
36
|
|
26
37
|
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
27
|
-
</article>
|
38
|
+
</article>
|
@@ -0,0 +1,282 @@
|
|
1
|
+
html {
|
2
|
+
font-size: $base-font-size;
|
3
|
+
}
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Reset some basic elements
|
7
|
+
*/
|
8
|
+
body, h1, h2, h3, h4, h5, h6,
|
9
|
+
p, blockquote, pre, hr,
|
10
|
+
dl, dd, ol, ul, figure {
|
11
|
+
margin: 0;
|
12
|
+
padding: 0;
|
13
|
+
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Basic styling
|
20
|
+
*/
|
21
|
+
body {
|
22
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
23
|
+
color: $text-color;
|
24
|
+
background-color: $background-color;
|
25
|
+
-webkit-text-size-adjust: 100%;
|
26
|
+
-webkit-font-feature-settings: "kern" 1;
|
27
|
+
-moz-font-feature-settings: "kern" 1;
|
28
|
+
-o-font-feature-settings: "kern" 1;
|
29
|
+
font-feature-settings: "kern" 1;
|
30
|
+
font-kerning: normal;
|
31
|
+
display: flex;
|
32
|
+
min-height: 100vh;
|
33
|
+
flex-direction: column;
|
34
|
+
overflow-wrap: break-word;
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
41
|
+
*/
|
42
|
+
h1, h2, h3, h4, h5, h6,
|
43
|
+
p, blockquote, pre,
|
44
|
+
ul, ol, dl, figure,
|
45
|
+
%vertical-rhythm {
|
46
|
+
margin-bottom: $spacing-unit / 2;
|
47
|
+
}
|
48
|
+
|
49
|
+
hr {
|
50
|
+
margin-top: $spacing-unit;
|
51
|
+
margin-bottom: $spacing-unit;
|
52
|
+
}
|
53
|
+
|
54
|
+
/**
|
55
|
+
* `main` element
|
56
|
+
*/
|
57
|
+
main {
|
58
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Images
|
65
|
+
*/
|
66
|
+
img {
|
67
|
+
max-width: 100%;
|
68
|
+
vertical-align: middle;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Figures
|
75
|
+
*/
|
76
|
+
figure > img {
|
77
|
+
display: block;
|
78
|
+
}
|
79
|
+
|
80
|
+
figcaption {
|
81
|
+
font-size: $small-font-size;
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Lists
|
88
|
+
*/
|
89
|
+
ul, ol {
|
90
|
+
margin-left: $spacing-unit;
|
91
|
+
}
|
92
|
+
|
93
|
+
li {
|
94
|
+
> ul,
|
95
|
+
> ol {
|
96
|
+
margin-bottom: 0;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Headings
|
104
|
+
*/
|
105
|
+
h1, h2, h3, h4, h5, h6 {
|
106
|
+
font-weight: $base-font-weight;
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Links
|
113
|
+
*/
|
114
|
+
a {
|
115
|
+
color: $link-base-color;
|
116
|
+
text-decoration: none;
|
117
|
+
|
118
|
+
&:visited {
|
119
|
+
color: $link-visited-color;
|
120
|
+
}
|
121
|
+
|
122
|
+
&:hover {
|
123
|
+
color: $link-hover-color;
|
124
|
+
text-decoration: underline;
|
125
|
+
}
|
126
|
+
|
127
|
+
.social-media-list &:hover {
|
128
|
+
text-decoration: none;
|
129
|
+
|
130
|
+
.username {
|
131
|
+
text-decoration: underline;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Blockquotes
|
139
|
+
*/
|
140
|
+
blockquote {
|
141
|
+
color: $brand-color;
|
142
|
+
border-left: 4px solid $border-color-01;
|
143
|
+
padding-left: $spacing-unit / 2;
|
144
|
+
@include relative-font-size(1.125);
|
145
|
+
font-style: italic;
|
146
|
+
|
147
|
+
> :last-child {
|
148
|
+
margin-bottom: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
i, em {
|
152
|
+
font-style: normal;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
/**
|
159
|
+
* Code formatting
|
160
|
+
*/
|
161
|
+
pre,
|
162
|
+
code {
|
163
|
+
font-family: $code-font-family;
|
164
|
+
font-size: 0.9375em;
|
165
|
+
border: 1px solid $border-color-01;
|
166
|
+
border-radius: 3px;
|
167
|
+
background-color: $code-background-color;
|
168
|
+
}
|
169
|
+
|
170
|
+
code {
|
171
|
+
padding: 1px 5px;
|
172
|
+
}
|
173
|
+
|
174
|
+
pre {
|
175
|
+
padding: 8px 12px;
|
176
|
+
overflow-x: auto;
|
177
|
+
|
178
|
+
> code {
|
179
|
+
border: 0;
|
180
|
+
padding-right: 0;
|
181
|
+
padding-left: 0;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
.highlight {
|
186
|
+
border-radius: 3px;
|
187
|
+
background: $code-background-color;
|
188
|
+
@extend %vertical-rhythm;
|
189
|
+
|
190
|
+
.highlighter-rouge & {
|
191
|
+
background: $code-background-color;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Wrapper
|
199
|
+
*/
|
200
|
+
.wrapper {
|
201
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
202
|
+
margin-right: auto;
|
203
|
+
margin-left: auto;
|
204
|
+
padding-right: $spacing-unit / 2;
|
205
|
+
padding-left: $spacing-unit / 2;
|
206
|
+
@extend %clearfix;
|
207
|
+
|
208
|
+
@media screen and (min-width: $on-large) {
|
209
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
210
|
+
padding-right: $spacing-unit;
|
211
|
+
padding-left: $spacing-unit;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Clearfix
|
219
|
+
*/
|
220
|
+
%clearfix:after {
|
221
|
+
content: "";
|
222
|
+
display: table;
|
223
|
+
clear: both;
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Icons
|
230
|
+
*/
|
231
|
+
|
232
|
+
.orange {
|
233
|
+
color: #f66a0a;
|
234
|
+
}
|
235
|
+
|
236
|
+
.grey {
|
237
|
+
color: #828282;
|
238
|
+
}
|
239
|
+
|
240
|
+
.svg-icon {
|
241
|
+
width: 16px;
|
242
|
+
height: 16px;
|
243
|
+
display: inline-block;
|
244
|
+
fill: currentColor;
|
245
|
+
padding: 5px 3px 2px 5px;
|
246
|
+
vertical-align: text-bottom;
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
/**
|
251
|
+
* Tables
|
252
|
+
*/
|
253
|
+
table {
|
254
|
+
margin-bottom: $spacing-unit;
|
255
|
+
width: 100%;
|
256
|
+
text-align: $table-text-align;
|
257
|
+
color: $table-text-color;
|
258
|
+
border-collapse: collapse;
|
259
|
+
border: 1px solid $table-border-color;
|
260
|
+
tr {
|
261
|
+
&:nth-child(even) {
|
262
|
+
background-color: $table-zebra-color;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
th, td {
|
266
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
267
|
+
}
|
268
|
+
th {
|
269
|
+
background-color: $table-header-bg-color;
|
270
|
+
border: 1px solid $table-header-border;
|
271
|
+
}
|
272
|
+
td {
|
273
|
+
border: 1px solid $table-border-color;
|
274
|
+
}
|
275
|
+
|
276
|
+
@include media-query($on-laptop) {
|
277
|
+
display: block;
|
278
|
+
overflow-x: auto;
|
279
|
+
-webkit-overflow-scrolling: touch;
|
280
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
281
|
+
}
|
282
|
+
}
|