Skip to content

Commit f7c8730

Browse files
Kevin LamKevin Lam
Kevin Lam
authored and
Kevin Lam
committed
add more css
1 parent da24380 commit f7c8730

File tree

2 files changed

+64
-35
lines changed

2 files changed

+64
-35
lines changed

index.html

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,56 @@
11
<!doctype html>
22
<html>
3+
34
<head>
45

5-
<title>Day 1 Page</title>
6+
<title>Day 1 Page</title>
67

7-
<link type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
8-
<link type="text/css" href="style.css" />
8+
<link type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
9+
<link rel="stylesheet" type="text/css"
10+
href="https://fonts.googleapis.com/css?family=Font+Name">
11+
<link type="text/css" href="style.css" />
912

1013
</head>
1114

1215
<body>
13-
14-
<h1> Day 1 Page</h1>
15-
<img src="https://i.ytimg.com/vi/Sw-Mug7Opvw/maxresdefault.jpg" alt="KD and Steph, you know what it is">
16-
17-
<h1> Bless KD and the Warriors </h1>
18-
<p>KD and Steph are gonna make it rain at Oracle Arena. Who's hype about this? Splash brothers just became Splash fam.</p>
19-
<hr>
20-
21-
<h2>But don't forget Klay and Draymond</h2>
22-
<p>
23-
Klay thompson scored 37 points in one quarter. Who the hell does that?
24-
<a href="https://upload.wikimedia.org/wikipedia/commons/5/5c/Klay_Thompson_vs._Jared_Dudley_(cropped).jpg">
25-
Here's Klay making a sick lay-up.
26-
</a>
27-
</p>
28-
<p>
29-
Draymond is key to the warriors defense. He is essentially our anchor and our point guard...sorta.
30-
<a href="https://blog-blogmediainc.netdna-ssl.com/upload/SportsBlogcom/2159727/0344126001456771564_filepicker.jpg">
16+
<div class="wrapper">
17+
<header>
18+
<h1 id="welcome-mat"> Day 1 Page</h1>
19+
</header>
20+
21+
<main>
22+
<img src="https://i.ytimg.com/vi/Sw-Mug7Opvw/maxresdefault.jpg" alt="KD and Steph, you know what it is">
23+
24+
<h2> Bless KD and the Warriors </h1>
25+
<p>KD and Steph are gonna make it rain at Oracle Arena. Who's hype about this? Splash brothers just became Splash fam.</p>
26+
<hr>
27+
28+
<h2>But don't forget Klay and Draymond</h2>
29+
<p>Klay thompson scored 37 points in one quarter. Who the hell does that?<a href="https://upload.wikimedia.org/wikipedia/commons/5/5c/Klay_Thompson_vs._Jared_Dudley_(cropped).jpg">Here's Klay making a sick lay-up.</a></p>
30+
<p>
31+
Draymond is key to the warriors defense. He is essentially our anchor and our point guard...sorta.
32+
<a href="https://blog-blogmediainc.netdna-ssl.com/upload/SportsBlogcom/2159727/0344126001456771564_filepicker.jpg">
3133
Draymond flexing after an and-one.
32-
</a>
33-
</p>
34-
<p>
35-
NBA champion Steve Kerr bringing over his magic. Literally.
36-
<a href="http://www.blogdebasket.com/files/steve_kerr_1.jpg">
34+
</a>
35+
</p>
36+
<p>
37+
NBA champion Steve Kerr bringing over his magic. Literally.
38+
<a href="http://www.blogdebasket.com/files/steve_kerr_1.jpg">
3739
The mastermind, Steve Kerr.
38-
</a>
39-
</p>
40+
</a>
41+
</p>
4042

43+
</main>
4144

45+
<footer>
46+
<p>All of these images brought to you by a quick search on Google. I'm sorry
47+
if I mess up any sort of copyright issue. I'm just doing this for a
48+
javascript workshop. </p>
49+
50+
</footer>
51+
</div>
4252

4353

4454
</body>
55+
4556
</html>

style.css

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11

2-
/*
3-
STYLE.CSS:
4-
One stylesheet to rule them all.
5-
6-
selector { property:value }
7-
8-
*/
2+
@import url(https://fonts.googleapis.com/css?family=Lobster);
93

4+
.wrapper {
5+
width: 600px;
6+
margin: auto;
7+
}
8+
9+
header {
10+
height: 100px;
11+
background-color: #76D7C4;
12+
}
13+
14+
main {
15+
height: 100px;
16+
background-color: #76D7C4;
17+
font-family: 'Lobster', cursive;
18+
}
19+
20+
footer {
21+
height: 100px;
22+
background-color: #76D7C4;
23+
}
24+
25+
#welcome-mat {
26+
font-family: 'Lobster', cursive;
27+
}

0 commit comments

Comments
 (0)