daiblogs 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +69 -3
  3. data/_includes/head.html +3 -0
  4. data/_includes/header.html +9 -1
  5. data/_includes/svg-defs.html +24 -6
  6. data/_includes/webfonts.html +1 -1
  7. data/_layouts/blog.html +4 -0
  8. data/_layouts/default.html +16 -4
  9. data/_layouts/home.html +181 -0
  10. data/_layouts/post.html +31 -0
  11. data/{assets/_sass/_blog.scss → _sass/blog.scss} +1 -0
  12. data/{assets/_sass → _sass}/bourbon/_bourbon-deprecated-upcoming.scss +0 -0
  13. data/{assets/_sass → _sass}/bourbon/_bourbon.scss +0 -0
  14. data/{assets/_sass → _sass}/bourbon/addons/_button.scss +0 -0
  15. data/{assets/_sass → _sass}/bourbon/addons/_clearfix.scss +0 -0
  16. data/{assets/_sass → _sass}/bourbon/addons/_font-family.scss +0 -0
  17. data/{assets/_sass → _sass}/bourbon/addons/_hide-text.scss +0 -0
  18. data/{assets/_sass → _sass}/bourbon/addons/_html5-input-types.scss +0 -0
  19. data/{assets/_sass → _sass}/bourbon/addons/_position.scss +0 -0
  20. data/{assets/_sass → _sass}/bourbon/addons/_prefixer.scss +0 -0
  21. data/{assets/_sass → _sass}/bourbon/addons/_retina-image.scss +0 -0
  22. data/{assets/_sass → _sass}/bourbon/addons/_size.scss +0 -0
  23. data/{assets/_sass → _sass}/bourbon/addons/_timing-functions.scss +0 -0
  24. data/{assets/_sass → _sass}/bourbon/addons/_triangle.scss +0 -0
  25. data/{assets/_sass → _sass}/bourbon/css3/_animation.scss +0 -0
  26. data/{assets/_sass → _sass}/bourbon/css3/_appearance.scss +0 -0
  27. data/{assets/_sass → _sass}/bourbon/css3/_backface-visibility.scss +0 -0
  28. data/{assets/_sass → _sass}/bourbon/css3/_background-image.scss +0 -0
  29. data/{assets/_sass → _sass}/bourbon/css3/_background.scss +0 -0
  30. data/{assets/_sass → _sass}/bourbon/css3/_border-image.scss +0 -0
  31. data/{assets/_sass → _sass}/bourbon/css3/_border-radius.scss +0 -0
  32. data/{assets/_sass → _sass}/bourbon/css3/_box-sizing.scss +0 -0
  33. data/{assets/_sass → _sass}/bourbon/css3/_columns.scss +0 -0
  34. data/{assets/_sass → _sass}/bourbon/css3/_flex-box.scss +0 -0
  35. data/{assets/_sass → _sass}/bourbon/css3/_font-face.scss +0 -0
  36. data/{assets/_sass → _sass}/bourbon/css3/_hidpi-media-query.scss +0 -0
  37. data/{assets/_sass → _sass}/bourbon/css3/_image-rendering.scss +0 -0
  38. data/{assets/_sass → _sass}/bourbon/css3/_inline-block.scss +0 -0
  39. data/{assets/_sass → _sass}/bourbon/css3/_keyframes.scss +0 -0
  40. data/{assets/_sass → _sass}/bourbon/css3/_linear-gradient.scss +0 -0
  41. data/{assets/_sass → _sass}/bourbon/css3/_perspective.scss +0 -0
  42. data/{assets/_sass → _sass}/bourbon/css3/_placeholder.scss +0 -0
  43. data/{assets/_sass → _sass}/bourbon/css3/_radial-gradient.scss +0 -0
  44. data/{assets/_sass → _sass}/bourbon/css3/_transform.scss +0 -0
  45. data/{assets/_sass → _sass}/bourbon/css3/_transition.scss +0 -0
  46. data/{assets/_sass → _sass}/bourbon/css3/_user-select.scss +0 -0
  47. data/{assets/_sass → _sass}/bourbon/functions/_compact.scss +0 -0
  48. data/{assets/_sass → _sass}/bourbon/functions/_flex-grid.scss +0 -0
  49. data/{assets/_sass → _sass}/bourbon/functions/_grid-width.scss +0 -0
  50. data/{assets/_sass → _sass}/bourbon/functions/_linear-gradient.scss +0 -0
  51. data/{assets/_sass → _sass}/bourbon/functions/_modular-scale.scss +0 -0
  52. data/{assets/_sass → _sass}/bourbon/functions/_px-to-em.scss +0 -0
  53. data/{assets/_sass → _sass}/bourbon/functions/_radial-gradient.scss +0 -0
  54. data/{assets/_sass → _sass}/bourbon/functions/_tint-shade.scss +0 -0
  55. data/{assets/_sass → _sass}/bourbon/functions/_transition-property-name.scss +0 -0
  56. data/{assets/_sass → _sass}/bourbon/helpers/_deprecated-webkit-gradient.scss +0 -0
  57. data/{assets/_sass → _sass}/bourbon/helpers/_gradient-positions-parser.scss +0 -0
  58. data/{assets/_sass → _sass}/bourbon/helpers/_linear-positions-parser.scss +0 -0
  59. data/{assets/_sass → _sass}/bourbon/helpers/_radial-arg-parser.scss +0 -0
  60. data/{assets/_sass → _sass}/bourbon/helpers/_radial-positions-parser.scss +0 -0
  61. data/{assets/_sass → _sass}/bourbon/helpers/_render-gradients.scss +0 -0
  62. data/{assets/_sass → _sass}/bourbon/helpers/_shape-size-stripper.scss +0 -0
  63. data/_sass/flickity.scss +137 -0
  64. data/{assets/_sass/_grid.scss → _sass/grid.scss} +1 -8
  65. data/_sass/layout.scss +991 -0
  66. data/{assets/_sass/_legacy.scss → _sass/legacy.scss} +30 -22
  67. data/{assets/_sass/_mixins.scss → _sass/mixins.scss} +2 -1
  68. data/_sass/typesetting.scss +8 -0
  69. data/{assets/_sass/_variables.scss → _sass/variables.scss} +25 -14
  70. data/assets/css/site.scss +4 -1
  71. data/assets/images/blockquote-right.svg +9 -0
  72. data/assets/images/blockquote.svg +9 -0
  73. data/assets/images/bottom-rec.svg +9 -0
  74. data/assets/images/full-rec.svg +9 -0
  75. data/assets/images/open-rec.svg +11 -0
  76. data/assets/images/top-rec.svg +9 -0
  77. data/assets/js/progress.js +73 -0
  78. data/assets/js/site.js +12 -0
  79. metadata +73 -65
  80. data/assets/_sass/_layout.scss +0 -2
  81. data/assets/_sass/_typesetting.scss +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,137 @@
1
+ /*! Flickity v2.2.1
2
+ https://flickity.metafizzy.co
3
+ ---------------------------------------------- */
4
+
5
+ .flickity-enabled {
6
+ position: relative;
7
+ }
8
+
9
+ .flickity-enabled:focus { outline: none; }
10
+
11
+ .flickity-viewport {
12
+ overflow: hidden;
13
+ position: relative;
14
+ height: 100%;
15
+ }
16
+
17
+ .flickity-slider {
18
+ position: absolute;
19
+ width: 100%;
20
+ height: 100%;
21
+ }
22
+
23
+ /* draggable */
24
+
25
+ .flickity-enabled.is-draggable {
26
+ -webkit-tap-highlight-color: transparent;
27
+ -webkit-user-select: none;
28
+ -moz-user-select: none;
29
+ -ms-user-select: none;
30
+ user-select: none;
31
+ }
32
+
33
+ .flickity-enabled.is-draggable .flickity-viewport {
34
+ cursor: move;
35
+ cursor: -webkit-grab;
36
+ cursor: grab;
37
+ }
38
+
39
+ .flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
40
+ cursor: -webkit-grabbing;
41
+ cursor: grabbing;
42
+ }
43
+
44
+ /* ---- flickity-button ---- */
45
+
46
+ .flickity-button {
47
+ position: absolute;
48
+ background: hsla(0, 0%, 100%, 0.75);
49
+ border: none;
50
+ color: #333;
51
+ }
52
+
53
+ .flickity-button:hover {
54
+ background: white;
55
+ cursor: pointer;
56
+ }
57
+
58
+ .flickity-button:focus {
59
+ outline: none;
60
+ box-shadow: 0 0 0 5px #19F;
61
+ }
62
+
63
+ .flickity-button:active {
64
+ opacity: 0.6;
65
+ }
66
+
67
+ .flickity-button:disabled {
68
+ opacity: 0.3;
69
+ cursor: auto;
70
+ /* prevent disabled button from capturing pointer up event. #716 */
71
+ pointer-events: none;
72
+ }
73
+
74
+ .flickity-button-icon {
75
+ fill: currentColor;
76
+ }
77
+
78
+ /* ---- previous/next buttons ---- */
79
+
80
+ .flickity-prev-next-button {
81
+ top: 50%;
82
+ width: 44px;
83
+ height: 44px;
84
+ border-radius: 50%;
85
+ /* vertically center */
86
+ transform: translateY(-50%);
87
+ }
88
+
89
+ .flickity-prev-next-button.previous { left: 10px; }
90
+ .flickity-prev-next-button.next { right: 10px; }
91
+ /* right to left */
92
+ .flickity-rtl .flickity-prev-next-button.previous {
93
+ left: auto;
94
+ right: 10px;
95
+ }
96
+ .flickity-rtl .flickity-prev-next-button.next {
97
+ right: auto;
98
+ left: 10px;
99
+ }
100
+
101
+ .flickity-prev-next-button .flickity-button-icon {
102
+ position: absolute;
103
+ left: 20%;
104
+ top: 20%;
105
+ width: 60%;
106
+ height: 60%;
107
+ }
108
+
109
+ /* ---- page dots ---- */
110
+
111
+ .flickity-page-dots {
112
+ position: absolute;
113
+ width: 100%;
114
+ bottom: -25px;
115
+ padding: 0;
116
+ margin: 0;
117
+ list-style: none;
118
+ text-align: center;
119
+ line-height: 1;
120
+ }
121
+
122
+ .flickity-rtl .flickity-page-dots { direction: rtl; }
123
+
124
+ .flickity-page-dots .dot {
125
+ display: inline-block;
126
+ width: 10px;
127
+ height: 10px;
128
+ margin: 0 8px;
129
+ background: #333;
130
+ border-radius: 50%;
131
+ opacity: 0.25;
132
+ cursor: pointer;
133
+ }
134
+
135
+ .flickity-page-dots .dot.is-selected {
136
+ opacity: 1;
137
+ }
@@ -1,11 +1,4 @@
1
- //
2
- //Adaptive Grid
3
- //Heavily adapted from : http://framelessgrid.com
4
- //
5
-
6
- //
7
- // Configuration
8
- //
1
+ @charset "utf-8";
9
2
 
10
3
  $font-size: 10px; // Your base font-size in pixels
11
4
  $column: 48px; // The column-width of your grid in pixels
data/_sass/layout.scss ADDED
@@ -0,0 +1,991 @@
1
+ // BLOCK ELEMENT MODIFIER NAMING SCHEME
2
+
3
+ // Any component with subsequent parts should be treated as a block, its parts as elements. Modifiers should be reserved for changes in state
4
+
5
+
6
+ @charset "utf-8";
7
+
8
+ // Components
9
+
10
+ .wrapper{
11
+ background-color: #F9F9F9;
12
+ }
13
+ .inner-wrap.blogs-block{
14
+ @include responsive(superish-wide-screens){
15
+ max-width: 1800px;
16
+ margin-right: auto;
17
+ margin-left: auto;
18
+ }
19
+ }
20
+ .blogs-block{
21
+ @include responsive(small-screens){
22
+ margin-top: 92px;
23
+ }
24
+ @include responsive(medium-screens){
25
+ margin-top: 114px;
26
+ }
27
+ @include responsive(wide-screens){
28
+ margin-top: 127px;
29
+ }
30
+ }
31
+
32
+ .bar{
33
+ width: 2.1875rem;
34
+ border: 0;
35
+ border-bottom: 0.325rem solid $ofc_slate;
36
+ margin-top: 1rem;
37
+ }
38
+
39
+ // MASTHEAD
40
+
41
+ .header-flat--logo{
42
+ fill: $ofc_slate;
43
+ }
44
+
45
+ .blog-masthead--logo{
46
+ background-color: $ofc_slate;
47
+ background-image: url(/uploads/digital-banner.png);
48
+ background-position: center;
49
+ background-size: cover;
50
+ height: 30rem;
51
+ padding: 6rem;
52
+ color: $emphasis;
53
+ .blog-masthead--title{
54
+ font-family: 'proxima-nova', Helvetica, Arial, sans-serif;
55
+ margin-bottom: 0px;
56
+ font-weight: bold;
57
+ font-size: 3rem;
58
+ @include responsive(ultra-wide-screens){
59
+ font-size: 5rem;
60
+ }
61
+ }
62
+ hr.bar{
63
+ border-bottom: solid 0.4rem $emphasis;
64
+ width: 3rem;
65
+ margin-bottom: 2rem;
66
+ }
67
+ .blog-masthead--tagline{
68
+ font-family: 'proxima-nova', Helvetica, Arial, sans-serif;
69
+ width: 80%;
70
+ @include responsive(ultra-wide-screens){
71
+ width: 70%;
72
+ }
73
+ }
74
+ }
75
+
76
+ .blog-masthead{
77
+ @include clearfix;
78
+ .blog-masthead--subscribe, .blog-masthead--search{
79
+ padding: 15px;
80
+ h3{
81
+ margin-bottom: 0px;
82
+ }
83
+ }
84
+ }
85
+
86
+ //SEARCH
87
+
88
+ .blog-masthead--search{
89
+ width: 100%;
90
+ background-color: $text-white;
91
+ color: $ofc_lightblue;
92
+ @include responsive(wide-screens){
93
+ width: 50%;
94
+ float: left;
95
+ }
96
+ .search-icon{
97
+ fill: $ofc_lightblue;
98
+ height: 1.2rem;
99
+ margin-right: .7rem;
100
+ }
101
+ h3{
102
+ color: $ofc_lightblue;
103
+ }
104
+ input{
105
+ font-weight: 700;
106
+ margin-left: 1.5rem;
107
+ border: none;
108
+ outline: none;
109
+ font-size: 1.2rem;
110
+ color: $ofc_lightblue;
111
+ &::placeholder{
112
+ color: $ofc_lightblue;
113
+ }
114
+ }
115
+ }
116
+ // SEARCH ALGOLIA
117
+ .aa-input-container, input.aa-input-search{
118
+ width:92%;
119
+ @include responsive(tinyish-screens){
120
+ width: 93%;
121
+ }
122
+ @include responsive(small-screens){
123
+ width: 95%;
124
+ }
125
+ @include responsive(wide-screens){
126
+ width: 92%;
127
+ }
128
+ }
129
+ .aa-input-container {
130
+ display: block;
131
+ position: relative;
132
+ }
133
+ span.algolia-autocomplete{
134
+ display: block !important;
135
+ }
136
+ .aa-input-search {
137
+ // width: 300px;
138
+ border: 1px solid rgba(228, 228, 228, 0.6);
139
+ padding-bottom: 5px;
140
+ box-sizing: border-box;
141
+ -webkit-appearance: none;
142
+ -moz-appearance: none;
143
+ appearance: none;
144
+ }
145
+ .aa-input-search::-webkit-search-decoration, .aa-input-search::-webkit-search-cancel-button, .aa-input-search::-webkit-search-results-button, .aa-input-search::-webkit-search-results-decoration {
146
+ display: none;
147
+ }
148
+ .aa-input-search{
149
+ outline: none;
150
+ }
151
+ .aa-input-icon {
152
+ height: 16px;
153
+ width: 16px;
154
+ position: absolute;
155
+ top: 12px;
156
+ left: 1px;
157
+ -webkit-transform: translateY(-50%);
158
+ transform: translateY(-50%);
159
+ fill: #e4e4e4; }
160
+ .aa-dropdown-menu {
161
+ width: 92%;
162
+ @include responsive(tinyish-screens){
163
+ width: 93%;
164
+ }
165
+ @include responsive(small-screens){
166
+ width: 95%;
167
+ }
168
+ @include responsive(wide-screens){
169
+ width: 110%;
170
+ }
171
+ color: $ofc_slate;
172
+ font-size: .9rem;
173
+ background: rgba(#FFFFFF,.98);
174
+ border-radius: 0 0 10px 10px;
175
+ border: 1px solid rgba(228, 228, 228, 0.6);
176
+ box-shadow: -5px 5px 5px rgba($nav-black, 0.1);
177
+ margin-top: 15px;
178
+ }
179
+ .aa-suggestion {
180
+ padding: 12px;
181
+ cursor: pointer;
182
+ }
183
+ .aa-suggestion + .aa-suggestion {
184
+ border-top: 1px solid rgba(228, 228, 228, 0.6);
185
+ }
186
+ .aa-suggestion:hover, .aa-suggestion.aa-cursor {
187
+ background-color: rgba(241, 241, 241, 0.35); }
188
+ .algolia__result-highlight{
189
+ font-weight: bold;
190
+ }
191
+ .ais-Highlight{
192
+ font-weight: bold;
193
+ }
194
+ .aa-suggestion.aa-cursor{
195
+ background-color: rgba($blue, 0.1);
196
+ }
197
+ .aa-suggestion+.aa-cursor{
198
+ background-color: rgba($blue, 0.1);
199
+ border-top: 1px solid $blue;
200
+ }
201
+ //SUBSCRIBE
202
+
203
+ .blog-masthead--subscribe{
204
+ background-color: $ofc_slate;
205
+ width: 100%;
206
+ @include responsive(wide-screens){
207
+ width: 50%;
208
+ float: right;
209
+ }
210
+ h3{
211
+ color: #FFFFFF;
212
+ }
213
+ input{
214
+ border: none;
215
+ font-size: .7rem;
216
+ background-color: $ofc_slate;
217
+ border-bottom: 2px solid $ofc_lightblue;
218
+ color: white;
219
+ padding-bottom: 4px;
220
+ margin-left: 3%;
221
+ outline: none;
222
+ &::placeholder{
223
+ color: $ofc_lightblue;
224
+ }
225
+ @include responsive(wide-screens){
226
+ width: 50%;
227
+ }
228
+ @include responsive(ultra-wide-screens){
229
+ width: 70%;
230
+ }
231
+ }
232
+ }
233
+
234
+ // BLOG POSTS
235
+
236
+ // BEM COMPONENETS
237
+
238
+ // Blocks: featured, featured-zero, featured-add, featured-header, recent-header
239
+
240
+ // Nested-Blocks: metadata, post-abstract
241
+
242
+ // Elements: author-name, tags, readtime, date, post-title, summary, button, image, blog, wrappers, header-title
243
+
244
+ .button{
245
+ background-color: $ofc_slate;
246
+ padding: .5rem .3rem;
247
+ border-radius: 5px;
248
+ color: $text-white;
249
+ display: block;
250
+ margin: 1rem 0;
251
+ width: 40%;
252
+ text-align: center;
253
+ font-size: .8rem;
254
+ font-weight: 600;
255
+ &:hover{
256
+ color: darken($text-white, 5%);
257
+ }
258
+ }
259
+ .recent{
260
+ overflow: hidden;
261
+ @include clearfix;
262
+ position: relative;
263
+ background-image: url(/assets/images/full-rec.svg);
264
+ background-repeat: no-repeat;
265
+ background-position-x: 2rem;
266
+ background-position-y: 2rem;
267
+ background-size: 600px;
268
+ @include responsive(wide-screens){
269
+ background-size: 900px;
270
+ }
271
+ @include responsive(extra-ultra-wide-screens){
272
+ background-size: 1100px;
273
+ }
274
+ @include responsive(super-wide-screens){
275
+ background-size: 1300px;
276
+ }
277
+ &--title{
278
+ margin-left: 5rem;
279
+ margin-top: 4rem;
280
+ @include responsive(wide-screens){
281
+ margin-top: 5rem;
282
+ }
283
+ }
284
+ h2{
285
+ color: $ofc_slate;
286
+ font-size: 2.1rem;
287
+ display: block;
288
+ width: 40%;
289
+ @include responsive(wide-screens){
290
+ width: 45%;
291
+ }
292
+ @include responsive(ultra-wide-screens){
293
+ width: 425.5px;
294
+ }
295
+ }
296
+ }
297
+ .featured{
298
+ @include clearfix;
299
+ background-color: $ofc_lightblue;
300
+ height: 12rem;
301
+ overflow: hidden;
302
+ position: relative;
303
+ background-image: url(/assets/images/top-rec.svg);
304
+ background-repeat: no-repeat;
305
+ background-position-x: 2rem;
306
+ background-position-y: 2rem;
307
+ background-size: 600px;
308
+ @include responsive(wide-screens){
309
+ background-size: 900px;
310
+ }
311
+ @include responsive(extra-ultra-wide-screens){
312
+ background-size: 1100px;
313
+ }
314
+ @include responsive(super-wide-screens){
315
+ background-size: 1300px;
316
+ }
317
+ &--title{
318
+ margin-left: 5rem;
319
+ margin-top: 4rem;
320
+ width: 75%;
321
+ @include responsive(wide-screens){
322
+ margin-top: 5rem;
323
+ }
324
+ }
325
+ h2{
326
+ color: $ofc_slate;
327
+ font-size: 2.1rem;
328
+ display: block;
329
+ width: 40%;
330
+ @include responsive(wide-screens){
331
+ width: 45%;
332
+ }
333
+ @include responsive(ultra-wide-screens){
334
+ width: 425.5px;
335
+ }
336
+ }
337
+ }
338
+ .recent{
339
+ background-color: $ofc_lightgray;
340
+ }
341
+
342
+ // Featured post 1
343
+
344
+ .featured-zero{
345
+ width: 100%;
346
+ @include clearfix;
347
+ &--blog{
348
+ width: 100%;
349
+ font-size: 1rem;
350
+ background-color: $ofc_slate;
351
+ color: white;
352
+ font-weight: bold;
353
+ text-transform: uppercase;
354
+ padding: 1.5rem;
355
+ @include responsive(wide-screens){
356
+ float: left;
357
+ width: 50%;
358
+ }
359
+ }
360
+ &--image{
361
+ width: 100%;
362
+ height: 20rem;
363
+ background-size: cover;
364
+ @include responsive(wide-screens){
365
+ display: block;
366
+ width: 50%;
367
+ float: right;
368
+ height: 35rem;
369
+ }
370
+ }
371
+ &--post{
372
+ width: 100%;
373
+ padding: 1rem;
374
+ @include clearfix;
375
+ @include responsive(wide-screens){
376
+ width: 50%;
377
+ float: left;
378
+ }
379
+ }
380
+ &--author{
381
+ @include clearfix;
382
+ font-size: .7rem;
383
+ float: left;
384
+ padding-left: 1.5rem;
385
+ a{
386
+ color: $ofc_super_lightblue;
387
+ }
388
+ }
389
+
390
+ &--author-pic{
391
+ img{
392
+ float: left;
393
+ clip-path: circle(49%);
394
+ width: 2rem;
395
+ }
396
+ a{
397
+ font-weight: bold;
398
+ position: relative;
399
+ top: .1rem;
400
+ }
401
+ span{
402
+ margin-left: .5rem;
403
+ }
404
+ }
405
+
406
+ &--author-data{
407
+ padding-left: 2.5rem;
408
+ p{
409
+ margin: 0;
410
+ line-height: 1rem;
411
+ }
412
+ .seperator{
413
+ font-size: 0.9rem;
414
+ position: relative;
415
+ }
416
+ }
417
+
418
+ &--post-wrap{
419
+ padding-left: 4rem;
420
+ padding-right: 1rem;
421
+ max-width: 717px;
422
+ h4{
423
+ margin-top: 4rem;
424
+ padding-top: 2rem;
425
+ font-size: 1.5rem;
426
+ font-family: $condensed-titles;
427
+ }
428
+ p{
429
+ margin-top: 1rem;
430
+ }
431
+ }
432
+ }
433
+
434
+ // Featured items 2 and 3
435
+
436
+ .featured-other{
437
+ background-color: $ofc_lightblue;
438
+ background-image: url(/assets/images/bottom-rec.svg);
439
+ background-repeat: no-repeat;
440
+ background-position-x: 2rem;
441
+ background-size: 600px;
442
+ @include responsive(wide-screens){
443
+ background-size: 900px;
444
+ }
445
+ @include responsive(extra-ultra-wide-screens){
446
+ background-size: 1100px;
447
+ }
448
+ @include responsive(super-wide-screens){
449
+ background-size: 1300px;
450
+ }
451
+ width: 100%;
452
+ position: relative;
453
+ @include clearfix;
454
+ padding-bottom: 2rem;
455
+ // .svg-image{
456
+ // width: 75%;
457
+ // position: absolute;
458
+ // left: 2rem;
459
+ // stroke-width: 20;
460
+ // @include responsive(wide-screens){
461
+ // width: 70%;
462
+ // }
463
+ // @include responsive(ultra-wide-screens){
464
+ // width: 900px;
465
+ // }
466
+ // }
467
+ .post-data{
468
+ width: 100%;
469
+ }
470
+ &--blog{
471
+ font-size: 1rem;
472
+ background-color: $ofc_slate;
473
+ color: white;
474
+ text-transform: uppercase;
475
+ float: none;
476
+ width: 100%;
477
+ padding: .7rem;
478
+ font-weight: 300;
479
+ }
480
+ &--image{
481
+ height: 314px;
482
+ width: 100%;
483
+ }
484
+ &--author{
485
+ @include clearfix;
486
+ font-size: .7rem;
487
+ float: none;
488
+ padding-left: 1.5rem;
489
+ padding-top: 1.5rem;
490
+ a{
491
+ color: $ofc_super_lightblue;
492
+ }
493
+ }
494
+ &--author-pic{
495
+ img{
496
+ float: left;
497
+ clip-path: circle(49%);
498
+ width: 2rem;
499
+ }
500
+ a{
501
+ font-weight: bold;
502
+ position: relative;
503
+ }
504
+ span{
505
+ margin-left: .5rem;
506
+ }
507
+ }
508
+ &--author-data{
509
+ padding-left: 2.5rem;
510
+ p{
511
+ margin: 0;
512
+ line-height: 1rem;
513
+ }
514
+ .seperator{
515
+ font-size: 0.9rem;
516
+ position: relative;
517
+ }
518
+ }
519
+ &--post-wrap{
520
+ overflow: none;
521
+ padding-left: 1.5rem;
522
+ padding-right: .5rem;
523
+ max-width: 617px;
524
+ @include responsive(extra-ultra-wide-screens){
525
+ margin: auto;
526
+ }
527
+ .post-summary{
528
+ display: block;
529
+ min-height: 81px;
530
+ }
531
+ .post-title{
532
+ display: block;
533
+ padding-top: 0;
534
+ margin-top: 1rem;
535
+ min-height: 100px;
536
+ }
537
+ .button{
538
+ width: 75%;
539
+ @include responsive(ultra-wide-screens){
540
+ width: 40%;
541
+ }
542
+ }
543
+ }
544
+ &--title{
545
+ display: block;
546
+ padding-top: 0;
547
+ margin-top: 1rem;
548
+ min-height: 100px;
549
+ }
550
+ &--summary{
551
+ display: block;
552
+ min-height: 108px;
553
+ margin-top: 1rem;
554
+ }
555
+ &--wrap{
556
+ width: 40%;
557
+ float: left;
558
+ margin-top: 2rem;
559
+ background-color: white;
560
+ min-height: 776px;
561
+ @include clearfix;
562
+ &.odd{
563
+ margin-left: 5%;
564
+ }
565
+ &.even{
566
+ float: right;
567
+ margin-right: 5%;
568
+ }
569
+ }
570
+ }
571
+
572
+ // RECENT ARTICLES
573
+ .main-carousel{
574
+ margin-bottom: 3rem;
575
+ width: 300px;
576
+ margin-left: 6rem;
577
+ margin-top: 3rem;
578
+ box-shadow: 0px 2px 60px 0px rgba(160,179,198,0.47);
579
+ @include responsive(small-screens){
580
+ width: 400px;
581
+ }
582
+ @include responsive(medium-screens){
583
+ width: 500px;
584
+ }
585
+ @include responsive(wide-screens){
586
+ width: 680px;
587
+ }
588
+ @include responsive(ultra-wide-screens){
589
+ width: 800px;
590
+ }
591
+ @include responsive(extra-ultra-wide-screens){
592
+ width: 1200px;
593
+ margin-left: auto;
594
+ margin-right: auto;
595
+ }
596
+ @include responsive(superish-wide-screens){
597
+ width: 1258px;
598
+ }
599
+ .carousel-cell{
600
+ width: 142;
601
+ height: 50rem;
602
+ background-color: white;
603
+ margin-right: 1rem;
604
+ font-size: .8rem;
605
+ box-shadow: 0px 2px 60px 0px rgba(160,179,198,0.47);
606
+ @include responsive(small-screens){
607
+ width: 192px;
608
+ height: 40rem;
609
+ }
610
+ @include responsive(medium-screens){
611
+ width: 242px;
612
+ }
613
+ @include responsive(wide-screens){
614
+ width: 216px;
615
+ }
616
+ @include responsive(ultra-wide-screens){
617
+ width: 256px;
618
+ }
619
+ @include responsive(extra-ultra-wide-screens){
620
+ width: 389.3px;
621
+ }
622
+ @include responsive(superish-wide-screens){
623
+ margin-right: 2.5rem;
624
+ }
625
+ @include responsive(super-wide-screens){
626
+
627
+
628
+ }
629
+ .recent-blog{
630
+ padding: .5rem;
631
+ padding-left: 1rem;
632
+ background-color: $ofc_slate;
633
+ color: white;
634
+ font-weight: 300;
635
+ span{
636
+ text-transform: uppercase;
637
+ }
638
+ }
639
+ .recent-image{
640
+ height: 9rem;
641
+ overflow: hidden;
642
+ img{
643
+ width: 100%;
644
+ }
645
+ }
646
+ .featured-other--author{
647
+ font-size: .6rem;
648
+ }
649
+ .featured-other--author-pic{
650
+ span{
651
+ display: block;
652
+ margin-left: 2.5rem;
653
+ padding-right: .1rem;
654
+ }
655
+ }
656
+ .featured-other--title{
657
+ padding-left: 1.5rem;
658
+ padding-right: .5rem;
659
+ font-size: 1rem;
660
+ }
661
+ .featured-other--summary{
662
+ font-size: .9rem;
663
+ padding: 0 .5rem 0 1.5rem;
664
+ }
665
+ .button{
666
+ margin-left: 1.5rem;
667
+ background-color: $ofc_blue;
668
+ font-weight: 600;
669
+ width: 75%;
670
+ position: absolute;
671
+ bottom: 3rem;
672
+ @include responsive(ultra-wide-screens){
673
+ width: 40%;
674
+ }
675
+ }
676
+ .featured-other--summary{
677
+
678
+ }
679
+ }
680
+ }
681
+
682
+ // More News
683
+
684
+ .more{
685
+ background-color: #F9F9F9;
686
+ background-image: url(/assets/images/open-rec.svg);
687
+ background-repeat: no-repeat;
688
+ background-position-x: 2rem;
689
+ background-position-y: 2rem;
690
+ background-size: 600px;
691
+ @include responsive(wide-screens){
692
+ background-size: 900px;
693
+ }
694
+ @include responsive(extra-ultra-wide-screens){
695
+ background-size: 1100px;
696
+ }
697
+ @include responsive(super-wide-screens){
698
+ background-size: 1300px;
699
+ }
700
+ padding-top: 3rem;
701
+ .featured--title{
702
+ margin-top: 1rem;
703
+ }
704
+ h2{
705
+ font-size: 2.1rem;
706
+ }
707
+ .more-block-wrap{
708
+ padding: 0 2rem;
709
+ @include clearfix;
710
+ max-width: 1423px;
711
+ @include responsive(extra-ultra-wide-screens){
712
+ margin-right: auto;
713
+ margin-left: auto;
714
+ }
715
+ }
716
+ .more-block{
717
+ @include clearfix;
718
+ width: 80%;
719
+ margin-left: 10%;
720
+ float: right;
721
+ margin-bottom: 2rem;
722
+ min-height: 16rem;
723
+ @include responsive(medium-screens){
724
+ width: 40%;
725
+ }
726
+ @include responsive(wide-screens){
727
+ width: 30%;
728
+ margin-left: 3%;
729
+ }
730
+ @include responsive(ultra-wide-screen){
731
+ width: 20%;
732
+ margin-left: 5%;
733
+ }
734
+ .bar{
735
+ width: 1.1875rem;
736
+ border: 0;
737
+ border-bottom: 0.225rem solid #768496;
738
+ margin-bottom: 1rem;
739
+ }
740
+ }
741
+
742
+ .more-title{
743
+
744
+ }
745
+ .more-details{
746
+ .more-blog{
747
+ font-weight: 600;
748
+ display: block;
749
+ color: $link_blue;
750
+ }
751
+ .more-time{
752
+ font-size: .8rem;
753
+ display: block;
754
+ .clock-icon{
755
+ width: 12px;
756
+ position: relative;
757
+ top: 1px;
758
+ }
759
+ }
760
+ }
761
+ }
762
+
763
+
764
+ // POSTSTYLES
765
+ #progressbarJS {
766
+ background-color: #92BADC;
767
+ height: 5px;
768
+ position: fixed;
769
+ top: 91px;
770
+ left: 0;
771
+ width: 0%;
772
+ z-index: 250;
773
+ @include responsive(small-screens){
774
+ top: 91px;
775
+ }
776
+ @include responsive(medium-screens){
777
+ top: 114px;
778
+ }
779
+ @include responsive(wide-screens){
780
+ top: 129px;
781
+ }
782
+ }
783
+
784
+ .lead-wrap{
785
+ @include clearfix;
786
+ background-color: #F2F2F2;
787
+ }
788
+ .post-wrapper{
789
+ padding-top: 5px;
790
+ @include clearfix;
791
+ }
792
+ .post-image{
793
+ display: none;
794
+ @include responsive(wide-screens){
795
+ display: block;
796
+ }
797
+ width: 50%;
798
+ height: 20rem;
799
+ background-size: cover;
800
+ @include responsive(wide-screens){
801
+ display: block;
802
+ width: 50%;
803
+ float: right;
804
+ height: 35rem;
805
+ }
806
+ background-size: cover;
807
+ }
808
+ .post-summary{
809
+ width: 100%;
810
+ @include responsive(wide-screens){
811
+ width: 50%;
812
+ float: right;
813
+ }
814
+ padding-top: 2rem;
815
+ padding-left: 3rem;
816
+ padding-right: 2rem;
817
+ padding-bottom: 1rem;
818
+ @include responsive(wide-screens){
819
+ padding-top: 4rem;
820
+ padding-left: 6rem;
821
+ }
822
+ .summary-publication{
823
+ color: $ofc_slate;
824
+ text-transform: uppercase;
825
+ margin-bottom: 1.5rem;
826
+ }
827
+ .summary-title{
828
+ margin-bottom: 2rem;
829
+ }
830
+ .summary-details{
831
+ padding-left: 1.5rem;
832
+ margin-bottom: 2rem;
833
+ border-left: 1px solid $ofc_blue;
834
+ p{
835
+ margin-bottom: 0px;
836
+ font-size: .8rem;
837
+ }
838
+ }
839
+ }
840
+ .post-body{
841
+ width: 80%;
842
+ @include responsive(ultra-wide-screens){
843
+ width: 50%;
844
+ }
845
+ margin-right: auto;
846
+ margin-left: auto;
847
+ padding-top: 3rem;
848
+ background-color: #F9F9F9;
849
+ img{
850
+ width: 100%;
851
+ }
852
+ img.full-screen{
853
+ display: block;
854
+ position: relative;
855
+ width: 200%;
856
+ left: -50%;
857
+ }
858
+ img.float-left{
859
+ @include responsive(ultra-wide-screens){
860
+ width: 40%;
861
+ float: left;
862
+ margin: 0 1rem 0 0;
863
+ position: relative;
864
+ top: .4rem
865
+ }
866
+ }
867
+ img.float-right{
868
+ @include responsive(ultra-wide-screens){
869
+ width: 40%;
870
+ float: right;
871
+ margin: 0 0 0 1rem;
872
+ position: relative;
873
+ top: .4rem
874
+ }
875
+ }
876
+
877
+ code{
878
+ display: block;
879
+ text-align: center;
880
+ padding: .7rem;
881
+ background-color: #B5BCC5;
882
+ font-weight: 300;
883
+ }
884
+ code.full-screen{
885
+ display: block;
886
+ position: relative;
887
+ width: 200%;
888
+ left: -50%;
889
+ }
890
+ code.float-left{
891
+ @include responsive(ultra-wide-screens){
892
+ width: 40%;
893
+ float: left;
894
+ margin: 0 1rem .5rem 0;
895
+ clear: left;
896
+ }
897
+
898
+ }
899
+ code.float-right{
900
+ @include responsive(ultra-wide-screens){
901
+ width: 40%;
902
+ float: right;
903
+ margin: 0 0 .5rem 1rem;
904
+ clear: right;
905
+ }
906
+
907
+ }
908
+ blockquote{
909
+ display: block;
910
+ width: 200%;
911
+ position: relative;
912
+ left: -50%;
913
+ padding: 2rem 40%;
914
+ margin-bottom: 1rem;
915
+ background-color: $ofc_slate;
916
+ color: $ofc_lightgray;
917
+ background-image: url(../images/blockquote.svg), url(../images/blockquote-right.svg);
918
+ background-size: 3rem, 6rem;
919
+ background-repeat: no-repeat;
920
+ background-position: left 10% top 1.2rem, right 5% top 2.3rem;
921
+ strong{
922
+ color: whitesmoke;
923
+ font-weight: bold;
924
+ }
925
+ @include responsive(extra-ultra-wide-screens){
926
+ background-position: left 15% top 1.2rem, right 12% top 2.3rem;
927
+ }
928
+ }
929
+ aside{
930
+ padding: 2rem 0;
931
+ margin: 2rem 0;
932
+ border-top: 1px solid $ofc_lightblue;
933
+ border-bottom: 1px solid $ofc_lightblue;
934
+ }
935
+ }
936
+ .post-footer--wrap{
937
+ width: 100%;
938
+ background-color: $ofc_slate;
939
+ color: #c8c6c2;
940
+ }
941
+ .post-footer{
942
+ @include clearfix;
943
+ padding: 1rem;
944
+ .footer--author-image{
945
+ float: left;
946
+ width: 5rem;
947
+ margin-right: .8rem;
948
+ img{
949
+ clip-path: circle(49%);
950
+ width: 5rem;
951
+ position: relative;
952
+ top: 4px;
953
+ @include responsive(ultra-wide-scrreens){
954
+ width: 12rem;
955
+ }
956
+ }
957
+ a{
958
+ font-weight: bold;
959
+ position: relative;
960
+ top: .1rem;
961
+ }
962
+ span{
963
+ margin-left: .5rem;
964
+ }
965
+ }
966
+ .footer--author-details{
967
+ width: 68%;
968
+ float: left;
969
+ @include responsive(ultra-wide-screens){
970
+ width: 73%;
971
+ }
972
+ h3{
973
+ font-size: 1rem;
974
+ color: #c8c6c2;
975
+ }
976
+ p{
977
+ font-size: .9rem;
978
+ }
979
+ }
980
+ }
981
+ .recent.related{
982
+ .main-carousel{
983
+ margin-right: auto;
984
+ margin-left: auto;
985
+ }
986
+ }
987
+ // FOOTER
988
+
989
+ .footer-flat--logo{
990
+ fill: $nav_links;
991
+ }