Skip to content

Commit b8675bb

Browse files
Ticiana AndradeTiciana Andrade
Ticiana Andrade
authored and
Ticiana Andrade
committed
Update for Feb workshop
1 parent 8015226 commit b8675bb

File tree

3 files changed

+34
-19
lines changed

3 files changed

+34
-19
lines changed

css/main.css

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,57 @@ html, body{
66
body{
77
display: flex;
88
flex-direction: column;
9-
background-color: #ffffff;
9+
justify-content: center;
10+
align-items: center;
11+
background: #fee13d;
12+
height: 100vh;
1013
min-height: 575px;
11-
font-family: 'Source Sans Pro', sans-serif;;
14+
font-family: 'Source Sans Pro', sans-serif;
1215
}
1316

1417
header{
1518
box-sizing: border-box;
1619
flex: 0 1 auto;
17-
background-color: #AD1457;
20+
background-color: #fee13d;
1821
color: white;
1922
}
2023

2124
section{
25+
width: 100%;
2226
box-sizing: border-box;
2327
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;
2434
}
2535

2636
footer{
27-
background-color: #eeeeee;
37+
width: calc( 100% - 60px);
38+
background-color: #000000;
2839
font-family: Georgia,serif;
29-
color: #9E9E9E;
40+
color: #ffffff;
3041
text-decoration: none;
3142
font-size: 0.9rem;
32-
position: absolute;
33-
bottom: 0;
34-
left: 0;
35-
right: 0;
3643
padding: 0 30px;
44+
display: flex;
45+
flex-direction: row;
46+
justify-content: space-between;
47+
align-items: center;
3748
}
3849

50+
img {
51+
width: 100%;
52+
max-width: 800px;
53+
}
3954
h1, #logo{
4055
text-align: center;
4156
}
4257

4358
h1{
44-
margin: 50px;
59+
margin: 0 50px 50px 50px;
4560
font-size: 35px;
4661
}
4762

@@ -70,18 +85,18 @@ footer a {
7085
}
7186

7287
footer a:hover {
73-
color: #000000;
88+
color: #ffffff;
7489
}
7590

7691
#surprise {
7792
color: red;
7893
font-size: 35px;
7994
}
8095

81-
.float-left {
96+
/*.float-left {
8297
float: left;
8398
}
8499
85100
.float-right {
86101
float: right;
87-
}
102+
}*/

img/woman.jpg

39.3 KB
Loading

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ <h1>Hello everyone. Let's do some interactive coding today! </h1>
3232
<footer>
3333
<ul class="float-left">
3434
<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>
3737
</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>
3939
</ul>
4040
<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>
4343
</ul>
4444
</footer>
4545

4646
<script src="js/level1.js"></script>
4747

4848
</body>
49-
</html>
49+
</html>

0 commit comments

Comments
 (0)