File tree 3 files changed +34
-19
lines changed
3 files changed +34
-19
lines changed Original file line number Diff line number Diff line change @@ -6,42 +6,57 @@ 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 ;
12
+ height : 100vh ;
10
13
min-height : 575px ;
11
- font-family : 'Source Sans Pro' , sans-serif;;
14
+ font-family : 'Source Sans Pro' , sans-serif;
12
15
}
13
16
14
17
header {
15
18
box-sizing : border-box;
16
19
flex : 0 1 auto;
17
- background-color : # AD1457 ;
20
+ background-color : # fee13d ;
18
21
color : white;
19
22
}
20
23
21
24
section {
25
+ width : 100% ;
22
26
box-sizing : border-box;
23
27
flex : 2 auto;
28
+ display : flex;
29
+ flex-direction : column;
30
+ justify-content : center;
31
+ align-items : center;
32
+ padding-bottom : 150px ;
33
+ background : url(../ img/woman.jpg) no-repeat bottom right;
24
34
}
25
35
26
36
footer {
27
- background-color : # eeeeee ;
37
+ width : calc ( 100% - 60px );
38
+ background-color : # 000000 ;
28
39
font-family : Georgia, serif;
29
- color : # 9E9E9E ;
40
+ color : # ffffff ;
30
41
text-decoration : none;
31
42
font-size : 0.9rem ;
32
- position : absolute;
33
- bottom : 0 ;
34
- left : 0 ;
35
- right : 0 ;
36
43
padding : 0 30px ;
44
+ display : flex;
45
+ flex-direction : row;
46
+ justify-content : space-between;
47
+ align-items : center;
37
48
}
38
49
50
+ img {
51
+ width : 100% ;
52
+ max-width : 800px ;
53
+ }
39
54
h1 , # logo {
40
55
text-align : center;
41
56
}
42
57
43
58
h1 {
44
- margin : 50px ;
59
+ margin : 0 50 px 50 px 50px ;
45
60
font-size : 35px ;
46
61
}
47
62
@@ -70,18 +85,18 @@ footer a {
70
85
}
71
86
72
87
footer a : hover {
73
- color : # 000000 ;
88
+ color : # ffffff ;
74
89
}
75
90
76
91
# surprise {
77
92
color : red;
78
93
font-size : 35px ;
79
94
}
80
95
81
- .float-left {
96
+ /* .float-left {
82
97
float: left;
83
98
}
84
99
85
100
.float-right {
86
101
float: right;
87
- }
102
+ }*/
Original file line number Diff line number Diff line change @@ -32,18 +32,18 @@ <h1>Hello everyone. Let's do some interactive coding today! </h1>
32
32
< footer >
33
33
< ul class ="float-left ">
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
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 >
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