File tree Expand file tree Collapse file tree 2 files changed +99
-6
lines changed Expand file tree Collapse file tree 2 files changed +99
-6
lines changed Original file line number Diff line number Diff line change 1
- html , body {
1
+ * {
2
2
margin : 0 ;
3
3
}
4
4
5
- p {
6
- text-align : center;
5
+ html ,
6
+ body {
7
+ height : 100% ;
8
+ }
9
+
10
+ body {
11
+ display : flex;
12
+ flex-direction : column;
13
+ }
14
+
15
+ .right {
16
+ float : right;
17
+ margin-left : 5px ;
18
+ }
19
+
20
+ .left {
21
+ float : left;
22
+ margin-right : 5px ;
23
+ }
24
+
25
+ header {
26
+ border-bottom : 1px solid # fff ;
27
+ height : 60px ;
28
+ min-height : 60px ;
29
+ padding : 0 10px ;
30
+
31
+ background-color : # 16191f ;
32
+ color : # eee ;
33
+ font-family : Helvetica Neue, Roboto, Arial, sans-serif;
34
+ font-size : 24px ;
35
+ font-weight : 400 ;
36
+ line-height : 1.8rem ;
37
+ }
38
+
39
+ header span {
40
+ margin-top : 15px ;
41
+ }
42
+
43
+ header a {
44
+ color : # d5dbdb ;
45
+ text-decoration : none;
46
+ }
47
+
48
+ .content {
49
+ flex : 1 0 auto;
50
+ margin : 0 auto;
51
+ max-width : 600px ;
52
+ padding : 10px ;
53
+ }
54
+
55
+ .content div {
56
+ position : relative;
57
+ top : 50% ;
58
+ transform : translateY (-50% );
59
+ }
60
+
61
+ .content p {
62
+ font-family : Helvetica Neue, Roboto, Arial, sans-serif;
63
+ font-size : 20px ;
64
+ line-height : 1.8rem ;
65
+ padding-left : 10px ;
66
+ vertical-align : center;
67
+ }
68
+
69
+ footer {
70
+ border-top : 1px solid # fff ;
71
+ flex-shrink : 0 ;
72
+ height : 40px ;
73
+ overflow-y : hidden;
74
+ padding : 0 10px ;
75
+
76
+ background-color : # 16191f ;
77
+ color : # d5dbdb ;
78
+ font-family : Helvetica Neue, Roboto, Arial, sans-serif;
79
+ font-size : 12px ;
80
+ font-weight : 400 ;
81
+ line-height : 1.8rem ;
82
+ }
83
+
84
+ footer span {
85
+ margin-top : 7px ;
86
+ }
87
+
88
+ footer a {
89
+ color : # d5dbdb ;
7
90
}
Original file line number Diff line number Diff line change 2
2
< html lang ="en " xmlns ="http://www.w3.org/1999/xhtml ">
3
3
< head >
4
4
< meta charset ="utf-8 "/>
5
- < title > aws-saml | login complete</ title >
5
+ < title > AWS SAML | Login complete</ title >
6
6
< script src ="index.js " async > </ script >
7
7
< link rel ="icon " href ="favicon.ico "/>
8
8
< link href ="style.css " rel ="stylesheet ">
9
9
</ head >
10
10
< body >
11
- < p > Login complete, you may now close your browser.</ p >
12
- <!-- {{.Version}} ({{.SHA}}) built on {{.Date}} -->
11
+ < header >
12
+ < span class ="left "> < a href ="https://github.com/joshdk/aws-saml " rel ="noopener noreferrer " target ="_blank "> AWS SAML</ a > </ span >
13
+ </ header >
14
+ < div class ="content ">
15
+ < div >
16
+ < p > Login complete, you may now close your browser.</ p >
17
+ </ div >
18
+ </ div >
19
+ < footer >
20
+ < span class ="left "> < a href ="https://github.com/joshdk/aws-saml " rel ="noopener noreferrer " target ="_blank "> github.com/joshdk/aws-saml</ a > </ span >
21
+ < span class ="right "> </ a > {{.Version}} ({{.SHA}}) built on {{.Date}}</ span >
22
+ </ footer >
13
23
</ body >
14
24
</ html >
You can’t perform that action at this time.
0 commit comments