Skip to content

Commit 59946a0

Browse files
committed
Change style for 25th Feb worship
1 parent 8015226 commit 59946a0

File tree

3 files changed

+36
-24
lines changed

3 files changed

+36
-24
lines changed

css/main.css

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,60 @@ 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 url(../img/woman.jpg) no-repeat bottom right;
12+
height: 100vh;
1013
min-height: 575px;
11-
font-family: 'Source Sans Pro', sans-serif;;
14+
font-family: 'Source Sans Pro', sans-serif;
15+
font-size: 16px;
1216
}
1317

1418
header{
1519
box-sizing: border-box;
1620
flex: 0 1 auto;
17-
background-color: #AD1457;
18-
color: white;
1921
}
2022

2123
section{
24+
width: 100%;
2225
box-sizing: border-box;
2326
flex: 2 auto;
27+
/*display: flex;
28+
flex-direction: column;
29+
justify-content: center;
30+
align-items: center;*/
2431
}
2532

26-
footer{
27-
background-color: #eeeeee;
33+
footer {
34+
width: calc( 100% - 60px);
35+
background-color: #000000;
2836
font-family: Georgia,serif;
29-
color: #9E9E9E;
37+
color: #ffffff;
3038
text-decoration: none;
3139
font-size: 0.9rem;
32-
position: absolute;
33-
bottom: 0;
34-
left: 0;
35-
right: 0;
3640
padding: 0 30px;
41+
display: flex;
42+
flex-direction: row;
43+
justify-content: space-between;
44+
align-items: center;
3745
}
3846

47+
img {
48+
width: 100%;
49+
max-width: 500px;
50+
}
3951
h1, #logo{
4052
text-align: center;
4153
}
4254

4355
h1{
44-
margin: 50px;
56+
margin: 0 50px 50px 50px;
4557
font-size: 35px;
4658
}
4759

4860
.settings {
4961
margin: 0 auto;
50-
max-width: 900px;
62+
max-width: 600px;
5163
}
5264

5365
.settings > p {
@@ -70,18 +82,18 @@ footer a {
7082
}
7183

7284
footer a:hover {
73-
color: #000000;
85+
color: #ffffff;
7486
}
7587

7688
#surprise {
7789
color: red;
7890
font-size: 35px;
7991
}
8092

81-
.float-left {
93+
/*.float-left {
8294
float: left;
8395
}
8496
8597
.float-right {
8698
float: right;
87-
}
99+
}*/

img/woman.jpg

39.3 KB
Loading

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ <h1>Hello everyone. Let's do some interactive coding today! </h1>
3030
</section>
3131

3232
<footer>
33-
<ul class="float-left">
33+
<ul>
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>
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>
4343
</ul>
4444
</footer>
4545

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

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

0 commit comments

Comments
 (0)