Skip to content

Commit fad39c6

Browse files
Tanya ButenkoTanya Butenko
Tanya Butenko
authored and
Tanya Butenko
committed
fix
2 parents bfc61a4 + 67e3938 commit fad39c6

File tree

2 files changed

+41
-6
lines changed

2 files changed

+41
-6
lines changed

css/main.css

+37-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ html, body{
66
body{
77
display: flex;
88
flex-direction: column;
9-
background-color: cornsilk;
10-
min-height: 775px;
9+
background-color: #ffffff;
10+
min-height: 575px;
11+
font-family: 'Source Sans Pro', sans-serif;;
1112
}
1213

1314
header{
1415
box-sizing: border-box;
1516
flex: 0 1 auto;
16-
background-color: brown;
17+
background-color: #AD1457;
1718
color: white;
1819
}
1920

@@ -23,8 +24,16 @@ section{
2324
}
2425

2526
footer{
26-
flex: .5 100%;
27-
background-color: chocolate;
27+
background-color: #eeeeee;
28+
font-family: Georgia,serif;
29+
color: #9E9E9E;
30+
text-decoration: none;
31+
font-size: 0.9rem;
32+
position: absolute;
33+
bottom: 0;
34+
left: 0;
35+
right: 0;
36+
padding: 0 30px;
2837
}
2938

3039
h1, #logo{
@@ -47,9 +56,32 @@ h1{
4756

4857
footer > ul {
4958
list-style: none;
59+
-webkit-padding-start: 0;
60+
}
61+
62+
footer li {
63+
padding: 5px;
64+
}
65+
66+
footer a {
67+
text-decoration: none;
68+
color: #9E9E9E;
69+
font-style: italic;
70+
}
71+
72+
footer a:hover {
73+
color: #000000;
5074
}
5175

5276
#surprise {
5377
color: red;
5478
font-size: 35px;
79+
}
80+
81+
.float-left {
82+
float: left;
83+
}
84+
85+
.float-right {
86+
float: right;
5587
}

index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>NodeGirls JavaScript Workshop</title>
6+
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300|Source+Sans+Pro:200" rel="stylesheet">
67
<link rel="stylesheet" href="css/main.css">
78
</head>
89
<body>
@@ -29,12 +30,14 @@ <h1>Hello everyone. Let's do some interactive coding today! </h1>
2930
</section>
3031

3132
<footer>
32-
<ul>
33+
<ul class="float-left">
3334
<li class="twitter">
3435
Twitter: <a href="https://twitter.com/NodeGirlsSydney">@NodeGirlsSydney</a>
3536
<a href="https://twitter.com/NodeGirlsMelb">@NodeGirlsMelb</a>
3637
</li>
3738
<li class="facebook">Facebook: <a href="https://www.facebook.com/NodeGirlsAustralia">NodeGirlsAustralia</a></li>
39+
</ul>
40+
<ul class="float-right">
3841
<li class="website">Website: <a href="http://nodegirls.com.au">http://nodegirls.com.au</a></li>
3942
<li class="email">e-mail: <a href="mailto:info@nodegirls.com.au">info@nodegirls.com.au</a></li>
4043
</ul>

0 commit comments

Comments
 (0)