jumbo-jekyll-theme 4.6.2 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/_sass/app/blog.scss CHANGED
@@ -1,76 +1,22 @@
1
- .col-sm-9.session-info {
2
- border-top: 1px solid #eee;
3
- padding-top: 25px;
4
- }
5
-
6
- .col-sm-3.speaker-info {
7
- border-top: 1px solid #eee;
8
- padding-top: 25px;
9
- }
10
-
11
- .arm-hpc-session:nth-child(even)
12
- {
13
- background-color: #f5faff;
14
-
15
- }
16
- .arm-hpc-session
17
- {
18
- overflow: auto;
19
- }
20
-
21
- p.talk-abstract {
22
- margin-top: 12px;
23
- }
24
-
25
- h1#featured-image-blog-title {
26
- color: white;
27
- margin-bottom: 50px;
28
- padding-top: 40px;
29
- }
30
- .row.blog_content_area.main-cont {
31
- padding-top: 20px;
32
- }
33
-
34
- .speakers-arm-hpc p.list-group-item-text {
35
- margin-bottom: 0px ;
36
- }
37
-
38
- .blog-author-image{
39
- background-position: center center;
40
- }
41
-
42
- @media(max-width:$screen-sm-min){
43
- .blog-author-image {
44
- height: 50px;
45
- width: 50px;
46
- }
47
- #content-container .blog_post h3 {
48
- font-size: 18px;
49
- }
50
- #content-container .blog_post p {
51
- font-size: 12px;
52
- }
53
- }
54
-
55
- #wrapper h3.panel-title {
56
- color: $blog-panel-title-colour;
57
- }
58
- .disqus-placeholder.is-hidden { display: none; }
59
-
60
- // Post Series section
61
- #content-container .post-series ul li.active a {
62
- color: white;
63
- }
64
- .panel.post-series {
65
- background-color: whitesmoke;
66
- padding: 5px;
67
- border: 1px solid #e2e2e2;
68
- }
69
- #content-container .post-series p {
70
- margin-bottom: 5px;
71
- font-size: 16px;
72
- }
73
- #wrapper .blog_post img {
74
- max-height: 140px;
75
- width: auto;
76
- }
1
+ // .col-sm-9.session-info {
2
+ // border-top: 1px solid #eee;
3
+ // padding-top: 25px;
4
+ // }
5
+ // .col-sm-3.speaker-info {
6
+ // border-top: 1px solid #eee;
7
+ // padding-top: 25px;
8
+ // }
9
+ // .arm-hpc-session:nth-child(even)
10
+ // {
11
+ // background-color: #f5faff;
12
+ // }
13
+ // .arm-hpc-session
14
+ // {
15
+ // overflow: auto;
16
+ // }
17
+ // p.talk-abstract {
18
+ // margin-top: 12px;
19
+ // }
20
+ // .speakers-arm-hpc p.list-group-item-text {
21
+ // margin-bottom: 0px ;
22
+ // }
data/_sass/blog.scss CHANGED
@@ -1,9 +1,3 @@
1
1
  // Blog Theme includes
2
- @import "core/breadcrumb";
3
- @import "core/tables";
4
2
  @import "core/blog";
5
- @import "core/featherlight";
6
3
  @import "core/syntax";
7
- @import "core/animations";
8
- @import "core/carousel-styles";
9
- @import "core/jumbotron";
data/_sass/core/blog.scss CHANGED
@@ -1,665 +1,426 @@
1
-
2
- /* Pagination Style */
3
- div#pagination_panel > ul > li.active > a{
4
- color: $navbar-inverse-bg;
5
- }
6
-
7
- /* Make sure the comments sections is beneath content. */
8
- section#comments-section {
9
- clear: both;
10
- }
11
- #content-container p.post_excerpt {
12
- font-size: 15px;
13
- margin-top: 10px;
14
- }
15
-
16
- /* Make sure div extends with content */
17
- article.post-content {
18
- overflow: auto;
19
- }
20
-
21
- .row.blog_post picture {
22
- top: -20px;
23
- position: relative;
24
- }
25
- #content-container .blog_post h3 {
26
- margin-top: 0px;
27
- }
28
- #content-container .row.blog_post picture {
29
- top:0px;
30
- }
31
-
32
- #content-container .blog_post img.img-responsive.center-block {
33
- padding:0px;
34
- }
35
-
36
- /* Blog Side Bar Panel Title */
37
- #wrapper h3.panel-title {
38
- color: $blog-panel-title-colour;
39
- }
40
-
41
- /* Post Info - post.html layout */
42
- .post-info {
43
- margin-bottom: 20px;
44
- }
45
-
46
- /* Blog Author Image */
47
- img.blog-author-image {
48
- transition: all 100ms linear;
49
- }
50
-
51
- /* Change the author image border on hover */
52
- a:hover > img.blog-author-image {
53
- border-color: #d4d4d4;
54
- }
55
-
56
- /* Blog Author Text */
57
- #wrapper small.blog-author.text-center > a > em {
58
- color:white;
59
- transition: all 500ms linear;
60
- }
61
- #wrapper small.blog-author.text-center > a:hover > em {
62
- color:#a681b8;
63
- }
64
- /* Blog Post Images - Responsive by default */
65
- article.post-content img {
66
- width: 100%;
67
- height: auto;
68
- }
69
-
70
- /* Blog Image thumbnail size */
71
- img.img-thumbnail {
72
- width: 100px;
73
- }
74
-
75
- /* Blog Side Panel Styles*/
76
- .blog-panel{
77
- margin-top:30px;
78
- }
79
- .blog-panel .panel-primary .panel-heading{
80
- margin-left: 5px;
81
- }
82
- .img-blog{
83
- height:600px;
84
- }
85
- .blog-featured-img-container{
86
- position: relative;
87
- }
88
- #jumbotron-content{
89
- color: $featured-image-text-color;
90
- margin-left: auto;
91
- margin-bottom: 82px;
92
- margin-right: auto;
93
- z-index: 1;
94
- height: 300px;
95
- text-align: center;
96
- line-height: 50px;
97
- position: relative;
98
- vertical-align: middle;
99
- }
100
- .blog-title {
101
- width: 50%;
102
- margin-right: auto;
103
- margin-left: auto;
104
- font-size: 56px;
105
- }
106
- .panel-primary {
107
- border: 1px solid #7b7b7b;
108
- }
109
- .panel-heading {
110
- background-color: $brand-primary;
111
- color: #fff;
112
- }
113
-
114
- .blog-author-image{
115
- height: 83px;
116
- width: 83px;
117
- border-radius: 83px;
118
- border: 4px solid white;
119
- background-size: cover;
120
- background-repeat: no-repeat;
121
- }
122
- .full-page-image-text{
123
- top:300px;
124
- position:relative;
125
- margin-left: auto;
126
- margin-right: auto;
127
- z-index: 1;
128
- line-height:50px;
129
- vertical-align:middle;
130
- }
131
- .no-padding {
132
- padding: 0 !important;
133
- margin: 0 !important;
134
- }
135
- .blog-icons{
136
- border: 1px solid $gray-light;
137
- border-radius: 45px;
138
- width: 34px;
139
- padding: 5px;
140
- float: left;
141
- display: block;
142
- margin: 5px;
143
- opacity: .8;
144
- color: $gray-light;
145
- -webkit-transition: all 1s ease;
146
- transition: all 1s ease;
147
- }
148
- .blog-icons:hover{
149
- color: $brand-primary;
150
- border: 1px solid $brand-primary;
151
- background-color: black;
152
- opacity: 1;
153
- transition: all 1s ease;
154
- }
155
- .blog-icons:active, .blog-icons:focus{
156
- border: 1px solid $gray-light;
157
- border-radius: 45px;
158
- width: 45px;
159
- margin: 4px;
160
- opacity: .8;
161
- color: $gray-light;
162
- }
163
- .blog-read-more-btn{
164
- background-color: white;
165
- border: 2px solid $gray-base;
166
- border-radius: 0px;
167
- color: $gray-base;
168
- transition: all 1s ease;
169
- padding: 6px;
170
- }
171
- .blog-read-more-btn:hover{
172
- background-color: $brand-primary;
173
- color: white;
174
- transition: all 1s ease;
175
- }
176
- .blog-read-more-btn:active, .blog-read-more-btn:focus{
177
- background-color: $brand-primary;
178
- color: white;
179
- transition: all 1s ease;
180
- }
181
- a.featured_blog_post_text {
182
- font-size: 13px;
183
- line-height: 18px;
184
- color: $gray-base;
185
- transition: all 1s ease;
186
- }
187
- a.featured_blog_post_text:hover{
188
- font-size: 13px;
189
- line-height: 18px;
190
- color: $brand-primary;
191
- transition: all 1s ease;
192
- }
193
- .blog_post{
194
- border-bottom: 1px solid $gray-lighter;
195
- padding-bottom: 10px;
196
- padding-top: 10px;
197
- }
198
-
199
- .featured_blog_post {
200
- height: auto;
201
- margin: -1px;
202
- border-bottom: 1px solid $gray-lighter;
203
- padding: 12px;
204
- }
205
- .blog-well {
206
- background: $gray-darker;
207
- }
208
- .btn-blog{
209
- border: 2px solid $gray-lighter;
210
- color: $gray-base;
211
- padding: 6px;
212
- }
213
- .btn-blog:hover{
214
- color: $brand-primary;
215
- }
216
- .blog-img {
217
- margin-top:25px;
218
- }
219
- #blog-background-image{
220
- background-size: cover;
221
- height:800px;
222
- }
223
- .post-content ol, .post-content ul {
224
- line-height: 1.6em;
225
- font-size: 16px;
226
- }
227
- .post_tag {
228
- background-color: $gray-lighter;
229
- margin: 2px;
230
- color: #464646;
231
- }
232
- span.tag {
233
- display: inline-block;
234
- background-color: $post-tag-bg;
235
- color: $post-tag-color;
236
- padding: 10px;
237
- margin: 2px 0;
238
- border: 1px solid $post-tag-border;
239
- }
240
- a:hover span.tag {
241
- background-color: $post-tag-hover-bg;
242
- color: $post-tag-hover-color;
243
- }
244
- div#post-tags {
245
- margin-bottom: 20px;
246
- }
247
- //Pagination centered style
248
- .pagination-centered {
249
- text-align: center;
250
- }
251
- /* Article Post Content Style */
252
- article.post-content {
253
- overflow: auto;
254
- }
255
- article.post-content > .col-md-8 {
256
- padding: 0;
257
- }
258
- article.post-content > .col-md-4 {
259
- padding: 15px;
260
- }
261
- // Tag Cloud Style
262
- div.tag_cloud {
263
- margin-bottom: 20px;
264
- margin-top: 20px;
265
- }
266
- div.previous_post{
267
- display:none;
268
- }
269
- div.next_post{
270
- display:none;
271
- }
272
- a.previous_post_anchor {
273
- position: fixed;
274
- top: 50%;
275
- right:0;
276
- z-index: 99999;
277
- }
278
- a.next_post_anchor {
279
- position: fixed;
280
- top: 50%;
281
- left:0;
282
- z-index: 99999;
283
- }
284
- //Small Inline Blog Images
285
- #wrapper img.small-inline {
286
- width: 100px;
287
- height: auto;
288
- display: inline-block;
289
- float: left;
290
- margin-right: 30px;
291
- margin-top: 5px;
292
- margin-bottom: 30px;
293
- }
294
- // Medium Inline Blog Images
295
- img.medium-inline {
296
- width: 200px !important;
297
- height: auto !important;
298
- display: inline-block;
299
- float: left;
300
- margin-right: 30px;
301
- margin-top: 5px;
302
- margin-bottom: 30px;
303
- }
304
- //Large Inline Blog Images
305
- img.large-inline {
306
- width: 300px !important;
307
- height: auto !important;
308
- display: inline-block;
309
- float: left;
310
- margin-right: 30px;
311
- margin-top: 5px;
312
- margin-bottom: 30px;
313
- }
314
- img.medium-inline.right {
315
- float: right;
316
- }
317
- img.small-inline.right {
318
- float: right;
319
- }
320
-
321
- img.large-inline.right {
322
- float: right;
323
- }
324
-
325
- // Previous and Next Post Style
326
- @media(min-width:$screen-sm-min){
327
- #jumbotron small {
328
- font-size:15px;
329
- }
330
-
331
- article{
332
- padding-right: 20px;
333
- }
334
-
335
- div.previous_post{
336
- display:block;
337
- width: 0;
338
- height: 0;
339
- border-top: 20px solid transparent;
340
- border-bottom: 20px solid transparent;
341
- border-left: 20px solid #eee;
342
- }
343
- div.next_post{
344
- display:block;
345
- width: 0;
346
- height: 0;
347
- border-top: 20px solid transparent;
348
- border-bottom: 20px solid transparent;
349
- border-right: 20px solid #eee;
1
+ // GENERIC
2
+ div#pagination_panel {
3
+ ul {
4
+ li{
5
+ &.active {
6
+ a {
7
+ color: #fff;
8
+ }
9
+ }
10
+ }
350
11
  }
351
12
  }
352
- //Responsive CSS for Blog
353
- @media(max-width:$screen-sm-min){
354
- .blog-title{
355
- width:95%;
356
- font-size: 34px;
357
- }
358
- .blog-author-image {
359
- height: 100px;
360
- width: 100px;
361
- }
362
- em.post_date {
363
- font-size: 13px;
364
- }
365
- p.post_excerpt {
366
- font-size: 11px;
367
- }
368
-
369
- h3.post_title {
370
- font-size: 17px;
13
+ a {
14
+ &:hover {
15
+ .blog-author-image {
16
+ border-color: #d4d4d4;
17
+ }
371
18
  }
372
-
373
- h1#featured-image-blog-title {
374
- font-size: 26px;
19
+ }
20
+ p {
21
+ &.post_excerpt {
22
+ font-size: 15px;
23
+ margin-top: 10px;
24
+ @media(max-width:$screen-sm-min){
25
+ font-size: 11px;
26
+ }
375
27
  }
376
28
  }
377
- @media (max-width: $screen-xs-min) {
378
- article.post-content > .col-md-4 {
379
- padding: 0px;
29
+ .blog-author-image {
30
+ background-position: center center;
31
+ transition: all 100ms linear;
32
+ @media(max-width:$screen-sm-min){
33
+ height: 50px;
34
+ width: 50px;
380
35
  }
381
36
  }
382
- @media(max-width: $screen-md-min - 1){
383
- /* Blog Sidebar */
384
- .col-md-3.blog-sidebar {
385
- margin-top: 15px;
386
- padding-right: 0px;
387
- padding-left: 0px;
37
+ // BLOG FEATURED IMAGE SECTION
38
+ #jumbotron {
39
+ a {
40
+ &:hover{
41
+ text-decoration: none;
42
+ & img {
43
+ border-color:$brand-primary;
44
+ }
45
+ }
388
46
  }
389
- .featured_blog_post img.img-responsive {
390
- padding-right: 10px;
47
+ #jumbotron-content{
48
+ color: $featured-image-text-color;
49
+ margin-left: auto;
50
+ margin-bottom: 82px;
51
+ margin-right: auto;
52
+ z-index: 1;
53
+ height: 300px;
54
+ text-align: center;
55
+ line-height: 50px;
56
+ position: relative;
57
+ vertical-align: middle;
58
+ #jumbotron-text {
59
+ small {
60
+ @media(min-width:$screen-sm-min){
61
+ font-size:15px;
62
+ }
63
+ }
64
+ .blog-author {
65
+ a {
66
+ em {
67
+ color:white;
68
+ transition: all 500ms linear;
69
+ }
70
+ &:hover {
71
+ em {
72
+ color:#a681b8;
73
+ }
74
+ }
75
+ }
76
+ }
77
+ .blog-author-image{
78
+ height: 83px;
79
+ width: 83px;
80
+ border-radius: 83px;
81
+ border: 4px solid white;
82
+ background-size: cover;
83
+ background-repeat: no-repeat;
84
+ }
85
+ }
391
86
  }
392
87
  }
393
- // Blog Side Panel Styles
394
- .featured_post_post > .row {
395
- padding: 5px;
396
- border-bottom: 1px solid #eee;
397
- }
398
- .featured_post_post > .row > div > img{
399
- margin-top:10px;
400
- margin-left:10px;
401
-
402
- transition: all 200ms linear;
403
- }
404
-
405
- .featured_blog_post > .row {
406
- padding: 5px;
407
- border-bottom: 1px solid #eee;
408
-
409
- transition: all 200ms linear;
410
- }
411
- .featured_blog_post > .row > div > img{
412
- margin-top:10px;
413
- margin-left:10px;
414
- }
415
-
416
- .blog-row .panel, .blog-post-content .panel {
417
- border: 0 !important;
418
- }
419
-
420
- .blog-row .panel-body, .panel-body {
421
- border:1px solid #eee;
422
- padding-bottom:0;
423
- padding-top: 0;
424
- }
425
-
426
- .blog-row .col-md-9.col-sm-9.col-xs-9 , .blog-post-content .col-md-9.col-sm-9.col-xs-9 {
427
- padding-left:20px;
428
- padding-top:10px;
429
- }
430
-
431
- //Hover Style
432
- .featured_blog_post>.row:hover {
433
- background-color: #fdfdfd;
434
- }
435
-
436
- .featured_blog_post small em {
437
- color:black;
438
- }
439
- #jumbotron a:hover{
440
- text-decoration: none;
441
- }
442
- #jumbotron a:hover img{
443
- border-color:$brand-primary;
444
- }
445
- span.reading-time {
446
- padding: 5px;
447
- background-color: white;
448
- color: black;
449
- font-size: 10px;
450
- opacity: .8;
451
- height: 20px;
452
- line-height: 10px;
453
- }
454
88
  .blog-content {
89
+ padding: 0;
455
90
  @media(max-width: $screen-sm-min - 1){
456
91
  padding-left:0px;
457
92
  padding-right: 0px;
458
93
  }
459
94
  }
460
- .col-xs-12.col-sm-8.col-sm-offset-2.blog-sidebar {
461
- margin-top: 40px;
462
- margin-bottom: 40px;
463
- @media(max-width: $screen-sm-min - 1){
464
- padding-left:0px;
465
- padding-right: 0px;
95
+ // BLOG CONTENT
96
+ article {
97
+ &.post-content {
98
+ overflow: auto;
99
+ margin-top: 20px;
100
+ ol, ul {
101
+ line-height: 1.6em;
102
+ font-size: 16px;
103
+ }
104
+ .post-series {
105
+ background-color: whitesmoke;
106
+ padding: 5px;
107
+ border: 1px solid #e2e2e2;
108
+ p {
109
+ margin-bottom: 5px;
110
+ font-size: 16px;
111
+ }
112
+ ul {
113
+ li.active {
114
+ a {
115
+ color: white;
116
+ }
117
+ }
118
+ }
119
+ }
120
+ img {
121
+ width: 100%;
122
+ height: auto;
123
+ &.small-inline {
124
+ width: 100px;
125
+ height: auto;
126
+ display: inline-block;
127
+ float: left;
128
+ margin-right: 30px;
129
+ margin-top: 5px;
130
+ margin-bottom: 30px;
131
+ &.right {
132
+ float: right;
133
+ }
134
+ }
135
+ &.medium-inline {
136
+ width: 200px !important;
137
+ height: auto !important;
138
+ display: inline-block;
139
+ float: left;
140
+ margin-right: 30px;
141
+ margin-top: 5px;
142
+ margin-bottom: 30px;
143
+ &.right {
144
+ float: right;
145
+ }
146
+ }
147
+ &.large-inline {
148
+ width: 300px !important;
149
+ height: auto !important;
150
+ display: inline-block;
151
+ float: left;
152
+ margin-right: 30px;
153
+ margin-top: 5px;
154
+ margin-bottom: 30px;
155
+ &.right {
156
+ float: right;
157
+ }
158
+ }
159
+ }
160
+ .highlighter-rouge {
161
+ div.highlight {
162
+ position: relative;
163
+ pre.highlight {
164
+ padding: 15px;
165
+ position: relative;
166
+ }
167
+ .copyBtn {
168
+ position: absolute;
169
+ bottom: 0px;
170
+ z-index: 9999;
171
+ height: 40px;
172
+ right: 0px;
173
+ border-left: 1px solid white;
174
+ border-top: 1px solid white;
175
+ width: 40px;
176
+ }
177
+ &:hover, &:focus {
178
+ background-color:$brand-primary;
179
+ }
180
+ }
181
+ }
466
182
  }
467
183
  }
468
- article.post-content {
469
- margin-top: 20px;
470
- }
471
- .highlighter-rouge > div {
472
- position: relative;
473
- }
474
- button.btn.copyBtn {
475
- position: absolute;
476
- bottom: 0px;
477
- z-index: 9999;
478
- height: 40px;
479
- right: 0px;
480
- border-left: 1px solid white;
481
- border-top: 1px solid white;
482
- width: 40px;
483
- }
484
- button.btn.copyBtn:hover, button.btn.copyBtn:focus {
485
- background-color:$brand-primary;
486
- }
487
- pre.highlight {
184
+ // BLOG SIDEBAR
185
+ .blog-sidebar {
488
186
  padding: 15px;
489
- position: relative;
490
- }
491
- // Feautured Post Row
492
- #wrapper .latest-featured-post img {
493
- height: 100%;
494
- max-height: none !important;
495
- width: 100% !important;
496
- object-fit: cover !important;
497
- }
498
- #wrapper .latest-featured-post{
499
- padding-right:0px;
500
- padding-left:0px;
501
- height: 100%;
502
- @media(max-width: $screen-sm-min){
187
+ margin-top: 40px;
188
+ margin-bottom: 40px;
189
+ .featured_blog_post {
503
190
  height: auto;
191
+ margin: -1px;
192
+ border-bottom: 1px solid $gray-lighter;
193
+ padding: 12px;
194
+ img{
195
+ margin-top:5px;
196
+ @media(max-width: $screen-md-min - 1){
197
+ padding-right: 10px;
198
+ }
199
+
200
+ }
201
+ small {
202
+ em {
203
+ color:black;
204
+ }
205
+ }
504
206
  }
505
- }
506
-
507
- .col-xs-12.col-sm-5.col-sm-pull-7.latest-featured-post-content {
508
- padding: 20px;
509
- }
207
+ .panel-primary {
208
+ .panel-heading{
209
+ background-color: $brand-primary;
210
+ color: #fff;
211
+ h3.panel-title {
212
+ color: $blog-panel-title-colour;
213
+ }
214
+ }
215
+ }
216
+ #post-tags {
217
+ margin-bottom: 20px;
218
+ a {
219
+ &.hover span.tag {
220
+ background-color: $post-tag-hover-bg;
221
+ color: $post-tag-hover-color;
222
+ }
223
+ span.tag {
224
+ display: inline-block;
225
+ background-color: $post-tag-bg;
226
+ color: $post-tag-color;
227
+ padding: 10px;
228
+ margin: 2px 0;
229
+ border: 1px solid $post-tag-border;
230
+ }
231
+ }
510
232
 
511
- .featured-post-row {
512
- border: 1px solid #eee;
513
- padding-left:0px;
514
- padding-top:0px;
515
- padding-right:0px;
516
- padding-bottom: 0px;
517
- @media(max-width: $screen-sm-min){
518
- margin-left: 15px;
519
- margin-right: 15px;
520
233
  }
521
- border-radius:20px;
522
- overflow:hidden;
523
- margin-bottom: 30px;
524
- -webkit-box-shadow: 0px 0px 20px 5px rgb(240, 240, 240);
525
- -moz-box-shadow: 0px 0px 20px 5px rgb(229, 229, 229);
526
- box-shadow: 0px 0px 20px 5px rgb(235, 235, 235);
527
- }
528
- .post-cat {
529
- padding: 5px;
530
- margin-bottom: 5px;
531
- color: $brand-primary;
532
- font-weight: bold;
533
- display: inline-block;
534
- text-transform: uppercase;
535
- }
536
- .blog-post-item {
537
- border-radius: 10px;
538
- overflow: hidden;
539
- background-color: white;
540
- margin-right: 15px;
541
- @media(max-width: $screen-sm-min){
542
- margin-left: 15px;
543
- margin-right: 15px;
234
+ @media(max-width: $screen-sm-min - 1){
235
+ padding-left:0px;
236
+ padding-right: 0px;
544
237
  }
545
- margin-bottom: 30px;
546
- -webkit-box-shadow: 0px 0px 20px 5px #f0f0f0;
547
- -moz-box-shadow: 0px 0px 20px 5px #e5e5e5;
548
- box-shadow: 0px 0px 20px 5px #ebebeb;
549
- border: 1px solid #eee;
550
- transition: all 200ms ease;
551
- display: flex;
552
- flex-wrap: wrap;
553
- height: 100%;
554
- }
555
-
556
- .blog-post-item-content {
557
- padding: 10px;
558
- display: flex;
559
- flex-direction: column;
560
- }
561
- .blog-post-item img {
562
- width: 100%;
563
- height: 150px;
564
- object-fit: cover;
565
- }
566
- .author-section .blog-author-image {
567
- display: inline-block;
568
- height: 60px;
569
- width: 60px;
570
- position: relative;
571
- z-index: 2;
572
- border: 1px solid #eee;
573
- }
574
-
575
- .blog-author-image.co-author {
576
- left: -30px;
577
- z-index: 1;
578
- position: relative;
579
- }
580
-
581
- .author-section small.blog-author.text-center {
582
- top: -20px;
583
- position: relative;
584
- display: inline;
585
- left: 0px;
586
- }
587
-
588
- .author-section small.blog-author {
589
- display: inline-block;
590
- text-align: left;
591
- position: relative;
592
- top: -20px;
593
- }
594
-
595
- .blog-author-image.co-author + small.blog-author {
596
- left: -30px;
597
- position:relative;
598
- }
599
- .blog-featured-image::after {
600
- content: '';
601
- display:none;
602
- height:100%;
603
- width:100%;
604
- position: absolute;
605
- top:0px;
606
- opacity:.4;
607
- background-color:$brand-primary;
608
- }
609
- .blog-featured-image{
610
- position: relative;
611
- overflow:hidden;
612
- height: 150px;
613
- }
614
- .blog-post-item:hover .blog-featured-image::after {
615
- display:block;
616
- }
617
- .blog-post-item:hover{
618
- transform: translateY(-5px);
619
- -webkit-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
620
- -moz-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
621
- box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
622
- }
623
- .blog-post-item:hover .read-article {
624
- display: block !important;
625
- }
626
- .read-article {
627
- display:none !important;
628
- position: absolute;
629
- z-index: 99999;
630
- color: #fff;
631
- font-weight:bold;
632
- font-size:18px;
633
- top: 80px;
634
- height: 20px;
635
- display: table-cell;
636
- width: 100%;
637
- text-align: center;
638
- }
639
- @media(min-width: $screen-sm-min){
640
- .blog-post-item-col:nth-child(3n+2) > .blog-post-item {
641
- margin-right:15px !important;
642
- margin-left:0px !important;
238
+ @media (max-width: $screen-xs-min) {
239
+ padding: 0px;
240
+ }
241
+ @media(max-width: $screen-md-min - 1){
242
+ margin-top: 15px;
243
+ padding-right: 0px;
244
+ padding-left: 0px;
643
245
  }
644
246
  }
645
- .row.blog-section {
247
+ // BLOG INDEX PAGE
248
+ .blog-section {
646
249
  display: flex;
647
250
  flex-wrap: wrap;
251
+ [class*='col-'] {
252
+ display: flex;
253
+ flex-direction: column;
254
+ }
255
+ .post-cat {
256
+ padding: 5px;
257
+ margin-bottom: 5px;
258
+ color: $brand-primary;
259
+ font-weight: bold;
260
+ display: inline-block;
261
+ text-transform: uppercase;
262
+ }
263
+ .featured-post-row{
264
+ border: 1px solid #eee;
265
+ padding-left:0px;
266
+ padding-top:0px;
267
+ padding-right:0px;
268
+ padding-bottom: 0px;
269
+ .latest-featured-post {
270
+ padding-right:0px;
271
+ padding-left:0px;
272
+ height: 100%;
273
+ img {
274
+ height: 100%;
275
+ max-height: none !important;
276
+ width: 100% !important;
277
+ object-fit: cover !important;
278
+ }
279
+ @media(max-width: $screen-sm-min){
280
+ height: auto;
281
+ }
282
+ }
283
+ .latest-featured-post-content {
284
+ padding: 20px;
285
+ .post-info {
286
+ margin-bottom: 20px;
287
+ }
288
+ }
289
+ @media(max-width: $screen-sm-min){
290
+ margin-left: 15px;
291
+ margin-right: 15px;
292
+ }
293
+ border-radius:20px;
294
+ overflow:hidden;
295
+ margin-bottom: 30px;
296
+ -webkit-box-shadow: 0px 0px 20px 5px rgb(240, 240, 240);
297
+ -moz-box-shadow: 0px 0px 20px 5px rgb(229, 229, 229);
298
+ box-shadow: 0px 0px 20px 5px rgb(235, 235, 235);
299
+ }
300
+ .blog-post-item-col {
301
+ .blog-post-item {
302
+ border-radius: 10px;
303
+ overflow: hidden;
304
+ background-color: white;
305
+ margin-right: 15px;
306
+ margin-bottom: 30px;
307
+ -webkit-box-shadow: 0px 0px 20px 5px #f0f0f0;
308
+ -moz-box-shadow: 0px 0px 20px 5px #e5e5e5;
309
+ box-shadow: 0px 0px 20px 5px #ebebeb;
310
+ border: 1px solid #eee;
311
+ transition: all 200ms ease;
312
+ display: flex;
313
+ flex-wrap: wrap;
314
+ height: 100%;
315
+ @media(max-width: $screen-sm-min){
316
+ margin-left: 15px;
317
+ margin-right: 15px;
318
+ }
319
+ a{
320
+ width: 100%;
321
+ }
322
+ &:nth-child(3n+2) {
323
+ .blog-post-item {
324
+ @media(min-width: $screen-sm-min){
325
+ margin-right:15px !important;
326
+ margin-left:0px !important;
327
+ }
328
+ }
329
+ }
330
+ .blog-featured-image {
331
+ position: relative;
332
+ overflow:hidden;
333
+ height: 150px;
334
+ .read-article {
335
+ display:none !important;
336
+ position: absolute;
337
+ z-index: 99999;
338
+ color: #fff;
339
+ font-weight:bold;
340
+ font-size:18px;
341
+ top: 80px;
342
+ height: 20px;
343
+ display: table-cell;
344
+ width: 100%;
345
+ text-align: center;
346
+ }
347
+ &.using-placeholder {
348
+ img {
349
+ object-fit: contain !important;
350
+ }
351
+ }
352
+ &::after {
353
+ content: '';
354
+ display:none;
355
+ height:100%;
356
+ width:100%;
357
+ position: absolute;
358
+ top:0px;
359
+ opacity:.4;
360
+ background-color:$brand-primary;
361
+ }
362
+ }
363
+ .blog-post-item-content {
364
+ padding: 10px;
365
+ display: flex;
366
+ flex-direction: column;
367
+ .author-section {
368
+ .blog-author-image {
369
+ border-radius: 83px;
370
+ background-size: cover;
371
+ background-repeat: no-repeat;
372
+ display: inline-block;
373
+ height: 60px;
374
+ width: 60px;
375
+ position: relative;
376
+ z-index: 2;
377
+ border: 1px solid #eee;
378
+ }
379
+ .small.blog-author {
380
+ display: inline-block;
381
+ text-align: left;
382
+ position: relative;
383
+ top: -20px;
384
+ }
385
+ }
386
+ }
387
+ img {
388
+ width: 100%;
389
+ height: 150px;
390
+ object-fit: cover;
391
+ }
392
+ &:hover {
393
+ transform: translateY(-5px);
394
+ -webkit-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
395
+ -moz-box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
396
+ box-shadow: 0px 0px 20px 5px rgba(179,179,179,1);
397
+ & .blog-featured-image::after {
398
+ display:block;
399
+ }
400
+ & .read-article {
401
+ display: block !important;
402
+ }
403
+ }
404
+ }
405
+
406
+ }
648
407
  }
649
- .row.blog-section > [class*='col-'] {
650
- display: flex;
651
- flex-direction: column;
652
- }
653
- .blog-post-item a {
654
- width: 100%;
655
- }
656
- .blog-featured-image.using-placeholder img {
657
- object-fit: contain !important;
658
- }
408
+ // Disqus Comments
659
409
  section.disqus {
660
410
  padding-right: 20px;
661
411
  margin-top: 40px;
662
412
  @media(max-width: $screen-sm-min){
663
413
  padding-right: 0px;
664
414
  }
415
+ }
416
+ // Reading Time Span
417
+ span.reading-time {
418
+ padding: 5px;
419
+ background-color: white;
420
+ color: black;
421
+ font-size: 10px;
422
+ opacity: .8;
423
+ height: 20px;
424
+ line-height: 10px;
425
+ border-radius: 2px;
665
426
  }