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.
@@ -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 help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
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
- - "//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
8
- common-googlefonts:
9
- - "Lora:400,700,400italic,700italic"
10
- - "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
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 2016 -->
24
+ <!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2020 -->
20
25
  {% include head.html %}
21
26
 
22
27
  <body>
@@ -4,6 +4,6 @@ layout: base
4
4
 
5
5
  <div class="intro-header"></div>
6
6
 
7
- <div role="main" class="container">
7
+ <div role="main" class="container-md">
8
8
  {{ content }}
9
9
  </div>
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
- {{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
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&nbsp;More]</a>
@@ -60,15 +60,15 @@ layout: page
60
60
  </div>
61
61
 
62
62
  {% if paginator.total_pages > 1 %}
63
- <ul class="pager main-pager">
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 }}">&larr; Newer Posts</a>
65
+ <li class="page-item previous">
66
+ <a class="page-link" href="{{ paginator.previous_page_path | relative_url }}">&larr; 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 &rarr;</a>
70
+ <li class="page-item next">
71
+ <a class="page-link" href="{{ paginator.next_page_path | relative_url }}">Older Posts &rarr;</a>
72
72
  </li>
73
73
  {% endif %}
74
74
  </ul>
@@ -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-js:
6
- - "/assets/js/jquery-1.11.2.min.js"
7
- - "/assets/js/bootstrap.min.js"
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-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
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-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
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="pager blog-pager">
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}}">&larr; 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}}">&larr; 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 &rarr;</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 &rarr;</a>
64
64
  </li>
65
65
  {% endif %}
66
66
  </ul>
67
- {% include comments.html %}
67
+ {% include comments.html %}
68
68
  </div>
69
69
  </div>
70
70
  </div>
@@ -1,12 +1,12 @@
1
1
  .main-content {
2
- padding-bottom: 50px;
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: 3px;
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: 18px;
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: 30px 0;
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: 100px;
44
- margin: 15px auto;
45
- border-width: 4px;
60
+ max-width: 6.25rem;
61
+ margin: 1rem auto;
62
+ border-width: 0.25rem;
46
63
  border-color: inherit;
47
- border-radius: 3px;
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: 50px; /* navbar height */
55
- margin: -50px 0 0;
71
+ height: 3.125rem; /* navbar height */
72
+ margin: -3.125rem 0 0;
56
73
  }
57
74
 
58
75
  .main-content {
59
- padding-top: 80px;
76
+ padding-top: 5rem;
60
77
  }
61
- @media only screen and (min-width: 768px) {
78
+ @media (min-width: 768px) {
62
79
  .main-content {
63
- padding-top: 130px;
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: 30px;
112
+ margin-top: 1.875rem;
101
113
  }
102
114
 
103
- @media only screen and (min-width: 768px) {
115
+ @media (min-width: 768px) {
104
116
  .disqus-comments {
105
- margin-top: 40px;
117
+ margin-top: 2.5rem;
106
118
  }
107
119
  }
108
120
 
109
121
  .linked-section {
110
- padding-top: 60px;
111
- margin-top: -25px;
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
- background-image: url({{ site.navbar-img | relative_url }});
122
- background-attachment: fixed;
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 .nav li a {
127
- text-transform: uppercase;
128
- font-size: 12px;
129
- letter-spacing: 1px;
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:hover,
139
- .navbar-custom .navbar-brand:focus ,
140
- .navbar-custom .nav li a:hover,
141
- .navbar-custom .nav li a:focus {
142
- color: {{ site.hover-col | default: "#0085A1" }};
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
- .navbar-custom.top-nav-short .navbar-brand-logo {
158
- padding-top: 5px;
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
- .navbar-custom.top-nav-short .navbar-brand-logo img {
161
- height: 40px;
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
- @media only screen and (min-width: 768px) {
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: 20px 0;
167
- -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
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;
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
- .navbar-custom.top-nav-short-permanent,
173
- .navbar-custom.top-nav-short {
174
- padding: 0;
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: 50px;
182
- margin-top: -25px;
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
- border-radius: 50%;
190
- box-shadow: 0 0 8px rgba(0, 0, 0, .8);
191
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
192
- -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
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
- border-radius: 50%;
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 only screen and (min-width: 768px) {
353
+ @media (min-width: 768px) {
208
354
  .navbar-custom .avatar-container {
209
- width: 100px;
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: 30px 0;
375
+ padding: 1.875rem 0;
280
376
  border-top: 1px #EAEAEA solid;
281
- margin-top: 50px;
282
- font-size: 14px;
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
- background-image: url({{ site.footer-img | relative_url }});
286
- background-attachment: fixed;
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: 30px;
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: 10px 0 0;
407
+ margin: 0.625rem 0 0;
312
408
  }
313
409
  footer .footer-custom-content {
314
410
  text-align: center;
315
- margin-bottom: 15px;
411
+ margin-bottom: 0.9375rem;
316
412
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
317
413
  }
318
414
 
319
- @media only screen and (min-width: 768px) {
415
+ @media (min-width: 768px) {
320
416
  footer {
321
- padding: 50px 0;
417
+ padding: 3.125rem 0;
322
418
  }
323
419
  footer .footer-links {
324
- font-size: 18px;
420
+ font-size: 1.125rem;
325
421
  }
326
422
  footer .copyright {
327
- font-size: 16px;
423
+ font-size: 1rem;
328
424
  }
329
425
  footer .footer-custom-content {
330
- font-size: 16px;
426
+ font-size: 1rem;
331
427
  }
332
428
  }
333
429
 
334
430
  /* --- Post preview --- */
335
431
 
336
432
  .post-preview {
337
- padding: 20px 0;
433
+ padding: 1.25rem 0;
338
434
  border-bottom: 1px solid #eee;
339
435
  }
340
436
 
341
- @media only screen and (min-width: 768px) {
437
+ @media (min-width: 768px) {
342
438
  .post-preview {
343
- padding: 35px 0;
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: 30px;
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: 10px;
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: 18px;
470
+ font-size: 1.125rem;
375
471
  font-style: italic;
376
- margin: 0 0 10px;
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: 192px;
391
- width: 192px;
392
- margin-top: -35px;
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: 100px;
400
- height: 192px;
401
- width: 192px;
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 only screen and (min-width: 768px) {
503
+ @media (min-width: 768px) {
408
504
  .post-preview .post-title {
409
- font-size: 36px;
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: 15px;
419
- margin-bottom: 30px;
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: 0px 5px;
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: 5px;
531
+ margin-top: 0.3125rem;
436
532
  margin-bottom: 0;
437
533
  }
438
534
 
439
- @media only screen and (min-width: 768px) {
535
+ @media (min-width: 768px) {
440
536
  .post-preview .blog-tags {
441
- margin-top: 10px;
537
+ margin-top: 0.625rem;
442
538
  }
443
539
  }
444
540
 
445
- @media only screen and (max-width: 500px) {
541
+ @media (max-width: 500px) {
446
542
  .post-image, .post-image img {
447
- height: 100px;
448
- width: 100px;
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: 80px 0 20px;
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: 51px; /* The small navbar is 50px tall + 1px border */
471
- margin-bottom: 35px;
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: 100px 0;
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: 50px;
594
+ font-size: 3.125rem;
499
595
  }
500
596
  .intro-header .post-heading h1 {
501
597
  margin-top: 0;
502
- font-size: 35px;
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: 27px;
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: 10px 0 0;
607
+ margin: 0.625rem 0 0;
512
608
  }
513
609
  .intro-header .post-heading .post-subheading {
514
- margin-bottom: 20px;
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: 5px 10px;
532
- font-size: 11px;
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 only screen and (min-width: 768px) {
635
+ @media (min-width: 768px) {
540
636
  .intro-header {
541
- margin-top: 130px;
637
+ margin-top: 8.125rem;
542
638
  }
543
639
  .intro-header.big-img {
544
- margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */
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: 150px 0;
644
+ padding: 9.375rem 0;
549
645
  }
550
646
  .intro-header .page-heading h1 {
551
- font-size: 80px;
647
+ font-size: 5rem;
552
648
  }
553
649
  .intro-header .post-heading h1 {
554
- font-size: 50px;
650
+ font-size: 3.125rem;
555
651
  }
556
652
  .intro-header.big-img .img-desc {
557
- font-size: 14px;
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 40px;
565
- padding: 20px 0;
566
- box-shadow: 0 0 5px #AAA;
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 only screen and (max-width: 365px) {
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: 220px;
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 only screen and (max-width: 325px) {
684
+ @media (max-width: 325px) {
589
685
  .intro-header.big-img {
590
- height: 200px;
686
+ height: 12.5rem;
591
687
  }
592
688
  }
593
689
 
594
690
  .caption {
595
691
  text-align: center;
596
- font-size: 14px;
597
- padding: 10px;
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: 5px;
602
- border-bottom-left-radius: 5px;
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: 15px;
702
+ margin-bottom: 0.9375rem;
607
703
  }
608
- @media only screen and (max-width: 500px) {
704
+ @media (max-width: 500px) {
609
705
  #header-gh-btns > iframe {
610
706
  display: block;
611
- margin-bottom: 5px;
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 10px;
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
- /* --- Pager --- */
738
+ @media (min-width: 768px) {
739
+ .pagination.blog-pager {
740
+ margin-top: 0.625rem;
741
+ }
742
+ }
628
743
 
629
- .pager li a {
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: 14px;
747
+ font-size: 0.875rem;
633
748
  font-weight: 800;
634
749
  letter-spacing: 1px;
635
- padding: 10px 5px;
750
+ padding: 0.625rem 0.3125rem;
636
751
  background-color: #FFF;
637
752
  border-radius: 0;
638
753
  color: #404040;
639
754
  }
640
- @media only screen and (min-width: 768px) {
641
- .pager li a {
642
- padding: 15px 25px;
755
+ @media (min-width: 768px) {
756
+ .pagination .page-item .page-link {
757
+ padding: 0.9375rem 1.5625rem;
643
758
  }
644
759
  }
645
- .pager li a:hover,
646
- .pager li a:focus {
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: 6px 13px;
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: 6px 13px;
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: 16px;
706
- line-height: 1.5em;
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: 10px;
820
+ background-position-y: 0.625rem;
718
821
  border: 1px solid rgba(0,0,0,0.1);
719
- border-left: 7px solid #444;
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: 30px;
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: 15px 15px 15px 10px;
756
- margin: 20px 20px 20px 5px;
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: 5px;
759
- border-radius: 5px 3px 3px 5px;
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: 5px;
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 15px 25px;
906
+ margin: 0 0 0.9375rem 1.5625rem;
815
907
  }
816
908
 
817
909
  #full-tags-list .tag-entry a {
818
- font-size: 20px;
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: 16px;
916
+ font-size: 1rem;
825
917
  }