Skip to content

Commit b85f50a

Browse files
author
[Bill Deng]
committed
update blog index with new stylesheet
1 parent 270d2a4 commit b85f50a

File tree

3 files changed

+60
-21
lines changed

3 files changed

+60
-21
lines changed

blog/index.html

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,37 @@
22
<html>
33

44
<head>
5-
<title>Blog Index</title>
5+
<meta charset="utf-8">
6+
<link rel="stylesheet" type="text/css" href="../stylesheets/blog-indext.css">
7+
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
8+
<title>Blog Index Page</title>
69
</head>
710

811
<body>
9-
<header>
10-
<h1>My Jouney at Dev Bootcamp</h1>
11-
</header>
1212

13-
<img src="#" alt="#">
14-
<h3><a href="../index.html">Go Back to Main Page</a></h3>
15-
<ul>
16-
<li><a href="git.html" target="_blank">Introducing the Command Line, Git and Github</a></li>
17-
<li>Coming soon!</li>
18-
<li>Coming soon!</li>
19-
<li>Coming soon!</li>
20-
<li>Coming soon!</li>
21-
<li>Coming soon!</li>
22-
<li>Coming soon!</li>
23-
</ul>
24-
<hr>
25-
<footer>
26-
<p>
27-
Built with HTML and coffee
28-
</p>
29-
</footer>
13+
<header>
14+
<h1>My Blog and Journey at Dev Bootcamp</h1>
15+
</header>
3016

17+
<main>
18+
<div class="outer-div">
19+
<div class="img-div">
20+
<img src="../imgs/dev-bootcamp.jpg" alt="Dev Bootcamp">
21+
</div>
22+
23+
<div>
24+
<ul>
25+
<li><a href="git.html">Introducing the Command Line, Git and GitHub</a></li>
26+
<li>Coming soon!</li>
27+
<li>Coming soon!</li>
28+
<li>Coming soon!</li>
29+
<li>Coming soon!</li>
30+
<li>Coming soon!</li>
31+
<li>Coming soon!</li>
32+
</ul>
33+
</div>
34+
</div>
35+
</main>
3136
</body>
3237

3338
</html>

imgs/dev-bootcamp.jpg

34.6 KB
Loading

stylesheets/blog-index.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
body {
2+
font-family: 'Open Sans', sans-serif;
3+
margin: 0;
4+
padding: 0;
5+
background-color: #fafafa;
6+
text-align: center;
7+
}
8+
9+
img {
10+
width: 50%;
11+
height: auto;
12+
float: left;
13+
border-radius: 12px;
14+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
15+
}
16+
17+
ul {
18+
float: left;
19+
width: 40%;
20+
list-style-type: none;
21+
}
22+
23+
li {
24+
margin-bottom: 10px;
25+
font-size: 20px;
26+
}
27+
28+
a {
29+
text-decoration: none;
30+
}
31+
32+
a:hover {
33+
color: #0000b2;
34+
}

0 commit comments

Comments
 (0)