File tree 3 files changed +36
-24
lines changed
3 files changed +36
-24
lines changed Original file line number Diff line number Diff line change @@ -6,48 +6,60 @@ html, body{
6
6
body {
7
7
display : flex;
8
8
flex-direction : column;
9
- background-color : # ffffff ;
9
+ justify-content : center;
10
+ align-items : center;
11
+ background : # fee13d url(../ img/woman.jpg) no-repeat bottom right;
12
+ height : 100vh ;
10
13
min-height : 575px ;
11
- font-family : 'Source Sans Pro' , sans-serif;;
14
+ font-family : 'Source Sans Pro' , sans-serif;
15
+ font-size : 16px ;
12
16
}
13
17
14
18
header {
15
19
box-sizing : border-box;
16
20
flex : 0 1 auto;
17
- background-color : # AD1457 ;
18
- color : white;
19
21
}
20
22
21
23
section {
24
+ width : 100% ;
22
25
box-sizing : border-box;
23
26
flex : 2 auto;
27
+ /*display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ align-items: center;*/
24
31
}
25
32
26
- footer {
27
- background-color : # eeeeee ;
33
+ footer {
34
+ width : calc ( 100% - 60px );
35
+ background-color : # 000000 ;
28
36
font-family : Georgia, serif;
29
- color : # 9E9E9E ;
37
+ color : # ffffff ;
30
38
text-decoration : none;
31
39
font-size : 0.9rem ;
32
- position : absolute;
33
- bottom : 0 ;
34
- left : 0 ;
35
- right : 0 ;
36
40
padding : 0 30px ;
41
+ display : flex;
42
+ flex-direction : row;
43
+ justify-content : space-between;
44
+ align-items : center;
37
45
}
38
46
47
+ img {
48
+ width : 100% ;
49
+ max-width : 500px ;
50
+ }
39
51
h1 , # logo {
40
52
text-align : center;
41
53
}
42
54
43
55
h1 {
44
- margin : 50px ;
56
+ margin : 0 50 px 50 px 50px ;
45
57
font-size : 35px ;
46
58
}
47
59
48
60
.settings {
49
61
margin : 0 auto;
50
- max-width : 900 px ;
62
+ max-width : 600 px ;
51
63
}
52
64
53
65
.settings > p {
@@ -70,18 +82,18 @@ footer a {
70
82
}
71
83
72
84
footer a : hover {
73
- color : # 000000 ;
85
+ color : # ffffff ;
74
86
}
75
87
76
88
# surprise {
77
89
color : red;
78
90
font-size : 35px ;
79
91
}
80
92
81
- .float-left {
93
+ /* .float-left {
82
94
float: left;
83
95
}
84
96
85
97
.float-right {
86
98
float: right;
87
- }
99
+ }*/
Original file line number Diff line number Diff line change @@ -30,20 +30,20 @@ <h1>Hello everyone. Let's do some interactive coding today! </h1>
30
30
</ section >
31
31
32
32
< footer >
33
- < ul class =" float-left " >
33
+ < ul >
34
34
< li class ="twitter ">
35
- Twitter: < a href ="https://twitter.com/NodeGirlsSydney "> @NodeGirlsSydney</ a >
36
- < a href ="https://twitter.com/NodeGirlsMelb "> @NodeGirlsMelb</ a >
35
+ Twitter: < a href ="https://twitter.com/NodeGirlsSydney " target =" _blank " > @NodeGirlsSydney</ a >
36
+ < a href ="https://twitter.com/NodeGirlsMelb " target =" _blank " > @NodeGirlsMelb</ a >
37
37
</ li >
38
- < li class ="facebook "> Facebook: < a href ="https://www.facebook.com/NodeGirlsAustralia "> NodeGirlsAustralia</ a > </ li >
38
+ < li class ="facebook "> Facebook: < a href ="https://www.facebook.com/NodeGirlsAustralia " target =" _blank " > NodeGirlsAustralia</ a > </ li >
39
39
</ ul >
40
- < ul class =" float-right " >
41
- < li class ="website "> Website: < a href ="http://nodegirls.com.au "> http:// nodegirls.com.au</ a > </ li >
42
- < li class ="email "> e-mail: < a href ="mailto:info@nodegirls.com.au "> info@nodegirls.com.au</ a > </ li >
40
+ < ul >
41
+ < li class ="website "> Website: < a href ="http://nodegirls.com.au " target =" _blank " > nodegirls.com.au</ a > </ li >
42
+ < li class ="email "> e-mail: < a href ="mailto:info@nodegirls.com.au " target =" _blank " > info@nodegirls.com.au</ a > </ li >
43
43
</ ul >
44
44
</ footer >
45
45
46
46
< script src ="js/level1.js "> </ script >
47
47
48
48
</ body >
49
- </ html >
49
+ </ html >
You can’t perform that action at this time.
0 commit comments