jekyll-theme-mehdix-rtl 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +13 -23
- data/_includes/head.html +12 -3
- data/_includes/header.html +6 -0
- data/_includes/license.html +1 -1
- data/_includes/static_comments.html +1 -1
- data/_layouts/default.html +13 -17
- data/_layouts/home.html +4 -6
- data/_layouts/message.html +5 -9
- data/_layouts/minimal.html +3 -3
- data/_layouts/page.html +3 -3
- data/_layouts/post.html +25 -27
- data/_layouts/project.html +3 -7
- data/_sass/_base.scss +23 -14
- data/_sass/_footer.scss +6 -2
- data/_sass/_layout.scss +11 -87
- data/_sass/_post.scss +64 -73
- data/assets/css/main.scss +5 -20
- data/assets/fonts/droidarabicnaskh.css +23 -0
- data/assets/fonts/fontawesomev5.0.2.css +5 -0
- data/assets/fonts/notokufiarabic.css +23 -0
- data/assets/fonts/notonaskharabic.css +23 -0
- data/assets/img/creativecommons80x15.png +0 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +990 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.eot +0 -0
- data/assets/webfonts/fa-regular-400.svg +363 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.eot +0 -0
- data/assets/webfonts/fa-solid-900.svg +1413 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- metadata +23 -7
- data/assets/css/fa-svg-with-js.css +0 -343
- data/assets/img/envelope-open.svg +0 -3
- data/assets/img/feed-icon-14x14.png +0 -0
- data/assets/img/feed_gray_50.png +0 -0
- data/assets/img/noun_4018.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 692ad9e25e0e859a5e672a4ba2f0fccd197869c9
|
4
|
+
data.tar.gz: 7d703911f86e6867c80935387e9e2f409f7f8b89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bc54b6beb65c86628d2d02a3fe65784d1195862b7b6f74bff3a7c09fbaa4884750cdd0ba9768a20451ad7d4329a569ba293d108a57fa9fa530a4cd5cfbf128d
|
7
|
+
data.tar.gz: 5c8ba0f09ae90cb2c3dfbdd2d12bfd910f945a405632de905ca6b7166d25e4141b608dd915c553ede50c54f813cd7124471431fdc58319d59270c1f47f1045f0
|
data/_includes/footer.html
CHANGED
@@ -11,45 +11,36 @@
|
|
11
11
|
<ul class="social-media-list">
|
12
12
|
{% if site.github_username %}
|
13
13
|
<li>
|
14
|
+
<i class="fab fa-github"></i>
|
14
15
|
<a href="https://github.com/{{ site.github_username }}">
|
15
|
-
<span class="icon icon--github">
|
16
|
-
<svg viewBox="0 0 16 16">
|
17
|
-
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
|
18
|
-
</svg>
|
19
|
-
</span>
|
20
16
|
<span class="username social-media-text">پروژهها</span>
|
21
17
|
</a>
|
22
18
|
</li>
|
23
19
|
{% endif %}
|
24
20
|
{% if site.twitter_username %}
|
25
21
|
<li>
|
22
|
+
<i class="fab fa-twitter-square"></i>
|
26
23
|
<a href="https://twitter.com/{{ site.twitter_username }}">
|
27
|
-
<span class="icon icon--twitter">
|
28
|
-
<svg viewBox="0 0 16 16">
|
29
|
-
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
|
30
|
-
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
|
31
|
-
</svg>
|
32
|
-
</span>
|
33
24
|
<span class="username social-media-text">توئیتها</span>
|
34
25
|
</a>
|
35
26
|
</li>
|
36
27
|
{% endif %}
|
37
28
|
{% if site.feedburner_id %}
|
38
29
|
<li>
|
39
|
-
<
|
40
|
-
|
41
|
-
|
30
|
+
<i class="fas fa-rss"></i>
|
31
|
+
<a href="https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner_id }}&loc=en_US">
|
32
|
+
<span class="username social-media-text">خبرنامه</span></a>
|
42
33
|
</li>
|
43
34
|
<li>
|
44
|
-
<
|
45
|
-
|
46
|
-
|
35
|
+
<i class="fas fa-rss"></i>
|
36
|
+
<a href="http://feeds.feedburner.com/mehdixir">
|
37
|
+
<span class="username social-media-text">خوراک</span></a>
|
47
38
|
</li>
|
48
39
|
{% endif %}
|
49
40
|
{% if site.email %}
|
50
41
|
<li>
|
42
|
+
<i class="fas fa-envelope-open"></i>
|
51
43
|
<a href="mailto:{{ site.email }}">
|
52
|
-
<img id='mail-icon' class='icon' src="{{ 'assets/img/envelope-open.svg' | absolute_url }}" alt=""/>
|
53
44
|
<span class="username social-media-text">تماس</span></a></li>
|
54
45
|
{% endif %}
|
55
46
|
<li id="footer_build_status">
|
@@ -59,9 +50,8 @@
|
|
59
50
|
</div>
|
60
51
|
</div>
|
61
52
|
{% include license.html %}
|
62
|
-
</div>
|
63
|
-
<div class="center">
|
64
|
-
|
65
|
-
</div>
|
66
|
-
{% if site.google_analytics_id %} {% include analyticstracking.html %} {% endif %}
|
53
|
+
</div>
|
54
|
+
<div class="center">
|
55
|
+
<small style="color:gray">Site generated on {{ site.time | date_to_rfc822 }}</small>
|
56
|
+
</div>
|
67
57
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8" />
|
3
3
|
<meta name="viewport" content="width=device-width initial-scale=1.0" />
|
4
|
+
|
4
5
|
{%- if page.tags -%}
|
5
6
|
<meta name="keywords" content='{{ page.tags | join: "," }}' />
|
6
7
|
{%- elsif page.url contains site.tag_page_dir -%}
|
@@ -8,24 +9,32 @@
|
|
8
9
|
{%- else -%}
|
9
10
|
<meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
|
10
11
|
{%- endif -%}
|
12
|
+
|
11
13
|
<meta name="author" content="{{ site.author}}" />
|
12
14
|
<meta name="copyright" content="{{ site.copyright }}" />
|
13
15
|
<meta name="robot" content="{{ site.robot }}" />
|
14
16
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
15
17
|
<meta name="description" content="{{ site.description | strip_newlines}}" />
|
18
|
+
|
16
19
|
{%- if page.title -%}
|
17
20
|
<title>{{ page.title }} - {{ site.title}}</title>
|
18
21
|
{%- else -%}
|
19
22
|
<title>{{ site.title }}</title>
|
20
23
|
{%- endif -%}
|
21
|
-
|
22
|
-
<link rel="stylesheet" href="{{ 'assets/css/fa-svg-with-js.css' | absolute_url }}" />
|
24
|
+
|
23
25
|
<link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}" />
|
24
26
|
<link rel="icon" href="{{ site.favicon | absolute_url}}" />
|
27
|
+
|
28
|
+
<link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
|
29
|
+
<link rel="stylesheet" href="{{ 'assets/fonts/fontawesomev5.0.2.css' | absolute_url }}" />
|
30
|
+
<link rel="stylesheet" href="{{ 'assets/fonts/droidarabicnaskh.css' | absolute_url }}" />
|
31
|
+
<link rel="stylesheet" href="{{ 'assets/fonts/notokufiarabic.css' | absolute_url }}" />
|
32
|
+
|
25
33
|
{%- if page.style -%}
|
26
34
|
<style type="text/css">
|
27
35
|
{{ page.style }}
|
28
36
|
</style>
|
29
37
|
{%- endif -%}
|
38
|
+
|
30
39
|
{% seo %}
|
31
|
-
</head>
|
40
|
+
</head>
|
data/_includes/license.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<div id="license" class="textwidget">
|
2
|
-
<a id="license_link" rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa"><img alt="مجوز کریتیو کامنز" style="border-width:0" src="
|
2
|
+
<a id="license_link" rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa"><img alt="مجوز کریتیو کامنز" style="border-width:0" src="{{'assets/img/creativecommons80x15.png' | absolute_url}}" /></a>
|
3
3
|
مطالب این وبلاگ تحت مجوز
|
4
4
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa">
|
5
5
|
کریتیو کامنز اتریبیوشن ۴.۰ اینترنشنال </a>قرار دارد.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
{{ comment.name }}
|
21
21
|
{% endif %}
|
22
22
|
</small>
|
23
|
-
<small class="
|
23
|
+
<small class="meta"> {{ comment.date | jdate: "%d %b %Y" | habify }}</small>
|
24
24
|
</span>
|
25
25
|
{{ comment.message | replace: "<p>", '' | replace: "</p>", newLine | replace: "<br>", newLine | strip_html | markdownify }}
|
26
26
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,25 +1,21 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html dir="rtl" lang="fa">
|
3
|
-
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
4
5
|
|
5
|
-
<body>
|
6
|
-
|
7
|
-
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main>
|
8
11
|
<div class="wrapper">
|
9
|
-
|
10
|
-
<small id="motto"> {{ site.motto }} </small>
|
12
|
+
{{- content -}}
|
11
13
|
</div>
|
12
|
-
</
|
13
|
-
|
14
|
-
<div class="page-content">
|
15
|
-
<div class="wrapper">
|
16
|
-
{{- content -}}
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</section>
|
14
|
+
</main>
|
15
|
+
|
20
16
|
{%- include footer.html -%}
|
21
|
-
</div>
|
22
|
-
<script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
|
23
|
-
</body>
|
24
17
|
|
18
|
+
<script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
|
19
|
+
{% if site.google_analytics_id %} {% include analyticstracking.html %} {% endif %}
|
20
|
+
</body>
|
25
21
|
</html>
|
data/_layouts/home.html
CHANGED
@@ -2,14 +2,12 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
<div class="home">
|
5
|
-
<h1 class="page-heading"></h1>
|
6
|
-
|
7
5
|
<ul class="post-list">
|
8
6
|
{% if paginator %}
|
9
7
|
{% for post in paginator.posts %}
|
10
|
-
<li>
|
11
|
-
<span class="
|
12
|
-
<h2><a
|
8
|
+
<li class="post-list-item">
|
9
|
+
<span class="meta date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
|
10
|
+
<h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
|
13
11
|
{{ post.content | strip_html | truncatewords: 35 }}
|
14
12
|
</li>
|
15
13
|
{% endfor %}
|
@@ -17,7 +15,7 @@ layout: default
|
|
17
15
|
{% for post in site.posts %}
|
18
16
|
<li>
|
19
17
|
<span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
|
20
|
-
<h2><a
|
18
|
+
<h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
|
21
19
|
{{ post.content | strip_html | truncatewords: 35 }}
|
22
20
|
</li>
|
23
21
|
{% endfor %}
|
data/_layouts/message.html
CHANGED
@@ -2,14 +2,10 @@
|
|
2
2
|
<html dir="rtl" lang="fa">
|
3
3
|
{% include head.html %}
|
4
4
|
<body>
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
</section>
|
13
|
-
</div>
|
5
|
+
<main>
|
6
|
+
<div class="wrapper">
|
7
|
+
{{ content }}
|
8
|
+
</div>
|
9
|
+
</main>
|
14
10
|
</body>
|
15
11
|
</html>
|
data/_layouts/minimal.html
CHANGED
@@ -3,10 +3,10 @@ layout: default
|
|
3
3
|
---
|
4
4
|
<div class="home">
|
5
5
|
<h1 class="page-heading">❖ همهی نوشتهها</h1>
|
6
|
-
<ul class="post-list">
|
6
|
+
<ul class="post-list-mini">
|
7
7
|
{% for post in site.posts %}
|
8
|
-
<li>
|
9
|
-
<span class="
|
8
|
+
<li class="post-list-item">
|
9
|
+
<span class="list-meta-col">
|
10
10
|
<span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
|
11
11
|
</span>
|
12
12
|
<span>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
+
|
4
5
|
{% capture time %}{{ content | reading_time }}{% endcapture %}
|
5
|
-
<
|
6
|
-
|
6
|
+
<article class="post-content">
|
7
|
+
|
8
|
+
<div class="post-header">
|
7
9
|
<h1 class="post-title">{{ page.title }}</h1>
|
8
|
-
<p
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
<
|
13
|
-
|
14
|
-
{% if page.meta %} • {{ page.meta }}{% endif %}
|
10
|
+
<p>
|
11
|
+
<i class="fas fa-calendar"></i>
|
12
|
+
{{ page.date | jdate: "%d %b %Y" | habify}}<br>
|
13
|
+
|
14
|
+
<i class="fas fa-stopwatch"></i>
|
15
|
+
{{ time | habify }} دقیقه مطالعه
|
15
16
|
</p>
|
16
|
-
</
|
17
|
-
|
18
|
-
|
19
|
-
</article>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
{{ content }}
|
20
20
|
|
21
21
|
{% if site.related_posts.size >= 1 %}
|
22
22
|
<div id="related-posts">
|
@@ -29,17 +29,13 @@ layout: default
|
|
29
29
|
</div>
|
30
30
|
{% endif %}
|
31
31
|
|
32
|
-
|
33
32
|
<small id="post-tags">
|
34
33
|
{% for tag in page.tags %}
|
35
|
-
|
36
|
-
<svg class="svg-inline--fa fa-tag fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fas" data-icon="tag" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"></path></svg>
|
34
|
+
<i class="fas fa-tag"></i>
|
37
35
|
<a rel="tag" href="{{ tag | tag_url }}">{{tag}}</a>
|
38
36
|
{% endfor %}
|
39
37
|
|
40
|
-
|
41
|
-
<svg class="svg-inline--fa fa-code fa-w-20" aria-hidden="true" data-fa-processed="" data-prefix="fas" data-icon="code" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"></path></svg>
|
42
|
-
|
38
|
+
<i class="fas fa-code"></i>
|
43
39
|
<a href="https://raw.githubusercontent.com/{{site.github.username}}/{{site.github.repository}}/master/{{page.path}}">سورس</a>
|
44
40
|
</small>
|
45
41
|
|
@@ -47,20 +43,22 @@ layout: default
|
|
47
43
|
{% if page.next %}
|
48
44
|
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
|
49
45
|
{% else %}
|
50
|
-
<a href="#" class="pagination--pager disabled"
|
46
|
+
<a href="#" class="pagination--pager disabled">قبلی</a>
|
51
47
|
{% endif %}
|
52
48
|
|
53
49
|
{% if page.previous %}
|
54
50
|
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
|
55
51
|
{% else %}
|
56
|
-
<a href="#" class="pagination--pager disabled"
|
52
|
+
<a href="#" class="pagination--pager disabled">بعدی </a>
|
57
53
|
{% endif %}
|
58
54
|
</nav>
|
59
55
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
56
|
+
<section>
|
57
|
+
{% if site.comment_system == 'static' %}
|
58
|
+
{% include static_comments.html %}
|
59
|
+
{% elsif site.comment_system == 'disqus' %}
|
60
|
+
{% include disqus.html %}
|
61
|
+
{% endif %}
|
62
|
+
</section>
|
65
63
|
|
66
|
-
</
|
64
|
+
</article>
|
data/_layouts/project.html
CHANGED
@@ -1,18 +1,14 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<div class="
|
4
|
+
<div class="project">
|
5
5
|
|
6
|
-
<
|
6
|
+
<div class="post-header">
|
7
7
|
<h1 class="post-title">{{ page.title }}</h1>
|
8
|
-
</
|
8
|
+
</div>
|
9
9
|
|
10
10
|
<article class="post-content">
|
11
11
|
{{ content }}
|
12
12
|
</article>
|
13
13
|
|
14
14
|
</div>
|
15
|
-
|
16
|
-
{% if page.comments %}
|
17
|
-
{% include disqus.html %}
|
18
|
-
{% endif %}
|
data/_sass/_base.scss
CHANGED
@@ -1,22 +1,33 @@
|
|
1
1
|
* {
|
2
|
-
|
2
|
+
/*box-sizing: border-box;*/
|
3
3
|
}
|
4
4
|
|
5
5
|
html, body {
|
6
|
-
|
7
|
-
|
6
|
+
margin: 0;
|
7
|
+
height: 100%;
|
8
|
+
min-height: 100%;
|
8
9
|
}
|
9
10
|
|
10
11
|
body {
|
11
|
-
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
|
15
|
+
font-family: $base-font-family;
|
12
16
|
font-size: $base-font-size;
|
13
17
|
line-height: $base-line-height;
|
14
18
|
color: $text-color;
|
15
19
|
background-color: $background-color;
|
16
|
-
-webkit-text-size-adjust: 100%;
|
17
20
|
overflow-wrap: break-word;
|
18
21
|
}
|
19
22
|
|
23
|
+
main {
|
24
|
+
flex: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
header, footer {
|
28
|
+
flex: none;
|
29
|
+
}
|
30
|
+
|
20
31
|
/**
|
21
32
|
* Set `margin-bottom` to maintain vertical rhythm
|
22
33
|
*/
|
@@ -76,17 +87,15 @@ a {
|
|
76
87
|
|
77
88
|
blockquote {
|
78
89
|
font-family: $alt-font-family;
|
79
|
-
color: $grey-color;
|
80
|
-
letter-spacing: -1px;
|
81
|
-
font-style: italic;
|
82
|
-
|
83
|
-
padding-right: $spacing-unit / 2;
|
84
|
-
padding-left: none;
|
85
90
|
font-size: x-large;
|
86
|
-
|
87
|
-
|
91
|
+
font-style: italic;
|
92
|
+
|
93
|
+
letter-spacing: -1px;
|
88
94
|
line-height: 1.45;
|
95
|
+
color: $grey-color;
|
89
96
|
|
97
|
+
padding-right: $spacing-unit / 2;
|
98
|
+
|
90
99
|
> p {
|
91
100
|
border-right: 4px solid $brand-color;
|
92
101
|
padding-right: $spacing-unit / 2;
|
@@ -95,8 +104,8 @@ blockquote {
|
|
95
104
|
|
96
105
|
pre {
|
97
106
|
direction: ltr;
|
98
|
-
border-radius: 3px;
|
99
107
|
border: 1px solid $grey-color-light;
|
108
|
+
border-radius: 3px;
|
100
109
|
padding: 8px 12px;
|
101
110
|
overflow-x: auto;
|
102
111
|
> code {
|
data/_sass/_footer.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
footer {
|
2
2
|
background: radial-gradient(black 15%, transparent 16%) 0 0, radial-gradient(black 15%, transparent 16%) 8px 8px, radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 0 1px, radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 8px 9px;
|
3
3
|
background-color: #282828;
|
4
4
|
background-size: 16px 16px;
|
@@ -86,7 +86,7 @@
|
|
86
86
|
font-size: 9px;
|
87
87
|
}
|
88
88
|
|
89
|
-
|
89
|
+
footer {
|
90
90
|
text-align: center;
|
91
91
|
}
|
92
92
|
|
@@ -121,3 +121,7 @@
|
|
121
121
|
#license {
|
122
122
|
font-style: small;
|
123
123
|
}
|
124
|
+
|
125
|
+
#footer_build_status {
|
126
|
+
width: 4em;
|
127
|
+
}
|
data/_sass/_layout.scss
CHANGED
@@ -1,119 +1,36 @@
|
|
1
|
-
.container {
|
2
|
-
display: table;
|
3
|
-
width: 100%;
|
4
|
-
height: 100%;
|
5
|
-
}
|
6
|
-
|
7
|
-
.content {
|
8
|
-
display: table-row;
|
9
|
-
height: 100%;
|
10
|
-
}
|
11
|
-
|
12
1
|
.wrapper {
|
2
|
+
margin: 0 auto;
|
13
3
|
max-width: -webkit-calc(800px - (#{$spacing-unit} * 2));
|
14
4
|
max-width: calc(800px - (#{$spacing-unit} * 2));
|
15
|
-
margin: 0 auto;
|
16
|
-
padding: 0 $spacing-unit;
|
17
5
|
|
18
6
|
@include media-query($on-laptop) {
|
19
7
|
width: 89vw;
|
20
|
-
padding: 0 $spacing-unit / 2;
|
21
8
|
}
|
22
9
|
}
|
23
10
|
|
24
|
-
|
25
|
-
min-height: 56px;
|
11
|
+
header {
|
26
12
|
position: relative;
|
27
|
-
border-bottom: none;
|
28
13
|
|
29
14
|
background: radial-gradient(black 15%, transparent 16%) 0 0, radial-gradient(black 15%, transparent 16%) 8px 8px, radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 0 1px, radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 8px 9px;
|
30
15
|
background-color: #282828;
|
31
16
|
background-size: 16px 16px;
|
32
|
-
border-top: none;
|
33
17
|
color: white;
|
34
18
|
}
|
35
19
|
|
36
20
|
.site-title {
|
37
|
-
float: right;
|
38
21
|
font-size: 26px;
|
39
22
|
line-height: 56px;
|
40
23
|
letter-spacing: -1px;
|
41
24
|
margin-bottom: 0;
|
42
25
|
color: white;
|
43
26
|
|
44
|
-
&,
|
45
27
|
&:visited {
|
46
28
|
color: white;
|
47
29
|
}
|
48
30
|
}
|
49
31
|
|
50
|
-
|
51
|
-
|
52
|
-
line-height: 56px;
|
53
|
-
|
54
|
-
.menu-icon {
|
55
|
-
display: none;
|
56
|
-
}
|
57
|
-
|
58
|
-
.page-link {
|
59
|
-
color: $text-color;
|
60
|
-
line-height: $base-line-height;
|
61
|
-
|
62
|
-
// Gaps between nav items, but not on the first one
|
63
|
-
&:not(:first-child) {
|
64
|
-
margin-left: 20px;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
@include media-query($on-palm) {
|
69
|
-
right: -webkit-calc(88% - (#{$spacing-unit} / 2));
|
70
|
-
right: calc(88% - (#{$spacing-unit} / 2));
|
71
|
-
position: absolute;
|
72
|
-
top: 9px;
|
73
|
-
//right: 30px;
|
74
|
-
background-color: $background-color;
|
75
|
-
border: 1px solid $grey-color-light;
|
76
|
-
border-radius: 5px;
|
77
|
-
text-align: right;
|
78
|
-
|
79
|
-
.menu-icon {
|
80
|
-
display: block;
|
81
|
-
float: right;
|
82
|
-
width: 36px;
|
83
|
-
height: 26px;
|
84
|
-
line-height: 0;
|
85
|
-
padding-top: 10px;
|
86
|
-
text-align: center;
|
87
|
-
|
88
|
-
> svg {
|
89
|
-
width: 18px;
|
90
|
-
height: 15px;
|
91
|
-
|
92
|
-
path {
|
93
|
-
fill: $grey-color-dark;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
.trigger {
|
99
|
-
clear: both;
|
100
|
-
display: none;
|
101
|
-
}
|
102
|
-
|
103
|
-
&:hover .trigger {
|
104
|
-
display: block;
|
105
|
-
padding-bottom: 5px;
|
106
|
-
}
|
107
|
-
|
108
|
-
.page-link {
|
109
|
-
display: block;
|
110
|
-
padding: 5px 10px;
|
111
|
-
}
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.page-content {
|
116
|
-
padding: $spacing-unit 0;
|
32
|
+
#motto {
|
33
|
+
vertical-align: calc(40%);
|
117
34
|
}
|
118
35
|
|
119
36
|
.page-heading {
|
@@ -141,11 +58,18 @@
|
|
141
58
|
border-color: $brand-color;
|
142
59
|
}
|
143
60
|
|
61
|
+
.meta {
|
62
|
+
font-size: $small-font-size;
|
63
|
+
color: $grey-color;
|
64
|
+
}
|
65
|
+
|
144
66
|
.list-meta-col {
|
67
|
+
@extend .meta;
|
145
68
|
display: inline-block;
|
146
69
|
width: 160px;
|
147
70
|
text-align: right;
|
148
71
|
|
72
|
+
|
149
73
|
@include media-query(400px) {
|
150
74
|
display: none;
|
151
75
|
}
|