-
Notifications
You must be signed in to change notification settings - Fork 0
/
securing-web-applications-with-aws-elb-and-okta.html
1272 lines (1102 loc) · 34.5 KB
/
securing-web-applications-with-aws-elb-and-okta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head itemscope itemtype="http://schema.org/WebSite">
<title>Securing Web Applications with AWS ALB Authentication and OKTA OIDC</title>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Authenticating AWS ELB with OKTA OIDC">
<meta name="author" content="Shreyas MM" />
<link rel="canonical" href="https://www.shreyasmm.com/securing-web-applications-with-aws-elb-and-okta">
<link rel="alternate" type="application/rss+xml" title="Shreyas M M RSS Feed" href="https://www.shreyasmm.com/feed/"/>
<link rel="manifest" href="manifest.json">
<!-- Opengraph Tags-->
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="Shreyas MM" />
<meta property="og:url" content="https://www.shreyasmm.com/securing-web-applications-with-aws-elb-and-okta" />
<meta property="og:title" content="Securing Web Applications with AWS ALB Authentication and OKTA OIDC" />
<meta property="og:description" content="Authenticating AWS ELB with OKTA OIDC" />
<meta property="article:publisher" content="https://www.facebook.com/mmshreyas" />
<meta property="article:author" content="https://www.facebook.com/mmshreyas" />
<meta property="article:published_time" content="2019-04-08 05:02:06 +0000" />
<!-- Twitter Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@MMShreyas" />
<meta name="twitter:creator" content="@MMShreyas" />
<meta name="twitter:title" content="Securing Web Applications with AWS ALB Authentication and OKTA OIDC" />
<meta name="twitter:description" content="Authenticating AWS ELB with OKTA OIDC" />
<!-- Site verification -->
<meta name="msvalidate.01" content="D73088A8361569DAFEC6811253CC8650" />
<meta name="google-site-verification" content="he_TNo_sziGYbuzO0scYOvah35aCKTRPxs7EgC6zUbA" />
<meta name="p:domain_verify" content="d8cf9bbeb8710ec2414c2aa169e8cc56" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-64993201-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-64993201-1');
</script>
<style type="text/css">
/* 320px */
/* 600px */
/* 900px */
/* 1200px */
/* 1800px */
/* 2400px */
@media screen and (min-width: 0) {
head {
font-family: "usn-small 0";
}
body:after {
content: "usn-small - min-width: 0";
}
}
@media screen and (min-width: 56.25em) {
head {
font-family: "usn-medium 56.25em";
}
body:after {
content: "usn-medium - min-width: 56.25em";
}
}
head {
clear: both;
}
head title {
font-family: "usn-small 0, usn-medium 56.25em";
}
body:after {
display: none;
}
*[data-usn-if] {
display: none;
}
/* 1.2 */
/* 1.44 */
/* 1.728 */
/* 2.074 */
/* 2.488 */
/* 2.986 */
/* 3.583 */
body {
font-family: -apple-system, system, sans-serif;
font-size: 1em;
line-height: 1.728;
}
h3,
h2 {
line-height: 1.2;
}
h1 {
line-height: 1;
}
h6, .h6 {
font-size: 0.8333333333em;
}
h5, .h5 {
font-size: 1em;
}
h4, .h4 {
font-size: 1.2em;
}
h3, .h3 {
font-size: 1.44em;
}
h2, .h2 {
font-size: 1.728em;
}
h1, .h1 {
font-size: 2.0736em;
}
@media only screen and (min-width:56.313em) {
body {
font-size: 1em;
font-size: calc( 1em + ( (1.2 - 1) / 1 ) * (100vw - 56.25rem) / (75 - 56.25) );
}
}
@media only screen and (min-width:75.063em) {
body {
font-size: 1.44em;
font-size: calc( 1.2em + ( (1.44 - 1.2) / 1.2 ) * (100vw - 75rem) / (112.5 - 75) );
}
}
@media only screen and (min-width:112.563em) {
body {
font-size: 1.728em;
font-size: calc( 1.44em + ( (2.0736 - 1.44) / 1.44 ) * (100vw - 112.5rem) / (150 - 112.5) );
}
}
@media only screen and (min-width:150.063em) {
body {
font-size: 2.0736em;
font-size: calc( 2.0736em + ( (2.48832 - 2.0736) / 2.0736 ) * (100vw - 150rem) / (200 - 150) );
}
}
h1, .h1,
h2, .h2,
h3, .h3,
label, legend {
font-family: -apple-system, system, sans-serif;
}
h1, .h1,
h2, .h2,
h3, .h3 {
word-wrap: break-word;
margin-top: 1em;
margin-bottom: 0.5em;
}
h1 small,
h1 .small, .h1 small,
.h1 .small,
h2 small,
h2 .small, .h2 small,
.h2 .small,
h3 small,
h3 .small, .h3 small,
.h3 .small {
font-size: 65%;
}
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
h4 small,
h4 .small, .h4 small,
.h4 .small,
h5 small,
h5 .small, .h5 small,
.h5 .small,
h6 small,
h6 .small, .h6 small,
.h6 .small {
font-size: 75%;
}
h1, h2, h3, h4, h5, h6 {
color: currentColor;
}
h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, h5, h5 a, h5 a:visited, h6, h6 a, h6 a:visited {
color: currentColor;
text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
text-decoration: underline;
}
p {
margin: 0 0 0.5em;
}
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability of focused elements when they are also in an
* active/hover state.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type=button],
input[type=reset],
input[type=submit] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type=checkbox],
input[type=radio] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type=search] {
-webkit-appearance: textfield; /* 1 */
box-sizing: content-box; /* 2 */
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
html,
body {
box-sizing: border-box;
margin: 0;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
img {
max-width: 100%;
height: auto;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}
.img--no-max {
max-width: none;
}
figure > img {
display: block;
}
figcaption {
font-size: 0.8333333333em;
}
a {
text-decoration: underline;
color: #000;
}
a:visited {
color: #000;
}
a:hover {
text-decoration: none;
}
a:focus {
outline: thin dotted;
}
a:hover, a:active {
outline: none;
}
ul, ol {
margin-bottom: 1em;
}
ul li, ol li {
margin-bottom: 0.5rem;
}
.list-unstyled, .list-inline {
padding-left: 0;
list-style: none;
}
.list-inline > li {
display: inline-block;
margin: 0 -5px 0 0;
}
dl {
margin-top: 0;
margin-bottom: 1em;
}
dt,
dd {
line-height: 1.44;
}
dt {
font-weight: bold;
}
dd {
margin-left: 0;
}
blockquote,
blockquote p,
q {
color: #495057;
}
blockquote {
padding-left: 0.5em;
font-size: 1.2em;
letter-spacing: -1px;
border-left: 4px solid #495057;
}
blockquote > :last-child {
margin-bottom: 0;
}
blockquote cite {
display: block;
color: #212529;
}
blockquote cite:before {
content: "— ";
}
blockquote cite a,
blockquote cite a:visited {
color: #212529;
}
pre,
code {
font-size: 15px;
border: 1px solid #e9ecef;
border-radius: 3px;
background-color: #eef;
}
code {
padding: 1px 5px;
}
pre {
overflow-x: scroll;
padding: 8px 12px;
}
pre > code {
padding-right: 0;
padding-left: 0;
border: 0;
}
.page {
padding-bottom: 4em;
}
.page, .wrapper {
margin-right: auto;
margin-left: auto;
max-width: 100%;
}
.wrapper {
padding-right: 1em;
padding-left: 1em;
max-width: 40em;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
grid-gap: 2vmin;
margin-bottom: 1em;
}
/*! system-font.css v1.1.0 | CC0-1.0 License | github.com/jonathantneal/system-font-face */
@font-face {
font-family: system;
font-style: normal;
font-weight: 300;
src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Segoe UI Light"), local("Ubuntu Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}
@font-face {
font-family: system;
font-style: italic;
font-weight: 300;
src: local(".SFNSText-LightItalic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Light Italic"), local("Ubuntu Light Italic"), local("Roboto-LightItalic"), local("DroidSans"), local("Tahoma");
}
@font-face {
font-family: system;
font-style: normal;
font-weight: 400;
src: local(".SFNSText-Regular"), local(".HelveticaNeueDeskInterface-Regular"), local(".LucidaGrandeUI"), local("Segoe UI"), local("Ubuntu"), local("Roboto-Regular"), local("DroidSans"), local("Tahoma");
}
@font-face {
font-family: system;
font-style: italic;
font-weight: 400;
src: local(".SFNSText-Italic"), local(".HelveticaNeueDeskInterface-Italic"), local(".LucidaGrandeUI"), local("Segoe UI Italic"), local("Ubuntu Italic"), local("Roboto-Italic"), local("DroidSans"), local("Tahoma");
}
@font-face {
font-family: system;
font-style: normal;
font-weight: 500;
src: local(".SFNSText-Medium"), local(".HelveticaNeueDeskInterface-MediumP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold"), local("Ubuntu Medium"), local("Roboto-Medium"), local("DroidSans-Bold"), local("Tahoma Bold");
}
@font-face {
font-family: system;
font-style: italic;
font-weight: 500;
src: local(".SFNSText-MediumItalic"), local(".HelveticaNeueDeskInterface-MediumItalicP4"), local(".LucidaGrandeUI"), local("Segoe UI Semibold Italic"), local("Ubuntu Medium Italic"), local("Roboto-MediumItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}
@font-face {
font-family: system;
font-style: normal;
font-weight: 700;
src: local(".SFNSText-Bold"), local(".HelveticaNeueDeskInterface-Bold"), local(".LucidaGrandeUI"), local("Segoe UI Bold"), local("Ubuntu Bold"), local("Roboto-Bold"), local("DroidSans-Bold"), local("Tahoma Bold");
}
@font-face {
font-family: system;
font-style: italic;
font-weight: 700;
src: local(".SFNSText-BoldItalic"), local(".HelveticaNeueDeskInterface-BoldItalic"), local(".LucidaGrandeUI"), local("Segoe UI Bold Italic"), local("Ubuntu Bold Italic"), local("Roboto-BoldItalic"), local("DroidSans-Bold"), local("Tahoma Bold");
}
/* styling skip links */
.skip-links {
position: absolute;
top: 0;
width: 100%;
}
.skip-links a {
position: absolute;
overflow: hidden;
display: inline-block;
clip: rect(1px, 1px, 1px, 1px);
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
}
.skip-links a:focus {
position: static;
overflow: visible;
clip: auto;
}
.site-header {
position: relative;
margin-bottom: 2em;
padding: 0 1em;
text-align: center;
color: #fff;
z-index: 0;
}
.site-header-top {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 0.5em 1em;
width: 100%;
background: transparent;
}
@media only screen and (min-width:56.313em) {
.site-header-top {
flex-direction: row;
}
}
.site-header-hero {
padding: 0;
background-size: cover;
background-position: center center;
background: #495057;
background-image: linear-gradient(to top, #495057 0%, #212529 100%);
}
.site-header-hero .wrapper {
display: flex;
justify-content: center;
align-items: center;
min-height: 40vmin;
}
.site-header-hero a {
text-decoration: none;
color: currentColor;
}
.site-header-hero a:visited {
color: currentColor;
}
.site-header-hero::after {
position: absolute;
top: 0;
left: 0;
bottom: 0;
content: "";
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: -1;
opacity: 1;
transition: opacity 1500ms ease-in-out;
}
.site-header.b-lazy::after {
opacity: 1;
}
.site-header-background {
position: absolute;
top: 0;
left: 0;
object-fit: cover;
z-index: -1;
width: 100%;
height: 100%;
transition: opacity 200ms ease-in-out;
}
.site-title {
display: block;
margin: 0;
font-size: 1.728em;
line-height: 1;
color: currentColor;
text-decoration: none;
}
.site-title-hero {
display: inline-block;
padding: 0.5em;
font-size: 2.0736em;
font-weight: 300;
}
.site-title-link {
color: currentColor;
text-decoration: none;
}
.site-title-link, .site-title-link:visited {
color: currentColor;
}
.site-information {
margin: 0;
}
.site-slogan {
text-align: center;
color: #fff;
}
.exergue {
margin-top: -2em;
padding: 1em;
width: 100%;
text-align: center;
color: #fff;
background: #212529;
}
.exergue small {
display: block;
clear: both;
width: 100%;
}
.exergue a {
color: #fff;
}
.exergue a:hover {
text-decoration: none;
}
nav ul {
list-style: none;
}
@media only screen and (max-width:37.437em) {
.nav-main {
overflow-y: hidden !important;
height: 40px !important;
border-top: 1px solid;
border-bottom: 1px solid;
}
}
.nav-main ul {
margin: 0;
padding: 0.3em 0;
min-width: 100%;
list-style: none;
text-align: center;
}
@media only screen and (max-width:37.437em) {
.nav-main ul {
display: block;
white-space: nowrap;
padding-bottom: 100px !important;
overflow-y: hidden;
overflow-x: auto;
}
}
@media only screen and (min-width:56.313em) {
.wrapper--flex .nav-main ul {
text-align: right;
}
}
.nav-main li {
display: inline-block;
text-align: center;
margin: 0;
padding: 0rem 0.5rem 0;
}
.nav-main a {
font-weight: bold;
}
.nav-main a + .nav-main a {
margin-left: 1em;
}
</style>
<script>
/*
loadCSS: load a CSS file asynchronously.
[c]2015 @scottjehl, Filament Group, Inc.
Licensed MIT
*/
(function(w){
"use strict";
/* exported loadCSS */
w.loadCSS = function( href, before, media ){
// Arguments explained:
// `href` [REQUIRED] is the URL for your CSS file.