beautiful-jekyll-theme 2.3.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/404.html +1 -1
- data/README.md +119 -139
- data/_data/ui-text.yml +1 -1
- data/_includes/comments.html +2 -2
- data/_includes/disqus.html +11 -11
- data/_includes/ext-css.html +2 -2
- data/_includes/fb-comment.html +12 -10
- data/_includes/footer-minimal.html +11 -11
- data/_includes/footer-scripts.html +8 -2
- data/_includes/footer.html +15 -11
- data/_includes/google_analytics.html +8 -8
- data/_includes/gtag.html +2 -3
- data/_includes/gtm_body.html +3 -4
- data/_includes/gtm_head.html +9 -7
- data/_includes/head.html +90 -74
- data/_includes/header.html +52 -40
- data/_includes/nav.html +33 -44
- data/_includes/readtime.html +10 -10
- data/_includes/social-networks-links.html +57 -21
- data/_includes/social-share.html +8 -3
- data/_includes/staticman-comments.html +8 -8
- data/_includes/utterances-comment.html +1 -1
- data/_layouts/base.html +26 -21
- data/_layouts/default.html +17 -1
- data/_layouts/home.html +58 -28
- data/_layouts/minimal.html +28 -6
- data/_layouts/page.html +19 -2
- data/_layouts/post.html +25 -13
- data/assets/css/{main-minimal.css → beautifuljekyll-minimal.css} +3 -3
- data/assets/css/{main.css → beautifuljekyll.css} +470 -297
- data/assets/css/staticman.css +2 -2
- data/assets/img/thumb.png +0 -0
- data/assets/js/beautifuljekyll.js +114 -0
- data/assets/js/staticman.js +13 -13
- data/feed.xml +4 -3
- data/staticman.yml +110 -0
- metadata +36 -16
- data/assets/css/bootstrap-theme.css +0 -476
- data/assets/css/bootstrap-theme.css.map +0 -1
- data/assets/css/bootstrap-theme.min.css +0 -5
- data/assets/css/bootstrap.css +0 -6566
- data/assets/css/bootstrap.css.map +0 -1
- data/assets/css/bootstrap.min.css +0 -5
- data/assets/css/normalize.css +0 -427
- data/assets/js/bootstrap.js +0 -2306
- data/assets/js/bootstrap.min.js +0 -7
- data/assets/js/jquery-1.11.2.min.js +0 -4
- data/assets/js/main.js +0 -140
data/_layouts/default.html
CHANGED
@@ -4,6 +4,22 @@ layout: base
|
|
4
4
|
|
5
5
|
<div class="intro-header"></div>
|
6
6
|
|
7
|
-
<div role="main" class="container">
|
7
|
+
<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
|
8
|
+
{% if page.before-content %}
|
9
|
+
<div class="before-content">
|
10
|
+
{% for file in page.before-content %}
|
11
|
+
{% include {{ file }} %}
|
12
|
+
{% endfor %}
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
15
|
+
|
8
16
|
{{ content }}
|
17
|
+
|
18
|
+
{% if page.after-content %}
|
19
|
+
<div class="after-content">
|
20
|
+
{% for file in page.after-content %}
|
21
|
+
{% include {{ file }} %}
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
24
|
+
{% endif %}
|
9
25
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -9,7 +9,32 @@ layout: page
|
|
9
9
|
<div class="posts-list">
|
10
10
|
{% for post in posts %}
|
11
11
|
<article class="post-preview">
|
12
|
-
|
12
|
+
|
13
|
+
{%- capture thumbnail -%}
|
14
|
+
{% if post.thumbnail-img %}
|
15
|
+
{{ post.thumbnail-img }}
|
16
|
+
{% elsif post.cover-img %}
|
17
|
+
{% if post.cover-img.first %}
|
18
|
+
{{ post.cover-img[0].first.first }}
|
19
|
+
{% else %}
|
20
|
+
{{ post.cover-img }}
|
21
|
+
{% endif %}
|
22
|
+
{% else %}
|
23
|
+
{% endif %}
|
24
|
+
{% endcapture %}
|
25
|
+
{% assign thumbnail=thumbnail | strip %}
|
26
|
+
|
27
|
+
{% if site.feed_show_excerpt == false %}
|
28
|
+
{% if thumbnail != "" %}
|
29
|
+
<div class="post-image post-image-normal">
|
30
|
+
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
|
31
|
+
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
|
32
|
+
</a>
|
33
|
+
</div>
|
34
|
+
{% endif %}
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
<a href="{{ post.url | absolute_url }}">
|
13
38
|
<h2 class="post-title">{{ post.title }}</h2>
|
14
39
|
|
15
40
|
{% if post.subtitle %}
|
@@ -24,34 +49,39 @@ layout: page
|
|
24
49
|
Posted on {{ post.date | date: date_format }}
|
25
50
|
</p>
|
26
51
|
|
27
|
-
|
28
|
-
|
29
|
-
<
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
52
|
+
{% if thumbnail != "" %}
|
53
|
+
<div class="post-image post-image-small">
|
54
|
+
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
|
55
|
+
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
|
56
|
+
</a>
|
57
|
+
</div>
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
{% unless site.feed_show_excerpt == false %}
|
61
|
+
{% if thumbnail != "" %}
|
62
|
+
<div class="post-image post-image-short">
|
63
|
+
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
|
64
|
+
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
|
65
|
+
</a>
|
66
|
+
</div>
|
67
|
+
{% endif %}
|
68
|
+
|
69
|
+
<div class="post-entry">
|
70
|
+
{% assign excerpt_length = site.excerpt_length | default: 50 %}
|
71
|
+
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
|
72
|
+
{% assign excerpt_word_count = post.excerpt | number_of_words %}
|
73
|
+
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
|
74
|
+
<a href="{{ post.url | absolute_url }}" class="post-read-more">[Read More]</a>
|
34
75
|
{% endif %}
|
35
|
-
<div class="post-entry">
|
36
|
-
{% assign excerpt_length = site.excerpt_length | default: 50 %}
|
37
|
-
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
|
38
|
-
{% assign excerpt_word_count = post.excerpt | number_of_words %}
|
39
|
-
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
|
40
|
-
<a href="{{ post.url | relative_url }}" class="post-read-more">[Read More]</a>
|
41
|
-
{% endif %}
|
42
|
-
</div>
|
43
76
|
</div>
|
77
|
+
{% endunless %}
|
44
78
|
|
45
|
-
{% if post.tags.size > 0 %}
|
79
|
+
{% if site.feed_show_tags != false and post.tags.size > 0 %}
|
46
80
|
<div class="blog-tags">
|
47
|
-
Tags
|
48
|
-
{% if site.link-tags %}
|
81
|
+
<span>Tags:</span>
|
49
82
|
{% for tag in post.tags %}
|
50
|
-
<a href="{{ '/tags' |
|
83
|
+
<a href="{{ '/tags' | absolute_url }}#{{- tag -}}">{{- tag -}}</a>
|
51
84
|
{% endfor %}
|
52
|
-
{% else %}
|
53
|
-
{{ post.tags | join: ", " }}
|
54
|
-
{% endif %}
|
55
85
|
</div>
|
56
86
|
{% endif %}
|
57
87
|
|
@@ -60,15 +90,15 @@ layout: page
|
|
60
90
|
</div>
|
61
91
|
|
62
92
|
{% if paginator.total_pages > 1 %}
|
63
|
-
<ul class="
|
93
|
+
<ul class="pagination main-pager">
|
64
94
|
{% if paginator.previous_page %}
|
65
|
-
<li class="previous">
|
66
|
-
<a href="{{ paginator.previous_page_path |
|
95
|
+
<li class="page-item previous">
|
96
|
+
<a class="page-link" href="{{ paginator.previous_page_path | absolute_url }}">← Newer Posts</a>
|
67
97
|
</li>
|
68
98
|
{% endif %}
|
69
99
|
{% if paginator.next_page %}
|
70
|
-
<li class="next">
|
71
|
-
<a href="{{ paginator.next_page_path |
|
100
|
+
<li class="page-item next">
|
101
|
+
<a class="page-link" href="{{ paginator.next_page_path | absolute_url }}">Older Posts →</a>
|
72
102
|
</li>
|
73
103
|
{% endif %}
|
74
104
|
</ul>
|
data/_layouts/minimal.html
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
---
|
2
2
|
common-css:
|
3
|
-
- "/assets/css/
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
- "/assets/css/beautifuljekyll-minimal.css"
|
4
|
+
common-ext-css:
|
5
|
+
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
6
|
+
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
7
|
+
common-ext-js:
|
8
|
+
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
|
9
|
+
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
|
10
|
+
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
11
|
+
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
12
|
+
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
13
|
+
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
8
14
|
---
|
9
15
|
|
10
16
|
<!DOCTYPE html>
|
@@ -14,8 +20,24 @@ common-js:
|
|
14
20
|
|
15
21
|
<body>
|
16
22
|
|
17
|
-
<div role="main" class="container main-content">
|
23
|
+
<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %} main-content">
|
24
|
+
{% if page.before-content %}
|
25
|
+
<div class="before-content">
|
26
|
+
{% for file in page.before-content %}
|
27
|
+
{% include {{ file }} %}
|
28
|
+
{% endfor %}
|
29
|
+
</div>
|
30
|
+
{% endif %}
|
31
|
+
|
18
32
|
{{ content }}
|
33
|
+
|
34
|
+
{% if page.after-content %}
|
35
|
+
<div class="after-content">
|
36
|
+
{% for file in page.after-content %}
|
37
|
+
{% include {{ file }} %}
|
38
|
+
{% endfor %}
|
39
|
+
</div>
|
40
|
+
{% endif %}
|
19
41
|
</div>
|
20
42
|
|
21
43
|
{% include footer-minimal.html %}
|
data/_layouts/page.html
CHANGED
@@ -4,10 +4,27 @@ layout: base
|
|
4
4
|
|
5
5
|
{% include header.html type="page" %}
|
6
6
|
|
7
|
-
<div class="container" role="main">
|
7
|
+
<div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}" role="main">
|
8
8
|
<div class="row">
|
9
|
-
<div class="col-
|
9
|
+
<div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
|
10
|
+
{% if page.before-content %}
|
11
|
+
<div class="before-content">
|
12
|
+
{% for file in page.before-content %}
|
13
|
+
{% include {{ file }} %}
|
14
|
+
{% endfor %}
|
15
|
+
</div>
|
16
|
+
{% endif %}
|
17
|
+
|
10
18
|
{{ content }}
|
19
|
+
|
20
|
+
{% if page.after-content %}
|
21
|
+
<div class="after-content">
|
22
|
+
{% for file in page.after-content %}
|
23
|
+
{% include {{ file }} %}
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
{% endif %}
|
27
|
+
|
11
28
|
{% include comments.html %}
|
12
29
|
</div>
|
13
30
|
</div>
|
data/_layouts/post.html
CHANGED
@@ -4,9 +4,9 @@ layout: base
|
|
4
4
|
|
5
5
|
{% include header.html type="post" %}
|
6
6
|
|
7
|
-
<div class="container">
|
7
|
+
<div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
|
8
8
|
<div class="row">
|
9
|
-
<div class="col-
|
9
|
+
<div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
|
10
10
|
|
11
11
|
{% if page.gh-repo %}
|
12
12
|
{% assign gh_split = page.gh-repo | split:'/' %}
|
@@ -31,20 +31,32 @@ layout: base
|
|
31
31
|
</div>
|
32
32
|
{% endif %}
|
33
33
|
|
34
|
+
{% if page.before-content %}
|
35
|
+
<div class="before-content">
|
36
|
+
{% for file in page.before-content %}
|
37
|
+
{% include {{ file }} %}
|
38
|
+
{% endfor %}
|
39
|
+
</div>
|
40
|
+
{% endif %}
|
41
|
+
|
34
42
|
<article role="main" class="blog-post">
|
35
43
|
{{ content }}
|
36
44
|
</article>
|
37
45
|
|
38
46
|
{% if page.tags.size > 0 %}
|
39
47
|
<div class="blog-tags">
|
40
|
-
Tags
|
41
|
-
{% if site.link-tags %}
|
48
|
+
<span>Tags:</span>
|
42
49
|
{% for tag in page.tags %}
|
43
50
|
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
|
44
51
|
{% endfor %}
|
45
|
-
|
46
|
-
|
47
|
-
|
52
|
+
</div>
|
53
|
+
{% endif %}
|
54
|
+
|
55
|
+
{% if page.after-content %}
|
56
|
+
<div class="after-content">
|
57
|
+
{% for file in page.after-content %}
|
58
|
+
{% include {{ file }} %}
|
59
|
+
{% endfor %}
|
48
60
|
</div>
|
49
61
|
{% endif %}
|
50
62
|
|
@@ -52,19 +64,19 @@ layout: base
|
|
52
64
|
{% include social-share.html %}
|
53
65
|
{% endif %}
|
54
66
|
|
55
|
-
<ul class="
|
67
|
+
<ul class="pagination blog-pager">
|
56
68
|
{% if page.previous.url %}
|
57
|
-
<li class="previous">
|
58
|
-
<a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
69
|
+
<li class="page-item previous">
|
70
|
+
<a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
59
71
|
</li>
|
60
72
|
{% endif %}
|
61
73
|
{% if page.next.url %}
|
62
|
-
<li class="next">
|
63
|
-
<a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
74
|
+
<li class="page-item next">
|
75
|
+
<a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
64
76
|
</li>
|
65
77
|
{% endif %}
|
66
78
|
</ul>
|
67
|
-
|
79
|
+
{% include comments.html %}
|
68
80
|
</div>
|
69
81
|
</div>
|
70
82
|
</div>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
.main-content {
|
2
|
-
padding-bottom:
|
2
|
+
padding-bottom: 3.125rem;
|
3
3
|
}
|
4
4
|
|
5
5
|
footer.footer-min {
|
6
6
|
position: fixed;
|
7
7
|
bottom: 0;
|
8
8
|
width: 100%;
|
9
|
-
padding:
|
9
|
+
padding: 0.1875rem;
|
10
10
|
background-color: #f5f5f5;
|
11
11
|
border-top: 1px solid #eeeeee;
|
12
12
|
text-align: center;
|
13
|
-
}
|
13
|
+
}
|
@@ -6,10 +6,14 @@ layout: null
|
|
6
6
|
|
7
7
|
/* --- General --- */
|
8
8
|
|
9
|
+
html {
|
10
|
+
font-size: 100%
|
11
|
+
}
|
12
|
+
|
9
13
|
body {
|
10
14
|
font-family: 'Lora', 'Times New Roman', serif;
|
11
|
-
font-size:
|
12
|
-
color: #404040;
|
15
|
+
font-size: 1.125rem;
|
16
|
+
color: {{ site.text-col | default: "#404040" }};
|
13
17
|
position: relative;
|
14
18
|
background-color: {{ site.page-col | default: "#FFFFFF" }};
|
15
19
|
{% if site.page-img %}
|
@@ -19,11 +23,27 @@ body {
|
|
19
23
|
}
|
20
24
|
p {
|
21
25
|
line-height: 1.5;
|
22
|
-
margin:
|
26
|
+
margin: 1.875rem 0;
|
23
27
|
}
|
24
28
|
h1,h2,h3,h4,h5,h6 {
|
25
29
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
26
30
|
font-weight: 800;
|
31
|
+
line-height: 1.1;
|
32
|
+
}
|
33
|
+
h1 {
|
34
|
+
font-size: 2.25rem;
|
35
|
+
}
|
36
|
+
h2 {
|
37
|
+
font-size: 1.875rem;
|
38
|
+
}
|
39
|
+
h3 {
|
40
|
+
font-size: 1.5rem;
|
41
|
+
}
|
42
|
+
h4 {
|
43
|
+
font-size: 1.125rem;
|
44
|
+
}
|
45
|
+
h1, h2, h3, h4 {
|
46
|
+
margin-top: 1.25rem;
|
27
47
|
}
|
28
48
|
a {
|
29
49
|
color: {{ site.link-col | default: "#008AFF" }};
|
@@ -40,35 +60,30 @@ blockquote p:first-child {
|
|
40
60
|
margin-top: 0;
|
41
61
|
}
|
42
62
|
hr.small {
|
43
|
-
max-width:
|
44
|
-
margin:
|
45
|
-
border-width:
|
63
|
+
max-width: 6.25rem;
|
64
|
+
margin: 1rem auto;
|
65
|
+
border-width: 0.25rem;
|
46
66
|
border-color: inherit;
|
47
|
-
border-radius:
|
67
|
+
border-radius: 0.1875rem;
|
48
68
|
}
|
49
69
|
|
50
70
|
/* fix in-page anchors to not be behind fixed header */
|
51
|
-
:target:before {
|
71
|
+
:target:before {
|
52
72
|
content: "";
|
53
73
|
display: block;
|
54
|
-
height:
|
55
|
-
margin: -
|
74
|
+
height: 3.125rem; /* navbar height */
|
75
|
+
margin: -3.125rem 0 0;
|
56
76
|
}
|
57
77
|
|
58
78
|
.main-content {
|
59
|
-
padding-top:
|
79
|
+
padding-top: 5rem;
|
60
80
|
}
|
61
|
-
@media
|
81
|
+
@media (min-width: 768px) {
|
62
82
|
.main-content {
|
63
|
-
padding-top:
|
83
|
+
padding-top: 8.125rem;
|
64
84
|
}
|
65
85
|
}
|
66
86
|
|
67
|
-
.main-explain-area {
|
68
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
69
|
-
padding: 15px inherit;
|
70
|
-
}
|
71
|
-
|
72
87
|
.hideme {
|
73
88
|
display: none;
|
74
89
|
}
|
@@ -96,106 +111,242 @@ img {
|
|
96
111
|
max-width: 100%;
|
97
112
|
}
|
98
113
|
|
114
|
+
.linked-section {
|
115
|
+
padding-top: 3.75rem;
|
116
|
+
margin-top: -1.5625rem;
|
117
|
+
}
|
118
|
+
|
119
|
+
/* Comments */
|
120
|
+
|
99
121
|
.disqus-comments {
|
100
|
-
margin-top:
|
122
|
+
margin-top: 1.875rem;
|
101
123
|
}
|
102
124
|
|
103
|
-
@media
|
125
|
+
@media (min-width: 768px) {
|
104
126
|
.disqus-comments {
|
105
|
-
margin-top:
|
127
|
+
margin-top: 2.5rem;
|
106
128
|
}
|
107
129
|
}
|
108
130
|
|
109
|
-
.linked-section {
|
110
|
-
padding-top: 60px;
|
111
|
-
margin-top: -25px;
|
112
|
-
}
|
113
|
-
|
114
131
|
/* --- Navbar --- */
|
115
132
|
|
116
133
|
.navbar-custom {
|
117
|
-
background-color: {{ site.navbar-col | default: "#
|
118
|
-
border-bottom: 1px solid #
|
134
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
135
|
+
border-bottom: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
119
136
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
120
137
|
{% if site.navbar-img %}
|
121
|
-
|
122
|
-
|
138
|
+
background-image: url({{ site.navbar-img | relative_url }});
|
139
|
+
background-attachment: fixed;
|
123
140
|
{% endif %}
|
141
|
+
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
142
|
+
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
143
|
+
transition: background .5s ease-in-out,padding .5s ease-in-out;
|
124
144
|
}
|
125
145
|
|
126
|
-
.navbar-custom
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
.navbar-custom .navbar-brand,
|
133
|
-
.navbar-custom .nav li a {
|
134
|
-
font-weight: 800;
|
135
|
-
color: {{ site.navbar-text-col | default: "#404040" }};
|
146
|
+
.navbar-custom,
|
147
|
+
.navbar-custom.top-nav-short,
|
148
|
+
.navbar-custom.top-nav-short-permanent {
|
149
|
+
padding-top: 0;
|
150
|
+
padding-bottom: 0;
|
136
151
|
}
|
137
152
|
|
138
|
-
.navbar-custom .navbar-brand
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
153
|
+
.navbar-custom .navbar-brand {
|
154
|
+
line-height: 1.5;
|
155
|
+
padding-top: 0.625rem;
|
156
|
+
padding-bottom: 0.625rem;
|
157
|
+
font-size: 1.125rem;
|
143
158
|
}
|
144
159
|
|
145
160
|
.navbar-custom .navbar-brand-logo {
|
146
|
-
padding-top: 0;
|
147
161
|
-webkit-transition: padding .5s ease-in-out;
|
148
162
|
-moz-transition: padding .5s ease-in-out;
|
149
163
|
transition: padding .5s ease-in-out;
|
150
164
|
}
|
165
|
+
|
166
|
+
.navbar-custom .navbar-brand-logo,
|
167
|
+
.navbar-custom.top-nav-short .navbar-brand-logo,
|
168
|
+
.navbar-custom.top-nav-short-permanent .navbar-brand-logo {
|
169
|
+
padding-top: 0.3125rem;
|
170
|
+
padding-bottom: 0.3125rem;
|
171
|
+
}
|
172
|
+
|
151
173
|
.navbar-custom .navbar-brand-logo img {
|
152
|
-
height: 50px;
|
153
174
|
-webkit-transition: height .5s ease-in-out;
|
154
175
|
-moz-transition: height .5s ease-in-out;
|
155
176
|
transition: height .5s ease-in-out;
|
156
177
|
}
|
157
|
-
|
158
|
-
|
178
|
+
|
179
|
+
.navbar-custom .navbar-brand-logo img,
|
180
|
+
.navbar-custom.top-nav-short .navbar-brand-logo img,
|
181
|
+
.navbar-custom.top-nav-short-permanent .navbar-brand-logo img {
|
182
|
+
height: 2.5rem;
|
183
|
+
}
|
184
|
+
|
185
|
+
.navbar-custom .navbar-brand:hover,
|
186
|
+
.navbar-custom .navbar-brand:focus ,
|
187
|
+
.navbar-custom .navbar-nav .nav-link:hover,
|
188
|
+
.navbar-custom .navbar-nav .nav-link:focus,
|
189
|
+
.navbar-custom .navbar-nav .dropdown-item:hover,
|
190
|
+
.navbar-custom .navbar-nav .dropdown-item:focus {
|
191
|
+
color: {{ site.hover-col | default: "#0085A1" }};
|
192
|
+
}
|
193
|
+
|
194
|
+
.navbar-custom .navbar-nav .nav-item {
|
195
|
+
text-transform: uppercase;
|
196
|
+
font-size: 0.8125rem;
|
197
|
+
letter-spacing: 0.0625rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
.navbar-custom .navbar-nav .nav-link {
|
201
|
+
padding-top: 0;
|
202
|
+
padding-bottom: 0;
|
203
|
+
line-height: 1.25rem;
|
204
|
+
padding-top: 0.9375rem;
|
205
|
+
padding-bottom: 0.9375rem;
|
206
|
+
}
|
207
|
+
|
208
|
+
.navbar-custom .navbar-brand,
|
209
|
+
.navbar-custom .navbar-nav .nav-link {
|
210
|
+
font-weight: 800;
|
211
|
+
color: {{ site.navbar-text-col | default: "#404040" }};
|
212
|
+
}
|
213
|
+
|
214
|
+
.navbar-toggler {
|
215
|
+
font-size: 1rem;
|
216
|
+
margin: 0.5rem 0;
|
217
|
+
}
|
218
|
+
.navbar-custom .navbar-toggler:focus,
|
219
|
+
.navbar-custom .navbar-toggler:hover {
|
220
|
+
background-color: initial;
|
159
221
|
}
|
160
|
-
|
161
|
-
|
222
|
+
|
223
|
+
.navbar-custom .navbar-toggler[aria-expanded="true"] {
|
224
|
+
background-color: rgba(0, 0, 0, 0.2);
|
225
|
+
}
|
226
|
+
|
227
|
+
.dropdown-toggle::after {
|
228
|
+
border-width: 0.4em;
|
162
229
|
}
|
163
230
|
|
164
|
-
@media
|
231
|
+
@media (min-width: 768px) {
|
165
232
|
.navbar-custom {
|
166
|
-
padding:
|
167
|
-
-
|
168
|
-
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
169
|
-
transition: background .5s ease-in-out,padding .5s ease-in-out;
|
233
|
+
padding-top: 1.25rem;
|
234
|
+
padding-bottom: 1.25rem;
|
170
235
|
}
|
171
236
|
|
172
|
-
.navbar-custom.
|
173
|
-
|
174
|
-
padding: 0;
|
237
|
+
.navbar-custom .navbar-brand-logo {
|
238
|
+
padding-top: 0;
|
239
|
+
padding-bottom: 0;
|
240
|
+
}
|
241
|
+
|
242
|
+
.navbar-custom .navbar-brand-logo img {
|
243
|
+
height: 3.125rem;
|
244
|
+
}
|
245
|
+
|
246
|
+
.navbar-expand-md .navbar-nav .nav-link {
|
247
|
+
padding-left: 0.9375rem;
|
248
|
+
padding-right: 0.9375rem;
|
249
|
+
}
|
250
|
+
|
251
|
+
.navbar-expand-md .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
|
252
|
+
padding-right: 0;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
@media (min-width: 768px) {
|
257
|
+
.navbar-custom .nav-item.dropdown:hover {
|
258
|
+
background: rgba(0, 0, 0, 0.1);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
.navbar-custom .nav-item.dropdown.show {
|
263
|
+
background: rgba(0, 0, 0, 0.2);
|
264
|
+
}
|
265
|
+
|
266
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
267
|
+
min-width: 0;
|
268
|
+
margin-top: 0;
|
269
|
+
font-size: 1em;
|
270
|
+
border: 0;
|
271
|
+
padding: 0;
|
272
|
+
width: 100%;
|
273
|
+
word-break: break-word;
|
274
|
+
}
|
275
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
276
|
+
white-space: normal;
|
277
|
+
padding: 0.625rem;
|
278
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
279
|
+
text-decoration: none !important;
|
280
|
+
border-width: 0 1px 1px 1px;
|
281
|
+
font-weight: normal;
|
282
|
+
}
|
283
|
+
|
284
|
+
@media (min-width: 768px) {
|
285
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
286
|
+
text-align: center;
|
287
|
+
}
|
288
|
+
|
289
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
290
|
+
padding-left: 0.625rem;
|
291
|
+
border: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
292
|
+
border-width: 0 1px 1px;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
@media (max-width: 767px) {
|
297
|
+
.navbar-custom .navbar-collapse {
|
298
|
+
border-top: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
299
|
+
margin: 0 -1rem;
|
300
|
+
}
|
301
|
+
|
302
|
+
.navbar-custom .navbar-nav {
|
303
|
+
padding: 0.5rem 0;
|
304
|
+
}
|
305
|
+
|
306
|
+
.navbar-custom .navbar-nav .nav-link {
|
307
|
+
padding: 0.675rem 0 0.675rem 1rem;
|
308
|
+
}
|
309
|
+
|
310
|
+
.navbar-custom .nav-item.dropdown.show {
|
311
|
+
background: rgba(0, 0, 0, 0.2);
|
312
|
+
}
|
313
|
+
|
314
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
315
|
+
padding-left: 2rem;
|
175
316
|
}
|
176
317
|
}
|
177
318
|
|
178
319
|
.navbar-custom .avatar-container {
|
179
320
|
position: absolute;
|
180
321
|
left: 50%;
|
181
|
-
width:
|
182
|
-
margin-top:
|
322
|
+
width: 3.125rem;
|
323
|
+
margin-top: 3.1rem;
|
324
|
+
transition: opacity 0.5s ease-in-out;
|
325
|
+
-webkit-transition: opacity 0.5s ease-in-out;
|
326
|
+
-moz-transition: opacity 0.5s ease-in-out;
|
183
327
|
}
|
328
|
+
.navbar-custom.top-nav-short .avatar-container {
|
329
|
+
opacity: 0;
|
330
|
+
visibility: hidden;
|
331
|
+
transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
332
|
+
-webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
333
|
+
-moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
334
|
+
}
|
335
|
+
|
184
336
|
.navbar-custom .avatar-container .avatar-img-border {
|
185
337
|
width: 100%;
|
186
|
-
display: inline-block;
|
187
338
|
margin-left: -50%;
|
188
339
|
{% unless site.round-avatar == false %}
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
340
|
+
border-radius: 50%;
|
341
|
+
box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
|
342
|
+
-webkit-box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .8);
|
343
|
+
-moz-box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
|
193
344
|
{% endunless %}
|
194
345
|
}
|
195
346
|
.navbar-custom .avatar-container .avatar-img {
|
196
347
|
width: 100%;
|
197
348
|
{% unless site.round-avatar == false %}
|
198
|
-
|
349
|
+
border-radius: 50%;
|
199
350
|
{% endunless %}
|
200
351
|
display: block;
|
201
352
|
}
|
@@ -204,13 +355,12 @@ img {
|
|
204
355
|
display: none;
|
205
356
|
}
|
206
357
|
|
207
|
-
@media
|
208
|
-
.navbar-custom .avatar-container {
|
209
|
-
width:
|
210
|
-
margin-top: -50px;
|
358
|
+
@media (min-width: 768px) {
|
359
|
+
.navbar-custom.top-nav-regular .avatar-container {
|
360
|
+
width: 6.25rem;
|
211
361
|
}
|
212
362
|
|
213
|
-
.navbar-custom .avatar-container .avatar-img-border {
|
363
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
|
214
364
|
width: 100%;
|
215
365
|
{% unless site.round-avatar == false %}
|
216
366
|
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
@@ -219,76 +369,27 @@ img {
|
|
219
369
|
{% endunless %}
|
220
370
|
}
|
221
371
|
|
222
|
-
.navbar-custom .avatar-container .avatar-img {
|
372
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img {
|
223
373
|
width: 100%;
|
224
374
|
}
|
225
375
|
}
|
226
376
|
|
227
|
-
/* Multi-level navigation links */
|
228
|
-
.navbar-custom .nav .navlinks-container {
|
229
|
-
position: relative;
|
230
|
-
}
|
231
|
-
.navbar-custom .nav .navlinks-parent:after {
|
232
|
-
content: " \25BC";
|
233
|
-
}
|
234
|
-
.navbar-custom .nav .navlinks-children {
|
235
|
-
width: 100%;
|
236
|
-
display: none;
|
237
|
-
word-break: break-word;
|
238
|
-
}
|
239
|
-
.navbar-custom .nav .navlinks-container .navlinks-children a {
|
240
|
-
display: block;
|
241
|
-
padding: 10px;
|
242
|
-
padding-left: 30px;
|
243
|
-
background-color: {{ site.navbar-children-col | default: "#F5F5F5" }};
|
244
|
-
text-decoration: none !important;
|
245
|
-
border-width: 0 1px 1px 1px;
|
246
|
-
font-weight: normal;
|
247
|
-
}
|
248
|
-
@media only screen and (max-width: 767px) {
|
249
|
-
.navbar-custom .nav .navlinks-container.show-children {
|
250
|
-
background: rgba(0, 0, 0, 0.2);
|
251
|
-
}
|
252
|
-
.navbar-custom .nav .navlinks-container.show-children .navlinks-children {
|
253
|
-
display: block;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
@media only screen and (min-width: 768px) {
|
257
|
-
.navbar-custom .nav .navlinks-container {
|
258
|
-
text-align: center;
|
259
|
-
}
|
260
|
-
.navbar-custom .nav .navlinks-container:hover {
|
261
|
-
background: rgba(0, 0, 0, 0.1);
|
262
|
-
}
|
263
|
-
.navbar-custom .nav .navlinks-container:hover .navlinks-children {
|
264
|
-
display: block;
|
265
|
-
}
|
266
|
-
.navbar-custom .nav .navlinks-children {
|
267
|
-
position: absolute;
|
268
|
-
}
|
269
|
-
.navbar-custom .nav .navlinks-container .navlinks-children a {
|
270
|
-
padding-left: 10px;
|
271
|
-
border: 1px solid #eaeaea;
|
272
|
-
border-width: 0 1px 1px;
|
273
|
-
}
|
274
|
-
}
|
275
|
-
|
276
377
|
/* --- Footer --- */
|
277
378
|
|
278
379
|
footer {
|
279
|
-
padding:
|
380
|
+
padding: 1.875rem 0;
|
280
381
|
border-top: 1px #EAEAEA solid;
|
281
|
-
margin-top:
|
282
|
-
font-size:
|
283
|
-
background-color: {{ site.footer-col | default: "#
|
382
|
+
margin-top: 3.125rem;
|
383
|
+
font-size: 0.875rem;
|
384
|
+
background-color: {{ site.footer-col | default: "#EAEAEA" }};
|
284
385
|
{% if site.footer-img %}
|
285
|
-
|
286
|
-
|
386
|
+
background-image: url({{ site.footer-img | relative_url }});
|
387
|
+
background-attachment: fixed;
|
287
388
|
{% endif %}
|
288
389
|
}
|
289
390
|
|
290
391
|
footer p.text-muted {
|
291
|
-
color: {{ site.footer-text-col | default: "#777777" }};
|
392
|
+
color: {{ site.footer-text-col | default: "#777777" }} !important;
|
292
393
|
}
|
293
394
|
|
294
395
|
footer a {
|
@@ -298,7 +399,7 @@ footer a {
|
|
298
399
|
footer .list-inline {
|
299
400
|
margin: 0;
|
300
401
|
padding: 0;
|
301
|
-
margin-bottom:
|
402
|
+
margin-bottom: 1.875rem;
|
302
403
|
}
|
303
404
|
footer .copyright {
|
304
405
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
@@ -308,39 +409,40 @@ footer .copyright {
|
|
308
409
|
}
|
309
410
|
footer .theme-by {
|
310
411
|
text-align: center;
|
311
|
-
margin:
|
412
|
+
margin: 0.625rem 0 0;
|
312
413
|
}
|
313
414
|
footer .footer-custom-content {
|
314
415
|
text-align: center;
|
315
|
-
margin-bottom:
|
416
|
+
margin-bottom: 0.9375rem;
|
316
417
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
317
418
|
}
|
318
419
|
|
319
|
-
@media
|
420
|
+
@media (min-width: 768px) {
|
320
421
|
footer {
|
321
|
-
padding:
|
422
|
+
padding: 3.125rem 0;
|
322
423
|
}
|
323
424
|
footer .footer-links {
|
324
|
-
font-size:
|
425
|
+
font-size: 1.125rem;
|
325
426
|
}
|
326
427
|
footer .copyright {
|
327
|
-
font-size:
|
428
|
+
font-size: 1rem;
|
328
429
|
}
|
329
430
|
footer .footer-custom-content {
|
330
|
-
font-size:
|
431
|
+
font-size: 1rem;
|
331
432
|
}
|
332
433
|
}
|
333
434
|
|
334
|
-
/* --- Post preview --- */
|
435
|
+
/* --- Post preview (feed) --- */
|
335
436
|
|
336
437
|
.post-preview {
|
337
|
-
padding:
|
438
|
+
padding: 1.25rem 0;
|
338
439
|
border-bottom: 1px solid #eee;
|
440
|
+
overflow: hidden;
|
339
441
|
}
|
340
442
|
|
341
|
-
@media
|
443
|
+
@media (min-width: 768px) {
|
342
444
|
.post-preview {
|
343
|
-
padding:
|
445
|
+
padding: 2.1875rem 0;
|
344
446
|
}
|
345
447
|
}
|
346
448
|
|
@@ -350,7 +452,8 @@ footer .footer-custom-content {
|
|
350
452
|
|
351
453
|
.post-preview a {
|
352
454
|
text-decoration: none;
|
353
|
-
|
455
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
456
|
+
color: {{ site.text-col | default: "#404040" }};
|
354
457
|
}
|
355
458
|
|
356
459
|
.post-preview a:focus,
|
@@ -360,53 +463,91 @@ footer .footer-custom-content {
|
|
360
463
|
}
|
361
464
|
|
362
465
|
.post-preview .post-title {
|
363
|
-
font-size:
|
466
|
+
font-size: 1.875rem;
|
364
467
|
margin-top: 0;
|
365
468
|
}
|
366
469
|
.post-preview .post-subtitle {
|
367
470
|
margin: 0;
|
368
471
|
font-weight: 300;
|
369
|
-
margin-bottom:
|
472
|
+
margin-bottom: 0.625rem;
|
370
473
|
}
|
371
474
|
.post-preview .post-meta,
|
372
475
|
.post-heading .post-meta {
|
373
476
|
color: #808080;
|
374
|
-
font-size:
|
477
|
+
font-size: 1.125rem;
|
375
478
|
font-style: italic;
|
376
|
-
margin: 0 0
|
377
|
-
|
378
|
-
.post-preview .post-entry {
|
379
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
479
|
+
margin: 0 0 0.625rem;
|
480
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
380
481
|
}
|
381
|
-
.post-
|
482
|
+
.post-heading .post-meta {
|
382
483
|
display: inline-block;
|
383
|
-
width: 100%;
|
384
484
|
}
|
385
|
-
|
485
|
+
@media (max-width: 767px) {
|
486
|
+
.post-heading .post-meta {
|
487
|
+
display: block;
|
488
|
+
margin-bottom: 0;
|
489
|
+
}
|
490
|
+
}
|
491
|
+
.post-heading .post-meta .middot {
|
492
|
+
margin: 0 0.625rem;
|
493
|
+
}
|
494
|
+
.post-preview .post-entry {
|
386
495
|
width: 100%;
|
387
496
|
}
|
388
|
-
.post-image {
|
497
|
+
.post-preview .post-image {
|
389
498
|
float: right;
|
390
|
-
|
391
|
-
|
392
|
-
|
499
|
+
margin-left: 0.625rem;
|
500
|
+
height: 12rem;
|
501
|
+
width: 12rem;
|
502
|
+
}
|
503
|
+
.post-preview .post-image {
|
393
504
|
filter: grayscale(90%);
|
394
505
|
}
|
395
|
-
.post-image:hover {
|
506
|
+
.post-preview .post-image:hover {
|
396
507
|
filter: grayscale(0%);
|
397
508
|
}
|
398
|
-
.post-image img {
|
399
|
-
|
400
|
-
|
401
|
-
|
509
|
+
.post-preview .post-image img {
|
510
|
+
height: 100%;
|
511
|
+
width: 100%;
|
512
|
+
}
|
513
|
+
.post-preview .post-image-short {
|
514
|
+
margin-top: -2.1875rem;
|
515
|
+
}
|
516
|
+
@media (max-width: 767px) {
|
517
|
+
.post-preview .post-image {
|
518
|
+
height: 9rem;
|
519
|
+
width: 9rem;
|
520
|
+
}
|
521
|
+
.post-preview .post-image-short {
|
522
|
+
margin-top: 0;
|
523
|
+
}
|
524
|
+
}
|
525
|
+
.post-preview .post-image-small {
|
526
|
+
width: 100%;
|
527
|
+
height: 100%;
|
528
|
+
text-align: center;
|
529
|
+
display: none;
|
530
|
+
}
|
531
|
+
.post-preview .post-image-small img {
|
532
|
+
width: 6.25rem;
|
533
|
+
height: 6.25rem;
|
534
|
+
}
|
535
|
+
@media (max-width: 500px) {
|
536
|
+
.post-preview .post-image {
|
537
|
+
display: none;
|
538
|
+
}
|
539
|
+
.post-preview .post-image-small {
|
540
|
+
display: block;
|
541
|
+
}
|
402
542
|
}
|
543
|
+
|
403
544
|
.post-preview .post-read-more {
|
404
545
|
font-weight: 800;
|
405
546
|
}
|
406
547
|
|
407
|
-
@media
|
548
|
+
@media (min-width: 768px) {
|
408
549
|
.post-preview .post-title {
|
409
|
-
font-size:
|
550
|
+
font-size: 2.25rem;
|
410
551
|
}
|
411
552
|
}
|
412
553
|
|
@@ -414,51 +555,69 @@ footer .footer-custom-content {
|
|
414
555
|
|
415
556
|
.blog-tags {
|
416
557
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
417
|
-
|
418
|
-
|
419
|
-
|
558
|
+
font-size: 0.9375rem;
|
559
|
+
margin-bottom: 1.875rem;
|
560
|
+
}
|
561
|
+
|
562
|
+
.blog-tags span {
|
563
|
+
color: {{ site.text-col | default: "#404040" }};
|
564
|
+
opacity: 0.8;
|
420
565
|
}
|
421
566
|
|
422
567
|
.blog-tags a {
|
423
|
-
color: {{ site.
|
568
|
+
color: {{ site.text-col | default: "#404040" }};
|
424
569
|
text-decoration: none;
|
425
|
-
padding:
|
570
|
+
padding: 0 0.3125rem;
|
571
|
+
opacity: 0.8;
|
572
|
+
border: 1px solid transparent;
|
573
|
+
border-radius: 0.1875rem;
|
426
574
|
}
|
427
575
|
|
428
576
|
.blog-tags a:hover {
|
429
|
-
|
430
|
-
color: {{ site.
|
431
|
-
|
577
|
+
opacity: 1;
|
578
|
+
color: {{ site.text-col | default: "#404040" }};
|
579
|
+
border-color: {{ site.text-col | default: "#404040" }};
|
432
580
|
}
|
433
581
|
|
434
582
|
.post-preview .blog-tags {
|
435
|
-
margin-top:
|
583
|
+
margin-top: 0.3125rem;
|
436
584
|
margin-bottom: 0;
|
437
585
|
}
|
438
586
|
|
439
|
-
@media
|
587
|
+
@media (min-width: 768px) {
|
440
588
|
.post-preview .blog-tags {
|
441
|
-
margin-top:
|
589
|
+
margin-top: 0.625rem;
|
442
590
|
}
|
443
591
|
}
|
444
592
|
|
445
|
-
|
446
|
-
.post-image, .post-image img {
|
447
|
-
height: 100px;
|
448
|
-
width: 100px;
|
449
|
-
}
|
593
|
+
/* Tags page */
|
450
594
|
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
595
|
+
.tag-btn {
|
596
|
+
margin: 0.3125rem;
|
597
|
+
}
|
598
|
+
|
599
|
+
#full-tags-list {
|
600
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
457
601
|
}
|
602
|
+
|
603
|
+
#full-tags-list .tag-entry {
|
604
|
+
margin: 0 0 0.9375rem 1.5625rem;
|
605
|
+
}
|
606
|
+
|
607
|
+
#full-tags-list .tag-entry a {
|
608
|
+
font-size: 1.25rem;
|
609
|
+
}
|
610
|
+
|
611
|
+
#full-tags-list .tag-entry .entry-date {
|
612
|
+
color: #808080;
|
613
|
+
font-style: italic;
|
614
|
+
font-size: 1rem;
|
615
|
+
}
|
616
|
+
|
458
617
|
/* --- Post and page headers --- */
|
459
618
|
|
460
619
|
.intro-header {
|
461
|
-
margin:
|
620
|
+
margin: 5rem 0 1.25rem;
|
462
621
|
position: relative;
|
463
622
|
}
|
464
623
|
.intro-header.big-img {
|
@@ -467,8 +626,14 @@ footer .footer-custom-content {
|
|
467
626
|
-moz-background-size: cover;
|
468
627
|
background-size: cover;
|
469
628
|
-o-background-size: cover;
|
470
|
-
margin-top:
|
471
|
-
margin-bottom:
|
629
|
+
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
|
630
|
+
margin-bottom: 2.1875rem;
|
631
|
+
}
|
632
|
+
nav.top-nav-short-permanent ~ header > .intro-header {
|
633
|
+
margin-top: 5rem;
|
634
|
+
}
|
635
|
+
nav.top-nav-short-permanent ~ header > .intro-header.big-img {
|
636
|
+
margin-top: 3.1875rem;
|
472
637
|
}
|
473
638
|
.intro-header.big-img .big-img-transition {
|
474
639
|
position: absolute;
|
@@ -489,29 +654,29 @@ footer .footer-custom-content {
|
|
489
654
|
}
|
490
655
|
.intro-header.big-img .page-heading,
|
491
656
|
.intro-header.big-img .post-heading {
|
492
|
-
padding:
|
657
|
+
padding: 6.25rem 0;
|
493
658
|
color: #FFF;
|
494
659
|
text-shadow: 1px 1px 3px #000;
|
495
660
|
}
|
496
661
|
.intro-header .page-heading h1 {
|
497
662
|
margin-top: 0;
|
498
|
-
font-size:
|
663
|
+
font-size: 3.125rem;
|
499
664
|
}
|
500
665
|
.intro-header .post-heading h1 {
|
501
666
|
margin-top: 0;
|
502
|
-
font-size:
|
667
|
+
font-size: 2.1875rem;
|
503
668
|
}
|
504
669
|
.intro-header .page-heading .page-subheading,
|
505
670
|
.intro-header .post-heading .post-subheading {
|
506
|
-
font-size:
|
671
|
+
font-size: 1.6875rem;
|
507
672
|
line-height: 1.1;
|
508
673
|
display: block;
|
509
674
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
510
675
|
font-weight: 300;
|
511
|
-
margin:
|
676
|
+
margin: 0.625rem 0 0;
|
512
677
|
}
|
513
678
|
.intro-header .post-heading .post-subheading {
|
514
|
-
margin-bottom:
|
679
|
+
margin-bottom: 1.25rem;
|
515
680
|
}
|
516
681
|
.intro-header.big-img .page-heading .page-subheading,
|
517
682
|
.intro-header.big-img .post-heading .post-subheading {
|
@@ -528,54 +693,54 @@ footer .footer-custom-content {
|
|
528
693
|
.intro-header.big-img .img-desc {
|
529
694
|
background: rgba(30, 30, 30, 0.6);
|
530
695
|
position: absolute;
|
531
|
-
padding:
|
532
|
-
font-size:
|
696
|
+
padding: 0.3125rem 0.625rem;
|
697
|
+
font-size: 0.6875rem;
|
533
698
|
color: #EEE;
|
534
699
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
535
700
|
right: 0;
|
536
701
|
bottom: 0;
|
537
702
|
display: none;
|
538
703
|
}
|
539
|
-
@media
|
704
|
+
@media (min-width: 768px) {
|
540
705
|
.intro-header {
|
541
|
-
margin-top:
|
706
|
+
margin-top: 8.125rem;
|
542
707
|
}
|
543
708
|
.intro-header.big-img {
|
544
|
-
margin-top:
|
709
|
+
margin-top: 5.6875rem; /* Full navbar is small navbar + 20px padding on each side when expanded */
|
545
710
|
}
|
546
711
|
.intro-header.big-img .page-heading,
|
547
712
|
.intro-header.big-img .post-heading {
|
548
|
-
padding:
|
713
|
+
padding: 9.375rem 0;
|
549
714
|
}
|
550
715
|
.intro-header .page-heading h1 {
|
551
|
-
font-size:
|
716
|
+
font-size: 5rem;
|
552
717
|
}
|
553
718
|
.intro-header .post-heading h1 {
|
554
|
-
font-size:
|
719
|
+
font-size: 3.125rem;
|
555
720
|
}
|
556
721
|
.intro-header.big-img .img-desc {
|
557
|
-
font-size:
|
722
|
+
font-size: 0.875rem;
|
558
723
|
}
|
559
724
|
}
|
560
725
|
|
561
726
|
.header-section.has-img .no-img {
|
562
727
|
margin-top: 0;
|
563
728
|
background-color: #FCFCFC;
|
564
|
-
margin: 0 0
|
565
|
-
padding:
|
566
|
-
box-shadow: 0 0
|
729
|
+
margin: 0 0 2.5rem;
|
730
|
+
padding: 1.25rem 0;
|
731
|
+
box-shadow: 0 0 0.3125rem #AAA;
|
567
732
|
}
|
568
733
|
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
|
569
734
|
.header-section.has-img .intro-header.no-img {
|
570
735
|
display: none;
|
571
736
|
}
|
572
|
-
@media
|
737
|
+
@media (max-width: 365px) {
|
573
738
|
.header-section.has-img .intro-header.no-img {
|
574
739
|
display: block;
|
575
740
|
}
|
576
741
|
.intro-header.big-img {
|
577
742
|
width: 100%;
|
578
|
-
height:
|
743
|
+
height: 13.75rem;
|
579
744
|
}
|
580
745
|
.intro-header.big-img .page-heading,
|
581
746
|
.intro-header.big-img .post-heading {
|
@@ -585,84 +750,66 @@ footer .footer-custom-content {
|
|
585
750
|
margin-bottom: 0;
|
586
751
|
}
|
587
752
|
}
|
588
|
-
@media
|
753
|
+
@media (max-width: 325px) {
|
589
754
|
.intro-header.big-img {
|
590
|
-
height:
|
755
|
+
height: 12.5rem;
|
591
756
|
}
|
592
757
|
}
|
593
758
|
|
594
|
-
.caption {
|
595
|
-
text-align: center;
|
596
|
-
font-size: 14px;
|
597
|
-
padding: 10px;
|
598
|
-
font-style: italic;
|
599
|
-
margin: 0;
|
600
|
-
display: block;
|
601
|
-
border-bottom-right-radius: 5px;
|
602
|
-
border-bottom-left-radius: 5px;
|
603
|
-
}
|
604
|
-
|
605
759
|
#header-gh-btns {
|
606
|
-
margin-bottom:
|
760
|
+
margin-bottom: 0.9375rem;
|
607
761
|
}
|
608
|
-
@media
|
762
|
+
@media (max-width: 500px) {
|
609
763
|
#header-gh-btns > iframe {
|
610
764
|
display: block;
|
611
|
-
margin-bottom:
|
765
|
+
margin-bottom: 0.3125rem;
|
612
766
|
}
|
613
767
|
}
|
614
768
|
|
615
|
-
|
616
|
-
|
769
|
+
/* --- Pagination --- */
|
770
|
+
|
771
|
+
.pagination {
|
772
|
+
margin: 0.625rem 0 0;
|
773
|
+
justify-content: space-between;
|
617
774
|
}
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
}
|
775
|
+
|
776
|
+
.pagination.blog-pager {
|
777
|
+
margin-top: 0;
|
622
778
|
}
|
623
|
-
|
624
|
-
|
779
|
+
|
780
|
+
.pagination .page-item.next {
|
781
|
+
margin-left: auto;
|
625
782
|
}
|
626
783
|
|
627
|
-
|
784
|
+
@media (min-width: 768px) {
|
785
|
+
.pagination.blog-pager {
|
786
|
+
margin-top: 0.625rem;
|
787
|
+
}
|
788
|
+
}
|
628
789
|
|
629
|
-
.
|
790
|
+
.pagination .page-item .page-link {
|
630
791
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
631
792
|
text-transform: uppercase;
|
632
|
-
font-size:
|
793
|
+
font-size: 0.875rem;
|
633
794
|
font-weight: 800;
|
634
795
|
letter-spacing: 1px;
|
635
|
-
padding:
|
796
|
+
padding: 0.625rem 0.3125rem;
|
636
797
|
background-color: #FFF;
|
637
798
|
border-radius: 0;
|
638
|
-
color: #404040;
|
799
|
+
color: {{ site.text-col | default: "#404040" }};
|
639
800
|
}
|
640
|
-
@media
|
641
|
-
.
|
642
|
-
padding:
|
801
|
+
@media (min-width: 768px) {
|
802
|
+
.pagination .page-item .page-link {
|
803
|
+
padding: 0.9375rem 1.5625rem;
|
643
804
|
}
|
644
805
|
}
|
645
|
-
.
|
646
|
-
.
|
806
|
+
.pagination .page-item .page-link:hover,
|
807
|
+
.pagination .page-item .page-link:focus {
|
647
808
|
color: #FFF;
|
648
809
|
border: 1px solid {{ site.hover-col | default: "#0085A1" }};
|
649
810
|
background-color: {{ site.hover-col | default: "#0085A1" }};
|
650
811
|
}
|
651
812
|
|
652
|
-
.pager {
|
653
|
-
margin: 10px 0 0;
|
654
|
-
}
|
655
|
-
|
656
|
-
.pager.blog-pager {
|
657
|
-
margin-top: 0;
|
658
|
-
}
|
659
|
-
|
660
|
-
@media only screen and (min-width: 768px) {
|
661
|
-
.pager.blog-pager {
|
662
|
-
margin-top: 10px;
|
663
|
-
}
|
664
|
-
}
|
665
|
-
|
666
813
|
/* --- Tables --- */
|
667
814
|
|
668
815
|
table {
|
@@ -682,13 +829,13 @@ table tr th {
|
|
682
829
|
border: 1px solid #cccccc;
|
683
830
|
text-align: left;
|
684
831
|
margin: 0;
|
685
|
-
padding:
|
832
|
+
padding: 0.375rem 0.8125rem;
|
686
833
|
}
|
687
834
|
table tr td {
|
688
835
|
border: 1px solid #cccccc;
|
689
836
|
text-align: left;
|
690
837
|
margin: 0;
|
691
|
-
padding:
|
838
|
+
padding: 0.375rem 0.8125rem;
|
692
839
|
}
|
693
840
|
table tr th :first-child,
|
694
841
|
table tr td :first-child {
|
@@ -701,9 +848,24 @@ table tr td :last-child {
|
|
701
848
|
|
702
849
|
/* --- Code blocks --- */
|
703
850
|
|
851
|
+
code {
|
852
|
+
padding: 0.125rem 0.25rem;
|
853
|
+
color: #c7254e;
|
854
|
+
background-color: #f9f2f4;
|
855
|
+
border-radius: 0.25rem;
|
856
|
+
}
|
857
|
+
|
858
|
+
pre code {
|
859
|
+
padding: 0;
|
860
|
+
background-color: transparent;
|
861
|
+
border-radius: 0;
|
862
|
+
}
|
863
|
+
|
704
864
|
pre {
|
705
|
-
font-size:
|
865
|
+
font-size: 0.875rem;
|
706
866
|
line-height: 1.5em;
|
867
|
+
border-radius: 0.25rem;
|
868
|
+
padding: 0.59375rem;
|
707
869
|
}
|
708
870
|
.highlight pre {
|
709
871
|
border: none;
|
@@ -712,11 +874,11 @@ pre {
|
|
712
874
|
}
|
713
875
|
.highlight > pre {
|
714
876
|
background-image: linear-gradient(
|
715
|
-
rgba(0,0,0,0.
|
877
|
+
rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.02) 1.5em, rgba(0,0,0,0.02) 3em);
|
716
878
|
background-size: auto 3em;
|
717
|
-
background-position-y:
|
879
|
+
background-position-y: 0.625rem;
|
718
880
|
border: 1px solid rgba(0,0,0,0.1);
|
719
|
-
border-left:
|
881
|
+
border-left: 0.4375rem solid #444;
|
720
882
|
}
|
721
883
|
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
|
722
884
|
padding: 0;
|
@@ -744,19 +906,30 @@ pre {
|
|
744
906
|
background: none;
|
745
907
|
}
|
746
908
|
|
909
|
+
/* Fix table border github gist snippets */
|
910
|
+
|
911
|
+
.gist, .gist-file table tr {
|
912
|
+
border: unset;
|
913
|
+
}
|
914
|
+
|
915
|
+
.gist, .gist-file table tr td {
|
916
|
+
border: unset;
|
917
|
+
}
|
918
|
+
|
747
919
|
/* --- Social media sharing section --- */
|
748
920
|
|
749
921
|
#social-share-section {
|
750
|
-
margin-bottom:
|
922
|
+
margin-bottom: 1.875rem;
|
923
|
+
margin-top: 1.875rem;
|
751
924
|
}
|
752
925
|
|
753
926
|
/* --- Notification boxes --- */
|
754
927
|
.box-note, .box-warning, .box-error, .box-success {
|
755
|
-
padding:
|
756
|
-
margin:
|
928
|
+
padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
|
929
|
+
margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
|
757
930
|
border: 1px solid #eee;
|
758
|
-
border-left-width:
|
759
|
-
border-radius:
|
931
|
+
border-left-width: 0.3125rem;
|
932
|
+
border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
|
760
933
|
}
|
761
934
|
|
762
935
|
.box-note {
|
@@ -779,47 +952,47 @@ pre {
|
|
779
952
|
border-left-color: #3CB371;
|
780
953
|
}
|
781
954
|
|
782
|
-
/*
|
955
|
+
/* --- Misc blog post styles --- */
|
783
956
|
|
784
|
-
.
|
785
|
-
|
786
|
-
}
|
787
|
-
|
788
|
-
.gist, .gist-file table tr td {
|
789
|
-
border: unset;
|
790
|
-
}
|
791
|
-
|
792
|
-
/* Fix .navbar-toggle */
|
793
|
-
|
794
|
-
.navbar-default button.navbar-toggle:focus,
|
795
|
-
.navbar-default button.navbar-toggle:hover {
|
796
|
-
background-color: initial;
|
957
|
+
.blog-post :first-child {
|
958
|
+
margin-top: 0;
|
797
959
|
}
|
798
960
|
|
799
|
-
.
|
800
|
-
|
961
|
+
.blog-post img {
|
962
|
+
max-width: 100%;
|
801
963
|
}
|
802
964
|
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
965
|
+
.blog-post .caption {
|
966
|
+
text-align: center;
|
967
|
+
font-size: 0.875rem;
|
968
|
+
padding: 0.625rem;
|
969
|
+
font-style: italic;
|
970
|
+
color: #777;
|
971
|
+
margin: 0;
|
972
|
+
display: block;
|
973
|
+
border-bottom-right-radius: 0.3125rem;
|
974
|
+
border-bottom-left-radius: 0.3125rem;
|
807
975
|
}
|
808
976
|
|
809
|
-
|
810
|
-
|
977
|
+
.blog-post hr {
|
978
|
+
max-width: 25%;
|
979
|
+
border-width: 0.25rem;
|
980
|
+
border-radius: 0.1875rem;
|
981
|
+
border-color: #808080;
|
811
982
|
}
|
812
983
|
|
813
|
-
|
814
|
-
|
984
|
+
.blog-post blockquote {
|
985
|
+
padding: 0.625rem 1.25rem;
|
986
|
+
margin: 0 0 1.25rem;
|
987
|
+
font-size: 1.1rem;
|
988
|
+
border-left: 0.3125rem solid #eee;
|
815
989
|
}
|
816
990
|
|
817
|
-
|
818
|
-
|
991
|
+
.blog-post blockquote p:last-child {
|
992
|
+
margin-bottom: 0;
|
819
993
|
}
|
820
994
|
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
font-size: 16px;
|
995
|
+
.center {
|
996
|
+
display: block;
|
997
|
+
margin: 0 auto;
|
825
998
|
}
|