beautiful-jekyll-theme 2.3.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -50
- 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 +2 -2
- data/_includes/footer.html +6 -6
- 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 +27 -40
- data/_includes/header.html +10 -10
- data/_includes/nav.html +41 -44
- data/_includes/readtime.html +10 -10
- data/_includes/social-networks-links.html +19 -19
- data/_includes/social-share.html +0 -3
- data/_includes/staticman-comments.html +1 -1
- data/_layouts/base.html +13 -8
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +6 -6
- data/_layouts/minimal.html +11 -5
- data/_layouts/page.html +2 -2
- data/_layouts/post.html +8 -8
- data/assets/css/main-minimal.css +2 -2
- data/assets/css/main.css +324 -232
- data/assets/css/staticman.css +2 -2
- data/assets/js/main.js +58 -99
- metadata +2 -12
- 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/_includes/social-share.html
CHANGED
@@ -11,7 +11,6 @@
|
|
11
11
|
<span class="sr-only">Share: </span>
|
12
12
|
|
13
13
|
{% if site.share-links-active.twitter %}
|
14
|
-
<!--- Share on Twitter -->
|
15
14
|
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
16
15
|
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
17
16
|
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
|
@@ -20,7 +19,6 @@
|
|
20
19
|
{% endif %}
|
21
20
|
|
22
21
|
{% if site.share-links-active.facebook %}
|
23
|
-
<!--- Share on Facebook -->
|
24
22
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
25
23
|
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
26
24
|
<span class="fab fa-fw fa-facebook" aria-hidden="true"></span>
|
@@ -29,7 +27,6 @@
|
|
29
27
|
{% endif %}
|
30
28
|
|
31
29
|
{% if site.share-links-active.linkedin %}
|
32
|
-
<!--- Share on LinkedIn -->
|
33
30
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
34
31
|
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
35
32
|
<span class="fab fa-fw fa-linkedin" aria-hidden="true"></span>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<div class="form-group">
|
26
26
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
27
27
|
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
28
|
-
<div class="small
|
28
|
+
<div class="small form-text"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
29
29
|
</div>
|
30
30
|
<div class="form-group">
|
31
31
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
data/_layouts/base.html
CHANGED
@@ -1,22 +1,27 @@
|
|
1
1
|
---
|
2
2
|
common-css:
|
3
|
-
- "/assets/css/bootstrap.min.css"
|
4
3
|
- "/assets/css/bootstrap-social.css"
|
5
4
|
- "/assets/css/main.css"
|
6
5
|
common-ext-css:
|
7
|
-
- "
|
8
|
-
|
9
|
-
- "
|
10
|
-
- "
|
6
|
+
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
7
|
+
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
8
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
|
9
|
+
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
|
10
|
+
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
11
|
+
common-ext-js:
|
12
|
+
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
|
13
|
+
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
14
|
+
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
15
|
+
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
16
|
+
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
17
|
+
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
11
18
|
common-js:
|
12
|
-
- "/assets/js/jquery-1.11.2.min.js"
|
13
|
-
- "/assets/js/bootstrap.min.js"
|
14
19
|
- "/assets/js/main.js"
|
15
20
|
---
|
16
21
|
|
17
22
|
<!DOCTYPE html>
|
18
23
|
<html lang="{{ page.language | default: site.language | default: 'en' }}">
|
19
|
-
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali
|
24
|
+
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2020 -->
|
20
25
|
{% include head.html %}
|
21
26
|
|
22
27
|
<body>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -34,7 +34,7 @@ layout: page
|
|
34
34
|
{% endif %}
|
35
35
|
<div class="post-entry">
|
36
36
|
{% assign excerpt_length = site.excerpt_length | default: 50 %}
|
37
|
-
|
37
|
+
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
|
38
38
|
{% assign excerpt_word_count = post.excerpt | number_of_words %}
|
39
39
|
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
|
40
40
|
<a href="{{ post.url | relative_url }}" class="post-read-more">[Read More]</a>
|
@@ -60,15 +60,15 @@ layout: page
|
|
60
60
|
</div>
|
61
61
|
|
62
62
|
{% if paginator.total_pages > 1 %}
|
63
|
-
<ul class="
|
63
|
+
<ul class="pagination main-pager">
|
64
64
|
{% if paginator.previous_page %}
|
65
|
-
<li class="previous">
|
66
|
-
<a href="{{ paginator.previous_page_path | relative_url }}">← Newer Posts</a>
|
65
|
+
<li class="page-item previous">
|
66
|
+
<a class="page-link" href="{{ paginator.previous_page_path | relative_url }}">← Newer Posts</a>
|
67
67
|
</li>
|
68
68
|
{% endif %}
|
69
69
|
{% if paginator.next_page %}
|
70
|
-
<li class="next">
|
71
|
-
<a href="{{ paginator.next_page_path | relative_url }}">Older Posts →</a>
|
70
|
+
<li class="page-item next">
|
71
|
+
<a class="page-link" href="{{ paginator.next_page_path | relative_url }}">Older Posts →</a>
|
72
72
|
</li>
|
73
73
|
{% endif %}
|
74
74
|
</ul>
|
data/_layouts/minimal.html
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
---
|
2
2
|
common-css:
|
3
|
-
- "/assets/css/bootstrap.min.css"
|
4
3
|
- "/assets/css/main-minimal.css"
|
5
|
-
common-
|
6
|
-
- "/
|
7
|
-
|
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.4.1.min.js"
|
9
|
+
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
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,7 +20,7 @@ common-js:
|
|
14
20
|
|
15
21
|
<body>
|
16
22
|
|
17
|
-
<div role="main" class="container main-content">
|
23
|
+
<div role="main" class="container-md main-content">
|
18
24
|
{{ content }}
|
19
25
|
</div>
|
20
26
|
|
data/_layouts/page.html
CHANGED
@@ -4,9 +4,9 @@ layout: base
|
|
4
4
|
|
5
5
|
{% include header.html type="page" %}
|
6
6
|
|
7
|
-
<div class="container" role="main">
|
7
|
+
<div class="container-md" role="main">
|
8
8
|
<div class="row">
|
9
|
-
<div class="col-
|
9
|
+
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
10
10
|
{{ content }}
|
11
11
|
{% include comments.html %}
|
12
12
|
</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="container-md">
|
8
8
|
<div class="row">
|
9
|
-
<div class="col-
|
9
|
+
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
10
10
|
|
11
11
|
{% if page.gh-repo %}
|
12
12
|
{% assign gh_split = page.gh-repo | split:'/' %}
|
@@ -52,19 +52,19 @@ layout: base
|
|
52
52
|
{% include social-share.html %}
|
53
53
|
{% endif %}
|
54
54
|
|
55
|
-
<ul class="
|
55
|
+
<ul class="pagination blog-pager">
|
56
56
|
{% 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>
|
57
|
+
<li class="page-item previous">
|
58
|
+
<a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
59
59
|
</li>
|
60
60
|
{% endif %}
|
61
61
|
{% 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>
|
62
|
+
<li class="page-item next">
|
63
|
+
<a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
64
64
|
</li>
|
65
65
|
{% endif %}
|
66
66
|
</ul>
|
67
|
-
|
67
|
+
{% include comments.html %}
|
68
68
|
</div>
|
69
69
|
</div>
|
70
70
|
</div>
|
data/assets/css/main-minimal.css
CHANGED
@@ -1,12 +1,12 @@
|
|
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;
|
data/assets/css/main.css
CHANGED
@@ -6,9 +6,13 @@ 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:
|
15
|
+
font-size: 1.125rem;
|
12
16
|
color: #404040;
|
13
17
|
position: relative;
|
14
18
|
background-color: {{ site.page-col | default: "#FFFFFF" }};
|
@@ -19,11 +23,24 @@ 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;
|
27
44
|
}
|
28
45
|
a {
|
29
46
|
color: {{ site.link-col | default: "#008AFF" }};
|
@@ -40,35 +57,30 @@ blockquote p:first-child {
|
|
40
57
|
margin-top: 0;
|
41
58
|
}
|
42
59
|
hr.small {
|
43
|
-
max-width:
|
44
|
-
margin:
|
45
|
-
border-width:
|
60
|
+
max-width: 6.25rem;
|
61
|
+
margin: 1rem auto;
|
62
|
+
border-width: 0.25rem;
|
46
63
|
border-color: inherit;
|
47
|
-
border-radius:
|
64
|
+
border-radius: 0.1875rem;
|
48
65
|
}
|
49
66
|
|
50
67
|
/* fix in-page anchors to not be behind fixed header */
|
51
68
|
:target:before {
|
52
69
|
content: "";
|
53
70
|
display: block;
|
54
|
-
height:
|
55
|
-
margin: -
|
71
|
+
height: 3.125rem; /* navbar height */
|
72
|
+
margin: -3.125rem 0 0;
|
56
73
|
}
|
57
74
|
|
58
75
|
.main-content {
|
59
|
-
padding-top:
|
76
|
+
padding-top: 5rem;
|
60
77
|
}
|
61
|
-
@media
|
78
|
+
@media (min-width: 768px) {
|
62
79
|
.main-content {
|
63
|
-
padding-top:
|
80
|
+
padding-top: 8.125rem;
|
64
81
|
}
|
65
82
|
}
|
66
83
|
|
67
|
-
.main-explain-area {
|
68
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
69
|
-
padding: 15px inherit;
|
70
|
-
}
|
71
|
-
|
72
84
|
.hideme {
|
73
85
|
display: none;
|
74
86
|
}
|
@@ -97,105 +109,239 @@ img {
|
|
97
109
|
}
|
98
110
|
|
99
111
|
.disqus-comments {
|
100
|
-
margin-top:
|
112
|
+
margin-top: 1.875rem;
|
101
113
|
}
|
102
114
|
|
103
|
-
@media
|
115
|
+
@media (min-width: 768px) {
|
104
116
|
.disqus-comments {
|
105
|
-
margin-top:
|
117
|
+
margin-top: 2.5rem;
|
106
118
|
}
|
107
119
|
}
|
108
120
|
|
109
121
|
.linked-section {
|
110
|
-
padding-top:
|
111
|
-
margin-top: -
|
122
|
+
padding-top: 3.75rem;
|
123
|
+
margin-top: -1.5625rem;
|
112
124
|
}
|
113
125
|
|
114
126
|
/* --- Navbar --- */
|
115
127
|
|
116
128
|
.navbar-custom {
|
117
129
|
background-color: {{ site.navbar-col | default: "#F5F5F5" }};
|
118
|
-
border-bottom: 1px solid #EAEAEA;
|
130
|
+
border-bottom: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
|
119
131
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
120
132
|
{% if site.navbar-img %}
|
121
|
-
|
122
|
-
|
133
|
+
background-image: url({{ site.navbar-img | relative_url }});
|
134
|
+
background-attachment: fixed;
|
123
135
|
{% endif %}
|
136
|
+
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
137
|
+
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
138
|
+
transition: background .5s ease-in-out,padding .5s ease-in-out;
|
124
139
|
}
|
125
140
|
|
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" }};
|
141
|
+
.navbar-custom,
|
142
|
+
.navbar-custom.top-nav-short,
|
143
|
+
.navbar-custom.top-nav-short-permanent {
|
144
|
+
padding-top: 0;
|
145
|
+
padding-bottom: 0;
|
136
146
|
}
|
137
147
|
|
138
|
-
.navbar-custom .navbar-brand
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
148
|
+
.navbar-custom .navbar-brand {
|
149
|
+
line-height: 1.5;
|
150
|
+
padding-top: 0.625rem;
|
151
|
+
padding-bottom: 0.625rem;
|
152
|
+
font-size: 1.125rem;
|
143
153
|
}
|
144
154
|
|
145
155
|
.navbar-custom .navbar-brand-logo {
|
146
|
-
padding-top: 0;
|
147
156
|
-webkit-transition: padding .5s ease-in-out;
|
148
157
|
-moz-transition: padding .5s ease-in-out;
|
149
158
|
transition: padding .5s ease-in-out;
|
150
159
|
}
|
160
|
+
|
161
|
+
.navbar-custom .navbar-brand-logo,
|
162
|
+
.navbar-custom.top-nav-short .navbar-brand-logo,
|
163
|
+
.navbar-custom.top-nav-short-permanent .navbar-brand-logo {
|
164
|
+
padding-top: 0.3125rem;
|
165
|
+
padding-bottom: 0.3125rem;
|
166
|
+
}
|
167
|
+
|
151
168
|
.navbar-custom .navbar-brand-logo img {
|
152
|
-
height: 50px;
|
153
169
|
-webkit-transition: height .5s ease-in-out;
|
154
170
|
-moz-transition: height .5s ease-in-out;
|
155
171
|
transition: height .5s ease-in-out;
|
156
172
|
}
|
157
|
-
|
158
|
-
|
173
|
+
|
174
|
+
.navbar-custom .navbar-brand-logo img,
|
175
|
+
.navbar-custom.top-nav-short .navbar-brand-logo img,
|
176
|
+
.navbar-custom.top-nav-short-permanent .navbar-brand-logo img {
|
177
|
+
height: 2.5rem;
|
159
178
|
}
|
160
|
-
|
161
|
-
|
179
|
+
|
180
|
+
.navbar-custom .navbar-brand:hover,
|
181
|
+
.navbar-custom .navbar-brand:focus ,
|
182
|
+
.navbar-custom .navbar-nav .nav-link:hover,
|
183
|
+
.navbar-custom .navbar-nav .nav-link:focus,
|
184
|
+
.navbar-custom .navbar-nav .dropdown-item:hover,
|
185
|
+
.navbar-custom .navbar-nav .dropdown-item:focus {
|
186
|
+
color: {{ site.hover-col | default: "#0085A1" }};
|
187
|
+
}
|
188
|
+
|
189
|
+
.navbar-custom .navbar-nav .nav-item {
|
190
|
+
text-transform: uppercase;
|
191
|
+
font-size: 0.75rem;
|
192
|
+
letter-spacing: 0.0625rem;
|
193
|
+
}
|
194
|
+
|
195
|
+
.navbar-custom .navbar-nav .nav-link {
|
196
|
+
padding-top: 0;
|
197
|
+
padding-bottom: 0;
|
198
|
+
line-height: 1.5;
|
199
|
+
padding-top: 1rem;
|
200
|
+
padding-bottom: 1rem;
|
162
201
|
}
|
163
202
|
|
164
|
-
|
203
|
+
.navbar-custom .navbar-brand,
|
204
|
+
.navbar-custom .navbar-nav .nav-link {
|
205
|
+
font-weight: 800;
|
206
|
+
color: {{ site.navbar-text-col | default: "#404040" }};
|
207
|
+
}
|
208
|
+
|
209
|
+
.navbar-toggler {
|
210
|
+
font-size: 1rem;
|
211
|
+
margin: 0.5rem 0;
|
212
|
+
}
|
213
|
+
.navbar-custom .navbar-toggler:focus,
|
214
|
+
.navbar-custom .navbar-toggler:hover {
|
215
|
+
background-color: initial;
|
216
|
+
}
|
217
|
+
|
218
|
+
.navbar-custom .navbar-toggler[aria-expanded="true"] {
|
219
|
+
background-color: rgba(0, 0, 0, 0.2);
|
220
|
+
}
|
221
|
+
|
222
|
+
.dropdown-toggle::after {
|
223
|
+
border-width: 0.4em;
|
224
|
+
}
|
225
|
+
|
226
|
+
@media (min-width: 768px) {
|
165
227
|
.navbar-custom {
|
166
|
-
padding:
|
167
|
-
-
|
168
|
-
|
169
|
-
|
228
|
+
padding-top: 1.25rem;
|
229
|
+
padding-bottom: 1.25rem;
|
230
|
+
}
|
231
|
+
|
232
|
+
.navbar-custom .navbar-brand-logo {
|
233
|
+
padding-top: 0;
|
234
|
+
padding-bottom: 0;
|
235
|
+
}
|
236
|
+
|
237
|
+
.navbar-custom .navbar-brand-logo img {
|
238
|
+
height: 3.125rem;
|
239
|
+
}
|
240
|
+
|
241
|
+
.navbar-expand-md .navbar-nav .nav-link {
|
242
|
+
padding-left: 0.9375rem;
|
243
|
+
padding-right: 0.9375rem;
|
244
|
+
}
|
245
|
+
.navbar-expand-md .navbar-nav .nav-item:last-child .nav-link {
|
246
|
+
padding-right: 0;
|
170
247
|
}
|
248
|
+
}
|
171
249
|
|
172
|
-
|
173
|
-
.navbar-custom.
|
174
|
-
|
250
|
+
@media (min-width: 768px) {
|
251
|
+
.navbar-custom .nav-item.dropdown:hover {
|
252
|
+
background: rgba(0, 0, 0, 0.1);
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.navbar-custom .nav-item.dropdown.show {
|
257
|
+
background: rgba(0, 0, 0, 0.2);
|
258
|
+
}
|
259
|
+
|
260
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
261
|
+
min-width: 0;
|
262
|
+
margin-top: 0;
|
263
|
+
font-size: 1em;
|
264
|
+
border: 0;
|
265
|
+
padding: 0;
|
266
|
+
width: 100%;
|
267
|
+
word-break: break-word;
|
268
|
+
}
|
269
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
270
|
+
white-space: normal;
|
271
|
+
padding: 0.625rem;
|
272
|
+
background-color: {{ site.navbar-col | default: "#F5F5F5" }};
|
273
|
+
text-decoration: none !important;
|
274
|
+
border-width: 0 1px 1px 1px;
|
275
|
+
font-weight: normal;
|
276
|
+
}
|
277
|
+
|
278
|
+
@media (min-width: 768px) {
|
279
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
280
|
+
text-align: center;
|
281
|
+
}
|
282
|
+
|
283
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
284
|
+
padding-left: 0.625rem;
|
285
|
+
border: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
|
286
|
+
border-width: 0 1px 1px;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
@media (max-width: 767px) {
|
291
|
+
.navbar-custom .navbar-collapse {
|
292
|
+
border-top: 1px solid {{ site.navbar-border-col | default: "#EAEAEA" }};
|
293
|
+
margin: 0 -1rem;
|
294
|
+
}
|
295
|
+
|
296
|
+
.navbar-custom .navbar-nav {
|
297
|
+
padding: 0.5rem 0;
|
298
|
+
}
|
299
|
+
|
300
|
+
.navbar-custom .navbar-nav .nav-link {
|
301
|
+
padding: 0.675rem 0 0.675rem 1rem;
|
302
|
+
}
|
303
|
+
|
304
|
+
.navbar-custom .nav-item.dropdown.show {
|
305
|
+
background: rgba(0, 0, 0, 0.2);
|
306
|
+
}
|
307
|
+
|
308
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
309
|
+
padding-left: 2rem;
|
175
310
|
}
|
176
311
|
}
|
177
312
|
|
178
313
|
.navbar-custom .avatar-container {
|
179
314
|
position: absolute;
|
180
315
|
left: 50%;
|
181
|
-
width:
|
182
|
-
margin-top:
|
316
|
+
width: 3.125rem;
|
317
|
+
margin-top: 1.75rem;
|
318
|
+
transition: opacity 0.5s ease-in-out;
|
319
|
+
-webkit-transition: opacity 0.5s ease-in-out;
|
320
|
+
-moz-transition: opacity 0.5s ease-in-out;
|
321
|
+
}
|
322
|
+
.navbar-custom.top-nav-short .avatar-container {
|
323
|
+
opacity: 0;
|
324
|
+
visibility: hidden;
|
325
|
+
transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
326
|
+
-webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
327
|
+
-moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
|
183
328
|
}
|
329
|
+
|
184
330
|
.navbar-custom .avatar-container .avatar-img-border {
|
185
331
|
width: 100%;
|
186
332
|
display: inline-block;
|
187
333
|
margin-left: -50%;
|
188
334
|
{% unless site.round-avatar == false %}
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
335
|
+
border-radius: 50%;
|
336
|
+
box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
|
337
|
+
-webkit-box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .8);
|
338
|
+
-moz-box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
|
193
339
|
{% endunless %}
|
194
340
|
}
|
195
341
|
.navbar-custom .avatar-container .avatar-img {
|
196
342
|
width: 100%;
|
197
343
|
{% unless site.round-avatar == false %}
|
198
|
-
|
344
|
+
border-radius: 50%;
|
199
345
|
{% endunless %}
|
200
346
|
display: block;
|
201
347
|
}
|
@@ -204,10 +350,9 @@ img {
|
|
204
350
|
display: none;
|
205
351
|
}
|
206
352
|
|
207
|
-
@media
|
353
|
+
@media (min-width: 768px) {
|
208
354
|
.navbar-custom .avatar-container {
|
209
|
-
width:
|
210
|
-
margin-top: -50px;
|
355
|
+
width: 6.25rem;
|
211
356
|
}
|
212
357
|
|
213
358
|
.navbar-custom .avatar-container .avatar-img-border {
|
@@ -224,71 +369,22 @@ img {
|
|
224
369
|
}
|
225
370
|
}
|
226
371
|
|
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
372
|
/* --- Footer --- */
|
277
373
|
|
278
374
|
footer {
|
279
|
-
padding:
|
375
|
+
padding: 1.875rem 0;
|
280
376
|
border-top: 1px #EAEAEA solid;
|
281
|
-
margin-top:
|
282
|
-
font-size:
|
377
|
+
margin-top: 3.125rem;
|
378
|
+
font-size: 0.875rem;
|
283
379
|
background-color: {{ site.footer-col | default: "#F5F5F5" }};
|
284
380
|
{% if site.footer-img %}
|
285
|
-
|
286
|
-
|
381
|
+
background-image: url({{ site.footer-img | relative_url }});
|
382
|
+
background-attachment: fixed;
|
287
383
|
{% endif %}
|
288
384
|
}
|
289
385
|
|
290
386
|
footer p.text-muted {
|
291
|
-
color: {{ site.footer-text-col | default: "#777777" }};
|
387
|
+
color: {{ site.footer-text-col | default: "#777777" }} !important;
|
292
388
|
}
|
293
389
|
|
294
390
|
footer a {
|
@@ -298,7 +394,7 @@ footer a {
|
|
298
394
|
footer .list-inline {
|
299
395
|
margin: 0;
|
300
396
|
padding: 0;
|
301
|
-
margin-bottom:
|
397
|
+
margin-bottom: 1.875rem;
|
302
398
|
}
|
303
399
|
footer .copyright {
|
304
400
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
@@ -308,39 +404,39 @@ footer .copyright {
|
|
308
404
|
}
|
309
405
|
footer .theme-by {
|
310
406
|
text-align: center;
|
311
|
-
margin:
|
407
|
+
margin: 0.625rem 0 0;
|
312
408
|
}
|
313
409
|
footer .footer-custom-content {
|
314
410
|
text-align: center;
|
315
|
-
margin-bottom:
|
411
|
+
margin-bottom: 0.9375rem;
|
316
412
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
317
413
|
}
|
318
414
|
|
319
|
-
@media
|
415
|
+
@media (min-width: 768px) {
|
320
416
|
footer {
|
321
|
-
padding:
|
417
|
+
padding: 3.125rem 0;
|
322
418
|
}
|
323
419
|
footer .footer-links {
|
324
|
-
font-size:
|
420
|
+
font-size: 1.125rem;
|
325
421
|
}
|
326
422
|
footer .copyright {
|
327
|
-
font-size:
|
423
|
+
font-size: 1rem;
|
328
424
|
}
|
329
425
|
footer .footer-custom-content {
|
330
|
-
font-size:
|
426
|
+
font-size: 1rem;
|
331
427
|
}
|
332
428
|
}
|
333
429
|
|
334
430
|
/* --- Post preview --- */
|
335
431
|
|
336
432
|
.post-preview {
|
337
|
-
padding:
|
433
|
+
padding: 1.25rem 0;
|
338
434
|
border-bottom: 1px solid #eee;
|
339
435
|
}
|
340
436
|
|
341
|
-
@media
|
437
|
+
@media (min-width: 768px) {
|
342
438
|
.post-preview {
|
343
|
-
padding:
|
439
|
+
padding: 2.1875rem 0;
|
344
440
|
}
|
345
441
|
}
|
346
442
|
|
@@ -360,20 +456,20 @@ footer .footer-custom-content {
|
|
360
456
|
}
|
361
457
|
|
362
458
|
.post-preview .post-title {
|
363
|
-
font-size:
|
459
|
+
font-size: 1.875rem;
|
364
460
|
margin-top: 0;
|
365
461
|
}
|
366
462
|
.post-preview .post-subtitle {
|
367
463
|
margin: 0;
|
368
464
|
font-weight: 300;
|
369
|
-
margin-bottom:
|
465
|
+
margin-bottom: 0.625rem;
|
370
466
|
}
|
371
467
|
.post-preview .post-meta,
|
372
468
|
.post-heading .post-meta {
|
373
469
|
color: #808080;
|
374
|
-
font-size:
|
470
|
+
font-size: 1.125rem;
|
375
471
|
font-style: italic;
|
376
|
-
margin: 0 0
|
472
|
+
margin: 0 0 0.625rem;
|
377
473
|
}
|
378
474
|
.post-preview .post-entry {
|
379
475
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
@@ -387,26 +483,26 @@ footer .footer-custom-content {
|
|
387
483
|
}
|
388
484
|
.post-image {
|
389
485
|
float: right;
|
390
|
-
height:
|
391
|
-
width:
|
392
|
-
margin-top: -
|
486
|
+
height: 12rem;
|
487
|
+
width: 12rem;
|
488
|
+
margin-top: -2.1875rem;
|
393
489
|
filter: grayscale(90%);
|
394
490
|
}
|
395
491
|
.post-image:hover {
|
396
492
|
filter: grayscale(0%);
|
397
493
|
}
|
398
494
|
.post-image img {
|
399
|
-
border-radius:
|
400
|
-
height:
|
401
|
-
width:
|
495
|
+
border-radius: 6.25rem;
|
496
|
+
height: 12rem;
|
497
|
+
width: 12rem;
|
402
498
|
}
|
403
499
|
.post-preview .post-read-more {
|
404
500
|
font-weight: 800;
|
405
501
|
}
|
406
502
|
|
407
|
-
@media
|
503
|
+
@media (min-width: 768px) {
|
408
504
|
.post-preview .post-title {
|
409
|
-
font-size:
|
505
|
+
font-size: 2.25rem;
|
410
506
|
}
|
411
507
|
}
|
412
508
|
|
@@ -415,14 +511,14 @@ footer .footer-custom-content {
|
|
415
511
|
.blog-tags {
|
416
512
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
417
513
|
color: #999;
|
418
|
-
font-size:
|
419
|
-
margin-bottom:
|
514
|
+
font-size: 0.9375rem;
|
515
|
+
margin-bottom: 1.875rem;
|
420
516
|
}
|
421
517
|
|
422
518
|
.blog-tags a {
|
423
519
|
color: {{ site.link-col | default: "#008AFF" }};
|
424
520
|
text-decoration: none;
|
425
|
-
padding:
|
521
|
+
padding: 0 0.3125rem;
|
426
522
|
}
|
427
523
|
|
428
524
|
.blog-tags a:hover {
|
@@ -432,20 +528,20 @@ footer .footer-custom-content {
|
|
432
528
|
}
|
433
529
|
|
434
530
|
.post-preview .blog-tags {
|
435
|
-
margin-top:
|
531
|
+
margin-top: 0.3125rem;
|
436
532
|
margin-bottom: 0;
|
437
533
|
}
|
438
534
|
|
439
|
-
@media
|
535
|
+
@media (min-width: 768px) {
|
440
536
|
.post-preview .blog-tags {
|
441
|
-
margin-top:
|
537
|
+
margin-top: 0.625rem;
|
442
538
|
}
|
443
539
|
}
|
444
540
|
|
445
|
-
@media
|
541
|
+
@media (max-width: 500px) {
|
446
542
|
.post-image, .post-image img {
|
447
|
-
height:
|
448
|
-
width:
|
543
|
+
height: 6.25rem;
|
544
|
+
width: 6.25rem;
|
449
545
|
}
|
450
546
|
|
451
547
|
.post-image {
|
@@ -458,7 +554,7 @@ footer .footer-custom-content {
|
|
458
554
|
/* --- Post and page headers --- */
|
459
555
|
|
460
556
|
.intro-header {
|
461
|
-
margin:
|
557
|
+
margin: 5rem 0 1.25rem;
|
462
558
|
position: relative;
|
463
559
|
}
|
464
560
|
.intro-header.big-img {
|
@@ -467,8 +563,8 @@ footer .footer-custom-content {
|
|
467
563
|
-moz-background-size: cover;
|
468
564
|
background-size: cover;
|
469
565
|
-o-background-size: cover;
|
470
|
-
margin-top:
|
471
|
-
margin-bottom:
|
566
|
+
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
|
567
|
+
margin-bottom: 2.1875rem;
|
472
568
|
}
|
473
569
|
.intro-header.big-img .big-img-transition {
|
474
570
|
position: absolute;
|
@@ -489,29 +585,29 @@ footer .footer-custom-content {
|
|
489
585
|
}
|
490
586
|
.intro-header.big-img .page-heading,
|
491
587
|
.intro-header.big-img .post-heading {
|
492
|
-
padding:
|
588
|
+
padding: 6.25rem 0;
|
493
589
|
color: #FFF;
|
494
590
|
text-shadow: 1px 1px 3px #000;
|
495
591
|
}
|
496
592
|
.intro-header .page-heading h1 {
|
497
593
|
margin-top: 0;
|
498
|
-
font-size:
|
594
|
+
font-size: 3.125rem;
|
499
595
|
}
|
500
596
|
.intro-header .post-heading h1 {
|
501
597
|
margin-top: 0;
|
502
|
-
font-size:
|
598
|
+
font-size: 2.1875rem;
|
503
599
|
}
|
504
600
|
.intro-header .page-heading .page-subheading,
|
505
601
|
.intro-header .post-heading .post-subheading {
|
506
|
-
font-size:
|
602
|
+
font-size: 1.6875rem;
|
507
603
|
line-height: 1.1;
|
508
604
|
display: block;
|
509
605
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
510
606
|
font-weight: 300;
|
511
|
-
margin:
|
607
|
+
margin: 0.625rem 0 0;
|
512
608
|
}
|
513
609
|
.intro-header .post-heading .post-subheading {
|
514
|
-
margin-bottom:
|
610
|
+
margin-bottom: 1.25rem;
|
515
611
|
}
|
516
612
|
.intro-header.big-img .page-heading .page-subheading,
|
517
613
|
.intro-header.big-img .post-heading .post-subheading {
|
@@ -528,54 +624,54 @@ footer .footer-custom-content {
|
|
528
624
|
.intro-header.big-img .img-desc {
|
529
625
|
background: rgba(30, 30, 30, 0.6);
|
530
626
|
position: absolute;
|
531
|
-
padding:
|
532
|
-
font-size:
|
627
|
+
padding: 0.3125rem 0.625rem;
|
628
|
+
font-size: 0.6875rem;
|
533
629
|
color: #EEE;
|
534
630
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
535
631
|
right: 0;
|
536
632
|
bottom: 0;
|
537
633
|
display: none;
|
538
634
|
}
|
539
|
-
@media
|
635
|
+
@media (min-width: 768px) {
|
540
636
|
.intro-header {
|
541
|
-
margin-top:
|
637
|
+
margin-top: 8.125rem;
|
542
638
|
}
|
543
639
|
.intro-header.big-img {
|
544
|
-
margin-top:
|
640
|
+
margin-top: 5.6875rem; /* Full navbar is small navbar + 20px padding on each side when expanded */
|
545
641
|
}
|
546
642
|
.intro-header.big-img .page-heading,
|
547
643
|
.intro-header.big-img .post-heading {
|
548
|
-
padding:
|
644
|
+
padding: 9.375rem 0;
|
549
645
|
}
|
550
646
|
.intro-header .page-heading h1 {
|
551
|
-
font-size:
|
647
|
+
font-size: 5rem;
|
552
648
|
}
|
553
649
|
.intro-header .post-heading h1 {
|
554
|
-
font-size:
|
650
|
+
font-size: 3.125rem;
|
555
651
|
}
|
556
652
|
.intro-header.big-img .img-desc {
|
557
|
-
font-size:
|
653
|
+
font-size: 0.875rem;
|
558
654
|
}
|
559
655
|
}
|
560
656
|
|
561
657
|
.header-section.has-img .no-img {
|
562
658
|
margin-top: 0;
|
563
659
|
background-color: #FCFCFC;
|
564
|
-
margin: 0 0
|
565
|
-
padding:
|
566
|
-
box-shadow: 0 0
|
660
|
+
margin: 0 0 2.5rem;
|
661
|
+
padding: 1.25rem 0;
|
662
|
+
box-shadow: 0 0 0.3125rem #AAA;
|
567
663
|
}
|
568
664
|
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
|
569
665
|
.header-section.has-img .intro-header.no-img {
|
570
666
|
display: none;
|
571
667
|
}
|
572
|
-
@media
|
668
|
+
@media (max-width: 365px) {
|
573
669
|
.header-section.has-img .intro-header.no-img {
|
574
670
|
display: block;
|
575
671
|
}
|
576
672
|
.intro-header.big-img {
|
577
673
|
width: 100%;
|
578
|
-
height:
|
674
|
+
height: 13.75rem;
|
579
675
|
}
|
580
676
|
.intro-header.big-img .page-heading,
|
581
677
|
.intro-header.big-img .post-heading {
|
@@ -585,30 +681,30 @@ footer .footer-custom-content {
|
|
585
681
|
margin-bottom: 0;
|
586
682
|
}
|
587
683
|
}
|
588
|
-
@media
|
684
|
+
@media (max-width: 325px) {
|
589
685
|
.intro-header.big-img {
|
590
|
-
height:
|
686
|
+
height: 12.5rem;
|
591
687
|
}
|
592
688
|
}
|
593
689
|
|
594
690
|
.caption {
|
595
691
|
text-align: center;
|
596
|
-
font-size:
|
597
|
-
padding:
|
692
|
+
font-size: 0.875rem;
|
693
|
+
padding: 0.625rem;
|
598
694
|
font-style: italic;
|
599
695
|
margin: 0;
|
600
696
|
display: block;
|
601
|
-
border-bottom-right-radius:
|
602
|
-
border-bottom-left-radius:
|
697
|
+
border-bottom-right-radius: 0.3125rem;
|
698
|
+
border-bottom-left-radius: 0.3125rem;
|
603
699
|
}
|
604
700
|
|
605
701
|
#header-gh-btns {
|
606
|
-
margin-bottom:
|
702
|
+
margin-bottom: 0.9375rem;
|
607
703
|
}
|
608
|
-
@media
|
704
|
+
@media (max-width: 500px) {
|
609
705
|
#header-gh-btns > iframe {
|
610
706
|
display: block;
|
611
|
-
margin-bottom:
|
707
|
+
margin-bottom: 0.3125rem;
|
612
708
|
}
|
613
709
|
}
|
614
710
|
|
@@ -621,48 +717,53 @@ footer .footer-custom-content {
|
|
621
717
|
}
|
622
718
|
}
|
623
719
|
.reader-time .middot {
|
624
|
-
margin: 0
|
720
|
+
margin: 0 0.625rem;
|
721
|
+
}
|
722
|
+
|
723
|
+
/* --- Pagination --- */
|
724
|
+
|
725
|
+
.pagination {
|
726
|
+
margin: 0.625rem 0 0;
|
727
|
+
justify-content: space-between;
|
728
|
+
}
|
729
|
+
|
730
|
+
.pagination.blog-pager {
|
731
|
+
margin-top: 0;
|
732
|
+
}
|
733
|
+
|
734
|
+
.pagination .page-item.next {
|
735
|
+
margin-left: auto;
|
625
736
|
}
|
626
737
|
|
627
|
-
|
738
|
+
@media (min-width: 768px) {
|
739
|
+
.pagination.blog-pager {
|
740
|
+
margin-top: 0.625rem;
|
741
|
+
}
|
742
|
+
}
|
628
743
|
|
629
|
-
.
|
744
|
+
.pagination .page-item .page-link {
|
630
745
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
631
746
|
text-transform: uppercase;
|
632
|
-
font-size:
|
747
|
+
font-size: 0.875rem;
|
633
748
|
font-weight: 800;
|
634
749
|
letter-spacing: 1px;
|
635
|
-
padding:
|
750
|
+
padding: 0.625rem 0.3125rem;
|
636
751
|
background-color: #FFF;
|
637
752
|
border-radius: 0;
|
638
753
|
color: #404040;
|
639
754
|
}
|
640
|
-
@media
|
641
|
-
.
|
642
|
-
padding:
|
755
|
+
@media (min-width: 768px) {
|
756
|
+
.pagination .page-item .page-link {
|
757
|
+
padding: 0.9375rem 1.5625rem;
|
643
758
|
}
|
644
759
|
}
|
645
|
-
.
|
646
|
-
.
|
760
|
+
.pagination .page-item .page-link:hover,
|
761
|
+
.pagination .page-item .page-link:focus {
|
647
762
|
color: #FFF;
|
648
763
|
border: 1px solid {{ site.hover-col | default: "#0085A1" }};
|
649
764
|
background-color: {{ site.hover-col | default: "#0085A1" }};
|
650
765
|
}
|
651
766
|
|
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
767
|
/* --- Tables --- */
|
667
768
|
|
668
769
|
table {
|
@@ -682,13 +783,13 @@ table tr th {
|
|
682
783
|
border: 1px solid #cccccc;
|
683
784
|
text-align: left;
|
684
785
|
margin: 0;
|
685
|
-
padding:
|
786
|
+
padding: 0.375rem 0.8125rem;
|
686
787
|
}
|
687
788
|
table tr td {
|
688
789
|
border: 1px solid #cccccc;
|
689
790
|
text-align: left;
|
690
791
|
margin: 0;
|
691
|
-
padding:
|
792
|
+
padding: 0.375rem 0.8125rem;
|
692
793
|
}
|
693
794
|
table tr th :first-child,
|
694
795
|
table tr td :first-child {
|
@@ -702,8 +803,10 @@ table tr td :last-child {
|
|
702
803
|
/* --- Code blocks --- */
|
703
804
|
|
704
805
|
pre {
|
705
|
-
font-size:
|
706
|
-
line-height: 1.
|
806
|
+
font-size: 1rem;
|
807
|
+
line-height: 1.5;
|
808
|
+
border-radius: 0.25rem;
|
809
|
+
padding: 0.59375rem;
|
707
810
|
}
|
708
811
|
.highlight pre {
|
709
812
|
border: none;
|
@@ -714,9 +817,9 @@ pre {
|
|
714
817
|
background-image: linear-gradient(
|
715
818
|
rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em);
|
716
819
|
background-size: auto 3em;
|
717
|
-
background-position-y:
|
820
|
+
background-position-y: 0.625rem;
|
718
821
|
border: 1px solid rgba(0,0,0,0.1);
|
719
|
-
border-left:
|
822
|
+
border-left: 0.4375rem solid #444;
|
720
823
|
}
|
721
824
|
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
|
722
825
|
padding: 0;
|
@@ -747,16 +850,16 @@ pre {
|
|
747
850
|
/* --- Social media sharing section --- */
|
748
851
|
|
749
852
|
#social-share-section {
|
750
|
-
margin-bottom:
|
853
|
+
margin-bottom: 1.875rem;
|
751
854
|
}
|
752
855
|
|
753
856
|
/* --- Notification boxes --- */
|
754
857
|
.box-note, .box-warning, .box-error, .box-success {
|
755
|
-
padding:
|
756
|
-
margin:
|
858
|
+
padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
|
859
|
+
margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
|
757
860
|
border: 1px solid #eee;
|
758
|
-
border-left-width:
|
759
|
-
border-radius:
|
861
|
+
border-left-width: 0.3125rem;
|
862
|
+
border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
|
760
863
|
}
|
761
864
|
|
762
865
|
.box-note {
|
@@ -789,21 +892,10 @@ pre {
|
|
789
892
|
border: unset;
|
790
893
|
}
|
791
894
|
|
792
|
-
/* Fix .navbar-toggle */
|
793
|
-
|
794
|
-
.navbar-default button.navbar-toggle:focus,
|
795
|
-
.navbar-default button.navbar-toggle:hover {
|
796
|
-
background-color: initial;
|
797
|
-
}
|
798
|
-
|
799
|
-
.navbar-default button.navbar-toggle[aria-expanded="true"] {
|
800
|
-
background-color: rgba(0, 0, 0, 0.2);
|
801
|
-
}
|
802
|
-
|
803
895
|
/* Tags page */
|
804
896
|
|
805
897
|
.tag-btn {
|
806
|
-
margin:
|
898
|
+
margin: 0.3125rem;
|
807
899
|
}
|
808
900
|
|
809
901
|
#full-tags-list {
|
@@ -811,15 +903,15 @@ pre {
|
|
811
903
|
}
|
812
904
|
|
813
905
|
#full-tags-list .tag-entry {
|
814
|
-
margin: 0 0
|
906
|
+
margin: 0 0 0.9375rem 1.5625rem;
|
815
907
|
}
|
816
908
|
|
817
909
|
#full-tags-list .tag-entry a {
|
818
|
-
font-size:
|
910
|
+
font-size: 1.25rem;
|
819
911
|
}
|
820
912
|
|
821
913
|
#full-tags-list .tag-entry .entry-date {
|
822
914
|
color: #808080;
|
823
915
|
font-style: italic;
|
824
|
-
font-size:
|
916
|
+
font-size: 1rem;
|
825
917
|
}
|